X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/5383207703fa7791d5f3365dfedb4dc89c42c1e4..4a108fa36b4c6a7d8436c37be55ed35675211997:/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn diff --git a/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn b/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn index 9d77f94a9..7ec95b536 100644 --- a/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn +++ b/doc/todo/edittemplate_should_support_uuid__44___date_variables.mdwn @@ -1,13 +1,19 @@ +[[!tag wishlist patch]] + I use a default template for all new pages: - [[!meta title=""]] - [[!meta author=]] - [[!meta date=""]] - [[!meta guid="urn:uuid:"]] - [[!tag ]] + \[[!meta title=""]] + \[[!meta author=]] + \[[!meta date=""]] + \[[!meta guid="urn:uuid:"]] + \[[!tag ]] This encourages me to include useful metadata on the page. In particular, though, I've modified the `edittemplate` plugin to generate a uuid for use in the guid, for use in `inline`. Importantly, this keeps `inline` from flooding aggregators when I rename these pages. I've also noticed that IkiWiki seems to use the creation time for the generated page for the page date. This means that when I do a rebuild, `inline`d pages get shuffled. The inclusion of a `time` variable in `edittemplate` (and in a `meta` declaration for all such pages) prevents the date from changing unexpectedly. -I've already made these changes in my installation, and have made my patches available in the `edittemplate` branch of my repository, which [[I've posted|git]]. +I've already made these changes in my installation, and have made my patches available in the `edittemplate` branch of git://civilfritz.net/ikiwiki.git. + +Changes to the structure of `$pagestate{$registering_page}{edittemplate}{$pagespec}` mean that a `cgi` rebuild is necessary (for reasons I don't entirely understand); but I think that's preferable to creating an entirely separate `$pagestate` namespace for storing parameters. That said, I'm not really a perl programmer, so corrections are welcome. + +> I like this patch. I hate seeing things I've already read get marked as unread in my rss feed. -- [[JoshBBall]]