• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

cf read podcast feeds

LEGEND ,
Oct 27, 2006 Oct 27, 2006

Copy link to clipboard

Copied

does anyone have example code of how cf can read podcast feeds..

example (i want to read this).
http://www.nytimes.com/services/xml/rss/nyt/podcasts/cohen.xml

thanks in advance


TOPICS
Advanced techniques

Views

419

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 27, 2006 Oct 27, 2006

Copy link to clipboard

Copied

<cfhttp
url=" http://www.nytimes.com/services/xml/rss/nyt/podcasts/cohen.xml"/>

<cfset podXML = xmlParse(cfhttp.FileContent)>

<cfoutput>#podXML.rss.channel.title.xmlText#</cfoutput>

<cfdump var="#podXML#">



What else would you like this to do?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 27, 2006 Oct 27, 2006

Copy link to clipboard

Copied

that only give me the title!
i want to see the title : description for each item listed!

THANK YOU!

"Ian Skinner" <ian.skinner@bloodsource.org> wrote in message
news:eht98t$8ao$1@forums.macromedia.com...
> <cfhttp
> url=" http://www.nytimes.com/services/xml/rss/nyt/podcasts/cohen.xml"/>
>
> <cfset podXML = xmlParse(cfhttp.FileContent)>
>
> <cfoutput>#podXML.rss.channel.title.xmlText#</cfoutput>
>
> <cfdump var="#podXML#">
>
>
>
> What else would you like this to do?


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 27, 2006 Oct 27, 2006

Copy link to clipboard

Copied

that only give me the title!
i want to see the title : description for each item listed!

THANK YOU!

I will presume you can figure out how to display the other data. I just
wanted to add how to get the nodes that contain a colon : in there name.
That can be confusion to some.

<img src="#podXML.rss.channel['itunes:image'].xmlAttributes.href#" />

Enjoy.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Oct 27, 2006 Oct 27, 2006

Copy link to clipboard

Copied

LATEST
THanks!


"Ian Skinner" <ian.skinner@bloodsource.org> wrote in message
news:ehtcbb$cju$1@forums.macromedia.com...
> that only give me the title!
> i want to see the title : description for each item listed!
>
> THANK YOU!
>
> I will presume you can figure out how to display the other data. I just
> wanted to add how to get the nodes that contain a colon : in there name.
> That can be confusion to some.
>
> <img src="#podXML.rss.channel['itunes:image'].xmlAttributes.href#" />
>
> Enjoy.


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation