1 You can turn any page on this wiki into a weblog by inserting a
2 [[PreProcessorDirective]]. Like this:
4 \\[[inline pages="blog/* !*/Discussion" show="10" rootpage="blog"]]
6 Any pages that match the specified [[GlobList]] (in the example, any
7 [[SubPage]] of "blog") will be part of the blog, and the newest 10
8 of them will appear in the page.
10 The optional `rootpage` parameter tells the wiki that new posts to this blog
11 should default to being [[SubPage]]s of "blog", and enables a form at the
12 top of the blog that can be used to add new items.
14 There is also an optional `rss` parameter that can control whether an RSS
15 feed is generated. The default is to generate an RSS feed, if the wiki is
16 globally configured to do so, but you can set `rss=no` to disable this.
18 If you want your blog to have an archive page listing every post ever made
19 to it, you can accomplish that like this:
21 \\[[inline pages="blog/* !*/Discussion" archive="yes"]]
23 You can even create an automatically generated list of all the pages on the
24 wiki, with the most recently added at the top, like this:
26 \\[[inline pages="* !*/Discussion" archive="yes"]]
28 If you want to be able to add pages to a given blog feed by tagging them,
29 you can do that too. To tag a page, just make it link to a page or pages
30 that represent its tags. Then use the special link() [[GlobList]] to match
31 all pages that have a given tag:
33 \\[[inline pages="link(life)"]]
35 Or include some tags and exclude others:
37 \\[[inline pages="link(debian) !link(social)"]]