示例#1
0
27 : {"title": "No Image"},
28 : {"title": "Choice of Image"},
29 : {"title": "Choice of Image with IIIF Service", 'iiif':True},
30 : {"title": "Main + Detail Image"},
31 : {"title": "Detail with IIIF Service", 'iiif':True},
32 : {"title": "Multiple Detail Images"},
33 : {"title": "Detail Image with Choice"},
34 : {"title": "Detail Image with Choice, and 'no image' as option"},
35 : {"title": "Partial Image as Main Image"},
36 : {"title": "Partial Image as Main Image with IIIF Service", 'iiif':True},
37 : {"title": "Partial Image as Detail Image"},
38 : {"title": "Partial Image as Detail Image with IIIF Service", 'iiif':True},
39 : {"title": "Image with CSS Rotation"},
40 : {"title": "Multiple Languages for Metadata Labels", 'mfprops': [('metadata', {'label': {'fr':'date', 'en':'date'}, 'value': "2000"})]},
41 : {"title": "Main Image with Server side Rotation", 'iiif':True},
43 : {"title": "Embedded Transcription on Canvas", 'annoBody': fac.text('\n'.join(transcriptions[0]))},
44 : {"title": "Embedded Transcription on Fragment Segment", 'annoBody': fac.text(transcriptions[0][0]), 'annoTarget+': '#xywh='+line1Dims},
45 : {"title": "External text/plain Transcription on Canvas", 'annoBody': fac.text(ident=textUris[0])},
46 : {"title": "External text/plain Transcription on Segment", 'annoBody': fac.text(ident=BASEURL+"resources/line1.txt"), 'annoTarget+':'#xywh='+line1Dims},
47 : {"title": "Embedded HTML Transcription on Canvas", 'annoBody': fac.text('<span>' + "<br/>".join(transcriptions[0]) + '</span>', format='text/html')},
48 : {"title": "Embedded HTML Transcription on Segment", 'annoBody': fac.text("<b>"+transcriptions[0][0]+"</b>", format='text/html'), 'annoTarget+':'#xywh='+line1Dims},
51 : {"title": "Embedded Comment on a Canvas", 'annoBody': fac.text("Comment"), 'annoMotivation': 'oa:commenting'},
52 : {"title": "Embedded Comment on a Segment", 'annoBody': fac.text("Comment"), 'annoMotivation': 'oa:commenting', 'annoTarget+': "#xywh=100,100,200,200"},
54 : {"title": "Comment in HTML", 'annoBody': fac.text("<b>Comment</b>", format='text/html'), 'annoMotivation': 'oa:commenting'},
61 : {"title": "Embedded Transcription on Selector Segment", 'annoBody': fac.text(transcriptions[0][0])},
62 : {"title": "Label in Multiple Languages", 'mfprops': [('label', {'en':'62: some title','fr':'62: quelque titre'})]},
63 : {"title": "Description in Multiple Languages", 'mfprops': [('description', {'en':'description here','fr':'on le decrit ici'})]},
64 : {"title": "Description in HTML", 'mfprops':[('description', {'en html': '<span>Some HTML</span>'})]},
65 : {"title": "Sequence with startCanvas", 'seqprops':[('startCanvas', "http://iiif.io/api/presentation/2.0/example/fixtures/canvas/65/c1.json")]},

}
     "Multiple Languages for Metadata Labels",
     'mfprops': [('metadata', {
         'label': {
             'fr': 'date',
             'en': 'date'
         },
         'value': "2000"
     })]
 },
 41: {
     "title": "Main Image with Server side Rotation",
     'iiif': True
 },
 43: {
     "title": "Embedded Transcription on Canvas",
     'annoBody': fac.text('\n'.join(transcriptions[0]))
 },
 44: {
     "title": "Embedded Transcription on Fragment Segment",
     'annoBody': fac.text(transcriptions[0][0]),
     'annoTarget+': '#xywh=' + line1Dims
 },
 45: {
     "title": "External text/plain Transcription on Canvas",
     'annoBody': fac.text(ident=textUris[0])
 },
 46: {
     "title": "External text/plain Transcription on Segment",
     'annoBody': fac.text(ident=BASEURL + "resources/line1.txt"),
     'annoTarget+': '#xywh=' + line1Dims
 },