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:

FireSite and PIXO (1998) Quiz question: Return all green and blank records? (2001) WebCommerce: Folder organization ? (1997) Sendmail html/text and CCS problem (2003) I give up!! (1997) Ampersand (1997) 2 requests (Japanese Kanji code & Oracle connection) (2000) Write to the desktop? (2002) normal users.db calls ... (1998) Searching multiple Databases (1997) Virtual hosting and webcatNT (1997) formula inside database to calculate weights (1997) Help name our technology! (1997) TRAINING videos - Prove IT. (1998) [ShowNext] feature in 2.0 (1997) Plugin or CGI or both (1997) GrandTotal not right (1997) emailer (1997) Case sensitivity and [showif] (1999) Re:Running 2 two WebCatalog.acgi's (1996)