Re: New random discoveries?

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 60723
interpreted = N
texte = Just have fields for count, quota, display. Search and sort by count ascending, display=True and random sku pulling one... increment the count, compare it to the quota... If it is at it's quota, set display to false and it won't show any more. The do as John suggested with a trigger monthly. -----Original message----- From: "Justin Carroll" justincarroll@sanduskyregister.com Date: Mon, 10 Jan 2005 14:02:55 -0500 To: "WebDNA Talk" WebDNA-Talk@talk.smithmicro.com Subject: Re: New random discoveries? > Thanks for all of the suggestions. The way we will probably end up doing> this is by pulling a banner at random and then marking it as pulled unti> l all the banners end up marked as pulled. Then we'll refresh the list a> nd start it over. This way, we're still showing them in a random order b> ut every banner gets fair play in the end. Thanks again. > > Justin Carroll > > > > > Jesse Proudman wrote: > > > > > On Jan 10, 2005, at 9:29 AM, matthew.bohne@benetela.com wrote: > > > > > >> Keep an incrementing counter for each banner, each time the banner i> s > > >> shown, increment the counter up one. The next time the search is > > >> run, find all of the banners for that section, sort by the number o> f > > >> counts ascending and then subsort randomly within the counts. > > > > Please don't top-post Jesse - it makes it hard to see the discussion > > thread... > > > > > Only catch with this method is you have to remember that when adding > a > > > banner to make sure the ID of the new new banner is one less than the> > > > current IDs and not 1, otherwise the new banner will show until it > > > finally catches up with the old banners. > > > > Or reset the counts every month (right after your billing run if you ar> e > > billing based on "exposures") and only add new banners at that time. > > That way all banners get equal rotation for the month and you don't hav> e > > to mess with anything like max-1... > > > > John > > > > -- > > John Peacock > > Director of Information Research and Technology > > Rowman & Littlefield Publishing Group > > 4501 Forbes Boulevard > > Suite H > > Lanham, MD 20706 > > 301-459-3366 x.5010 > > fax 301-429-5748 > > > > ------------------------------------------------------------- > > This message is sent to you because you are subscribed to > > the mailing list . > > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to icro.com> > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: New random discoveries? ( matthew.bohne@benetela.com 2005)
  2. Re: New random discoveries? ( "Justin Carroll" 2005)
  3. Re: New random discoveries? ( John Peacock 2005)
  4. Re: New random discoveries? ( Jesse Proudman 2005)
  5. Re: New random discoveries? ( matthew.bohne@benetela.com 2005)
  6. Re: New random discoveries? ( John Peacock 2005)
  7. Re: New random discoveries? ( "Justin Carroll" 2005)
  8. Re: New random discoveries? ( "WebDna @ Inkblot Media" 2005)
  9. New random discoveries? ( "Justin Carroll" 2005)
Just have fields for count, quota, display. Search and sort by count ascending, display=True and random sku pulling one... increment the count, compare it to the quota... If it is at it's quota, set display to false and it won't show any more. The do as John suggested with a trigger monthly. -----Original message----- From: "Justin Carroll" justincarroll@sanduskyregister.com Date: Mon, 10 Jan 2005 14:02:55 -0500 To: "WebDNA Talk" WebDNA-Talk@talk.smithmicro.com Subject: Re: New random discoveries? > Thanks for all of the suggestions. The way we will probably end up doing> this is by pulling a banner at random and then marking it as pulled unti> l all the banners end up marked as pulled. Then we'll refresh the list a> nd start it over. This way, we're still showing them in a random order b> ut every banner gets fair play in the end. Thanks again. > > Justin Carroll > > > > > Jesse Proudman wrote: > > > > > On Jan 10, 2005, at 9:29 AM, matthew.bohne@benetela.com wrote: > > > > > >> Keep an incrementing counter for each banner, each time the banner i> s > > >> shown, increment the counter up one. The next time the search is > > >> run, find all of the banners for that section, sort by the number o> f > > >> counts ascending and then subsort randomly within the counts. > > > > Please don't top-post Jesse - it makes it hard to see the discussion > > thread... > > > > > Only catch with this method is you have to remember that when adding > a > > > banner to make sure the ID of the new new banner is one less than the> > > > current IDs and not 1, otherwise the new banner will show until it > > > finally catches up with the old banners. > > > > Or reset the counts every month (right after your billing run if you ar> e > > billing based on "exposures") and only add new banners at that time. > > That way all banners get equal rotation for the month and you don't hav> e > > to mess with anything like max-1... > > > > John > > > > -- > > John Peacock > > Director of Information Research and Technology > > Rowman & Littlefield Publishing Group > > 4501 Forbes Boulevard > > Suite H > > Lanham, MD 20706 > > 301-459-3366 x.5010 > > fax 301-429-5748 > > > > ------------------------------------------------------------- > > This message is sent to you because you are subscribed to > > the mailing list . > > To unsubscribe, E-mail to: > > To switch to the DIGEST mode, E-mail to icro.com> > > Web Archive of this list is at: http://webdna.smithmicro.com/ > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ matthew.bohne@benetela.com

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:

Amusement (2004) Further tests with the infamous shipCost (1997) [SearchString] usage (1997) SET (1998) WC Database Format (1997) carriage returns in data (1997) ConverChars (1999) Searching multiple Databases (1997) Here's how to kill a Butler Database. (1997) plugin-acgi, different results (1997) Help! WebCat2 bug (1997) Associative lookup style? + bit more (1997) Editing HTML Pages w/WCAT (1998) Answer: WebDelivery downloads alias, not original ? (1997) emailer error -108 (1997) WebCat2 - [format thousands] (1997) Incompatibility with WebCat 3 templates ... (2000) too many nested ... problem (1997) Sorry I didn't pay attention-but ??? (1997) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)