Discussion:
Display RSS feed from external site on my page
(too old to reply)
TommyMTL
2009-03-04 18:28:26 UTC
Permalink
HI,

I need to know if it is possible with CFMX7 to grab rss feeds from a remote location and just display it on my site?

How to?
GArlington
2009-03-05 16:08:58 UTC
Permalink
Post by TommyMTL
HI,
I need to know if it is possible with CFMX7 to grab rss feeds from a remote location and just display it on my site?
How to?
http://www.cfquickdocs.com/cf8/#cfhttp
Azadi
2009-03-06 01:44:31 UTC
Permalink
while cf7 does not have <cffeed> tag, which makes this task somewhat
easier in cf8, it does have <cfhttp> and <cfxml> tags and accompanying
functions for parsing xml objects...

details are in the cfml reference / livedocs.

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
cjdunkerley
2009-03-06 11:56:37 UTC
Permalink
Depending on what you want you may find it easer to use something like Google FeedBurner.

Integrate (copy/paste) the Google code and select the feed/s you want displayed on your site.
TommyMTL
2009-03-06 15:02:19 UTC
Permalink
cjdunkerley Many thanks for your input I will look into that

Azadi, If I move to CF8 what would be my best steps ?

Porting all running application from CF7 to CF8 - is that painfull?

then what shoud I be looking at for feeds ?
TommyMTL
2009-03-06 15:06:38 UTC
Permalink
cjdunkerley Many thanks for your input I will look into that

Azadi, If I move to CF8 what would be my best steps ?

Porting all running application from CF7 to CF8 - is that painfull?

then what shoud I be looking at for feeds ?
Azadi
2009-03-06 15:26:41 UTC
Permalink
well, cf8 has a new <cffeed> tag... and though i have not ever needed to
use it (i prefer to create my feeds manually), it is *supposed to* make
creating and consuming (readin) rss and atom feeds a breeze... but
judging by many a blog posts, it is not without bugs...

google <cffeed>, and check out ray camden's blog at coldfusionjedi.com
for many posts on this tag

but there is really nothing stopping you from using <cfhttp> + <cfxml>
tags in cf7 to achieve what you want...

as for porting cf7 apps to cf8 - it is usually painless, but depending
on the complexity of your server/hardware configuration, it may require
close attention to minute details

just to check if you code runs fine in cf8, there is a code analyser
available in cf admin.

hth

Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/

Loading...