[WebDNA] parsing xml

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105078
interpreted = N
texte = I'm a bit lost in attempting to parse xml feeds and am wondering if someone can push me in the right direction. I'm trying to pull videos from YouTube using Google's API (example of the feed below). Currently, I'm just trying to understand the usage of the xmlparse context. I've been through the docs and the talklist but am still having trouble. I'm starting with the example in the docs here: [xmlparse var=xml_var1][include file=http://gdata.youtube.com/feeds/api/videos/-/volleyball][/xmlparse] [xmlnodes ref=xml_var1] [name]=[value] [/xmlnodes] and am just receiving the following error message: Fatal Error at file line: 1 column: 1 message: Invalid document structure An unknown error occurred: XMLNodes Container/Path Not Found: xml_var1 It's not clear to me whether or not I'm supposed to replace the xml_var1 with a variable name from the feed. I realize I have a lot to learn about all of this but if someone could just give me a push in the right direction, I'd appreciate it. Thanks, Tana -------------------------------------------------------------------------- Here is just a part of the feed: http://gdata.youtube.com/feeds/api/videos/zQdeJEPoog0 This is the article This is the description. News 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)
  7. Re: [WebDNA] parsing xml (Donovan Brooke 2010)
  8. [WebDNA] parsing xml (Tana Adams 2010)
I'm a bit lost in attempting to parse xml feeds and am wondering if someone can push me in the right direction. I'm trying to pull videos from YouTube using Google's API (example of the feed below). Currently, I'm just trying to understand the usage of the xmlparse context. I've been through the docs and the talklist but am still having trouble. I'm starting with the example in the docs here: [xmlparse var=xml_var1][include file=http://gdata.youtube.com/feeds/api/videos/-/volleyball][/xmlparse] [xmlnodes ref=xml_var1] [name]=[value] [/xmlnodes] and am just receiving the following error message: Fatal Error at file line: 1 column: 1 message: Invalid document structure An unknown error occurred: XMLNodes Container/Path Not Found: xml_var1 It's not clear to me whether or not I'm supposed to replace the xml_var1 with a variable name from the feed. I realize I have a lot to learn about all of this but if someone could just give me a push in the right direction, I'd appreciate it. Thanks, Tana -------------------------------------------------------------------------- Here is just a part of the feed: http://gdata.youtube.com/feeds/api/videos/zQdeJEPoog0 This is the article This is the description. News 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:

archiving images (2006) Follow-up to listfiles bug report ... (2003) Setting up shop (1997) Please help (2004) Emailer port change (1997) WebCatalog Install Problem (2005) Trigger date/month/year setting question (2002) Not reading code (1997) AuthNet/TCPConnect Timeouts (2003) WebCat2 beta 11 - new prefs ... (1997) Help formatting search results w/ table (1997) browser info.txt and SSL (1997) credit card authorization question (1997) Formulas.db + Users.db (1997) BR (1997) Big Databases (1997) Re:2nd WebCatalog2 Feature Request (1996) HELP WITH DATES (1997) Display [price] in banner ad (1998) Search minus first found (1999)