Skip to content

Instantly share code, notes, and snippets.

View azaroth42's full-sized avatar

Rob Sanderson azaroth42

View GitHub Profile
{
"@context": {
"@vocab": "http://iiif.io/api/image#",
"xsd" :" http://www.w3.org/2001/XMLSchema#",
"supportsRegionByPct" : {"@type": "xsd:boolean"},
"supportsRegionByPx" : {"@type": "xsd:boolean"},
"supportsSizeByW" : {"@type": "xsd:boolean"},
"supportsSizeByH" : {"@type": "xsd:boolean"},
"supportsSizeByWH" : {"@type": "xsd:boolean"},
"supportsSizeByPct" : {"@type": "xsd:boolean"},
@azaroth42
azaroth42 / log.txt
Created August 28, 2014 18:05
Fedora4 mvn -X install log
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T09:37:52-08:00)
Maven home: /usr/local/Cellar/maven/3.2.1/libexec
Java version: 1.6.0_65, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.9.4", arch: "x86_64", family: "mac"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /usr/local/Cellar/maven/3.2.1/libexec/conf/settings.xml
[DEBUG] Reading user settings from /Users/azaroth/.m2/settings.xml
[DEBUG] Using local repository at /Users/azaroth/.m2/repository
@azaroth42
azaroth42 / gist:7b55bde7b98e9615502a
Last active August 29, 2015 14:24
FRBR / RDF discussion
:work a frbr:Work
dc:title "Chronicles of Froissart" // label for the abstract notion
dc:creator <froissart>
:expr a frbr:Expression
frbr:expressionOf :work
dc:title "Les Chroniques" // label for written forms
:mfst a frbr:Manifestation // A family of MSS
frbr:manifestationOf :expr
@azaroth42
azaroth42 / info.json
Last active October 15, 2016 00:34
Ultra simple AV info.json
{
"@context": "http://iiif.io/api/av/0/context.json",
"id": "https://iiif-staging02.lib.ncsu.edu/iiifv/pets",
"profile": "http://iiif.io/api/av/0/level1.json",
"attribution": "Provided by NCSU",
"logo": "http://ncsu.edu/logo.png",
"rights": "http://creativecommons.org/4.0/cc-by/",
"sizes": [
@azaroth42
azaroth42 / canvas.json
Last active October 20, 2016 14:32
Canvas in Presentation 3.0 with AV
{
"id": "...",
"type": "Canvas",
"width": 1000,
"height": 1000,
"duration": 120,
"annotations": [
{
"type": "AnnotationPage",
"items": [

Workflow

  1. Request full/info.json withCredentials flag set, but no credentials Request: No Cookie. Response: 302 ; ACAC:true ; ACAO: origin ; Location: degraded

  2. Request degraded/info.json withCredentials flag set? but no credentials Request: No Cookie Response: 200 ; ACAC:true ; ACAO: origin

Discovery Support Technical Specifications Group Charter

Introduction

Interoperable resources are only useful if they can be found. This has been well-recognized since the early days of the IIIF community, and more recently it has become clear that a concerted effort to standardize patterns that will facilitate discovery, harvesting and synchronization, indexing, and importing of IIIF resources is required.

This group will create specifications that improve the discovery process for IIIF resources, with a focus on leveraging existing techniques and tools, and promoting widespread adoption within the community. It will assist with and steer the implementation of community infrastructure, such as a registry of adopters, validators for the implementations, and transformation tools to generate the required data from existing systems and APIs.

If successful, the work will enable the collaborative development of global or thematic registries, search engines and portal applications that allow developers a

Introduction:

While IIIF has focused primarily on Image based content, there has always been interest around the community in extending the paradigm to include Video and Audio resources, following the same successful pattern as for Images. Early experiments in this direction included the linking of audio segments to the regions of a canvas that depict a musical score and linking video of commentary about the resource. More recently, the British Library was successful in obtaining a grant to work on preserving and making accessible audio content, with explicit resourcing for advancing IIIF's specifications in this area.

This group will create technical specifications that improve the interoperability of access to audio and video content following the same patterns as the Image API, and allow the integration of that content with the Presentation API. It will assist with and steer the implementation of community infrastructure, such as reference implementations and validators, as well as transformation tool

The Base URI Issue Explained

Last Update: 2018-10-27

Author: Rob Sanderson (for the JSON-LD Working Group)

What’s this Base URI issue then?

In order to ensure persistent references, HTML and other specifications have the notion of a base URI (e.g. http://example.com/) with which relative URIs (e.g. page.html) are resolved into absolute URIs (http://example.com/page.html). This notion is especially important in Linked Data, as the connectedness of URIs via relationships is what makes it a web of data, not just another standalone data format. Knowledge graphs of all descriptions would fail to coalesce if the resolution is not deterministic and left up to individual implementers to decide on the method.