document uuid

master
Joey Hess 2008-07-12 10:53:57 -04:00
parent 37471e92d9
commit c522fffe09
4 changed files with 23 additions and 0 deletions

2
debian/changelog vendored
View File

@ -15,6 +15,8 @@ ikiwiki (2.54) UNRELEASED; urgency=low
* Change deb dependencies to list Text::Markdown before markdown, since
the former, while slower, has a much better html parser that avoids
numerous bugs.
* meta: Support a uuid option, to allow forcing a particular uuid
in feeds.
-- Josh Triplett <josh@freedesktop.org> Wed, 09 Jul 2008 21:30:33 -0700

View File

@ -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 &lt;meta&gt; header. However, this
won't be allowed if the [[htmlscrubber]] is enabled, since it can be used to

View File

@ -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.

View File

@ -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]]