it:ad:dokuwiki:howto:setup_multiple_blogs

IT:AD:DokuWiki:HowTo:Setup multiple blogs

The blog module is configured via the configuration page. The settings I used were:

SettingValue
default blog namespace'blog'
prefix date to page title%Y-%m-%d%H-%M-%S
sort bypage id
display histogramchecked

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 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}}


  • /home/skysigal/public_html/data/pages/it/ad/dokuwiki/howto/setup_multiple_blogs.txt
  • Last modified: 2023/11/04 03:41
  • by 127.0.0.1