Re: RandomQuote

Florian Festi <[email protected]>
Newsgroups gmane.comp.web.wiki.moin.devel
Message-ID <Pine.GHP.4.33.0403111958240.25328-100000@rupert.informatik.uni-stuttgart.de>
> > is it prinziple possible to use RandomQuote with IncludePages
>
> No. At least not yet.
>
> Macro calls are not recursive and RandomQuote doesn't operate on
> rendered output, but on raw page content.

It is very unlikely that this will work that way, because this would
change the whole page processing stuff. There are two possible solution:

1. The RandomQuote macro expands the IncludePage macros itself

2. Modifiy the RandomQuote macro to accept multiple pages as input and use
the pages you want to include as macro parameters


The first might be closer to what you described, but I think the second is
closer to the way everything else in MoinMoin works.

	cu

		FlorianFesti



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.