Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fragment identifier API for ALTO #33
The ALTO Fragment Identifier API is a proposal for a web service that, in response to a standard HTTP or HTTPS request:
This service aims to facilitate reuse of ALTO resources in digital librairies (bookmarks, annotations...). It could be used to embody the concept of hyperlinking within ALTO documents, and to access to the content itself.
The URI could specify any portion of ALTO file (paragraph, string, illustration...) referenced by various mechanisms (ID, spatial offset, order...), range of contents (paragraphs 2 to 5), etc.
Note : the ALTO schema is not impacted. The whole idea is to edit a specification to be implemented by digital libraries (if they are willing to).
a. A digital library user wants to reference a specific marginalia on a specific page of a digital document, given its spatial position:
b. An application wants to list all the images on a specific page of a digital document:
From this XML content, the application can then extract the illustration using IIIF:
c. An application wants to extract all the text within the print space of a specific page:
From this IDs, the application can then extract the XML elements and filter the text blocks to access the text itself.
IIIF Image API (http://iiif.io/api/image/2.0) specifies a web service that returns an image. The HTTP request can specify the region, size, rotation, quality characteristics and format of the requested image
EPUB format as a recommended specification on Fragment Identifiers ( http://www.idpf.org/epub/linking/cfi/epub-cfi.html) that helps to express paths to specific locations within the content: