You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/external-requests.xqm
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -170,6 +170,7 @@ declare function er:http-get($url as xs:anyURI) as element(wega:externalResource
170
170
declarefunctioner:wikimedia-iiif($wikiFilename as xs:string) asmap(*)* {
171
171
(: kanonische Adresse wäre eigentlich https://tools.wmflabs.org/zoomviewer/iiif.php?f=$DATEINAME$, bestimmte Weiterleitungen funktionieren dann aber nicht :)
172
172
(: zum Dienst siehe https://github.com/toollabs/zoomviewer :)
173
+
(: zu IIIF@Wikipedia: siehe https://commons.wikimedia.org/wiki/Commons:International_Image_Interoperability_Framework :)
173
174
let $escapedWikiFilename := replace($wikiFilename, ' ', '_')
174
175
let $url := 'https://tools.wmflabs.org/zoomviewer/proxy.php?iiif=' || $escapedWikiFilename || '/info.json'
175
176
let $lease := function($currentDateTimeOfFile as xs:dateTime?) as xs:boolean { wega-util:check-if-update-necessary($currentDateTimeOfFile, ()) }
0 commit comments