diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-12 10:53:57 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-12 10:53:57 -0400 |
commit | c522fffe09eea30a97213af1ecddfe6833d131e7 (patch) | |
tree | 5b74ef570711adc2cd739c7ea21e8b2b0812b03f /doc | |
parent | 37471e92d987c6ea6deed10312ab7424cbfc30ae (diff) |
document uuid
Diffstat (limited to 'doc')
-rw-r--r-- | doc/plugins/meta.mdwn | 13 | ||||
-rw-r--r-- | doc/tips/howto_avoid_flooding_aggregators.mdwn | 3 | ||||
-rw-r--r-- | doc/todo/ability_to_force_particular_UUIDs_on_blog_posts.mdwn | 5 |
3 files changed, 21 insertions, 0 deletions
diff --git a/doc/plugins/meta.mdwn b/doc/plugins/meta.mdwn index c3f971d06..fa37a8246 100644 --- a/doc/plugins/meta.mdwn +++ b/doc/plugins/meta.mdwn @@ -123,6 +123,19 @@ Supported fields: contents. In particular, it does not check the values against the set of valid values but serves whatever you pass it. +* uuid + + Specifies a globally unique ID for a page. This ID will be used, + rather than the page url, in RSS and Atom feeds. + + The uuid can either be a literal uuid (ie, + "ec248d04-f347-4eb8-92b6-671b15d36980"), or it can be an alternative URl + for the page. + + This is mostly useful when a page's feed has moved, to keep the IDs for + pages unchanged and + [[avoid_flooding_aggregators|howto_avoid_flooding_aggregators]]. + If the field is not one of the above predefined fields, the metadata will be written to the generated html page as a <meta> header. However, this won't be allowed if the [[htmlscrubber]] is enabled, since it can be used to diff --git a/doc/tips/howto_avoid_flooding_aggregators.mdwn b/doc/tips/howto_avoid_flooding_aggregators.mdwn index 570baa5cc..0f7906b1e 100644 --- a/doc/tips/howto_avoid_flooding_aggregators.mdwn +++ b/doc/tips/howto_avoid_flooding_aggregators.mdwn @@ -23,3 +23,6 @@ parameter to the `inline` directive for your blog, with a condition such as: Where "old_post" is the name of the last post you made to the blog before making the change. This will limit the feed to only newer posts, while stil displaying the old posts in the blog page. + +Alternatively, you can add the [[plugins/meta]] uuid directives to pages, +to force the old url to be used. diff --git a/doc/todo/ability_to_force_particular_UUIDs_on_blog_posts.mdwn b/doc/todo/ability_to_force_particular_UUIDs_on_blog_posts.mdwn index 0f8f9bb73..d8f7c99ab 100644 --- a/doc/todo/ability_to_force_particular_UUIDs_on_blog_posts.mdwn +++ b/doc/todo/ability_to_force_particular_UUIDs_on_blog_posts.mdwn @@ -13,3 +13,8 @@ Perhaps ikiwiki's blogging functionality could be hooked up to the [meta plugin] > While I was there, I noticed that the quality of the generated Atom/RSS feeds could be improved by making more use of the meta plugin if it's also enabled - would anyone object to me hacking on this some more? > > -[smcv](http://smcv.pseudorandom.co.uk/) + +> [[merged|done]], thank you! +> +> Of course I'm happy if you can improve the feeds. They do already +> use some meta information (author, copyright). --[[Joey]] |