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

ANSWER to: CC Merchant suggestions?? (1997) OT: Please set your computer's clock (1997) [WebDNA] webDNA and JSON (2011) Sending HTML messages with [sendmail] (2002) Almost a there but..bye bye NetCloak (1997) LOG IN LOG OUT (1997) New Command prefs ... (1997) [UPPERCASE] (1997) Quit revisited (1997) [GROUPS] followup (1997) Field name-subcategory (1997) Displaying photo attached to first record (1997) Best way to handle 404 errors with WebDNA and Web* V (2003) [WebDNA] Triggers.db wiped completely blank (2011) Hello world ... (2002) Typhoon Rev. and PCS store problems (1999) Passing a search through a form (2003) HELP WITH DATES (1997) Extended [ConvertChars] (1997) First postarg not taking in $Commands (1997)