Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
site_rss - A crude, simple RSS feed for Get-Simple
Author Message
Tobarja Offline
Junior Member

Posts: 14
Joined: Aug 2011
2011-12-16 14:16:07
site_rss - A crude, simple RSS feed for Get-Simple

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.

Connie's avatar scares me
(This post was last modified: 2011-12-16 17:05:56 by losangelescar.)
Visit this user's website Find all posts by this user Quote this message in a reply
mikeh Offline
Senior Member

Posts: 661
Joined: Feb 2011
2011-12-16 14:24:40
site_rss - A crude, simple RSS feed for Get-Simple

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.

Multi User
Front End User Login
GS Blog v.0
All my plugins
Visit this user's website Find all posts by this user Quote this message in a reply
Tobarja Offline
Junior Member

Posts: 14
Joined: Aug 2011
2011-12-16 14:31:10
site_rss - A crude, simple RSS feed for Get-Simple

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.

Connie's avatar scares me
Visit this user's website Find all posts by this user Quote this message in a reply
mikeh Offline
Senior Member

Posts: 661
Joined: Feb 2011
2011-12-16 14:32:21
site_rss - A crude, simple RSS feed for Get-Simple

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!

Multi User
Front End User Login
GS Blog v.0
All my plugins
Visit this user's website Find all posts by this user Quote this message in a reply
Tobarja Offline
Junior Member

Posts: 14
Joined: Aug 2011
2011-12-16 14:52:39
site_rss - A crude, simple RSS feed for Get-Simple

No problem.

Just uploaded new version.

Connie's avatar scares me
Visit this user's website Find all posts by this user Quote this message in a reply
mikeh Offline
Senior Member

Posts: 661
Joined: Feb 2011
2011-12-16 15:27:20
site_rss - A crude, simple RSS feed for Get-Simple

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

Multi User
Front End User Login
GS Blog v.0
All my plugins
Visit this user's website Find all posts by this user Quote this message in a reply
Tobarja Offline
Junior Member

Posts: 14
Joined: Aug 2011
2011-12-16 15:39:54
site_rss - A crude, simple RSS feed for Get-Simple

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.

Connie's avatar scares me
Visit this user's website Find all posts by this user Quote this message in a reply
mvlcek Offline
Posting Freak

Posts: 1,978
Joined: Jan 2011
2011-12-16 17:33:25
site_rss - A crude, simple RSS feed for Get-Simple

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

I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)

Contact Us | GetSimple | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication
Generate Leads from Documents vCard Hosting