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:

    
  1. Re: [.htm mappi]Re: Search as error page (Paul 2002)
  2. Re: Search as error page (Glenn Busbin 2002)
  3. [.htm mappi]Re: Search as error page (Donovan 2002)
  4. Re: Search as error page (Paul 2002)
  5. Re: Search as error page (Inkblot Media 2002)
  6. Re: Search as error page (Paul Berman 2002)
  7. Re: Search as error page (Pedro Rivera 2002)
  8. Re: Search as error page (Paul Berman 2002)
  9. Re: Search as error page (Pedro Rivera 2002)
  10. Re: Search as error page (Paul Berman 2002)
  11. Re: Search as error page (Brian Fries 2002)
  12. Re: Search as error page (Paul Berman 2002)
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:

Emailer prefs in two places ... (1997) [WebDNA] webdna.us (2008) Sku numbers (1997) Forbidden CGI Error (1997) [ShowNext] feature in 2.0 (1997) Loss in form (1998) breaking words (1997) Webcat causing crashes left and right! (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Not really WebCat- (1997) Modulo function? (2000) # of real domains on 1 web server (1997) Requird Fields Error Message (2000) Webcatalog quitting (1997) wc 2 pro users - sites, quotes wanted (1997) failure to encrypt (or maybe decrypt) (1999) UCE: Regarding PayPal (was Payments -> Bank Accounts) (2005) WebCat2 beta 11 - new prefs ... (1997) Re:2nd WebCatalog2 Feature Request (1996) [WebDNA] can webdna's [grep] find and replace ONLY the literal (2012)