This is a log of new features of note in DWiki.
One obvious way of handling blogs with categories is to create appropriate directory hierarchies for each category, then hardlink a page's file into all of the appropriate 'category' directories. However, this raises a problem: DWiki's idea of a page's identity is its path.
Directories can now have Readme files, called
__readme
. Readme files are injected into pages via the new rendererinject::readme
(probably the first of several injectors).The current templates don't inject
__readme
in normal directory views, but do inject them for blog and blogdir views (as you may see from this directory). Blog and blogdir views now drop all files starting with__
, taking out__readme
and__access
and any future special magic files.
DWiki can now generate Atom feeds for recently changed pages and recently made comments, either for the entire DWiki or for some subtree of it. For comments, this can be down to an individual article.
At the moment, pages in the Atom feed are rendered without macros except for
CutShort
, for efficiency reasons. All of the links are turned into absolute links (with http:// et al), since this is basically required. Nulled-out macros produce a small message to that effect in the generated content, so that people reading the Atom feed can tell that something is going on.
The primary way of getting nested lists is now to indent the nested list entries relative to the parent list (entry). This looks visually better in plain ASCII for cases when there is a decent amount of text.
Although ChrisSiebenmann thought he wasn't going to, the old style of nesting lists (multiple list start characters, eg
***
) still works. It turns out the GNU Emacs will properly autoindent for these lists but not for real indented lists, plus sometimes they actually look visually better.The amount of old-style nesting is ignored in an indented context; it's treated as just a new level.
You can now use LinkAbbrevs by name (not by URL) without a
|
; ie, instead of writing[[<text>|]]
, you can just write[[<text>]]
. This only happens if<text>
wouldn't result in a link to a real page or an external URL if there was no abbreviation.Thus, one can write
[[Google http://www.google.com/]]
in the page once, and later write[[Google]]
, and have it work out.