My first RSS feed

Well sort of anyway. But an explanation of that later. The important thing is, after only starting to explore RSS this morning, I know have built a working feed for one of my websites, Branch Planet. The sort of refers to the fact that Nerd Federation already has several. But they came with the package, I custom coded this one.

My basic problem was, I didn’t want to, well to be more correct, wasn’t going to update it manually – it had to be done automatically, taking stories from the database. Therefore I needed a server side script with a content header. Thanks to a PHP script and mod_rewrite, it now has a .xml address too!

You can check out the feed at http://www.branchplanet.com/recent.xml. It contains the latest 10 updates with the post date / time, the first 50 words of the story and a link to the full page. So it’s a good job I added that individual news stories page a few days ago.

RSS is here to stay according to Apple so I am happy that I have got into it. I am probably going to do a feed for Worfolk News sometime in the near future. If you are producing a feed, there is a primer by Who Is Hosting This, check it out here.

Timeline

Newsletter

Don't have time to check my blog? Get a weekly email with all the new posts. This is my personal blog, so obviously it is 100% spam free.

Metadata

This entry was posted on Thursday, August 5th, 2004 at 12:51 pm and is filed under Life. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.