[pmwiki-users] Blog proposal

Patrick R. Michaud pmichaud at pobox.com
Wed Jan 11 17:05:22 CST 2006


On Wed, Jan 11, 2006 at 05:56:30PM -0500, Bronwyn Boltwood wrote:
> On 12/15/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > * Each group can have a default blog trail page; PmWiki's default
> 
> Can a blog span groups?

Yes, of course -- it just depends on what ends up on the trail.

> >   setting is "Group.BlogTrail".  (Other candidates:  Group.Blog,
> >   Group.BlogList, Group.BlogIndex, Group.ArticleList, others?)
> >   The WikiAdministrator can set $BlogTrailFmt to be some other
> >   default (e.g., a site-wide index, or blog trails organized by
> >   month or year).
> 
> Please explain the ways that this will allow and force the front page
> and archives work?  For example, is the blog trail meant to be the
> front page or the archive?  Or is something that allows those things
> to work?

For some people, the blog trail will be good enough to be the
front page or archive.  For others, it will be the thing that allows
those things to work, by using (:pagelist trail=Group.BlogTrail ... :).

> > * An author can use (:blog OtherBlogTrail:) to post the current page
> >   to blog trails other than the default.
> 
> Meaning that it's easy to cross-post to multiple blogs, correct?

Yes.

> > * When displayed, a page containing a (:blog:) directive
> >   automatically receives a blog header and footer, defined
> >   either within the blog trail page or by Site.BlogTemplate.
> 
> Is this how metadata will be displayed with posts?  (e.g. post title,
> creation time/date, author, and so on?)

Yes.  Essentially the (:blog:) directive just adds additional
includes after the GroupHeader and before the GroupFooter.

> > * A special-purpose (:bloglist:) directive can be used to display
> >   blog entries in a variety of formats.  It's actually the same
> >   as (:pagelist:) but has some default settings useful for blogs.
> 
> This will be used for multi-post pages, like the front page, archives,
> and categories then?  I assume "variety of formats" covers things like
> how much of the entry is shown, and the where, how and what of any
> metadata shown with it. Can we define our own formats?

Because we now have PagelistTemplates, (:bloglist:) ends up being
simply

    (:pagelist trail=Group.BlogTrail fmt=Site.BlogPostTemplate:)

The fmt= option allows defining other formats.

Pm




More information about the pmwiki-users mailing list