Christophe, What if you wrote a page filter that included the semantic content? Tying this back to the Alias/Macro discussion, the content to be inserted could be in other wiki pages named after the different type, i.e. WhitePaper-Header, WhitePaper-Footer, Event-Header, Event-Footer, etc.
The catch would be to identify what 'type' of page is being processed. The simplest solution is to base in on the page name. For example, whitepapers could always have a suffix of 'WhitePaper', i.e. 'Agricultural WhitePaper'. A more complicated solution would be to add arbitrary meta-data to the page and have the filter choose based on this meta-data. I see some discussion of metadata here (http://www.jspwiki.org/wiki/IdeasMetadata). Personally, I think the CSS approach makes the most sense. -- Bobman On Sat, Jul 5, 2008 at 4:42 AM, Dirk Frederickx <[EMAIL PROTECTED]> wrote: > Did you check the http://www.jspwiki.org/wiki/IfPlugin which should > give you quite some power too. > You could eg consder to add this to [TitleBox] page or > [CopyrightNotice] pages, which allows to do this kind of stuff without > touching the template.jsp pages. > > > dirk > > > > On Fri, Jul 4, 2008 at 3:32 PM, Christophe Dupriez > <[EMAIL PROTECTED]> wrote: > > Hi ! > > > > I would like to follow-up the "aliases" discussions by one on the "page > types". > > > > The idea is that "constant" plugin calls would be very useful for a given > type of pages in a Wiki. > > > > Examples: In a Wiki with "events", "white papers", "definitions", one > would like: > > > > Page about an Event: list at the bottom of the pages referring to this > event > > > > Page with a White Paper: Always a TableOfContent at the top; > > + list at the bottom of the pages referring to this White Paper > > about an Event: list at the bottom of the page of the pages referring to > this event > > > > Page with a definition: > > At the top: links to broader terms; links to narrower terms > > At the bottom: list at the bottom of the pages referring to this > definition > > > > For now, I am thinking of a <c:choose>, <c:when>, and <c:otherwise> in > PageTop/PageBottom.JSP > > (one c:when per page type) > > > > Any better idea ??? > > > > Christophe > > > > P.S. To come nearer from a Semantic Wiki, page type is somewhat a must. >
