Welcome to Geeklog, Anonymous Monday, November 25 2024 @ 09:24 pm EST
Geeklog Forums
Replacement COM_exportRDF() for RSS 2.0
sardu
New version of the COM_exportRDF() to provide a nicer backend that validates as RSS 2.0 (I hope).
Rather than dealing with emails asking 'HOW TO PATCH YOU FILE!?' I'm just posting the entire function in a text file.
Download COM_exportRDF_updated.txtSimply rename the COM_exportRDF() function in /path/to/geeklog/public_html/lib-common.php to COM_exportRDF_old and paste the contents of this file to try it.
I'd like to test this a bit, polish it up, and submit it as a patch to the GL maintainers (if they'll have it). No readme, just look at the comments in the src.
Changes/Comments/Flames to sardu@mac.com
Lucas Thompson, sardu@mac,com
sardu
It currently validates fine
Lucas Thompson, sardu@mac,com
sardu
Lucas Thompson, sardu@mac,com
sardu
I'm starting to think this might be better accomplished as a plugin due to the configuration nitty-gritty as well as the obvious potentials like scheduled dumps, multiple feed configs, and user feeds.
Anyways... I added support for more tags and try to make better use of existing _CONF variables for default values.
URL for the source is the same:
http://slf.homelinux.net/COM_exportRDF_updated.txt
A crude changelog can be found in the comments of the source file.
Lucas Thompson, sardu@mac,com
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content