Formosa RSS Feed: The PHP Source Code

To assist Will Pate in moving the Formosa Tea House RSS Feed over to its logical home on the Formosa Tea House website, I’ve put together a cleaned up and commented version of the PHP source code that generates the RSS feed.
Creative Commons License

This isn’t a profound chunk of code, but I’ve commented it liberally, so if you’re new to PHP, RSS and/or manipulating dates programatically, you might find it interesting.

You’ll need a couple of PHP classes in addition to the source here; this is all explained inside the comments.

Download the source, which is licensed under a Attribution — ShareAlike License.

Comments

Steven Garrity's picture
Steven Garrity on November 2, 2003 - 05:43 Permalink

Here’s a version with properly formatted HTML in the description: formosa-rss.zip.

Peter Rukavina's picture
Peter Rukavina on November 2, 2003 - 06:10 Permalink

Note that Steven’s reference to “properly formatted HTML” only makes sense if you actually download the code and read the comments. The script works as delivered; Steven’s updated version makes it more standard.