Recent Changes - Search:

Cookbook

PmWiki

pmwiki.org

FeralBlog

Summary: A basic Blosxom inspired PmWikiBlog.
Version: 0.1 -- Tue, 11 Apr 2006 18:45:11 PST
Prerequisites: This has been developed and tested under PmWiki 2.1.3. However, It is unknown if this version (or later/earlier, etc.) is truly a requirement. No other pieces are required, however unified diffs for PmCalendar (Version: 1.0rc6 /w stopafter) are included. PmCal is not required, but this has been tailored around a ?year=2006&month=4&day=9 style parameter list which PmCal can so easily produce.
Status: Working *wink* (no, really!)
Maintainer: Feral
Categories: Blog

Questions answered by this recipe

This section is optional; use it to indicate the types of questions (if any) this recipe is intended to answer.

Description

Introduction

This is a basic method of setting PmWiki up to replicate a Blosxom style (very basic) blog with all the benefits that being a PmWikiBlog provides.

NOTE that most of this is optional pieces you can piece together and use, only $blogcalparams is really required with PageList’s group= Param.

I strongly suggest you read the source file for (a lot!) more commentary;

Features

  • The source file can be presented as a wiki page with just a little substation to remove comment markers. The source file is heavily commented. (Not necessarily coherent, but heavily commented nonetheless. *wink*)
  • Display is handled via pagelists and custom templates.
  • New entries are provided via a template (and a cleaver method, ?action=edit&template, of saying to use a template, I think) however one could just as easily create a form to make the new page, such as the style used in Cookbook:PITS. I have the aforementioned link in Blog.GroupHeader (detailed below)
  • PmWiki's category style is used. This presented method uses a special purpose category group (Called "Blogory" for lack of a better name *wink*) so as not to pollute the Wiki's categories with the blog related/specific categories. You can safely and easily not worry about this if you want one and only one category. (I personally have three, but never mind that *wink* )
  • Normal PmWiki formatting tricks are used, WikiStyles, etc. However, none of it is necessary, of course.
  • I have provided support for a modified PmCal (unified diffs below) for a calendar that allows navigation; Given that we display via pagelist we can specify what to show via a number of ways, such as the provided "?year=2006&month=4&day=9" style (with accompanying parse PHP function: blogcalparams() ); Perhaps you would prefer a form to set the params...

Notes

Release Notes

If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".

  • 0.1 -- Tue, 11 Apr 2006 18:45:11 PST
    • Initial release

Comments

The feature list looks interesting, but the introduction here on this page is not at all informative for me! I have no idea how to get this feralblog running. This note: most of this is optional pieces you can piece together and use, only $blogcalparams is really required with PageList’s group= Param. does not make any sense to me. However, I must admit to be a pmwiki newbie.


I.Normann

See Also

Contributors

Edit - History - Print - Recent Changes - Search
Page last modified on September 18, 2007, at 03:38 PM