Re: remove.htm from result

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 63239
interpreted = N
texte = The listwords example is missing an ending ]... should have had: [ListWords Words=[FileName]][hideif [word]^htm][word][/hideif][/ ListWords] That said, my preferred tool for simple removal of file name extensions is MIDDLE: [middle endbefore=.][filename][/middle] This has the advantage of removing any file extension (.htm, .html, .tpl, .jpg, .js etc), and it works properly even if the file name contains multiple or no periods. - Brian On Oct 19, 2005, at 10:57 AM, paul wrote: > Hi > > It gives a totally blank page > > Have no idea why > > Any ideas > > Thanks > Paul > ----- Original Message ----- > From: "Gary Krockover" > To: "WebDNA Talk" > Sent: Wednesday, October 19, 2005 4:33 PM > Subject: Re: remove.htm from result > > > >> Try: >> >> >> [ListFiles path=Staticstpages/] >> >> [/showif] >> [/ListFiles] >>
> > href="http://www.thedomain.com/Staticstpages/[FileName]">[ListWords > Words=[FileName][hideif [word]^htm][word][/hideif][/ListWords] td> > >> [showif [index]\2] >>
>> >> GJK >> >> At 09:27 AM 10/19/2005, you wrote: >> >>> Ideally would like to do it without a database file the contents >>> of the >>> directory change and although currently it has .htm in the link >>> name its >>> nicer without >>> >>> I currently have this for the listings whiuch works just fine but >>> > [FileName] > >>> includes the htm >>> >>> >>> [ListFiles path=Staticstpages/] >>> >>> [showif [index]\2] >>> >>> [/showif] >>> [/ListFiles] >>>
>> > href="http://www.thedomain.com/Staticstpages/[FileName]"> > >>> [FileName]
>>> >>> Thanks >>> Paul >>> Brian Fries BrainScan Software ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: remove.htm from result ( Brian Fries 2005)
  2. Re: remove.htm from result ( Phil Herring 2005)
  3. Re: remove.htm from result ( "paul" 2005)
  4. Re: remove.htm from result ( John Peacock 2005)
  5. Re: remove.htm from result ( Gary Krockover 2005)
  6. Re: remove.htm from result ( "paul" 2005)
  7. Re: remove.htm from result ( Gary Krockover 2005)
  8. Re: remove.htm from result ( "paul" 2005)
The listwords example is missing an ending ]... should have had: [ListWords Words=[FileName]][hideif [word]^htm][word][/hideif][/ ListWords] That said, my preferred tool for simple removal of file name extensions is MIDDLE: [middle endbefore=.][filename][/middle] This has the advantage of removing any file extension (.htm, .html, .tpl, .jpg, .js etc), and it works properly even if the file name contains multiple or no periods. - Brian On Oct 19, 2005, at 10:57 AM, paul wrote: > Hi > > It gives a totally blank page > > Have no idea why > > Any ideas > > Thanks > Paul > ----- Original Message ----- > From: "Gary Krockover" > To: "WebDNA Talk" > Sent: Wednesday, October 19, 2005 4:33 PM > Subject: Re: remove.htm from result > > > >> Try: >> >> >> [ListFiles path=Staticstpages/] >> >> [/showif] >> [/ListFiles] >>
> > href="http://www.thedomain.com/Staticstpages/[FileName]">[ListWords > Words=[FileName][hideif [word]^htm][word][/hideif][/ListWords] td> > >> [showif [index]\2] >>
>> >> GJK >> >> At 09:27 AM 10/19/2005, you wrote: >> >>> Ideally would like to do it without a database file the contents >>> of the >>> directory change and although currently it has .htm in the link >>> name its >>> nicer without >>> >>> I currently have this for the listings whiuch works just fine but >>> > [FileName] > >>> includes the htm >>> >>> >>> [ListFiles path=Staticstpages/] >>> >>> [showif [index]\2] >>> >>> [/showif] >>> [/ListFiles] >>>
>> > href="http://www.thedomain.com/Staticstpages/[FileName]"> > >>> [FileName]
>>> >>> Thanks >>> Paul >>> Brian Fries BrainScan Software ------------------------------------------------------------- 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://webdna.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:

Dubble Sku's in a Database (1999) Date search - yes or no (1997) PSC recommends what date format yr 2000??? (1997) Configuring E-mail (1997) Cobalt (2002) [lookup] speed sales pitch (2003) Is Web Merchant Necessary? (2000) Banner Ad example (Typhoon) and WebCatalog (1997) # fields limited? (1997) Nested vs conditional (1997) if else problem (2003) Hard Questions ? (1997) [TaxableTotal] - not working with AOL and IE (1997) WebCat2 - many [carts] on one template page? (1997) WebCat2b15MacPlugin - showing [math] (1997) Sharing DBs across domains (2001) TemplateCacheSize preference (1998) problem serving foreign languages text (1997) WebCatalog for Postcards ? (1997) [WebDNA] sort parameters in search (2015)