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

Last change on this file since 36996 was 36996, checked in by davidb, 15 months ago

Changes in response to testing out the retrieval of a document sub-section image

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