0

Consume RSS feeds with wwwRssEater

ColdFusion
This custom tag was created to consume RSS feeds and display their links/title/publish date in a date sorted list.

Here is an example of its use in your page:

<cf_wwwRssEater
         rssPathUrl="http://www.aaronjlynch.com/blog/rss.cfm,
                        http://www.daveshuck.com/blog/rss.cfm"
        rssItems="10">

As you can see, it accepts two attributes (rssPathUrl, and rssItems). The rssPathUrl attribute takes a comma delimited list of http paths. If you want to return all rss items in your feed collection just leave out the rssItems attribute.

I built a page that basically just uses this tag for its content. (I added 'Description' to the tag's code in order to poplate that portion of the page.)


click here to download wwwRssEater

AJL
tags:
ColdFusion
Neil Fabbo said:
 
I got my isp to add the great looking custom tag but i am not quite sure how to get it working so i can show my feeds at my coldfusion site?? I did not find any hints or anything in the download just a sample and the tag itself.

I am not an expert so I am a little confused>>??

Can you help?
Thanks
Neil
 
posted 1403 days ago
Add Comment Reply to: this comment OR this thread
 
AJL said:
 
Hey Neil, if you are trying to display the contents of another RSS feed, then you could call the tag with either the <cf_tagname attributes=""> method or you could use <cfmodule>.
<br><br>
If the wwwRssEater.cfm was placed in one of your site's directories, you can call it using
<blockquote>
<cfmodule template="/pathToCfm/wwwRssEater.cfm" <br>
rssPathURL="http://www.TheWebsite/someRss2feed.xml"<br>
rssItems="25">
</blockquote>
 
posted 1403 days ago
Add Comment Reply to: this comment OR this thread
 
AJL said:
 
sorry, forgot the comments were plain text...


<cfmodule
template="/pathToCfm/wwwRssEater.cfm" rssPathURL="http://www.TheWebsite/someRss2feed.xml"
rssItems="25">
 
posted 1403 days ago
Add Comment Reply to: this comment OR this thread
 
dk said:
 
It says you added 'Description' to the tag's code in order to poplate that portion of the page.

Can you elaborate please
 
posted 376 days ago
Add Comment Reply to: this comment OR this thread
 
David said:
 
I tried to download the UDF from both Adobe Exchange and directly here on your website. It won't work on either, saying that it doesn't exist. Please advise. I have been desperatly searching for a UDF that will work with pubDate.
 
posted 292 days ago
View Replies (2) || Add Comment Reply to: this comment OR this thread
 
.: HIDE REPLIES :.
 
Hmm...I will have to look around for that tag.

What are you trying to accomplish, maybe I will just write a new one and make a blog post out of it.

Thanks,
Aaron
 
posted 291 days ago
Add Comment Reply to: this comment OR this thread
 
David said:
 
Well I just need it to pull the title, link, summary, and pubDate. It is for the VW Buzz. I appreciate you helping me out.
 
posted 291 days ago
Add Comment Reply to: this comment OR this thread
 

Search

Fuelly