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:
RAM variables (1997)
international time (1997)
[dos] command question (1997)
California Tax Rates (1998)
Tax & Shipping (1997)
Modtime bug? (2002)
List Address Changed! (1998)
RequiredFields template (1997)
Recording size of uploaded file? (2001)
[WebDNA] a major shift in strategy? (2008)
[isfile] ? (1997)
[OrderFile] being testy (2000)
Emailer help....! (1997)
Help!!!! Purchases not going through! FIXED! (1997)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
[WebDNA] read database from other domain (2015)
View order not right (1997)
Only charge card when product shipped ? (1997)
Showing unopened cart (1997)
Upgrading old WebCat Database Files (1997)