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

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

Updated

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