5 posts with tag “RSS”

Template Feed/Archive URL Structures for Various Blogging Platforms (Updating)

Being still very interested in web feeds, both practically and philosophically, I subscribe to them often. Occasionally I’ll find a site that seems as though it should have a feed, but contains no link to one within a meta declaration or within the body of the site. Still, most content generators generate feeds, regardless of whether their users make the feed URLs public. In cases like this, it’s fun to poke around and see if I can’t guess the correct URL.

The same goes for archives; certain Blogger users, for example, apparently turn archive links off, so all that’s easily visible are the last ten posts or so on the front page. But, of course, as is especially the case with something as prefab as Blogger, the archives are accessible through a very predictable URL schema.

And what about comment feeds? These are even more scarcely linked to, but in many cases do exist.

Here are the ones I know so far. I plan to update this post as I discover more. This is as much for my reference as it is for yours. So, bookmark it, and, y’know, subscribe to the comments. If you know of any other schemata, please comment. And if you’d like to create your own feeds from any site, give Feed43 a shot. It’s a bit tough to learn, but I’ve successfully made several useful feeds with it.

MySpace

  • All blog posts: http://blog.myspace.com/blog/rss.cfm?friendID=[friendID]

Continue reading

4 Responses

Elusive YouTube Feeds

Despite being one of the poster-children for the 2.0nd and most recent wave of hyperbolized internet enthusiasm, YouTube does a shitty job of making feeds available. “We offer a bunch of different RSS feeds,” they say, “covering tags, users, popular videos, and even the YouTube Blog.” No shit! That list of feeds is, believe it or not, totally comprehensive of all that they provide easy access to. This is probably an artifact of their pre-Google days, when they were losing millions of dollars and couldn’t afford too many feed requests.

But I did some digging and found that you can easily get a developer key, which gives you access to YouTube’s API. This sounds a lot trickier than it is. Just go to your developer profile page, tell them why you want a key, and you’ve got it. With this key, you can access a number of different XML feeds. Visit the developer introduction and documentation to generate the url for the feed you’re after. For instance, I want a feed of the videos I’ve marked as favorites, so I use this:

http://www.youtube.com/api2_rest?method=youtube.users.list_favorite_videos&dev_id=MyY0utu8eD3v1D&user=echosmyron

That’s not my real Dev ID — YouTube is obviously protective of these things so I don’t want to piss them off. But what you get is an XML file that is structured like this:

<ut_response status="ok">
 <video_list>
  <video>
   <author>limpty</author>
   <id>npvSMfhjt4A</id>
   <title>Joanna Newsom "sadie" live</title>
   <length_seconds>356</length_seconds>
   <rating_avg>2.65</rating_avg>
   <rating_count>79</rating_count>
   <description>
    at easy street seattle. i filmed it brah. i have photos of joanna at smokyshots.com
   </description>
   <view_count>15869</view_count>
   <upload_time>1149446513</upload_time>
   <comment_count>21</comment_count>
   <tags>joanna newsom folk harp drag city</tags>
   <url>http://www.youtube.com/?v=npvSMfhjt4A</url>
   <thumbnail_url>
    http://sjl-static13.sjl.youtube.com/vi/npvSMfhjt4A/2.jpg
   </thumbnail_url>
  </video>

Pretty awesome! The <id> value of npvSMfhjt4A can just be thrown into the watch url (http://www.youtube.com/watch?v=npvSMfhjt4A), and there it is! Now it’s just a matter of re-writing lastRSS a bit to strip out the <id> field and tossing that into YouTube’s embed code. Which I then intend to implement as a single dynamic video in the sidebar.I fucking nailed it.

One Response

Weekly Top Album Art

Wow, I can’t believe I was able to do this.

http://www.kilobitspersecond.com/topalbumart.php?user=

Just tack your last.fm username onto the end of that url to generate the cover art for your most listened-to album of last week. Pretty cool.

Bands and albums with ampersands don’t work at the moment. urlencode() doesn’t seem to do the trick. Any theories?

One Response

last.fm Weekly Album Chart Feeds

For a long time, last.fm has linked to a purported weekly album chart feed on their web services page. Because I find this much more interesting than the weekly artist and track charts, I was happy to find today that these feeds have finally become active. Just replace “topdownjimmy” with your username in this url:

http://ws.audioscrobbler.com/1.0/user/topdownjimmy/weeklyalbumchart.xml

Unfortunately, this won’t reflect your listening accurately if you’re in the habit of listening to leaked albums. For what are certainly legal issues, last.fm plays dumb that these albums even exist, failing to report them in charts even though the track and artist counts are updated accordingly.

My next step is to use the url embedded in the feed to scrape the Amazonian cover art from each album’s last.fm page. This would be cool to do even for the recent track feed, come to think of it.

One Response

last.fm friends ticker

infoRSS

last.fm is great, and it gets better every single day. Part of its appeal is voyeurism. I love being able to see what my friends are listening to, but that usually requires going to the “What are my friends listening to?” page, which is still too much effort; I’m not that curious. But still, if somebody I know starts listening to something, I’d like to be alerted with a totally passive system.

There are, of course, RSS feeds for all kinds of things from last.fm. But there is no feed consisting of all your friends’ recent tracks, which is surprising because it’s such an intuitive idea. So implementing the ones that are available is ostensibly possible, but nevertheless tricky. I mean, logging into Bloglines or Google’s new reader still requires an active request for this information. And while there are some web services that will merge multiple feeds into a single one for you, I don’t like relying on a third party like that, one that may go down any day and that might insert advertisements into my feed.

It seems to me that there should be a very, very small program that sits in your system tray, checking multiple feeds regularly, then popping up a native Windows balloon with a link to the “article” every time there’s an update. This would be ideal for watching your last.fm friends. There are programs that do this, but they’re all full applications that only have this as an auxiliary feature. I can’t afford the memory.

So, finally, I found infoRSS. It’s a Firefox extension that adds a little ticker to the statusbar. Initially I wasn’t hopeful, as its default presentation is ugly and therefore indicative of poor programming:

infoRSS

The writer of this extension isn’t a native speaker of English, and there’s very little help available anyway. I spent a long time studying its many confusing features, confident that it could be made to do what I want. The result (shown at the top of this post) isn’t perfect, but is better than I had expected or hoped. There’s a nice little Audioscrobbler logo on the left; each entry is marked with the user’s avatar, which is far more efficient than if their name were displayed; and the listening status of everyone is constantly on display for me. Here’s how to do this:

Continue reading

Leave a Comment