plugin:schemadata
Table of Contents
schemadata Plugin
Compatible with DokuWiki
Greebo
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Installation
Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.
Examples/Usage
All you need to do, is put the (dataite) DOI into a doi tag, e.g.:
<doi>10.34735/ped.2018.1</doi> (No spaces or such in the tag)
This example above triggers the addition of following metadata to the <head> tag of the html site:
<script type="application/ld+json">{ "@context": "http://schema.org", "@id": "https://doi.org/10.34735/ped.2018.1", "url": "http://ped.fz-juelich.de/da/2018crowdqueue", "additionalType": "Collection", "name": "Crowds in front of bottlenecks from the perspective of physics and social psychology ", "author": [ { "name": "Forschungszentrum Jülich", "@type": "Organization", "@id": "https://ror.org/02nv7yv05" }, { "name": "Ruhr University Bochum", "@type": "Organization", "@id": "https://ror.org/04tsk2644" }, { "name": "University of Wuppertal", "@type": "Organization", "@id": "https://ror.org/00613ak93" } ], "publisher": { "@type": "Organization", "name": "Forschungszentrum Jülich" } }</script>
Note: The Output depends on the metadata you entered when registering your DOI.
Syntax
Basic syntax: <doi>myDOI</doi>
Development
Change Log
- 24.03.2020
- Initial release
plugin/schemadata.txt · Last modified: by Klap-in