parent
c3b5c06c96
commit
0d517edd66
|
@ -1,5 +1,5 @@
|
||||||
You can turn any page on this wiki into a weblog by inserting a
|
You can turn any page on this wiki into a weblog by inserting a
|
||||||
[[PostProcessorDirective]]. Like this:
|
[[PreProcessorDirective]]. Like this:
|
||||||
|
|
||||||
\\[[inline pages="blog/* !*/Discussion" show="10" rootpage="blog"]]
|
\\[[inline pages="blog/* !*/Discussion" show="10" rootpage="blog"]]
|
||||||
|
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
You can turn any page on this wiki into a weblog by inserting a
|
|
||||||
[[PreProcessorDirective]]. Like this:
|
|
||||||
|
|
||||||
\\[[inline pages="blog/* !*/Discussion" show="10" rootpage="blog"]]
|
|
||||||
|
|
||||||
Any pages that match the specified [[GlobList]] (in the example, any
|
|
||||||
[[SubPage]] of "blog") will be part of the blog, and the newest 10
|
|
||||||
of them will appear in the page.
|
|
||||||
|
|
||||||
The optional `rootpage` setting tells the wiki that new posts to this blog
|
|
||||||
should default to being [[SubPage]] of "blog", and enables a form at the
|
|
||||||
top of the blog that can be used to add new items.
|
|
||||||
|
|
||||||
If you want your blog to have an archive page listing every post ever made
|
|
||||||
to it, you can accomplish that like this:
|
|
||||||
|
|
||||||
\\[[inline pages="blog/* !*/Discussion" archive="yes"]]
|
|
||||||
|
|
||||||
You can even create an automatically generated list of all the pages on the
|
|
||||||
wiki, with the most recently added at the top, like this:
|
|
||||||
|
|
||||||
\\[[inline pages="* !*/Discussion" archive="yes"]]
|
|
|
@ -131,15 +131,15 @@ These options configure the wiki.
|
||||||
If rss is set, ikiwiki will generate rss feeds for pages that inline
|
If rss is set, ikiwiki will generate rss feeds for pages that inline
|
||||||
a blog.
|
a blog.
|
||||||
|
|
||||||
* --url http://someurl/
|
* --url http://url/
|
||||||
|
|
||||||
Specifies the url to the wiki. This is a required parameter in [[CGI]] mode.
|
Specifies the url to the wiki. This is a required parameter in [[CGI]] mode.
|
||||||
|
|
||||||
* --cgiurl http://someurl/ikiwiki.cgi
|
* --cgiurl http://url/ikiwiki.cgi
|
||||||
|
|
||||||
Specifies the url to the ikiwiki [[CGI]] script [[wrapper]]. Required when building the wiki for links to the cgi script to be generated.
|
Specifies the url to the ikiwiki [[CGI]] script [[wrapper]]. Required when building the wiki for links to the cgi script to be generated.
|
||||||
|
|
||||||
* --historyurl http://svn.someurl/trunk/\[[file]]?root=wiki
|
* --historyurl http://url/trunk/\[[file]]?root=wiki
|
||||||
|
|
||||||
Specifies the url to link to for page history browsing. In the url,
|
Specifies the url to link to for page history browsing. In the url,
|
||||||
"\[[file]]" is replaced with the file to browse. It's common to use
|
"\[[file]]" is replaced with the file to browse. It's common to use
|
||||||
|
@ -149,7 +149,7 @@ These options configure the wiki.
|
||||||
|
|
||||||
Specifies the email address that ikiwiki should use for sending email.
|
Specifies the email address that ikiwiki should use for sending email.
|
||||||
|
|
||||||
* --diffurl http://svn.someurl/trunk/\[[file]]?root=wiki&r1=\[[r1]]&r2=\[[r2]]
|
* --diffurl http://url/trunk/\[[file]]?root=wiki&r1=\[[r1]]&r2=\[[r2]]
|
||||||
|
|
||||||
Specifies the url to link to for a diff of changes to a page. In the url,
|
Specifies the url to link to for a diff of changes to a page. In the url,
|
||||||
"\[[file]]" is replaced with the file to browse, "\[[r1]]" is the old
|
"\[[file]]" is replaced with the file to browse, "\[[r1]]" is the old
|
||||||
|
|
Loading…
Reference in New Issue