annotate restService/templates/serviceDescription.html @ 24:9ef155b1eec5

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