Skip to content

Commit

Permalink
IIIF-manifest-anlegen.md, add info.json to patrinum fiddle
Browse files Browse the repository at this point in the history
  • Loading branch information
pdaengeli authored Nov 29, 2024
1 parent a69503f commit ec735af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/arbeitsschritte/IIIF-manifest-anlegen.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Die Patrinum-Plattform bietet auf der Dokumentansicht einen Link zum zugehörige

In diesem JSON sind die Image URLs unter `.sequences[:0].canvases[:0].images[:0].resource.service` als `@id` (abfragbar z.B. mit https://jsonpath.com/).

⚡ Eine einfache Möglichkeit, an `[md_data]` zu kommen, bietet [diese Fiddle](https://martin-honnen.github.io/xslt3fiddle/?xslt=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22utf-8%22%3F%3E%0D%0A%3Cxsl%3Astylesheet+xmlns%3Axsl%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2FXSL%2FTransform%22%0D%0A++xmlns%3Amap%3D%22http%3A%2F%2Fwww.w3.org%2F2005%2Fxpath-functions%2Fmap%22%0D%0A++version%3D%223.0%22%0D%0A++xmlns%3Axs%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%22%0D%0A++exclude-result-prefixes%3D%22%23all%22%0D%0A++expand-text%3D%22yes%22%3E%0D%0A++%0D%0A++%3Cxsl%3Aoutput+method%3D%22text%22%2F%3E%0D%0A%0D%0A++%3Cxsl%3Amode+on-no-match%3D%22shallow-copy%22%2F%3E%0D%0A%0D%0A++%3Cxsl%3Atemplate+match%3D%22%2Finput%22+name%3D%22xsl%3Ainitial-template%22%3E%0D%0A++++%3Cxsl%3Avariable+name%3D%22id%22+select%3D%22%40id%22%2F%3E%0D%0A++++%3Cxsl%3Avariable+name%3D%22input%22+select%3D%22%40manifest+%3D%3E+normalize-space%28%29+%3D%3E+json-doc%28%29%22%2F%3E%0D%0A++++%3Cxsl%3Atext%3E%5Bmf_data%5D%26%23xA%3B%3C%2Fxsl%3Atext%3E%0D%0A++++%3Cxsl%3Afor-each+select%3D%22%24input%3Fsequences%3F*%3Fcanvases%3F*%3Fimages%3F*%3Fresource%3Fservice%22%3E%22%7B%24id%7D_%7Bposition%28%29%3D%3Eformat-number%28%27000%27%29%7D%22+%3D+%22%7Bmap%3Afind%28.%2C%27%40id%27%29%7D%22%26%23xA%3B%3C%2Fxsl%3Afor-each%3E%0D%0A++%3C%2Fxsl%3Atemplate%3E%0D%0A++%0D%0A%3C%2Fxsl%3Astylesheet%3E&input=%3Cinput%0A++id%3D%22smallform_598%22%0A++manifest%3D%22https%3A%2F%2Fwww.monacensia-digital.de%2Fi3f%2Fv20%2F415207%2Fmanifest%22%0A++%2F%3E&input-type=XML)
⚡ Eine einfache Möglichkeit, an `[md_data]` zu kommen, bietet [diese Fiddle](https://martin-honnen.github.io/xslt3fiddle/?xslt=%3C%3Fxml+version%3D%221.0%22+encoding%3D%22utf-8%22%3F%3E%0D%0A%3Cxsl%3Astylesheet+xmlns%3Axsl%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2FXSL%2FTransform%22%0D%0A++xmlns%3Amap%3D%22http%3A%2F%2Fwww.w3.org%2F2005%2Fxpath-functions%2Fmap%22%0D%0A++version%3D%223.0%22%0D%0A++xmlns%3Axs%3D%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%22%0D%0A++exclude-result-prefixes%3D%22%23all%22%0D%0A++expand-text%3D%22yes%22%3E%0D%0A++%0D%0A++%3Cxsl%3Aoutput+method%3D%22text%22%2F%3E%0D%0A%0D%0A++%3Cxsl%3Amode+on-no-match%3D%22shallow-copy%22%2F%3E%0D%0A%0D%0A++%3Cxsl%3Atemplate+match%3D%22%2Finput%22+name%3D%22xsl%3Ainitial-template%22%3E%0D%0A++++%3Cxsl%3Avariable+name%3D%22id%22+select%3D%22%40id%22%2F%3E%0D%0A++++%3Cxsl%3Avariable+name%3D%22input%22+select%3D%22%40manifest+%3D%3E+normalize-space%28%29+%3D%3E+json-doc%28%29%22%2F%3E%0D%0A++++%3Cxsl%3Afor-each+select%3D%22%24input%3Fitems%3F*%3Fitems%3F*%3Fitems%3F*%3Fbody%3Fid%22%3E%22%7B%24id%7D_%7Bposition%28%29%3D%3Eformat-number%28%27000%27%29%7D%22+%3D+%22%7B.%7D%22%26%23xA%3B%3C%2Fxsl%3Afor-each%3E%0D%0A++%3C%2Fxsl%3Atemplate%3E%0D%0A++%0D%0A%3C%2Fxsl%3Astylesheet%3E&input=%3Cinput%0A++id%3D%22letter_1234%22%0A++manifest%3D%22https%3A%2F%2Fpatrinum.ch%2Fnanna%2Fproxy%2Fiiif%2Fmanifest%2F587676%2F%22%0A++%2F%3E&input-type=XML)

Input:
```xml
Expand Down Expand Up @@ -169,4 +169,4 @@ mf_label = "Erik. Novelle"
[mf_data]
"smallform_0007_001" = "https://iiif.ub.unibe.ch/image/v3/dsl_dev/smallform_0007_001.png/info.json"
```
```

0 comments on commit ec735af

Please sign in to comment.