diff --git a/suse2022-ns/xhtml/docbook.xsl b/suse2022-ns/xhtml/docbook.xsl index b0986865..559f4307 100644 --- a/suse2022-ns/xhtml/docbook.xsl +++ b/suse2022-ns/xhtml/docbook.xsl @@ -699,6 +699,39 @@ + + + + + + + + + + + + + + WARN + + JSON-LD + + + The parameter $dcfile is unset. Cannot find the DC file in Docserv config. + + + + + + + + + + + + + + diff --git a/suse2022-ns/xhtml/json-ld.xsl b/suse2022-ns/xhtml/json-ld.xsl index c774891b..33def1dd 100644 --- a/suse2022-ns/xhtml/json-ld.xsl +++ b/suse2022-ns/xhtml/json-ld.xsl @@ -7,26 +7,63 @@ * $generate.json-ld (default 1): generate the structure (=1) or not (=0) Output: - HTML - Authors: Thomas Schraitle , + HINT 1 + To create a JSON-LD structure for the HTML file, use generate.json-ld=1 + If you need an additional external JSON-LD file, use: + * generate.json-ld=1 + * generate.json-ld.external=1 + * stitchfile="/tmp/docserv-stitch-....xml" + * dcfilename="DC-..." + + HINT 2 + Validate the output with: + * https://validator.schema.org + * https://search.google.com/test/rich-results + + Authors: Thomas Schraitle , 2023-2024 --> + + + + + +]> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + WARN: Cannot convert string ''. Not a valid date! + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text + + + + + + + + + - - INFO: Going to generate JSON-LD... - + + + + + + + "additionalType": "", + + + - + "headline": "", + + + + + + + + + + + + + + + + + "inLanguage": "", + + + @@ -127,16 +415,21 @@ - + + - - "keywords": [ - - - , - - ], - + + + + "keywords": [ + + + , + + ], + + + @@ -148,8 +441,12 @@ --> - + + + author - - - - - - + + + + + + + + + + + + + + - - - + - - INFO: found one author - - - - - - "author": { - "@type": "Person", - "name": "" - }, - - - "author": [ - - + + + "author": [ + { + "@type": "", + "name": "", + "url": "" + } ], - - - - - - - - - "author": { - "@type": "", - "name": "", - "url": "", - - "logo": "" - }, - - - - - - - - "version": "", - - - - - - - - - - - - - - - + + "": [ + + + + + + + + + + + + + + Corporation + Person + + + { - "@type": "Person", - "name": "" - }, - - - - - - + "@type": "", + "name": "", + "url": "" + + , + "affiliation": { + "@type": "Corporation", + "name": "" + } + + + }, + + ], + + - + + + + - - - - + + + + + + + + @@ -315,16 +599,23 @@ + + + + + + + Y-m-d + + + + + - - - - - Y-m-d + + - - @@ -361,4 +652,141 @@ } + + + + + + + + "articleSection": [ + "" + , + + ], + + + + + + + + "affiliatedOrganization": [ + { + "@type": "Organization", + "name": "" + }, + + ], + + + + + + + + + + "isPartOf": { + "@type": "CreativeWorkSeries", + "name": "" + }, + + + + + + + + + + + + + + + + + + + SUSE-SLES + SUSE-SLED + SLE-Micro + + + + + + + + + + + + + "releaseNotes": "", + + + + + + + + "about": [{ + "@type": "Thing", + "name": "" + }, + + ], + + + + + + + + + + + + + + + + + + + + , + + + + + "mentions": [ + + { "@type": "SoftwareApplication", + "name": "", + "softwareVersion": "", + "applicationCategory": "Operating System", + "operatingSystem": "Linux", + "processorRequirements": "" + + } + , + + ], + + \ No newline at end of file diff --git a/suse2022-ns/xhtml/param.xsl b/suse2022-ns/xhtml/param.xsl index ed3292e1..073288b1 100644 --- a/suse2022-ns/xhtml/param.xsl +++ b/suse2022-ns/xhtml/param.xsl @@ -461,13 +461,28 @@ task before + + + + - SUSE documentation team + + .json + + T00:00+02:00 + SUSE Product & Solution Documentation Team https://documentation.suse.com Corporation - https://www.suse.com/assets/img/suse-white-logo-green.svg + https://www.suse.com/assets/img/suse-white-logo-green.svg + + + + {{#language#}}