Re: Search as error page
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 42904
interpreted = N
texte = The easiest way to parse pieces from a url is with listwords:[listwords words=[url][referrer][/url]&delimiters=/][text]searchterm=[word][/text][/listwords]The variable searchterm now contains the last word from your referrer - company1 in your example below.Is this what you're looking for?- brianAt 5:27 PM 8/26/02, Paul Berman wrote:>Hi>>I would like to set my default error page on the webserver as findme.htm so>that it is processed by webcatalog as a search page.>>The findme.htm is a search for records from a company but using the>[referer] field as the search field>>What i need is a search from the [referer] so that if I goto>>www.mywebsite.com/company1 the search searches the database for company1>>What is happening at the moment is that it searches>http://www.mywebsite.com/company1 so i need to strip off the>http://www.mywebsite.com/>>Any ideas?-------------------------------------------------------------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:
The easiest way to parse pieces from a url is with listwords:[listwords words=[url][referrer][/url]&delimiters=/][text]searchterm=[word][/text][/listwords]The variable searchterm now contains the last word from your referrer - company1 in your example below.Is this what you're looking for?- brianAt 5:27 PM 8/26/02, Paul Berman wrote:>Hi>>I would like to set my default error page on the webserver as findme.htm so>that it is processed by webcatalog as a search page.>>The findme.htm is a search for records from a company but using the>[referer] field as the search field>>What i need is a search from the [referer] so that if I goto>>www.mywebsite.com/company1 the search searches the database for company1>>What is happening at the moment is that it searches>http://www.mywebsite.com/company1 so i need to strip off the>http://www.mywebsite.com/>>Any ideas?-------------------------------------------------------------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/
Brian Fries
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:
[newcart] (1998)
Thanks Grant (1997)
WebCat2b12 forgets serial # (1997)
MASTER_STORE revision (2002)
Help name our technology! (1997)
file uploads with webcat...binary? (1998)
Time for a hard questions. (1997)
problems with 2 tags shakur (1997)
Navigator Parsing (1997)
First postarg not taking in $Commands (1997)
WebCat2 - Getting to the browser's username/password data (1997)
Formating found categories (1997)
WebSTAR, OSX, WebDNA permissions problem ... (2005)
WC2f3 (1997)
[WebDNA] set HTTP-Status Code from webdna (2016)
Grant, please help me ... (1997)
Showif date > other date (2004)
FEW QUESTIONS (1997)
StoreBuilder Q's (2003)
popups, netscape vs explorer (1997)