Blog4PHP now does RSS
Having created an RSS template by the simple expedient of taking the one from this site and changing some of the tags, and after fleshing out some of the code and adding some more supporting functions, Blog4PHP can now provide an RSS feed that's readable (at least by Mark Pilgrim's ultra-liberal RSS parser)
Though none of the template parsing code needed changing (miraculously) there have been some changes around the place:
- "Tags.inc" is now significantly longer
- Permalinks are now supported by the entries. The current implementation is a bit simplistic, relying on brute force to do the hard work, but it works.
- The RSS can be found using autodiscovery
- Changes have been made to the blog and entry classes, allowing the blog to return an ordered list of entries, rather than the previous "first come, first served" order they were in before
- Some dead code has been removed, particularly the "Tag.inc" and supporting classes. Just watch as I check them out of CVS and ruin all that hard work :)
- The config.inc file has been rejigged to make a little more sense.
You can grab the new release from here but the old version's still there if you want to see how much has changed.
Posted in: /php
You may comment...