I subscribed to the Pro version primarily to get access to RSS feeds (and the year-end Retrospective which is great!), but so far, I’m disappointed. I’m trying to get a feed for the shows (episodes of shows, actually) I have recently watched. I adjust the filters in the Progress tab but get a list of Up Next episodes for the shows I’m watching. Also, the feed is a little funky. I use a parser that I’ve used with feed from other sites (Pinboard, Letterboxd, GoodReads, etc.) to create widgets for my website that work just fine with them, but with Trakt, it’s weird (see screenshot):
Ignoring for now that these are the episodes from the Up Next and not actually watched, notice how only the first RSS item is hyperlinked (Ugh! I can’t embed a second screenshot as a new user). I’ve chosen to hide the description because if I do, the ones for the second and third items are full of weird tags and metadata.
Sounds like you want the rss feed from the history page, that is what you’ve recently watched. Not sure on parsing, we have some extra fields in there but all the standard rss feeds should be in there too.
From someone who knows more about RSS feeds than I do:
A few things don’t make sense to me on the feed provided by Trakt. For example, in the screenshot below, you’ll see two weird things. First, this random post is FUTURE dated (published and updated) with a date of February 9, 2023. Additionally, there’s an occasional tag that doesn’t seem to be correct: <summary/>
The <summary/> tag is just an empty tag, so that should be fine. Is that a calendar RSS feed? If so, it uses the air date, so that could explain why it’s in the future.
I’m not really sure what your using to parse the links out, but it should all be standard XML for the RSS.
No, it’s the History (watched) feed. I’m using FeedRoll Viewer to parse the feed. I am using it to display the last three episodes I’ve watched on my blog.
This is how the Letterboxd feed looks like on the blog:
Can you post the RSS for the other feed so I can compare? The Trakt RSS should be pretty standard and was originally created to work well with IFTTT, but all the XML items should be valid RSS.
Here is a comparison between Trakt and Letterboxd for a feed entry. They are quite different, but both are valid XML. As I mentioned, we designed this to work with IFTTT originally which is why we use this structure. It’s been like this for years, so not really something I can just completely change.
It looks like the parser you’re using is expecting different XML tags and data formats and that’s creating the issue.
<entry>
<id>tag:trakt.tv,2005:Movie/4783/8827482938</id>
<published>2023-02-10T22:46:10-05:00</published>
<updated>2023-02-10T22:46:10-05:00</updated>
<link rel="alternate" type="text/html" href="https://trakt.tv/movies/kung-fu-panda-2008"/>
<title>Kung Fu Panda (2008)</title>
<summary>When the Valley of Peace is threatened, lazy Po the panda discovers his destiny as the "chosen one" and trains to become a kung fu hero, but transforming the unsleek slacker into a brave warrior won't be easy. It's up to Master Shifu and the Furious Five -- Tigress, Crane, Mantis, Viper and Monkey -- to give it a try.</summary>
<content type="html"><img src="https://walter.trakt.tv/images/movies/000/004/783/fanarts/thumb/22bd06524e.jpg" />When the Valley of Peace is threatened, lazy Po the panda discovers his destiny as the &quot;chosen one&quot; and trains to become a kung fu hero, but transforming the unsleek slacker into a brave warrior won&#39;t be easy. It&#39;s up to Master Shifu and the Furious Five -- Tigress, Crane, Mantis, Viper and Monkey -- to give it a try.</content>
<media:content url="https://walter.trakt.tv/images/movies/000/004/783/posters/medium/be98d3ebdb.jpg"/>
<media:thumbnail url="https://walter.trakt.tv/images/movies/000/004/783/posters/thumb/be98d3ebdb.jpg"/>
<author>
<name>justin</name>
</author>
</entry>
Got it. Thanks. I don’t understand the technical details about RSS or XML but get why you chose the format that you did. I’ll try to look for a parser that will work with this feed or change how I display it on my blog.