NewFeatures: Chronological entries

This is a log of new features of note in DWiki.


Directories can now have default view types associated with them, by the simple yet sleazy method of touching a file in them called .flag.prefview:<viewname>.

This lets us auto-set a directory to default to a blogdir view.

The page tools now autogenerate a list of 'See As <whatever>' links for alternate directory formats.

This required some innards magic to distinguish a normal view being explicitly specified from no view being specified and us just defaulting to a normal view.

Directories can now be displayed as a 'blogdir', which treats the files in the directory as if they were blog entries: they are sorted by modification time, most recent first, and then they are all displayed inline with a title.

A chunk of this behavior is controlled by templates and new renderers. 'blogdir' is a new view, only valid for directories, which uses blogdir.tmpl. The blog::blogdir renderer does the direct expansion, running each file through the template blog/blogentry.tmpl.

There are also new renderers for the new blog-like time format and for showing the owner of a file. (Currently the Unix and/or RCS owner.)

This is ... how shall we say it ... not hugely scalable over the long run in terms of time structure and number of entries.

(Next 2)

Page tools: See As Blog, See As Normal.
Search:
Login: Password:
Atom Syndication: Recent Pages, Recent Comments.

This dinky wiki is brought to you by the Insane Hackers Guild, Python sub-branch.