Skip to main content
Known Participant
October 30, 2008
Answered

Need Help Parsing RSS Feed

  • October 30, 2008
  • 1 reply
  • 443 views
I am hoping that someone could provide a simple starter script to help me parse this iTunes compatible RSS feed
http://feeds.feedburner.com/DigitalPhotographyLife

The main information that I'm trying to parse is:

The name of the Podcast (itunes:name)
The pubdate of each show <pubDate>
The Title of each show <title>
The Link to each show <title>
The Description <description>
The media link from each show <media:content url="">

I have parsed standard RSS feeds successfuly in the past, but the colon (:) is giving me problems.

Any help would greatly be appreciated.

Ron
This topic has been closed for replies.
Correct answer Newsgroup_User
Like this?

<cffeed source=" http://feeds.feedburner.com/DigitalPhotographyLife"
properties="myFeed" query="myQuery">
<cfoutput query="myQuery">
<strong>ITUNES_AUTHOR: </strong>#ITUNES_AUTHOR#<br />
<strong>pubdate: </strong>#PUBLISHEDDATE#<br />
<strong>Title: </strong>#TITLE#<br />
<strong>Link: </strong>#RSSLINK#<br />
<strong>media link: </strong>#LINKHREF#<br />
<strong>Description: </strong>#ITUNES_SUMMARY#<br />
</cfoutput>

--
Ken Ford
Adobe Community Expert Dreamweaver/ColdFusion
Adobe Certified Expert - Dreamweaver CS3
Adobe Certified Expert - ColdFusion 8
Fordwebs, LLC
http://www.fordwebs.com
http://www.cfnoob.com


"Photoshare" <webforumsuser@macromedia.com> wrote in message
news:gecpu7$h0t$1@forums.macromedia.com...
>I am hoping that someone could provide a simple starter script to help me
>parse
> this iTunes compatible RSS feed
> http://feeds.feedburner.com/DigitalPhotographyLife
>
> The main information that I'm trying to parse is:
>
> The name of the Podcast (itunes:name)
> The pubdate of each show <pubDate>
> The Title of each show <title>
> The Link to each show <title>
> The Description <description>
> The media link from each show <media:content url="">
>
> I have parsed standard RSS feeds successfuly in the past, but the colon
> (:) is
> giving me problems.
>
> Any help would greatly be appreciated.
>
> Ron
>
>

1 reply

Newsgroup_UserCorrect answer
Inspiring
October 30, 2008
Like this?

<cffeed source=" http://feeds.feedburner.com/DigitalPhotographyLife"
properties="myFeed" query="myQuery">
<cfoutput query="myQuery">
<strong>ITUNES_AUTHOR: </strong>#ITUNES_AUTHOR#<br />
<strong>pubdate: </strong>#PUBLISHEDDATE#<br />
<strong>Title: </strong>#TITLE#<br />
<strong>Link: </strong>#RSSLINK#<br />
<strong>media link: </strong>#LINKHREF#<br />
<strong>Description: </strong>#ITUNES_SUMMARY#<br />
</cfoutput>

--
Ken Ford
Adobe Community Expert Dreamweaver/ColdFusion
Adobe Certified Expert - Dreamweaver CS3
Adobe Certified Expert - ColdFusion 8
Fordwebs, LLC
http://www.fordwebs.com
http://www.cfnoob.com


"Photoshare" <webforumsuser@macromedia.com> wrote in message
news:gecpu7$h0t$1@forums.macromedia.com...
>I am hoping that someone could provide a simple starter script to help me
>parse
> this iTunes compatible RSS feed
> http://feeds.feedburner.com/DigitalPhotographyLife
>
> The main information that I'm trying to parse is:
>
> The name of the Podcast (itunes:name)
> The pubdate of each show <pubDate>
> The Title of each show <title>
> The Link to each show <title>
> The Description <description>
> The media link from each show <media:content url="">
>
> I have parsed standard RSS feeds successfuly in the past, but the colon
> (:) is
> giving me problems.
>
> Any help would greatly be appreciated.
>
> Ron
>
>

Known Participant
October 30, 2008
Ken. Thank you so much. I have never seen a coldfusion rss parser this simple before. Also, I love your cfnoob.com site. WIll be referencing that often. Is there a script this simple for CFMX 6.1? Just wondering.

I just started playing with the script and I cannot figure out why you can call things like "ITUNES_SUMMARY", but when I want to add "DESCRIPTION" I get an error. Is ITUNES_SUMMARY a standard part of CFFEED?