[WebDNA] Small Parsing Problem
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 101840
interpreted = N
texte = Hi, I am trying to get a youTube VideoID value from the content of the ID tag.Example:
tag:youtube,2008:video:24Ryj1ywoswso ineffect, I need to parse the followingtag:youtube,2008:video:24Ryj1ywoswFrom YouTube: The
tag specifies a URN that uniquely andpermanently identifies a feed or video entry.so I believe the solution is a grep to get the content from each ofthe tag and video elements, as the tag and video labels will notchange, but the content will have a varying length.So to get the videoID, I would grep from the colon after video to theend and take everything inbetween . . . of course, that's where it allfalls apart as I am really just starting to find that I need to leargrep and regular expressions. . .thanks for any help.D.-- David BastedoTen Plus One Communications Inc.http://www.10plus1.com416.603.2223 ext.1
Associated Messages, from the most recent to the oldest:
Hi, I am trying to get a youTube VideoID value from the content of the ID tag.Example:tag:youtube,2008:video:24Ryj1ywoswso ineffect, I need to parse the followingtag:youtube,2008:video:24Ryj1ywoswFrom YouTube: The tag specifies a URN that uniquely andpermanently identifies a feed or video entry.so I believe the solution is a grep to get the content from each ofthe tag and video elements, as the tag and video labels will notchange, but the content will have a varying length.So to get the videoID, I would grep from the colon after video to theend and take everything inbetween . . . of course, that's where it allfalls apart as I am really just starting to find that I need to leargrep and regular expressions. . .thanks for any help.D.-- David BastedoTen Plus One Communications Inc.http://www.10plus1.com416.603.2223 ext.1
David Bastedo
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:
[WebDNA] Image resizing on the fly (2012)
webcat- multiple selection in input field (1997)
Formating found categories (1997)
Frames and WebCat (1997)
[WebDNA] feature suggestion - long response (2011)
Founditems context returning only 1 item (1997)
I've been thinking (2002)
A little syntax help (1997)
Pgp&emailer (1997)
WebCatalog can't find database (1997)
Why are some admin pages not encrypted? (2000)
[Webcat 2]Next (1997)
Associative lookup style? + bit more (1997)
Configuring E-mail (1997)
Virtual Domains (1998)
Questions (1998)
WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)
Database (2000)
View Source from cache (1997)
redirect with frames (1997)