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