Re: Random page of the day script

2007-09-27 Thread solprovider
This post contains a solution. Please let us know how it works. On 9/26/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > The live page URLs are of the form http://www.foo.com/catalog/ItemA01.html > . Each page is guaranteed to have at least one image named e.g., > ItemA01.jpg - that is, the ima

Re: Random page of the day script

2007-09-26 Thread drseuk
On Wed, 26 Sep 2007, [EMAIL PROTECTED] wrote: Date: Wed, 26 Sep 2007 01:56:47 -0400 From: [EMAIL PROTECTED] Reply-To: user@lenya.apache.org To: user@lenya.apache.org Subject: Re: Random page of the day script We may need more information about the document data: "The correct thumbnail fil

Re: Random page of the day script

2007-09-25 Thread solprovider
We may need more information about the document data: "The correct thumbnail filename should be easy as the primary image filename is a subset of the page URL"? Are you linking to an HTML page, an image, or some other file download? The first step is to flag the documents while completing any add

Re: Random page of the day script

2007-09-25 Thread Andreas Hartmann
the primary image >> filename is a subset of the page URL). >> >> Regards, >> >> James >> >> P.S., You are aware that XSLT is Turing-complete aren't you ;-) Jesting >> aside, thanks for your HOWTO pages, I refer to them frequently. >> >

Re: Random page of the day script

2007-09-24 Thread Thorsten Scherler
; James > > P.S., You are aware that XSLT is Turing-complete aren't you ;-) Jesting > aside, thanks for your HOWTO pages, I refer to them frequently. > > On Fri, 21 Sep 2007, [EMAIL PROTECTED] wrote: > > > Date: Fri, 21 Sep 2007 14:08:27 -0400 > > From: [EMAIL P

Re: Random page of the day script

2007-09-22 Thread drseuk
p 2007, [EMAIL PROTECTED] wrote: Date: Fri, 21 Sep 2007 14:08:27 -0400 From: [EMAIL PROTECTED] Reply-To: user@lenya.apache.org To: user@lenya.apache.org Subject: Re: Random page of the day script "Page of the Day" implies daily update so the update function should be scheduled once each

Re: Random page of the day script

2007-09-21 Thread solprovider
"Page of the Day" implies daily update so the update function should be scheduled once each day. Cache the pagelet. Delete the homepage from cache so it updates to include the new material.. The selection should exclude the homepage. Only include leaves or should category pages be included? Sh

Random page of the day script

2007-09-21 Thread drseuk
Hi, We want to provide a thumbnail on the home-page which represents and links to a random page of the day under Lenya. The random pages don't necessarily have to selected "live" (I was thinking of dumping the URLs to a file periodically and making some sort of script to select one). So, has