Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement JSON-LD #552

Merged
merged 1 commit into from
Jul 26, 2023
Merged

Implement JSON-LD #552

merged 1 commit into from
Jul 26, 2023

Commits on Jul 26, 2023

  1. Implement JSON-LD

    Fixes DOCTEAM-1061
    
    Introduces a new parameter:
    
    * generate.json-ld: Switch to generate (=1) or not (=0).
      By default, it's currently disabled
    
    Currently the following Schema.org properties are created:
    
    * "headline": using the first info/title or title tag
    * "abstract": using the first info/abstract or info/highlights tag
    * "author": using info/authorgroup or info/author (multiple)
    * "dateModified": create current date using the extension function
      "date:date-time()"
    * "datePublished": using info/meta[@name='published'] (placeholder),
      info/pubdate, info/date or info/revhistory/revision[1]/date in this
      order
    * "version": using info/productnumber
    * "keywords": using info/keywords
    * "publisher": a reference to SUSE and its logo
    tomschr committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    04a9b3f View commit details
    Browse the repository at this point in the history