Re: [WebDNA] Small Parsing Problem
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 101842
interpreted = N
texte = middle also confuses me . . . :)Thanks in advance!D.On Wed, Jan 28, 2009 at 5:31 PM, Govinda
wrote:> or if you are in a rush, why not use [middle] instead?> if you need more help writing such a [middle] ask again and I'll do it.> -Govinda>> On Jan 28, 2009, at 3:25 PM, David Bastedo wrote:>>> Hi, I am trying to get a youTube VideoID value from the content of the ID>> tag.>>>> Example:>> tag:youtube,2008:video:24Ryj1ywosw>>>> so ineffect, I need to parse the following>> tag:youtube,2008:video:24Ryj1ywosw>>>>>> From YouTube: The tag specifies a URN that uniquely and>> permanently identifies a feed or video entry.>>>> so I believe the solution is a grep to get the content from each of>> the tag and video elements, as the tag and video labels will not>> change, but the content will have a varying length.>>>> So to get the videoID, I would grep from the colon after video to the>> end and take everything inbetween . . . of course, that's where it all>> falls apart as I am really just starting to find that I need to lear>> grep and regular expressions. . .>>>> thanks for any help.>>>> D.>>>>>>>> -->> David Bastedo>> Ten Plus One Communications Inc.>> http://www.10plus1.com>> 416.603.2223 ext.1>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> old archives: http://dev.webdna.us/TalkListArchive/>> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/>>-- David BastedoTen Plus One Communications Inc.http://www.10plus1.com416.603.2223 ext.1
Associated Messages, from the most recent to the oldest:
middle also confuses me . . . :)Thanks in advance!D.On Wed, Jan 28, 2009 at 5:31 PM, Govinda wrote:> or if you are in a rush, why not use [middle] instead?> if you need more help writing such a [middle] ask again and I'll do it.> -Govinda>> On Jan 28, 2009, at 3:25 PM, David Bastedo wrote:>>> Hi, I am trying to get a youTube VideoID value from the content of the ID>> tag.>>>> Example:>> tag:youtube,2008:video:24Ryj1ywosw>>>> so ineffect, I need to parse the following>> tag:youtube,2008:video:24Ryj1ywosw>>>>>> From YouTube: The tag specifies a URN that uniquely and>> permanently identifies a feed or video entry.>>>> so I believe the solution is a grep to get the content from each of>> the tag and video elements, as the tag and video labels will not>> change, but the content will have a varying length.>>>> So to get the videoID, I would grep from the colon after video to the>> end and take everything inbetween . . . of course, that's where it all>> falls apart as I am really just starting to find that I need to lear>> grep and regular expressions. . .>>>> thanks for any help.>>>> D.>>>>>>>> -->> David Bastedo>> Ten Plus One Communications Inc.>> http://www.10plus1.com>> 416.603.2223 ext.1>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> old archives: http://dev.webdna.us/TalkListArchive/>> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/>>-- 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:
Validating A Date (2004)
[WebDNA] First-timer feedback (2014)
Major Security Hole (1998)
tcpconnect (1999)
Pithy questions on webcommerce & siteedit (1997)
[WebDNA] Help me install WebDNA (2012)
Repeating Fields (1997)
ShowIf helper? (1998)
Robert Minor duplicate mail (1997)
Writefile (2000)
RE: [WebDNA] .htm files (2008)
WebTen and WebCat (1997)
webcatalog [date] bug...not (1999)
[OT] Domain Management (2003)
selectively replacing records within a [founditems] (2000)
OBDC Support (1997)
Discounts: Buy One, Get One =?ISO-8859-1?Q?99=A2?= (2004)
Online reference (1997)
WebCat2final1 crashes (1997)
Re[4]: Problem with new formvariables (2000)