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