DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:schemadata

schemadata Plugin

Compatible with DokuWiki

No compatibility info given!

plugin Fetches metadata in schema.org's json+ld format from datacite and embedds them into the website

Last updated on
2020-03-24
Provides
Syntax
Repository
Source

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: 2020-03-24 14:24 by Kilidsch