[Moin-user] transclusion

John_Nowlan john_nowlan at carleton.ca
Thu Feb 12 12:28:52 EST 2009


I'm trying to create the 'one wiki to rule them all' (...must not,
..can't ..help myself - 'bwwah ha ha ha!') on our intranet as a result
of earlier discussion on this list.

Specifically, I'd like a 'master page' to show the recent changes of all
the 'department' wikis. At first I thought I could use the include
macro, but it is for local pages only. Then I stumbled upon transclusion
and just doing {{Dept1:RecentChanges}} which works!

However, I'd like it to look better, is there anything I can do to
'format'/control the output? It just sticks the page inside a frame with
a vertical scrollbar and I'd like at least to have no scrollbar, just
show it all. 

I tried the EmbedObject macro but it doesn't work -
<<EmbedObject(Dept1:RecentChanges)>> at least I can't find info on what
params are/how to use.

Any suggestions?

I thought this might work as an RSS feed type thingy too, but that's a
little too advanced for our users/myself, unless I could put the results
of the feed on the 'master' page, but I don't know how to do that.

There are versions of an IncludePage macro lying around, but they don't
seem to follow the (new?) macro template format. Would this still be a
good starting point (i.e. the code still works similarly) if I wanted to
take a hack at this?

Python Version
    2.5.2 (r252:60911, Mar 27 2008, 17:57:18) [MSC v.1310 32 bit
(Intel)]
MoinMoin Version
    Release 1.8.1 [Revision release]




More information about the Moin-user mailing list