aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhttp://smcv.pseudorandom.co.uk/ <http://smcv.pseudorandom.co.uk/@web>2009-01-18 13:36:22 -0500
committerJoey Hess <joey@kitenet.net>2009-01-18 13:36:22 -0500
commit1802503af1816106ba15d1101081e72c36eeb8bc (patch)
tree4d7bb2b4c3a3fb7f3976bce086fd1a80c9d3324f
parent1e6dd2fc3761e071a4c3b65ea99022ac006e7a6d (diff)
downloadikiwiki-1802503af1816106ba15d1101081e72c36eeb8bc.tar
ikiwiki-1802503af1816106ba15d1101081e72c36eeb8bc.tar.gz
overriding visible modification time (to avoid insignificant edits flooding planets)
-rw-r--r--doc/todo/overriding_displayed_modification_time.mdwn17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/todo/overriding_displayed_modification_time.mdwn b/doc/todo/overriding_displayed_modification_time.mdwn
new file mode 100644
index 000000000..b015b3730
--- /dev/null
+++ b/doc/todo/overriding_displayed_modification_time.mdwn
@@ -0,0 +1,17 @@
+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".
+
+See smcv's 'updated' branch for a basic implementation, which only affects
+the Atom `<updated>` field or the RSS equivalent.
+
+Other places the updated metadata item could be used (opinions on whether
+each should use it or not, please):
+
+* sorting by mtime in the inline directive
+* displaying "last edited" on ordinary pages