[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:
Expected Behavior? (1999)
[ShowNext] (1997)
Electronic Delivery (1997)
Still can't upgrade users.db to 2.1.1 (1998)
The word TYPE in search contexts and fields (1998)
RE: Nested [SEARCH] and [REPLACE] problem. (1997)
NT vs Mac (1997)
StoreBuilder Q's (2003)
Can't use old cart file (was One more try) (1997)
using listfiles to build a database? (2000)
Bug Report, maybe (1997)
Possible Bug in 2.0b15.acgi (1997)
WebCatalog for guestbook ? (1997)
Just Testing (1997)
WebCatalog Technical Reference (1997)
b12 cannot limit records returned and more. (1997)
Inventory Control (2000)
WC Database Format (1997)
[shownext] (1998)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)