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.
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
Here’s a version with
Here’s a version with properly formatted HTML in the description: formosa-rss.zip.
Note that Steven’s reference
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.
Add new comment