Re: [WebDNA] Variable mystery

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102656
interpreted = N
texte = I think I see where the problem you're experiencing is coming from Frank. Looking back at the explanation below I see one thing that will cause you to have to use [interpret]. From your description if you are storing [PHRASE] literally, you would have to surround that with [interpret] to make it dynamic. Marc Frank Nordberg wrote: > The [PAGEKW] variable is used for an ads rototor, determining which > advertisements are relevant for a specific page. > Usually this is a fixed keyword (or set of keywords) for each page but > on search result pages it needs to be set according to the search phrase. > > So I have a database that looks something like this: > > pgUrl pgPakeKw > someotherpage.html relevantkeyword > searchresults.html [PHRASE] > > Then I define [PAGEKW] early in the template: > [TEXT]PAGEKW=[pgPageKw][/TEXT] -- ------------------------------------------- Marc Thompson Software Engineer Office of Information Technology University of Utah 801.585.9264 marc.thompson@utah.edu ------------------------------------------- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Variable mystery (Marc Thompson 2009)
  2. Re: [WebDNA] Variable mystery (Brian Fries 2009)
  3. Re: [WebDNA] Variable mystery (Kenneth Grome 2009)
  4. Re: [WebDNA] Variable mystery (Govinda 2009)
  5. Re: [WebDNA] Variable mystery (Brian Fries 2009)
  6. Re: [WebDNA] Variable mystery (Kenneth Grome 2009)
  7. Re: [WebDNA] Variable mystery (Frank Nordberg 2009)
  8. Re: [WebDNA] Variable mystery (Kenneth Grome 2009)
  9. Re: [WebDNA] Variable mystery (Frank Nordberg 2009)
  10. Re: [WebDNA] Variable mystery (Donovan Brooke 2009)
  11. Re: [WebDNA] Variable mystery (Govinda 2009)
  12. Re: [WebDNA] Variable mystery (Terry Wilson 2009)
  13. Re: [WebDNA] Variable mystery (Frank Nordberg 2009)
  14. Re: [WebDNA] Variable mystery (Donovan Brooke 2009)
  15. Re: [WebDNA] Variable mystery (Govinda 2009)
  16. [WebDNA] Variable mystery (Frank Nordberg 2009)
I think I see where the problem you're experiencing is coming from Frank. Looking back at the explanation below I see one thing that will cause you to have to use [interpret]. From your description if you are storing [PHRASE] literally, you would have to surround that with [interpret] to make it dynamic. Marc Frank Nordberg wrote: > The [PAGEKW] variable is used for an ads rototor, determining which > advertisements are relevant for a specific page. > Usually this is a fixed keyword (or set of keywords) for each page but > on search result pages it needs to be set according to the search phrase. > > So I have a database that looks something like this: > > pgUrl pgPakeKw > someotherpage.html relevantkeyword > searchresults.html [PHRASE] > > Then I define [PAGEKW] early in the template: > [text]PAGEKW=[pgPageKw][/TEXT] -- ------------------------------------------- Marc Thompson Software Engineer Office of Information Technology University of Utah 801.585.9264 marc.thompson@utah.edu ------------------------------------------- Marc Thompson

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:

What abobut variables named max ??? (2000) lookup and two records? (1997) Database Options (1997) 2.01 upgrade problems (1997) [WebDNA] webDNA and JSON (2011) Re:2nd WebCatalog2 Feature Request (1996) Getting Total Quantity (1997) WebDNA equivalent for $REQUEST_URI (2004) Webcat Manual and TeaRoom Examples Uses Different Examples. (1997) Verifying and adding new users (1997) Error Lob.db records error message not name (1997) japanese characters (1997) Database Updates (1997) [WebDNA] [BULK] which of these tags exist in 7.0 (2011) Bad URL reference? (1997) Exclamation point (1997) sort without the or a (1998) Multiple Newcarts (1996) WebCat2b13MacPlugin - [math][date][/math] problem (1997) Online reference (1997)