|
14
|
1 <h1>PURL service</h1>
|
|
|
2
|
|
|
3 <h2>/purl/PURL</h2>
|
|
26
|
4 <p> Takes a <em>PURL</em> and returns the real path as TXT.
|
|
14
|
5
|
|
24
|
6 <h2>/imagePath/PURL</h2>
|
|
26
|
7 <p> Takes a <em>PURL</em> and returns the image Path as TXT, if stored, otherwise an empty string is returned.
|
|
|
8
|
|
|
9 h2>/imageURL/PURL</h2>
|
|
|
10 <p> Takes a <em>PURL</em> and returns the image URL at the scaler all parameters are passed through, if stored, otherwise an empty string is returned.
|
|
24
|
11
|
|
14
|
12 <h2>/search</h2>
|
|
|
13 <p>needs a parameter ?q=PATH </p>
|
|
|
14
|
|
|
15 <p>Searched the PURL or all PURLs, wich belong to the PATH the internal search format is "LIKE" </p>
|
|
|
16
|
|
|
17 <h2>/docuview/PURL</h3>
|
|
|
18
|
|
|
19 <p>Is explained
|
|
|
20 at <a href="https://it-dev.mpiwg-berlin.mpg.de/tracs/metadataprovider/wiki/purls">https://it-dev.mpiwg-berlin.mpg.de/tracs/metadataprovider/wiki/purls</a>.
|
|
|
21 </p>
|
|
|
22
|
|
|
23 <h4>Config</h4>
|
|
|
24 The viewer configuration in stored in <em>viewer.config</em>.
|
|
|
25
|
|
|
26 <p> e.g.</p>
|
|
|
27 <pre>
|
|
|
28 echo,http://echo.mpiwg-berlin.mpg.de/ECHOdocuViewfull?url=%s,http://echo.mpiwg-berlin.mpg.de/ECHOdocuViewfull?mode=imagepath&url=%s&viewMode=images
|
|
|
29 libcoll,http://libcoll.mpiwg-berlin.mpg.de/libviewa?url=%s,http://libcoll.mpiwg-berlin.mpg.de/libviewa?url=%s&viewMode=images
|
|
|
30 digilib,,http://digilib.mpiwg-berlin.mpg.de/digitallibrary/jquery/digilib.html?fn=%s
|
|
|
31 </pre>
|
|
|
32
|
|
|
33 <p>The format is:
|
|
|
34
|
|
|
35 <pre>
|
|
|
36 FLAVOUR,FULTEXTVIEWER,IMAGEVIEWER
|
|
|
37 </pre>
|
|
|
38
|
|
|
39 </p>
|
|
|
40
|
|
|
41 <h3>/indexMeta/PURL</h3>
|
|
|
42 <p>
|
|
|
43 Redirects to the index.meta file of the source, if existing.
|
|
19
|
44 </p>
|
|
|
45
|
|
|
46
|
|
26
|
47
|
|
19
|
48 <h3>/getPurls</h3>
|
|
|
49 get new purls
|
|
|
50
|
|
|
51 GET: returns an simple web page to enter username and amount of purls needed
|
|
|
52
|
|
|
53 POST: expects the parameter "username" and "amount"", return list of purls
|
|
|
54
|
|
21
|
55 <h3>/purls/searchSolr?text-url-path=PATH</h3>
|
|
|
56
|
|
|
57 gives the path to the index.meta at the storage system as XML
|
|
|
58
|
|
22
|
59 eg. purls/searchSolr?text-url-path=/diverse/de/Einst_Beric_de_1907.xml
|
|
21
|
60
|
|
|
61 an additional parameter <b>format=short</b> suppresses the additional metadata in the output.
|
|
|
62
|
|
|
63
|
|
|
64
|