Re: Banners and sort of random display
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 11575
interpreted = N
texte = >Since everybody is talking banners today:)>>is it possible before I spend the weekend finding it is not...to do a>search first if I gave a keyword to the data base and then do a sdir=ra.>>What I want to do is limit the banners in certain sections of my site to>their relative nature to that section of the site.>>This doesn't apply to my site but think of it this way if I was in a golf>section then the banners would be limited to a keyword of golf....and if I>was in a fishing section then the banners would be limted to only those>that dealt with fishing. But if I was in a general section then I would>remove the keyword search and let any banner display.>>[search>db=Ads.db&wokeyworddata=golf&Advertisementsort=1&Advertisementsdir=ra&max=1]>[foundItems][Interpret][Advertisement][/Interpret][/foundItems]>[/search]>>>I have yet to use the sdir=ra...and would the above give me back banners>with the keyword golf only, in a random order and never give me anything>that has to do with fishing. Want to make sure there is no presidence of>the sdir=ra over the keyword search. If anybody know the>answer...great...if not I guess I will give it a whirl and see what happens>this weekend.It sure seems to me like this would work, provided the sdir=ra doesn'talways return the same first record every time a search is performed. Ithink the purpose of sdir=ra is to retrieve the records in a differentorder every time. However, I haven't tested it, so if you try this, pleaselet us know how it works ... :)Sincerely, Ken Grome ..... ken@iav.comhttp://usarea.net/home.html
Associated Messages, from the most recent to the oldest:
>Since everybody is talking banners today:)>>is it possible before I spend the weekend finding it is not...to do a>search first if I gave a keyword to the data base and then do a sdir=ra.>>What I want to do is limit the banners in certain sections of my site to>their relative nature to that section of the site.>>This doesn't apply to my site but think of it this way if I was in a golf>section then the banners would be limited to a keyword of golf....and if I>was in a fishing section then the banners would be limted to only those>that dealt with fishing. But if I was in a general section then I would>remove the keyword search and let any banner display.>>[search>db=Ads.db&wokeyworddata=golf&Advertisementsort=1&Advertisementsdir=ra&max=1]>
[founditems][interpret][Advertisement][/Interpret][/foundItems]>[/search]>>>I have yet to use the sdir=ra...and would the above give me back banners>with the keyword golf only, in a random order and never give me anything>that has to do with fishing. Want to make sure there is no presidence of>the sdir=ra over the keyword search. If anybody know the>answer...great...if not I guess I will give it a whirl and see what happens>this weekend.It sure seems to me like this would work, provided the sdir=ra doesn'talways return the same first record every time a search is performed. Ithink the purpose of sdir=ra is to retrieve the records in a differentorder every time. However, I haven't tested it, so if you try this, pleaselet us know how it works ... :)Sincerely, Ken Grome ..... ken@iav.comhttp://usarea.net/home.html
Kenneth Grome
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:
WebCat2 - Getting to the browser's username/password data (1997)
Re:E-mailer application times out (1998)
HTML encoding in URLs (1997)
Table Loop Hoops (2000)
New WebCatalog Version !!! (1997)
Credit Card Checksum (1997)
[WebDNA] OT: what is the "right" platform ? (2009)
Displaying photo attached to first record (1997)
[WebDNA] [OT] Apple iPad (2010)
f2 download problems (1997)
Webstar 1.3.1 PPC (1997)
MasterCounter - Does this work?? (1999)
Close-to Comparison Code (1998)
WebCat odd log behavior (1998)
Encrypting userid for email (2000)
triggers (2000)
WebCat2: Items xx to xx shown, etc. (1997)
WriteFile is there a max size? (1998)
[WebDNA] Captcha question (and free code) (2009)
Lost and Recovered. (1998)