[Sorry for my last e-mail which "accidentally" went off before me writing anything :)]

At 00:02 25.10.2002, Per Einar Ellefsen wrote:
At 22:21 24.10.2002, Thomas Eibner wrote:
On Thu, Oct 24, 2002 at 10:13:58PM +0200, Per Einar Ellefsen wrote:
> At 22:03 24.10.2002, allan wrote:
> >why not the eagle book [ it's the last ] ?
>
> Yeah, but also the most important one. But it's probably more fair to have
> the last one removed.

I think the Eagle is the most important one too, but how about some
kind of cycling mechanism so all books get exposure?

Yes, good idea. I'll re-work the templates a little now and try to get that one working nicely.

I've rewritten the templates to be more modular and keep a structure of books that we have ads for, and change the order each day (the site is rebuilt in its entirey each day, so that shouldn't be a problem). Right now it's like it was before, because we're thursday (and for Date::Format, thursday == 4 mod 4 == 0, so the first book before is the first book now). But when you'll see this it might be friday already so you'll see the Mason book :)


The algorithm could be adapted to another method of picking the first book, by random for example, but I don't think there's a need for that.


-- Per Einar Ellefsen [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to