[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:
Problems with date math (1997)
New NT betas available (1997)
PowerKey and PageSentry not playing nice (2000)
Bug or syntax error on my part? (1997)
My web page only... (2003)
frames & carts (1997)
Date/Time format problems (1997)
Unable to view next 101-200 (1997)
Email notification to one of multiple vendors ? (1997)
Secure server question (1997)
WebCatb15 Mac CGI -- [purchase] (1997)
Max Record length (1997)
Doctype (2004)
all records returned. (1997)
redondant server and Webcatalog (2000)
File Upload and Platform (2001)
WebDNA Solutions ... (1997)
Extended [ConvertChars] (1997)
Major Security Hole (1998)
select multiple 2 more cents (1997)