Interpret twice?
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 14649
interpreted = N
texte = Hello.I'm trying to establish a group of rotating ads that ensure every ad isshown at least once. The problem is that I can not get the WebDNA to beinterpreted as I'd like. The snippet below effectively gives the properfield name but I need the content of the field interpreted as well. (Itried [interpret][URL[Interpret][math]num[/math][/Interpret]][/interpret],which returned the field data but did nothing to the [cart] tag.)[math show=F]num=[include current]+1[/math][search db=test.db&cart=[cart]&neiddata=0&idsort=1&idsdir=ra&max=3] [foundItems] [math show=F]num=[include current]+1[/math] [showif [math]num[/math]<1][math show=F]num=1[/math][/showif] [showif [math]num[/math]>3][mathshow=F]num=1[/math][/showif]
[URL[Interpret][math]num[/math][/Interpret]]
[/founditems][/search]The database contains:id URL11 http://www.macbundle.com/Results.tmpl$search?db=maccat.db&cart=[cart]&Titlesort=1&Titlesdir=as&max=502 http://www.macbundle.com/Results.tmpl$search?db=maccat.db&cart=[cart]&Titlesort=1&Titlesdir=as&max=503 http://www.macbundle.com/Results.tmpl$search?db=maccat.db&cart=[cart]&Titlesort=1&Titlesdir=as&max=50Ultimately I'd like to take the outcome of the above search and theninterpret the data returned from the database. Is there an order ofoperations I can set up?Thanks,Nathan HydeInternet ServicesCasady & Greeneemail: nh_is@casadyg.com, nhyde@mail3.casadyg.comweb page: http://www.casadyg.comand now http://www.macbundle.com
Associated Messages, from the most recent to the oldest:
Hello.I'm trying to establish a group of rotating ads that ensure every ad isshown at least once. The problem is that I can not get the WebDNA to beinterpreted as I'd like. The snippet below effectively gives the properfield name but I need the content of the field interpreted as well. (Itried
[interpret][URL
[interpret][math]num[/math][/Interpret]][/interpret],which returned the field data but did nothing to the
[cart] tag.)[math show=F]num=[include current]+1[/math][search db=test.db&cart=
[cart]&neiddata=0&idsort=1&idsdir=ra&max=3]
[founditems] [math show=F]num=[include current]+1[/math] [showif
[math]num[/math]<1][math show=F]num=1[/math][/showif] [showif
[math]num[/math]>3][mathshow=F]num=1[/math][/showif]
[URL
[interpret][math]num[/math][/Interpret]]
[/founditems][/search]The database contains:id URL11 http://www.macbundle.com/Results.tmpl$search?db=maccat.db&cart=
[cart]&Titlesort=1&Titlesdir=as&max=502 http://www.macbundle.com/Results.tmpl$search?db=maccat.db&cart=
[cart]&Titlesort=1&Titlesdir=as&max=503 http://www.macbundle.com/Results.tmpl$search?db=maccat.db&cart=
[cart]&Titlesort=1&Titlesdir=as&max=50Ultimately I'd like to take the outcome of the above search and theninterpret the data returned from the database. Is there an order ofoperations I can set up?Thanks,Nathan HydeInternet ServicesCasady & Greeneemail: nh_is@casadyg.com, nhyde@mail3.casadyg.comweb page: http://www.casadyg.comand now http://www.macbundle.com
Nathan Hyde
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:
WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997)
[WebDNA] WebDNA not running after 10.6.3 update (2010)
Formulas.db + Users.db (1997)
[shownext] and descending order (1997)
Email Attachments (1998)
Emailer Problem (1999)
Date search bug (1998)
Chat (2000)
database paths/names, and a typo (1997)
[OT] Mystery Autoreply (2004)
WebDNA Writer Needed (1997)
Newbie questions (1999)
Country & Ship-to address & other fields ? (1997)
Fwd: Problems with Webcatalog Plug-in (1997)
Lost Records in Database (2001)
Mac: LModelDirector bug fix (1997)
[math] show=F exists? (1997)
Was 5.0 Pricing, now Sandbox versus Website and ruminating (2003)
Getting total number of items ordered (1997)
Sales Tax db (1998)