[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'm wondering if any of you could take a look at the feed below along with the code I'm using to see if there's anything obviously wrong with it. With the code below, I'm successfully extracting the media:category label, 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 all urls leads me to believe that's probably the issue but I can't seem to figure out how to obtain the info. Here is the pared-down version of the feed: http://gdata.youtube.com/feeds/api/videos/j82E082KJSw Brazilian Volleyball Mix People Brazil playing in world champs 06 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:

    
  1. Re: [WebDNA] Parsing XML...again... (Tana Adams 2010)
  2. Re: [WebDNA] Parsing XML...again... (Christer Olsson 2010)
  3. Re: [WebDNA] Parsing XML...again... (Tana Adams 2010)
  4. Re: [WebDNA] Parsing XML...again... (Grant Hulbert 2010)
  5. Re: [WebDNA] Parsing XML...again... (Christer Olsson 2010)
  6. [WebDNA] Parsing XML...again... (Tana Adams 2010)
Hi, I'm back on parsing XML and have run into another problem. I'm wondering if any of you could take a look at the feed below along with the code I'm using to see if there's anything obviously wrong with it. With the code below, I'm successfully extracting the media:category label, 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 all urls leads me to believe that's probably the issue but I can't seem to figure out how to obtain the info. Here is the pared-down version of the feed: http://gdata.youtube.com/feeds/api/videos/j82E082KJSw Brazilian Volleyball Mix People Brazil playing in world champs 06 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:

carriage returns in data (1997) redirect not passing vars (2004) webcat and OS 8 (1997) WebCat2 - storing unformatted date data? (1997) Robert Minor duplicate mail (1997) Configuring E-mail (1997) IE 6 weirdness ??? (2002) [WebDNA] Math Date issue (2009) test -please ignore (2000) Extended [ConvertChars] (1997) WebMerchant and PCAuthorize (1998) Encrypt Decrypt URL UnURL Weirdness (2001) [carts] and databases (1997) Caching [include] files ... (1997) WebCatalog for Postcards ? (1997) Pls Remove me from all Lists (1998) WC1.6 to WC2 date formatting (1997) Replacing entry (1998) Simple Store (2002) ASCII Code 127 (2004)