Blog Pile

Nice PHP, with Class: FeedCreator

FeedCreator.class.php– File this one away for future or near future code use.

FeedCreator.class.php provides an easy way to create RSS feeds from within PHP using ease to use classes.

* creates valid feeds according to RSS 0.91, 1.0 or 2.0 as well as PIE 0.1 (deprecated), OPML 1.0, Unix mbox and ATOM 0.3 format.
* configurable feed caching

This is code you can use within your own PHP that allows you to generate RSS files from any source you can load data into. I like the options to generate different RSS flavors, from 0.91 through Atom and a bunch in between. I might be using this rather than the RSSWriter (RSS 1.0 only) I had been using for the MLX feed generation.

If this kind of stuff has any value, please support me monthly on Patreon or a one time PayPal kibble toss
Profile Picture for Alan Levine aka CogDog
An early 90s builder of the web and blogging Alan Levine barks at on web storytelling (#ds106 #4life), photography, bending WordPress, and serendipity in the infinite internet river. He thinks it's weird to write about himself in the third person.


Comments are closed.