a)
http://www.dokuwiki.org/plugin:meta
I would be pleased if somebody might supply a full-blown example of a set of Dublin Core data as metacommands which ARE accepted by DokuWiki parser. How does an "array" look like ?
Please also explain where and how the values are "used".
This free online tool
DC-dot "Dublin Core metadata editor"
http://www.ukoln.ac.uk/metadata/dcdot/
is somehow useful, but does not solve much of my questions.
DokuWiki just processes
~~META:
title = My Title
~~
and sets this title string as first part of the page title defined by <title>.
b)
In general, “plugin:meta” reads metadata defined in “pages” files. The display is done by other plugins ( e.g. “plugin:metaheaders” ) or by DokuwWiki itself. “plugin:metaheaders”, however, reads the data from the file ”<dokuwiki-rootdir>/conf/metaheaders.conf.php” and can display some data which is processed by “plugin:meta”.
For example,
~~META:
creator = Somebody
&title = My Title
~~
is displayed by
http://www.dokuwiki.org/plugin:metaheaders
if the pattern '@AUTHOR@ is used. Example
File
<dokuwiki root dir>/conf/metaheaders.conf.php:\\
<?php
$headers['meta'][] = array( 'name' => 'The author name', 'content' => '@AUTHOR@' );
$headers['meta'][] = array( 'name' => 'The page title', 'content' => '@TITLE@' );
//end
causes the metatag
<meta name="The author name" content="Somebody" />
<meta name="The page title" content="My Title" />
to be included in any page ( you can limit the meta inclusion to files and directories ).
Most other predefined pattern of plugin:metaheaders, like
*@ID@
*@ABSTRACT@
*@CONTRIBUTORS@
*@RELATION@
*@CONTRIBUTORS@
are automatically defined by DokuWiki and can therefore be used by plugin:metaheaders without extra definition in a meta statement. Especially @RELATION@ is nice, as it shows all referers to a page,as list, thanks to DokuWiki ).
c)
Quote "language: a two-letter language code is expected; not set, but defaults to the chosen language for DokuWiki when exported" - hmmm can I now set a language code ? If not, and just the chose language for Dokuwiki is "exported", how to export it ( with plugin:metaheaders,.. )?
d)
So though I can now pimp my website with some nice metacommands, I still need much info how to use the plugin:meta !
Sincerely
Rolf