]> sipb.mit.edu Git - ikiwiki.git/commit
Add meta field "updated", which can alter the <updated> Atom element
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Sun, 18 Jan 2009 16:27:43 +0000 (16:27 +0000)
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Sun, 18 Jan 2009 21:58:24 +0000 (21:58 +0000)
commitc89925048f6c0b149d09b76ff122da2205b6ec86
tree677cb1d6b7aa3b735c0f51ea1053e783a9b979cf
parent1e6dd2fc3761e071a4c3b65ea99022ac006e7a6d
Add meta field "updated", which can alter the <updated> Atom element

Some aggregators, like Planet, sort by mtime rather than ctime. This
means that posts with modified content come to the top (which seems odd
to me, but is presumably what the aggregator's author or operator
wants), but it also means that posts with insignificant edits (like
adding tags) come to the top too. Atom defines <updated> to be the date
of the last *significant* change, so it's fine that ikiwiki defaults to
using the mtime, but it would be good to have a way for the author to
say "that edit was insignificant, don't use that mtime".
IkiWiki/Plugin/inline.pm
IkiWiki/Plugin/meta.pm
doc/ikiwiki/directive/meta.mdwn