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:
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)