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 value, please support me by tossing a one time PayPal kibble or monthly on Patreon
Become a patron at Patreon!
Profile Picture for CogDog The Blog
An early 90s builder of web stuff and blogging Alan Levine barks at CogDogBlog.com 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. And he is 100% into the Fediverse (or tells himself so) Tooting as @cogdog@cosocial.ca

Comments

Comments are closed.