Sunday, September 12, 2004

Added RSS feed

As I already said in previous posts, LiveJournal provides a quite good service. However, free accounts do not have the RSS service, which is a pity. Having a sindication method is a very important thing to make a blog popular among people.

So... I have implemented it externally: a small Perl script fetches the main page, parses its contents and extracts the recent entries. When it has gathered all the information, it generates the RSS file and stores it in a friend's server - nopcode.org, owned by Brainstorm -, who is providing me space to store it (thanks very much!). This script is run from cron(8) at specific times during the day to keep the file up-to-date (although, unfortunately, not in real time).

You can find a link to the RSS feed in the Links section of this page (see the left bar). Hope it doesn't break soon! :)

Edit (13th September 2004): an anonymous reader has told me that Livejournal provides an RSS feed for everybody, including free accounts. So, forget everything about the custom script and just use the link in the left side of this page to get the feed. It now points to the RSS file generated by Livejournal, which should be updated in real time and is more accurate than the one generated by my script (i.e., it won't break if I change the style). Moreover, I've removed the link pointing to my custom RSS from the post, so that you don't use it by mistake.

2 comments:

Anonymous said...

[Originally posted at 2004-09-13 04:30 am UTC]

I think you're wrong. I'm already reading you blog using livejournal RSS:

http://www.livejournal.com/users/jmmv/data/rss

Btw, It's a pity I cannot post my name nor my website :(

Julio M. Merino Vidal said...

[Originally posted at 2004-09-13 06:04 am UTC]

Yay! I was convinced that RSS feeds were only available to paid accounts (as you can deduce from my custom script). Thanks very much for the information! I will switch to use the one provided by Livejournal, since it will be updated in real time and won't break on any blog style changes.