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:
[ConvertChars] problem (1997)
[ModDate] & [ModTime] ? (1997)
Help! WebCat2 bug (1997)
Date Calulation (1997)
Wrapping text (1998)
webcat2b12 CGI -- Date comparisons (1997)
'does not contain' operator needed ... (1997)
Bug in Mac webcatalog3_0_5b11 (1999)
Forms (1998)
Keep away (1997)
Extended [ConvertChars] (1997)
Sort Order on a page search (1997)
RE: [WebDNA] [OT] Free Windows FTP client recommendations (2009)
Looking for a host (1997)
[OT] MacOs IE5 topmargin and leftmargin bug (2000)
Problems getting parameters passed into email. (1997)
loops (2000)
Custom WebCat Prefs ... (1997)
How is it done? (1998)
[Replace] (2000)