numero = 105099
interpreted = N
texte = Ok, I'm back to this project again...thanks for your input, Donovan.Unfortunately, I'm still not getting it. I've search the docs and thetalk list. I guess I'm searching for the wrong thing because I simplycan't find what I'm looking for.TanaOn Thu, Mar 18, 2010 at 10:05 AM, Tana Adams wrote:> I'm a bit lost in attempting to parse xml feeds and am wondering if> someone can push me in the right direction. =A0I'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. =A0I've been through the docs and the talklist but am still> having trouble. =A0I'm starting with the example in the docs here:>> [xmlparse var=3Dxml_var1][include> file=3Dhttp://gdata.youtube.com/feeds/api/videos/-/volleyball][/xmlparse]> [xmlnodes ref=3Dxml_var1]> [name]=3D[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. =A0I 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:>> >> xmlns:media=3D'http://search.yahoo.com/mrss/'> xmlns:openSearch=3D'http://a9.com/-/spec/opensearchrss/1.0/'> xmlns:gd=3D'http://schemas.google.com/g/2005'> xmlns:gml=3D'http://www.opengis.net/gml'> xmlns:yt=3D'http://gdata.youtube.com/schemas/2007'> xmlns:georss=3D'http://www.georss.org/georss'>>> >> http://gdata.youtube.com/feeds/api/videos/zQdeJEPoog0>> term=3D'http://gdata.youtube.com/schemas/2007#video'/>>> This is the article>> This is the description.>> type=3D'application/atom+xml'> href=3D'http://gdata.youtube.com/feeds/api/videos/zQdeJEPoog0/responses'/=>>> scheme=3D'http://gdata.youtube.com/schemas/2007/categories.cat'>News>> type=3D'application/x-shockwave-flash' medium=3D'video' isDefault=3D'true='> expression=3D'full' duration=3D'146' yt:format=3D'5'/>>> >> height=3D'90' width=3D'120' time=3D'00:01:13'/>>> > >
Associated Messages, from the most recent to the oldest:
Ok, I'm back to this project again...thanks for your input, Donovan.Unfortunately, I'm still not getting it. I've search the docs and theTalk List. I guess I'm searching for the wrong thing because I simplycan't find what I'm looking for.TanaOn Thu, Mar 18, 2010 at 10:05 AM, Tana Adams wrote:> I'm a bit lost in attempting to parse xml feeds and am wondering if> someone can push me in the right direction. =A0I'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. =A0I've been through the docs and the talklist but am still> having trouble. =A0I'm starting with the example in the docs here:>> [xmlparse var=3Dxml_var1][include> file=3Dhttp://gdata.youtube.com/feeds/api/videos/-/volleyball][/xmlparse]> [xmlnodes ref=3Dxml_var1]> [name]=3D[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. =A0I 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:>> >> xmlns:media=3D'http://search.yahoo.com/mrss/'> xmlns:openSearch=3D'http://a9.com/-/spec/opensearchrss/1.0/'> xmlns:gd=3D'http://schemas.google.com/g/2005'> xmlns:gml=3D'http://www.opengis.net/gml'> xmlns:yt=3D'http://gdata.youtube.com/schemas/2007'> xmlns:georss=3D'http://www.georss.org/georss'>>> >> http://gdata.youtube.com/feeds/api/videos/zQdeJEPoog0>> term=3D'http://gdata.youtube.com/schemas/2007#video'/>>> This is the article>> This is the description.>> type=3D'application/atom+xml'> href=3D'http://gdata.youtube.com/feeds/api/videos/zQdeJEPoog0/responses'/=>>> scheme=3D'http://gdata.youtube.com/schemas/2007/categories.cat'>News>> type=3D'application/x-shockwave-flash' medium=3D'video' isDefault=3D'true='> expression=3D'full' duration=3D'146' yt:format=3D'5'/>>> >> height=3D'90' width=3D'120' time=3D'00:01:13'/>>> > >
Tana Adams
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...