This is a follow-on to PITS:00028, requesting blog support in PmWiki
Many people have expressed that they prefer PmWiki to stay "lean" and not become overloaded with blogging support; this page leaves that question for PITS:00028 and the mailing lists. Instead, assuming that we're to support blogs in some form, what features do we need to have (and how important is each)?
Let's start with just a bullet list of possible features (and priority voting for each), with discussion about individual feature items lower on the page.
|Features for the posting to the blog|
|XML-RPC support for standard APIs. (Started in the cookbook.)||554333 322|
|Ability to have both Draft and Posted statuses for blog entries, and to easily move from Draft to Posted. (see PmWiki.Drafts)||55554 4433|
|Ability to set (:title:) and categories in separate boxes on the edit form. (see Cookbook.EditAttributes)||55444 444|
|Features for presenting the blog|
|A front page showing the most recent X articles, sorted chronologically||55555 55555|
|Article categories independent of presentation. Invisible category links, basically (see Cookbook.Bloge-Tags)||55444 443|
|A calendar in SideBar with days with articles indicated (--Kab)||55553 53331|
|Features for interacting with the blog|
|Display of incoming trackbacks (see Cookbook.Bloge-Linkback)||54444 331|
|Means of posting via email||54331|
|Comments form which does not require the user to be familiar with Wiki editing or to be authorized to edit the full page||55555 5555|
|Some captcha-type or other-type mechanism to prevent comment spam||5555|
|Features for connecting to other blogs and other software|
|Outgoing and incoming trackback support (see Cookbook.Bloge-Linkback)||54443 331|
|RSS for the whole blog, or for individual categories||55555 5541|
|RSS for comments pages||55544 4331|
|RSS for either all comments, or comments on specific posts.||5|
Invisible category links are already possible, use
%comment% [[!SomeCategory]]. -- Pm
%category%style that administrators could modify to control whether or not to display category links? --Russell
%define=category comment%or else
$WikiStyle['category']['display'] = 'none';.
Can someone give me a clear explanation of trackbacks? I've read numerous online articles about them but I've never understood exactly what they are or how they're supposed to work. --Pm
The more I think about it, the more it seems to me that the best way to manage the blog (and perhaps the comments) is to use a WikiTrail.
- Yes, I've been planning that the comments feature would need to be able to support comments as a WikiTrail, or an easy way to index the comments. --Pm
Posting an article would update an index trail, which would look like something like this:
* 9/2/2005 ** 10:45 AM *** [[Articles.SoTodayWasAReallyWeirdDay]] ** 12:01 AM *** [[Articles.NewsFromTheJobHunt]] * 8/29/2005 ** 4:34 PM *** [[Articles.ServerUpgradeResults]]
The front page of the blog, then, would use a directive something like this:
Pages would be the maximum number of pages from the trail to embed in the front page.
(:pagelist trail=Blog.Index order=trailsAsDateTime count=10:). --Russell
Actually, I don't think the main blog-tool is really listed there! A simple way to set and read the date of a page. This way a blog would be just a matter of tweaking the New Page Form recipe to allow correct date setting and cretating some new FPL functions for the blog (a custom simple list for the sidebar, one that includes the actual pages, one that lists pages grouped by month, etc...).
-- MarcioRPS September 22, 2005, at 04:28 PM
As for the Draft/Posted feature, I think the way to offer this is to allow the user to easily change the Group of an article, and to base the trail-indexing on the group a page is saved into.
I finally invented an implementation idea (or has anyone done that before?) how to solve the problem of A front page showing the most recent X articles, sorted chronologically, which I believe to be the biggest problem implementing a blog on a flat-file based wiki (as PmWiki is). I explained the idea on the Cookbook.Bundle4Blog page, as a sentence there made me think of that. However, I'm not so sure now if you all also think that is The Problem. Still, I'm very keen to see my idea implemented, especially as that'd ease the 'RecentNews'-kind of pages creation, what I'm interested in. I may even implement it myself, but now I'm completely out of time.
Hey, and what do you think about this idea?
By Graham 29 MAR 07 What about multi-blogs. Each user has there own blog. OR are you thinking in terms of traditional wiki and let everyone edit the blog. If so, would it still be a blog?
I still support the notion that most of the features above are available to PmWiki already, and I have the XESBlog recipe to showcase it -- but it is pulling together several recipes and I think Patrick still hasn't looked at it :) One disappointment is that currently the XML-RPC recipe is broken -- so some change to PmWiki must have rendered it unable to work. I'll have to see if I can go over the changelog and determine what it might be. I think I emailed the recipe author but haven't heard back. The other possibility is migration from PHP4 -> 5. Anyway, the XML-RPC recipe was a VERY powerful way to manage a large wiki or MANY large wikis and it's a shame it's not working right now.
Trackbacks: 1) a URL in a metatag that would be used to let PmWiki know "Someone blogged about this post" -- then PmWiki would grab a snippet & link for the post, and essentially add it to the comments area. 2) when a post is posted, external links are checked for the same metatag, and the information "Hey, we blogged about this webpage" is sent to the remote server, which then picks up some text from the page in question (or perhaps the info is sent....).
XES January 11, 2009, at 11:38 PM