From 6201e75f61c266a08c15b2c031636b492df8751b Mon Sep 17 00:00:00 2001 From: Tom Schraitle Date: Wed, 2 Aug 2023 10:18:23 +0200 Subject: [PATCH] Correct metadata * Rename abstract -> description and refactor code * Introduce "sameAs" property * Disable json-ld-version and json-ld-keywords * Use "Corporation" instead of "Organization" for default author and publisher --- suse2022-ns/xhtml/json-ld.xsl | 99 +++++++++++++++++++++++------------ 1 file changed, 65 insertions(+), 34 deletions(-) diff --git a/suse2022-ns/xhtml/json-ld.xsl b/suse2022-ns/xhtml/json-ld.xsl index 7919628a..22cf1edd 100644 --- a/suse2022-ns/xhtml/json-ld.xsl +++ b/suse2022-ns/xhtml/json-ld.xsl @@ -19,7 +19,6 @@ "@type": "TechArticle", "name": "Getting Started with ExampleApp", "headline": "ExampleApp Documentation", - "abstract": "A short abstract of ExampleApp", "description": "A comprehensive guide to get started with ExampleApp.", "author": { "@type": "Person", @@ -28,6 +27,12 @@ }, "datePublished": "2023-07-24", "dateModified": "2023-07-25", + "sameAs": [ + "https://www.facebook.com/SUSEWorldwide/about", + "https://www.youtube.com/channel/UCHTfqIzPKz4f_dri36lAQGA", + "https://twitter.com/SUSE", + "https://www.linkedin.com/company/suse" + ], "publisher": { "@type": "Organization", "name": "SUSE", @@ -61,13 +66,14 @@ --> - - + + + - + } @@ -81,33 +87,42 @@ "headline": "", - + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - "abstract": "", + + "description": "", - @@ -124,6 +139,15 @@ + + + + + +