2 Replies Latest reply on Oct 30, 2008 2:00 PM by Photoshare

    Need Help Parsing RSS Feed

    Photoshare Level 1
      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. Re: Need Help Parsing RSS Feed
          Level 7
          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
          >
          >

          • 2. Need Help Parsing RSS Feed
            Photoshare Level 1
            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?