diff --git a/suse2022-ns/common/utility.xsl b/suse2022-ns/common/utility.xsl index 52b562eb..ef8418bb 100644 --- a/suse2022-ns/common/utility.xsl +++ b/suse2022-ns/common/utility.xsl @@ -211,4 +211,5 @@ + diff --git a/suse2022-ns/xhtml/json-ld.xsl b/suse2022-ns/xhtml/json-ld.xsl index 2e6520ac..9cb3cfbd 100644 --- a/suse2022-ns/xhtml/json-ld.xsl +++ b/suse2022-ns/xhtml/json-ld.xsl @@ -117,60 +117,191 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - WARN: Cannot convert string ''. Not a valid date! + + + + + + + + + + + + + + + -1 + 0 + 1 + + + + @@ -241,7 +372,7 @@ - @@ -307,10 +437,7 @@ - - - - + @@ -582,97 +709,154 @@ - + - + - - - - - - + + - - + + + + + + - - - + + - - + + - - + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 100 + + + DEBUG: compare= + candidate-modified="" + candidate-published="" + modified= => + published= => + + => + + + + + - - "datePublished": "", + + + + warn + JSON-LD + + In your revhistory, the first date + + is smaller than the last date + + The revhistory's dates must be sorted from newest to oldest. + + + + + + + error + JSON-LD + + Either the first and last entry in the revistory/revision/date contains an invalid date + or no dates was found at all. + + + + + + + + "dateModified": "", warn JSON-LD - Could not create "datePublished" property as no element was appropriate. + Could not create "dateModified" property as no element was appropriate. - - - - - - - - - - Y-m-d - - - - - - - - - - - - - "dateModified": "", + + "datePublished": "", warn JSON-LD - Could not create "dateModified" entry as no extension was found. + Could not create "datePublished" property as no element was appropriate. + "sameAs": [ "https://www.facebook.com/SUSEWorldwide/about",