annotate restService/templates/serviceDescription.html @ 22:f748e2b684c9

bug in xml output fixed
author dwinter
date Wed, 30 Jan 2013 08:37:48 +0100
parents 90643ccc6545
children 9ef155b1eec5
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
a2bcca6539fd static pages
dwinter
parents:
diff changeset
6 <h2>/search</h2>
a2bcca6539fd static pages
dwinter
parents:
diff changeset
7 <p>needs a parameter ?q=PATH </p>
a2bcca6539fd static pages
dwinter
parents:
diff changeset
8
a2bcca6539fd static pages
dwinter
parents:
diff changeset
9 <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
10
a2bcca6539fd static pages
dwinter
parents:
diff changeset
11 <h2>/docuview/PURL</h3>
a2bcca6539fd static pages
dwinter
parents:
diff changeset
12
a2bcca6539fd static pages
dwinter
parents:
diff changeset
13 <p>Is explained
a2bcca6539fd static pages
dwinter
parents:
diff changeset
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>.
a2bcca6539fd static pages
dwinter
parents:
diff changeset
15 </p>
a2bcca6539fd static pages
dwinter
parents:
diff changeset
16
a2bcca6539fd static pages
dwinter
parents:
diff changeset
17 <h4>Config</h4>
a2bcca6539fd static pages
dwinter
parents:
diff changeset
18 The viewer configuration in stored in <em>viewer.config</em>.
a2bcca6539fd static pages
dwinter
parents:
diff changeset
19
a2bcca6539fd static pages
dwinter
parents:
diff changeset
20 <p> e.g.</p>
a2bcca6539fd static pages
dwinter
parents:
diff changeset
21 <pre>
a2bcca6539fd static pages
dwinter
parents:
diff changeset
22 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
23 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
24 digilib,,http://digilib.mpiwg-berlin.mpg.de/digitallibrary/jquery/digilib.html?fn=%s
a2bcca6539fd static pages
dwinter
parents:
diff changeset
25 </pre>
a2bcca6539fd static pages
dwinter
parents:
diff changeset
26
a2bcca6539fd static pages
dwinter
parents:
diff changeset
27 <p>The format is:
a2bcca6539fd static pages
dwinter
parents:
diff changeset
28
a2bcca6539fd static pages
dwinter
parents:
diff changeset
29 <pre>
a2bcca6539fd static pages
dwinter
parents:
diff changeset
30 FLAVOUR,FULTEXTVIEWER,IMAGEVIEWER
a2bcca6539fd static pages
dwinter
parents:
diff changeset
31 </pre>
a2bcca6539fd static pages
dwinter
parents:
diff changeset
32
a2bcca6539fd static pages
dwinter
parents:
diff changeset
33 </p>
a2bcca6539fd static pages
dwinter
parents:
diff changeset
34
a2bcca6539fd static pages
dwinter
parents:
diff changeset
35 <h3>/indexMeta/PURL</h3>
a2bcca6539fd static pages
dwinter
parents:
diff changeset
36 <p>
a2bcca6539fd static pages
dwinter
parents:
diff changeset
37 Redirects to the index.meta file of the source, if existing.
19
cce127a28fc9 added getpurls
dwinter
parents: 14
diff changeset
38 </p>
cce127a28fc9 added getpurls
dwinter
parents: 14
diff changeset
39
cce127a28fc9 added getpurls
dwinter
parents: 14
diff changeset
40
cce127a28fc9 added getpurls
dwinter
parents: 14
diff changeset
41 <h3>/getPurls</h3>
cce127a28fc9 added getpurls
dwinter
parents: 14
diff changeset
42 get new purls
cce127a28fc9 added getpurls
dwinter
parents: 14
diff changeset
43
cce127a28fc9 added getpurls
dwinter
parents: 14
diff changeset
44 GET: returns an simple web page to enter username and amount of purls needed
cce127a28fc9 added getpurls
dwinter
parents: 14
diff changeset
45
cce127a28fc9 added getpurls
dwinter
parents: 14
diff changeset
46 POST: expects the parameter "username" and "amount"", return list of purls
cce127a28fc9 added getpurls
dwinter
parents: 14
diff changeset
47
21
90643ccc6545 cross scripting and xml mime-type
dwinter
parents: 19
diff changeset
48 <h3>/purls/searchSolr?text-url-path=PATH</h3>
90643ccc6545 cross scripting and xml mime-type
dwinter
parents: 19
diff changeset
49
90643ccc6545 cross scripting and xml mime-type
dwinter
parents: 19
diff changeset
50 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
51
22
f748e2b684c9 bug in xml output fixed
dwinter
parents: 21
diff changeset
52 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
53
90643ccc6545 cross scripting and xml mime-type
dwinter
parents: 19
diff changeset
54 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
55
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