Subject: RE: [xsl] Randomly displaying articles from RSS feed From: "Wei, Alice J." <ajwei@xxxxxxxxxxx> Date: Fri, 11 Jan 2008 12:57:12 -0500 |
Hi, True, using the fn:current-dateTime() will return the same value each time. However, when you set some kind of statement, to suggest something like when the value of the "second" is, for example 1-4, will return article 1, 5-6, article 2, etc, will return something customizable for the "frequency of the result to be displayed." This may not be the best way to do it, but when you have only a small number of articles to deal with, this should be able to work without getting into too much parameter settings. Good luck. Alice ====================================================== Alice Wei MIS 2008 School of Library and Information Science Indiana University Bloomington ajwei@xxxxxxxxxxx ________________________________________ From: Colin Paul Adams [colin@xxxxxxxxxxxxxxxxxx] Sent: Friday, January 11, 2008 12:47 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] Randomly displaying articles from RSS feed >>>>> "Andrew" == Andrew Welch <andrew.j.welch@xxxxxxxxx> writes: Andrew> I think Abel was implying that you would need to append a Andrew> timestamp to the query string to make it a unique url per Andrew> request, ensuring a new number would be returned each time Andrew> (avoiding the rules of the doc() function and perhaps Andrew> caching along the way) How are you going to do this? fn:current-dateTime() will return the same value each time. -- Colin Adams Preston Lancashire
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Randomly displaying artic, Colin Paul Adams | Thread | Re: [xsl] Randomly displaying artic, Abel Braaksma |
Re: [xsl] Randomly displaying artic, Colin Paul Adams | Date | RE: [xsl] Document Function Befuddl, Signature House |
Month |