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

Using Plug-In while running 1.6.1 (1997) remotely creating and populating a stock inventory db -almost there! (1999) Online reference (1997) Pls Remove me from all Lists (1998) emailer (1997) FW: (1999) Help! WebCat2 bug (1997) Re:HTTP header line is too long? (1997) Problems with [Applescript] (1997) ODBC / Paradox help needed (2005) protect tag on NT IIS (1997) Forms (1998) Summing fields (1997) Getting Emailer to send mail (1997) PCS Frames (1997) Cart doesn't interpret tag! (1997) Problems getting parameters passed into email. (1997) Stumpted Again (1997) Only charge card when product shipped ? (1997) Calculating multiple shipping... (1997)