Re: Middle Context

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41355
interpreted = N
texte = So do another listwords on the template name after it's been extracted from [thisurl]...[listwords words=[thisPage]&delimiters=.] [showif [index]=1][text]thisPage=[word][/text][/showif] [/listwords]- brianAt 1:16 AM 7/10/02, Glenn Busbin wrote: > >>I'm using the Middle context to extract the names of templates ... >> >>It's a lot easier and more efficient to use this solution instead >>of the [middle] stuff you've bene playing with: >> >>[listwords words=[thisurl]&delimiters=/][text >>secure=t]thisPage=[word][/text][/listwords] >> >>This code never fails to set the [thisPage] value to the actual >>template name, and it works ON ALL PLATFORMS. > >Kenny G, >You're right. It does exactly that, but... > >Trying to apply compassionate conservative principles to the code >and WorldCom economics to the db to which it writes, I want only the >name of the template minus the / and suffix. Your way works >correctly, but leaves the suffix attached. > >I could use a conversion db to strip off the suffix, but my way >works with less code it and I get what I need. > >Thanks for the idea, though. I'll file it away for future reference. > >Glenn------------------------------------------------------------- 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: Middle Context (Brian Fries 2002)
  2. Re: Middle Context (Kenneth Grome 2002)
  3. Re: Middle Context (Glenn Busbin 2002)
  4. Re: Middle Context (Kenneth Grome 2002)
  5. Re: Middle Context (Jesse Williams-Proudman 2002)
  6. Re: Middle Context (Glenn Busbin 2002)
  7. Re: Middle Context (Jesse Williams-Proudman 2002)
  8. Middle Context (Glenn Busbin 2002)
So do another listwords on the template name after it's been extracted from [thisurl]...[listwords words=[thisPage]&delimiters=.] [showif [index]=1][text]thisPage=[word][/text][/showif] [/listwords]- brianAt 1:16 AM 7/10/02, Glenn Busbin wrote: > >>I'm using the Middle context to extract the names of templates ... >> >>It's a lot easier and more efficient to use this solution instead >>of the [middle] stuff you've bene playing with: >> >>[listwords words=[thisurl]&delimiters=/][text >>secure=t]thisPage=[word][/text][/listwords] >> >>This code never fails to set the [thisPage] value to the actual >>template name, and it works ON ALL PLATFORMS. > >Kenny G, >You're right. It does exactly that, but... > >Trying to apply compassionate conservative principles to the code >and WorldCom economics to the db to which it writes, I want only the >name of the template minus the / and suffix. Your way works >correctly, but leaves the suffix attached. > >I could use a conversion db to strip off the suffix, but my way >works with less code it and I get what I need. > >Thanks for the idea, though. I'll file it away for future reference. > >Glenn------------------------------------------------------------- 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/ 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:

Searching Multiple DBs (1997) HomePage Caution (1997) Using Cookie for client specific info? (1997) [OT] SSL (2003) A little syntax help (1997) Smith Micro - no competition (2000) Automatic POST arg sending? (1998) Ok here is a question? (1997) Separate SSL Server (1997) [WebDNA] difference in formatting [time] (2011) Shopping carts and reloading pages (1997) Displaying raw values (1998) [WebDNA] Can WebDNA corrupt a db? (2012) Exclamation point (1997) [LookUp] (1999) WebCat2b13MacPlugin - [math][date][/math] problem (1997) WebSite and *NO* Authentication Dialog Box!!? (1998) Mixing and/or in searches (1998) Limit picture size on upload (2005) [WebDNA] CentOS Permissions (2009)