GetSimple Support Forum
site_rss - A crude, simple RSS feed for Get-Simple - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: site_rss - A crude, simple RSS feed for Get-Simple (/showthread.php?tid=2169)



site_rss - A crude, simple RSS feed for Get-Simple - Tobarja - 2011-12-16

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.


site_rss - A crude, simple RSS feed for Get-Simple - mikeh - 2011-12-16

Tobarja Wrote: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 itself doesn't quite validate yet. I need to figure out where a few bits of site data are located.
Before I test it out, what is (or will be) the benefit of using this rather then GS's default sitemap.


site_rss - A crude, simple RSS feed for Get-Simple - Tobarja - 2011-12-16

sitemap is just to help search engines find pages on your site.

RSS is to allow people to subscribe to your site and have new posts/content appear in their feed/rss reader.


site_rss - A crude, simple RSS feed for Get-Simple - mikeh - 2011-12-16

Tobarja Wrote:sitemap is just to help search engines find pages on your site.

RSS is to allow people to subscribe to your site and have new posts/content appear in their feed/rss reader.
I miss-read your post.. Too much coding today!


site_rss - A crude, simple RSS feed for Get-Simple - Tobarja - 2011-12-16

No problem.

Just uploaded new version.


site_rss - A crude, simple RSS feed for Get-Simple - mikeh - 2011-12-16

The plugins works and would validate if the rss title,description,link were set and the plugin filename was rss.rss


site_rss - A crude, simple RSS feed for Get-Simple - Tobarja - 2011-12-16

mikeh Wrote:The plugins works and would validate if the rss title,description,link were set and the plugin filename was rss.rss
The original was missing a few fields. I found a few of them, but didn't update the version number in the file.

I'm hacking on description now.

I didn't think the filename of the feed was important.


site_rss - A crude, simple RSS feed for Get-Simple - mvlcek - 2011-12-16

An alternative, if you want RSS feed for specific content, ist the I18N Search plugin, see here.