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 foundpage. 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 2would 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 thefilename 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) andthe page that comes up makes each word a separate link which when clickedpasses that word onto a search results page.HTHAlexAlex J McCombie New World MediaChief Information Officer Drawer 607800/724.8973 Fair Haven, NY 13064Alex@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:
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 foundpage. 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 2would 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 thefilename 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) andthe page that comes up makes each word a separate link which when clickedpasses that word onto a search results page.HTHAlexAlex J McCombie New World MediaChief Information Officer Drawer 607800/724.8973 Fair Haven, NY 13064Alex@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)