From 3703e63a1732f73649fdafcecfe2749d01b97a0a Mon Sep 17 00:00:00 2001 From: Tom Schraitle Date: Wed, 8 May 2024 17:17:07 +0200 Subject: [PATCH] Fix some JSON-LD problems * No JSON-LD was generated for SBP & TRD * Simplify XPath for extracting revhistory --- sbp/xhtml/chunk.xsl | 6 ++++- sbp/xhtml/titlepage.templates.xsl | 4 +-- suse2022-ns/xhtml/json-ld.xsl | 43 +++++++++++++++++-------------- trd/xhtml/chunk.xsl | 6 ++++- 4 files changed, 34 insertions(+), 25 deletions(-) diff --git a/sbp/xhtml/chunk.xsl b/sbp/xhtml/chunk.xsl index f2204b99..5d36c469 100644 --- a/sbp/xhtml/chunk.xsl +++ b/sbp/xhtml/chunk.xsl @@ -34,4 +34,8 @@ - \ No newline at end of file + + + + + diff --git a/sbp/xhtml/titlepage.templates.xsl b/sbp/xhtml/titlepage.templates.xsl index 5f5cc8da..19b1ae15 100644 --- a/sbp/xhtml/titlepage.templates.xsl +++ b/sbp/xhtml/titlepage.templates.xsl @@ -65,13 +65,11 @@ - d:info/d:abstract
- d:info/d:abstract/d:title
@@ -281,4 +279,4 @@
- \ No newline at end of file + diff --git a/suse2022-ns/xhtml/json-ld.xsl b/suse2022-ns/xhtml/json-ld.xsl index 586e740f..8b0c15ef 100644 --- a/suse2022-ns/xhtml/json-ld.xsl +++ b/suse2022-ns/xhtml/json-ld.xsl @@ -372,15 +372,15 @@ - - Going to write external JSON-LD structure to "Going to write external JSON-LD structure to "" for Found node(s) (=). Found DC filename "" json-ld-base.dir="" filename="" - +--> @@ -467,7 +467,7 @@ - INFO: Going to generate JSON-LD... ("") for context element + INFO: Going to generate JSON-LD... (stitchfile="") for context element