IT:AD:DokuWiki:HowTo:Setup multiple blogs
Summary
It's not perfect, but I use the default Blog Module
Process
The blog module is configured via the configuration page. The settings I used were:
| Setting | Value |
| default blog namespace | 'blog' |
|---|---|
| prefix date to page title | %Y-%m-%d%H-%M-%S |
| sort by | page id |
| display histogram | checked |
Then for each blog I created a directory for the blog (nested under 'blog'), that has two child directories ('entries', and 'archives').
Home Page
The home page gets the blog tag that tells it how many entries to show, and from where.
# Blogs:Sigal:Sky:Tech:NET: #
* [[../|(UP)]]
{{indexmenu>.#2|nsort tsort}}
{{blog>[Blogs:Sigal:Sky:Tech:NET:Entries:]?10&showdate&sort}}
Entries Folder
The entries folder is where the blog framework is going to create new entries (the New Blog Entry wizard gets this value from the location defined in:
{{blog>[Blogs:Sigal:Sky:Tech:NET:Entries: ...}}
The archive page
The archive page has code similar to the following:
# Blogs:Sigal:Sky:Tech:NET:Archives #
* [[../|(UP)]]
{{indexmenu>.#2|nsort tsort}}
{{archive>[blogs:sigal:sky:tech:net:entries:]?2013-2006}}