[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:
Conditional searching & displaying (1997)
database paths/names, and a typo (1997)
[WebDNA] Re:BCC and/or Character limit [sendmail] (2010)
email servers (2000)
[UPPERCASE] (1997)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)
Post arguments problem mac? (1997)
PCS Frames (1997)
Associative lookup style? (1997)
Client-side Image Maps and WebCat? (1998)
Math Enhancement Request (2004)
Initiating NewCart (1997)
Another new bug found ... (2000)
Using copyfolder (2001)
Uh...can someone help me out with the b10? (1997)
One more time (1997)
Summary search -- speed (1997)
What happened to my erbcatalogengine folder? (2001)
[WebDNA] Talk archives (2010)
Can WC remember people? (1998)