TIP: using [middle] to peel off page.html from [referrer]
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 59113
interpreted = N
texte = (Someone had a similar problem recently in losing the ?[cart] from a url; this works!)I needed to swap the filename from a referrer like so:http://www.anyserver.com/yadayada/feedback.htmlbecomeshttp://www.anyserver.com/yadayada/thankyou.htmlOn a lark, I tried adding from=end to the middle tag, like you can do with getchars. Well, lo and behold it works. I've added this undocumented parameter as a note in online docs.To makehttp://www.anyserver.com/yadayada/feedback.htmlintohttp://www.anyserver.com/yadayadado this:[middle from=end&startafter=&endbefore=/][referrer][/middle]Terry-------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
|
- TIP: using [middle] to peel off page.html from [referrer] ( Terry Wilson 2004)
|
(Someone had a similar problem recently in losing the ?[cart] from a url; this works!)I needed to swap the filename from a referrer like so:http://www.anyserver.com/yadayada/feedback.htmlbecomeshttp://www.anyserver.com/yadayada/thankyou.htmlOn a lark, I tried adding from=end to the middle tag, like you can do with getchars. Well, lo and behold it works. I've added this undocumented parameter as a note in online docs.To makehttp://www.anyserver.com/yadayada/feedback.htmlintohttp://www.anyserver.com/yadayadado this:[middle from=end&startafter=&endbefore=/][referrer][/middle]Terry-------------------------------------------------------------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://webdna.smithmicro.com/
Terry Wilson
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:
WebSTAR and WebSTAR/SSL with WebCatalog plugins (1998)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
WebDNA 4.5 not starting on boot? (2002)
WebCat2b12plugin - [search] is broken ... not! (1997)
Separate SSL Server (1997)
WC Database Format (1997)
Dealer Locator (zip codes) (2003)
[searchString] (1997)
WebCat2: Found Items syntax, etc. (1997)
Server crash (1997)
Re: (1998)
Friday night shopping site joke (1997)
Looking for WebDNA calendar (2004)
[isfile] ? (1997)
possible bug in unix version? (2000)
sort problems....bug or brain fart? (1997)
Add a field to the error log? (1997)
Reversed words (1997)
unsubscribe (1997)
Emailer help....! (1997)