Re: Search as error page
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 42906
interpreted = N
texte = Just do a search context:[listwords words=[url][referrer][/url]&delimiters=/][text]searchterm=[word][/text][/listwords][search db=blah.db&woPageColumdata=[searchterm]][FoundItems]Link to the related page.[/FoundItems][/search]-----Original Message-----From: Paul Berman [mailto:paul@ast.jagrove.com]Sent: Monday, August 26, 2002 9:28 AMTo: WebDNA-Talk@talk.smithmicro.comSubject: Re: Search as error pageHiNearly,What I need to do is have a page which I can set with the server software asa default error page.If you goto www.mycompany.com/myfriendscompany which doesnt exist the pagethat is returned is the results of a search for myfriendscompanyThe code you posted gets the myfriendscompany as a value, how do I set thesearch on the default error page to process and return the results withouthaving to press the search or find buttons?I know it can be done its just I spent so long on this I cant think straight(anymore)Thankspaul----- Original Message -----From: Brian Fries
To: WebCatalog Talk Sent: Monday, August 26, 2002 5:50 PMSubject: Re: Search as error page> 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?>> - brian>> At 5:27 PM 8/26/02, Paul Berman wrote:> >Hi> >> >I would like to set my default error page on the webserver as findme.htmso> >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/>>-------------------------------------------------------------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 toWeb 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/
Associated Messages, from the most recent to the oldest:
Just do a search context:[listwords words=[url][referrer][/url]&delimiters=/][text]searchterm=[word][/text][/listwords][search db=blah.db&woPageColumdata=[searchterm]][founditems]Link to the related page.[/FoundItems][/search]-----Original Message-----From: Paul Berman [mailto:paul@ast.jagrove.com]Sent: Monday, August 26, 2002 9:28 AMTo: WebDNA-Talk@talk.smithmicro.comSubject: Re: Search as error pageHiNearly,What I need to do is have a page which I can set with the server software asa default error page.If you goto www.mycompany.com/myfriendscompany which doesnt exist the pagethat is returned is the results of a search for myfriendscompanyThe code you posted gets the myfriendscompany as a value, how do I set thesearch on the default error page to process and return the results withouthaving to press the search or find buttons?I know it can be done its just I spent so long on this I cant think straight(anymore)Thankspaul----- Original Message -----From: Brian Fries To: WebCatalog Talk Sent: Monday, August 26, 2002 5:50 PMSubject: Re: Search as error page> 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?>> - brian>> At 5:27 PM 8/26/02, Paul Berman wrote:> >Hi> >> >I would like to set my default error page on the webserver as findme.htmso> >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/>>-------------------------------------------------------------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 toWeb 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/
Pedro Rivera
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:
details (2003)
Permissions (2000)
Mail Server Needed. (1998)
French characters in variables (2001)
Bad URL reference? (1997)
Generating and appending SKU to a db automatically (1998)
Problems getting parameters passed into email. (1997)
PIXO support (1997)
Sorting by type=date (1999)
WebCatalog for Postcards ? (1997)
Product Comparison (2000)
apostrophe in search item (1997)
auction system w/ Web Cat (1999)
'does not contain' operator needed ... (1997)
Saving results of a multiple select (2002)
OT: CSS expert needed for a newbie question (2002)
upgrading (1997)
WebDNA Writer Needed (1997)
Authorize.Net (2003)
PCS Emailer's role ? (1997)