numero = 45261
interpreted = N
texte = Give it a try... maybe [url] it in case there's any funny stuff. Do you know if the second word would be the value you want to pass? Could you expect something likewww.somedomain.com/directory1/directory2/directory3/xyz?If you're always trying to get the very last value, your logic would go something like[listwords words=[theURL]&delimiters=/] [text]lastword=[word][/text][/listwords]Then every iteration through [listwords] will set the variable lastword equal to the current word... at the end, its value will be that of the last word.>So then could I pass word2 to the search page in one fell swoop?>>> From: Daryl Mitchell >> Reply-To: (WebCatalog Talk)>> Date: Thu, 14 Nov 2002 10:29:27 -0600>> To: (WebCatalog Talk)>> Subject: Re: url value>>>> If you're obtaining it by something like this>>>> >>>> Then you could parse it using>>>> [listwords words=[theURL]&delimiters=/]>> [text]word[index]=[word][/text]>> [/listwords]>>>> And using your example you'd end up with>>>> word1 = www.somedomain.com>> word2 = 1234567>>>>> hi group, is there a way that I could extract a value that someone enters>>> into a URL and use it for a value in a search through a redirect?>>>>>> If the user keyed in www.somedomain.com/1234567>>>>>> Using a default page with a redirect could I then take 1234567 as a value>>> into a search page?>>>>>> TIA>>>>>> KenM>>>> -->>>> Daryl Mitchell>> E-Business Specialist, PW Group>> Saskatoon, SK CANADA>> Tel: (306) 249-9289>> Toll-free: (800) 842-5515>> Fax: (306) 249-9276>> E-Mail: d.mitchell@pwgroup.ca>> Web: http://www.pwgroup.ca/>>>> ------------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to>> >> Web Archive of this list is at: http://search.smithmicro.com/>>>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list .>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >>Web Archive of this list is at: http://search.smithmicro.com/-- Daryl MitchellE-Business Specialist, PW GroupSaskatoon, SK CANADATel: (306) 249-9289Toll-free: (800) 842-5515Fax: (306) 249-9276E-Mail: d.mitchell@pwgroup.caWeb: http://www.pwgroup.ca/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Give it a try... maybe [url] it in case there's any funny stuff. Do you know if the second word would be the value you want to pass? Could you expect something likewww.somedomain.com/directory1/directory2/directory3/xyz?If you're always trying to get the very last value, your logic would go something like[listwords words=[theURL]&delimiters=/] [text]lastword=[word][/text][/listwords]Then every iteration through [listwords] will set the variable lastword equal to the current word... at the end, its value will be that of the last word.>So then could I pass word2 to the search page in one fell swoop?>>> From: Daryl Mitchell >> Reply-To: (WebCatalog Talk)>> Date: Thu, 14 Nov 2002 10:29:27 -0600>> To: (WebCatalog Talk)>> Subject: Re: url value>>>> If you're obtaining it by something like this>>>> >>>> Then you could parse it using>>>> [listwords words=[theURL]&delimiters=/]>> [text]word[index]=[word][/text]>> [/listwords]>>>> And using your example you'd end up with>>>> word1 = www.somedomain.com>> word2 = 1234567>>>>> hi group, is there a way that I could extract a value that someone enters>>> into a URL and use it for a value in a search through a redirect?>>>>>> If the user keyed in www.somedomain.com/1234567>>>>>> Using a default page with a redirect could I then take 1234567 as a value>>> into a search page?>>>>>> TIA>>>>>> KenM>>>> -->>>> Daryl Mitchell>> E-Business Specialist, PW Group>> Saskatoon, SK CANADA>> Tel: (306) 249-9289>> Toll-free: (800) 842-5515>> Fax: (306) 249-9276>> E-Mail: d.mitchell@pwgroup.ca>> Web: http://www.pwgroup.ca/>>>> ------------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to>> >> Web Archive of this list is at: http://search.smithmicro.com/>>>------------------------------------------------------------->This message is sent to you because you are subscribed to> the mailing list .>To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to >>Web Archive of this list is at: http://search.smithmicro.com/-- Daryl MitchellE-Business Specialist, PW GroupSaskatoon, SK CANADATel: (306) 249-9289Toll-free: (800) 842-5515Fax: (306) 249-9276E-Mail: d.mitchell@pwgroup.caWeb: http://www.pwgroup.ca/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Daryl Mitchell
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...