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:
Math with Time (1997)
WCS Newbie question (1997)
Search results templates (1996)
Was 5.0 Pricing, now Sandbox versus Website and ruminating (2003)
More Applescript (1997)
question: back button prevention (1997)
Banners (1997)
Emailer setup (1997)
summ=T (2003)
Non-technical messages ... (1997)
RE: WebCat and image maps (1997)
WebCatalog stalls (1998)
RE: Formulas.db + Users.db (1997)
Permissions (2000)
Ok here is a question? (1997)
Database Updates (1997)
[addfields] bombing 5.0 (2003)
Strange Anchor problem (2005)
Search multiple fields (1997)
[ShowNext] (1997)