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
|
33
|
9 <h2>/imageURL/PURL</h2>
|
26
|
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>
|
33
|
13 <p>Searched the PURL or all PURLs, wich belong to the PATH the internal search format is "LIKE" </p>
|
|
14
|
|
15 <h3>GET</h3>
|
14
|
16 <p>needs a parameter ?q=PATH </p>
|
|
17
|
33
|
18 <h3>POST</h3>
|
|
19 <p>expects at \n separated list of paths and returns a list with the path and the purl.
|
14
|
20
|
|
21 <h2>/docuview/PURL</h3>
|
|
22
|
|
23 <p>Is explained
|
|
24 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>.
|
|
25 </p>
|
|
26
|
|
27 <h4>Config</h4>
|
|
28 The viewer configuration in stored in <em>viewer.config</em>.
|
|
29
|
|
30 <p> e.g.</p>
|
|
31 <pre>
|
|
32 echo,http://echo.mpiwg-berlin.mpg.de/ECHOdocuViewfull?url=%s,http://echo.mpiwg-berlin.mpg.de/ECHOdocuViewfull?mode=imagepath&url=%s&viewMode=images
|
|
33 libcoll,http://libcoll.mpiwg-berlin.mpg.de/libviewa?url=%s,http://libcoll.mpiwg-berlin.mpg.de/libviewa?url=%s&viewMode=images
|
|
34 digilib,,http://digilib.mpiwg-berlin.mpg.de/digitallibrary/jquery/digilib.html?fn=%s
|
|
35 </pre>
|
|
36
|
|
37 <p>The format is:
|
|
38
|
|
39 <pre>
|
|
40 FLAVOUR,FULTEXTVIEWER,IMAGEVIEWER
|
|
41 </pre>
|
|
42
|
|
43 </p>
|
|
44
|
|
45 <h3>/indexMeta/PURL</h3>
|
|
46 <p>
|
|
47 Redirects to the index.meta file of the source, if existing.
|
19
|
48 </p>
|
|
49
|
|
50
|
26
|
51
|
19
|
52 <h3>/getPurls</h3>
|
|
53 get new purls
|
|
54
|
|
55 GET: returns an simple web page to enter username and amount of purls needed
|
|
56
|
34
|
57 POST: expects the parameter "userName" and "amount"", return list of purls
|
19
|
58
|
21
|
59 <h3>/purls/searchSolr?text-url-path=PATH</h3>
|
|
60
|
|
61 gives the path to the index.meta at the storage system as XML
|
|
62
|
22
|
63 eg. purls/searchSolr?text-url-path=/diverse/de/Einst_Beric_de_1907.xml
|
21
|
64
|
|
65 an additional parameter <b>format=short</b> suppresses the additional metadata in the output.
|
|
66
|
|
67
|
|
68
|