[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:

WebCat2b13MacPlugIn - syntax to convert date (1997) Help name our technology! (1997) default value from Lookup (was Grant, please help me) (1997) [recordrank]? (2000) Can't Update records (1997) Thanks ! (1997) Appending with +1 ... (1997) Correct Linux Version for WC 6 (2006) format crash! (1997) select multiple (1997) PCS Frames (1997) Weird Problem (1997) [WebDNA] Poll: Discussion Forum (2009) Searching Multiple DBs (1997) Setting up the server (1997) [WebDNA] Webcatalog folder missing on a Windows Server (2017) OT: Sending email to lots of subscribers (1999) WebCat Admin access w/ClearlyHome p.i. (1997) numfound question (2005) Sort Order on a page search (1997)