[WebDNA] Parsing XML...again...
This WebDNA talk-list message is from 2010
It keeps the original formatting.
numero = 105108
interpreted = N
texte = Hi,I'm back on parsing XML and have run into another problem. I'mwondering if any of you could take a look at the feed below along withthe code I'm using to see if there's anything obviously wrong with it. With the code below, I'm successfully extracting the media:categorylabel, media:description type, media:keywords and media:title type.For some reason, however, I'm unable to extract the media:player url,media:content url or media:thumbnail url. The fact that they're allurls leads me to believe that's probably the issue but I can't seem tofigure out how to obtain the info.Here is the pared-down version of the feed:
http://gdata.youtube.com/feeds/api/videos/j82E082KJSwBrazilian Volleyball Mix People Brazil playing in world champs06 Volleyball, Brazil, Giba, Dante, Spikes Brazilian Volleyball Mix Here is my code:[xmlparse var=xml_var1&source=[url]http://gdata.youtube.com/feeds/api/videos/-/volleyball[/url]][/xmlparse][xmlnodes ref=xml_var1&path=named:Feed/Entry(7)&name=media&exact=F][name] - [index]=[value][xmlnodes] [name]=[value][/xmlnodes][/xmlnodes]Thank you,Tana
Associated Messages, from the most recent to the oldest:
Hi,I'm back on parsing XML and have run into another problem. I'mwondering if any of you could take a look at the feed below along withthe code I'm using to see if there's anything obviously wrong with it. With the code below, I'm successfully extracting the media:categorylabel, media:description type, media:keywords and media:title type.For some reason, however, I'm unable to extract the media:player url,media:content url or media:thumbnail url. The fact that they're allurls leads me to believe that's probably the issue but I can't seem tofigure out how to obtain the info.Here is the pared-down version of the feed:
http://gdata.youtube.com/feeds/api/videos/j82E082KJSwBrazilian Volleyball Mix People Brazil playing in world champs06 Volleyball, Brazil, Giba, Dante, Spikes Brazilian Volleyball Mix Here is my code:[xmlparse var=xml_var1&source=
[url]http://gdata.youtube.com/feeds/api/videos/-/volleyball[/url]][/xmlparse][xmlnodes ref=xml_var1&path=named:Feed/Entry(7)&name=media&exact=F][name] - [index]=[value]
[xmlnodes] [name]=[value][/xmlnodes][/xmlnodes]Thank you,Tana
Tana Adams
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Spiders (1998)
expired beta (1997)
Showif, Hideif reverse logic ? (1997)
Date search - yes or no (1997)
question: search return in order (1997)
Serving images from databases (1998)
Date search - yes or no (1997)
Price recalc based on quantity (1997)
Use of & in text areas follow-up (1998)
Raw Table View? (2006)
Multi vendor shop (2000)
WebCat editing, SiteGuard & SiteEdit (1997)
Getting Total Quantity (1997)
Webcat 2.0.1b1 bug with IE 3.01/4.0p1 (1997)
Adding content advice needed (1998)
[WebDNA] WebDNA Roll Call (2013)
[WebDNA] WebDNA and MAMP/Apache (Mac) (2018)
international time (1997)
Final Receipt (1999)
[format] problems (2000)