[Moin-devel] RandomQuote

Florian Festi festifn at rupert.informatik.uni-stuttgart.de
Thu Mar 11 11:22:00 EST 2004


> > 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





More information about the Moin-devel mailing list