Re: [xsl] Randomly displaying articles from RSS feed

Subject: Re: [xsl] Randomly displaying articles from RSS feed
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Fri, 11 Jan 2008 14:44:18 -0500
At 01:06 PM 1/11/2008, you wrote:
Wendell Piez wrote:

Cool. I don't think the newly created node ID will work for the use case, but the external URL call is excellent (and part of a trend, ain't it). Of course, the URL will have to return a number random across calls, not just the same "random" number each time. :-)

I'm not sure it works for the OP. But it works for me. I actually use "my" GUID code quite often for tasks like this: it is quite likely globally unique and definitely unique within one run. (see also my previous post).

Understood: my remark wasn't meant as a criticism of the technique, which as such is just fine. I was just trying to keep the discussion on topic for the thread -- and guessing that sequentially created GUIDs might also be sequential (or have some other non-random relation, such as never being the same :-), without breaking any rules.


But while the philosophy of what is "random", either theoretically or for local practical purposes, is fascinating, it's not really in scope for XSLT. So keeping the discussion on topic for the thread was an attempt to keep it on topic for the list.

Cheers,
Wendell



======================================================================
Wendell Piez                            mailto:wapiez@xxxxxxxxxxxxxxxx
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
  Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================

Current Thread