I'm using Open BlueDragon since it's what my web hosting company use - plus it's open source.
I'm trying to read a YouTube feed using XML, and I keep getting the following error:
value [media:group] is not a number
My code is:
<cfhttp url="https://gdata.youtube.com/feeds/api/users/Shuggy23/favorites" method="GET" />
<cfset xml = XmlParse(#cfhttp.FileContent#) />
<cfoutput>#xml.feed.entry["media:group"]["media:thumbnail"].XmlAttributes.url#</cfoutput>
I think it worked before unless my mind was playing tricks on me. Any help would be appreciated.
Thank you
Douglas
Sorry - that code works perfectly fine on CF9, BlueDragon specific I suppose. what if you tried a different set of data - might lead to a clue:
If that fails as well I would suspect either the quote syntax or the colon notation, then try the BlueDragon docs & user forums.
Sorry I couldn't help more.
-sean