DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:schemadata

schemadata Plugin

Compatible with DokuWiki

  • 2020-07-29 "Hogfather" unknown
  • 2018-04-22 "Greebo" yes
  • 2017-02-19 "Frusterick Manners" unknown
  • 2016-06-26 "Elenor Of Tsort" unknown

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: 2022-01-20 23:31 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki