source: gs3-extensions/iiif-servlet/trunk/src/README.txt@ 38200

Last change on this file since 38200 was 38200, checked in by davidb, 9 months ago

Changes and fixes after install on fresh OS

File size: 3.0 KB
Line 
1
2First time use:
3
4 ./PREPARE-GSDL-AND-COMPILE-CORE.sh
5 ./PREPARE-CANTALOUPE.sh
6 ./COMPILE-CANTALOUPE.sh
7 ./INSTALL-CANTALOUPE-WAR.sh
8
9Bump to cantaloupe v4.03 (as some of the URLs of maven dependencies in the older version were no longer available)
10
11====
12To make use of this extension in GS3, add the IIIFPMH service to a collection's
13collectionConfig.xml file:
14
15
16 <serviceRack name="IIIFPMH">
17 <setName>intermuseprogammes</setName>
18 <setDescription/><!-- uncomment the following and set the name attribute if
19 you want this collection to be part of a super set. --><!--<oaiSuperSet name="xxx"/>-->
20 <ListMetadataFormats><!--What metadata sets to support for this collection. You can select any set that is specified in OAIConfig.xml. To use a new set, you need to add a set definition in OAIConfig.xml, then reference it here, like:
21 <metadataFormat metadataPrefix="prefix"/> -->
22 <metadataFormat metadataPrefix="oai_dc"><!-- you can customize the mappings by adding elements in here. See resources/oai/OAIConfig.xml for the format--></metadataFormat>
23 </ListMetadataFormats>
24 </serviceRack>
25
26(Note: the IIIF service was strongly based off OAIPMH)
27
28
29
30General form of IIIF Image Server requests:
31
32 http://localhost:8383/gs-cantaloupe/
33 http://localhost:8383/gs-cantaloupe/admin
34 http://localhost:8383/gs-cantaloupe/iiif/2
35
36
37 http://localhost/gs-cantaloupe/iiif/2/<site>:<col>:<docid>/info.json
38
39 http://localhost/gs-cantaloupe/iiif/2/<site>:<col>:<docid.subsection>/info.json
40
41
42
43
44Specific example IIIF image server requests:
45
46 http://localhost:8383/gs-cantaloupe/iiif/2/intermuse:programmes:HASHc5edd00c6c45cc68ce9532/info.js
47 http://localhost:8383/gs-cantaloupe/iiif/2/intermuse:programmes:HASHc5edd00c6c45cc68ce9532/full/full/0/default.jpg
48
49
50For an image that is a sub-section:
51
52 http://localhost:8383/gs-cantaloupe/iiif/2/intermuse:programmes:HASHc5edd00c6c45cc68ce9532.1/info.js
53
54 http://localhost:8383/gs-cantaloupe/iiif/2/intermuse:programmes:HASHc5edd00c6c45cc68ce9532.1/full/full/0/default.jpg
55
56
57Currently the jar files for Greenstone3:
58
59$ ls ../../web/WEB-INF/lib/ | wc
60 79 79 1405
61
62Are copied into Cantaloupe's WEB-INF/classes/lib area:
63
64$ ls ./packages/cantaloupe-4.0.2/target/cantaloupe-4.0.2/WEB-INF/classes/lib | wc
65 79 79 1405
66
67
68
69
70
71=====
72
73Might actually turn out to need to be:
74
75 ./packages/cantaloupe-4.0.2/target/cantaloupe-4.0.2/WEB-INF/lib
76
77e.g. jdbm.jar needs to be here to avoid Class Not Found
78
79
80pushd $GSDL3SRCHOME
81cp -i ./packages/tomcat/webapps/gs-cantaloupe/WEB-INF/classes/lib/jdbm.jar ./packages/tomcat/webapps/gs-cantaloupe/WEB-INF/lib/.
82popd
83
84
85
86=====
87
88# Deprecated
89
90The following is taken care of in ./PREPATE-AND-COMPILE-GSDL.sh
91
92cd $GSDL3SRCHOME
93cp web/WEB-INF/lib/jdbm.jar packages/tomcat/webapps/gs-cantaloupe/WEB-INF/lib/.
94
95For debugging XML output as String:
96
97 cp web/WEB-INF/lib/xalan.jar packages/tomcat/webapps/gs-cantaloupe/WEB-INF/lib/.
98
99 cp web/WEB-INF/lib/serialeizer.jar packages/tomcat/webapps/gs-cantaloupe/WEB-INF/lib/.
100
101
102=======
Note: See TracBrowser for help on using the repository browser.