2011-12-16, 14:16:07
(This post was last modified: 2011-12-16, 17:05:56 by losangelescar.)
I'd like feedback on this plugin I'm working on. You drop it in /plugins (of course), and it creates a file named "feed" in your site root. It is based on the existing code that creates the sitemap.xml files.
Right now, it only runs when you change a page. There might be more places that should update it, but I don't know what those are. Ideas?
I've not actively coded PHP in a while, so this is very basic code. caveat emptor
The RSS file now validates.
If anyone has other bits they want in there, I'm open to suggestions, just include link to a page that describes the option and how to implement it.
Using the meta description of the home page as the description for the feed.
There is some silliness in picking the home page. Will probably rewrite it later.
Right now, it only runs when you change a page. There might be more places that should update it, but I don't know what those are. Ideas?
I've not actively coded PHP in a while, so this is very basic code. caveat emptor
The RSS file now validates.
If anyone has other bits they want in there, I'm open to suggestions, just include link to a page that describes the option and how to implement it.
Using the meta description of the home page as the description for the feed.
There is some silliness in picking the home page. Will probably rewrite it later.
Connie's avatar scares me