Page 1 of 1

RSS Feed tag

Posted: Sun Jan 29, 2006 5:24 pm
by Ron@Spikecity
Anyone working on implementing a RSS feed as a tag ? Like {rss url=""} ?
Would be a nice add-on for a CMS I guess.

Re: RSS Feed tag

Posted: Sun Jan 29, 2006 9:14 pm
by Ron@Spikecity
Hi Patricia,

Could not find that one but wrote my own.

I cannot upload the tag as the upload script ends with some freaky php error here so here goes nothing:

http://www.spikecity.net/download/function.rss.zip

It reads RSS 0.91, 1.00 and 2.00 version feeds and only outputs html links to the page (so basically anonymous links to any feed.

See it working at www.spikecity.net (Dutch NOS newsfeed).

Far from foolproof but worth testing I think.

Cheers,

Ron

Re: RSS Feed tag

Posted: Sun Jan 29, 2006 9:28 pm
by kermit
does it cache? any rss aggregator needs to have a cache as to minimize or spread out the hits to the rss source. many have limits on how often you can refresh your feed.

Re: RSS Feed tag

Posted: Sun Jan 29, 2006 9:30 pm
by Ron@Spikecity
kermit wrote: does it cache? any rss aggregator needs to have a cache as to minimize or spread out the hits to the rss source. many have limits on how often you can refresh your feed.
No not yet, it's very very beta ;)
Working on caching as we write(speak)

Re: RSS Feed tag

Posted: Mon Jan 30, 2006 3:14 am
by Ted
The original RSS module (which I just need to cut a release of, it should work fine) does do proper caching.  It just implements the magpie rss library which handles the specs correctly.

Re: RSS Feed tag

Posted: Wed Feb 01, 2006 7:02 am
by kermit
magpie. cool. i used that somewhere else on an otherwise static site, pretty slick stuff.
one of the wonders of open source, you don't have to reinvent the wheel unless you really want to. ;)

Re: RSS Feed tag

Posted: Wed Feb 01, 2006 3:35 pm
by Ron@Spikecity
wishy wrote: The original RSS module (which I just need to cut a release of, it should work fine) does do proper caching.  It just implements the magpie rss library which handles the specs correctly.
It actually works very well, so my tag solution compared to magpie is ofcourse very rudimentary :-)
I had no idea this module was already there until Patricia pointed to it so of course the magpie implementation is favorite over my quick and dirty fingerpractice  ;D

Basically I will always rewrite parts of ready made code to fit my needs better (but I think that comes with having developed a lot of online applications).

But I must truly admin that CMS is a hell of a basis to start of with and even without any modification itis an awesome package.