Re: url value

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 45259
interpreted = N
texte = On 11/14/02 1:40 PM, Ken MacMurchy wrote: First you need to remember that this has to go on your custom 404 not found page. Assuming the file they looked for didn't exist. [listwords words=[thisurl]&delimiters=/] [text]word[index]=[word][/text] [/listwords]But with a long url, this could end up with a bunch of words and word 2 would only be the top level directory so you could do this:[text]lastdir=[/text] [listwords words=[thisurl]&delimiters=/] [showif [ur][word][/url]!][text]lastdir=[word][/text][/showif] [/listwords]Then [lastdir] would be the last data in the loop. This could be the filename such as index.tpl or could be the dir name if they tried /dir/This might work well for you.If you wanted to be really helpful you could list all the words (dirs) and the page that comes up makes each word a separate link which when clicked passes that word onto a search results page.HTH Alex Alex J McCombie New World Media Chief Information Officer Drawer 607 800/724.8973 Fair Haven, NY 13064 Alex@NewWorldMedia.com http://OurClients.comInterface Designer WebDNA Programmer Database Designer------------------------------------------------------------- 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: url value (Ken MacMurchy 2002)
  2. Re: url value (Daryl Mitchell 2002)
  3. Re: url value (Alex McCombie 2002)
  4. Re: url value (Mark Derrick 2002)
  5. Re: url value (Ken MacMurchy 2002)
  6. Re: url value (Daryl Mitchell 2002)
  7. url value (Ken MacMurchy 2002)
On 11/14/02 1:40 PM, Ken MacMurchy wrote: First you need to remember that this has to go on your custom 404 not found page. Assuming the file they looked for didn't exist. [listwords words=[thisurl]&delimiters=/] [text]word[index]=[word][/text] [/listwords]But with a long url, this could end up with a bunch of words and word 2 would only be the top level directory so you could do this:[text]lastdir=[/text] [listwords words=[thisurl]&delimiters=/] [showif [ur][word][/url]!][text]lastdir=[word][/text][/showif] [/listwords]Then [lastdir] would be the last data in the loop. This could be the filename such as index.tpl or could be the dir name if they tried /dir/This might work well for you.If you wanted to be really helpful you could list all the words (dirs) and the page that comes up makes each word a separate link which when clicked passes that word onto a search results page.HTH Alex Alex J McCombie New World Media Chief Information Officer Drawer 607 800/724.8973 Fair Haven, NY 13064 Alex@NewWorldMedia.com http://OurClients.comInterface Designer WebDNA Programmer Database Designer------------------------------------------------------------- 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/ Alex McCombie

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:

Virtual hosting and webcatNT (1997) Stat analyzer (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Mail Server Needed. (1998) Listserver problem (1997) SiteEdit NewFile.html ? (1997) Hide Ifs (2000) [HIDEIF] inside [FOUNDITEM] (1997) New public beta available (1997) creating a ShipCosts database (1997) RequiredFields template (1997) webcat- multiple selection in input field (1997) [WebDNA] OT - Developer required (2011) Error, 101 a DNS problem ? (1997) PCS Frames (1997) Online reference (1997) What file? (1997) Mime Headers / Meta-Tags (2003) Problems getting parameters passed into email. (1997) [WebDNA] Max upload file size (2010)