Skip to content

Instantly share code, notes, and snippets.

View benwbrum's full-sized avatar

Ben W. Brumfield benwbrum

View GitHub Profile
{
"@context":"http://iiif.io/api/presentation/2/context.json",
"@id":"http://example.com/888b0183-4c74-4289-9b8a-01c3c7cf5c24",
"label":"Programmatically generated collection manifest for a CONTENTdm collection",
"@type":"sc:Collection",
"manifests":[
{
"@type":"sc:Manifest",
"id":"https://cdm17217.contentdm.oclc.org/digital/iiif-info/p17217coll3/95621/manifest.json",
"label":""
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "http://ucd.ie:3000/iiif/contributions/ucd.ie/2017-01-01/2018-01-01",
"@type": "sc:Collection",
"label": "IIIF resources avaliable on the FromThePage installation at localhost:3000 which were derived from resources matching *ucd.ie* and were modified since 2017-01-01T00:00:00+00:00 but before 2018-01-01T00:00:00+00:00",
"manifests": [
{
"@id": "http://localhost:3000/iiif/335/manifest",
"@type": "sc:Manifest",
"label": "I live in St. Mullins which is situated on the River Barrow...",
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "http://localhost:3000/iiif/474/manifest",
"@type": "sc:Manifest",
"label": "[Letter from Gerard Manley Hopkins to Alexander William Mowbray Baillie, thanking him for his congratulations. Refers to other classmates' papers; his reading of 'Romola'; an article on the Sandwich Islands by his father; etc.",
"metadata": [
{
"label": "dc:source",
"value": "https://data.ucd.ie/api/img/manifests/ivrla:3987"
}
{
"@type": "sc:Manifest",
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "http://collection.imamuseum.org/artwork/33139/manifest.json",
"label": "Reginald Marsh (American, 1898-1954), Hauptmann Must Die, 1935, Egg tempera on Masonite, Indianapolis Museum of Art",
"description": "Marsh was one of the foremost Social Realists of the 1930s, portraying scenes of New York urban life. He employed a graphic, linear technique to bring individuality to the characters he depicted.\n\nThe newspaper headline refers to the sentencing of the convicted kidnapper of Charles Lindbergh’s baby.\n\nMarsh combined contemporary subjects with the use of media (such as egg tempera) and techniques derived from his study of European Old Master painters.",
"attribution": "Image courtesy of the Indianapolis Museum of Art.",
"metadata": [
{
"label": "Title",
{
"@type": "sc:Manifest",
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "https://gist.githubusercontent.com/benwbrum/2042cbf7402d85d53ee9c014e1651b87/raw/8928e947cb0b9d75aa007055948511a6570649ff/cb_manifest.json",
"label": "Andrew Wyeth (1917 - 2009), Airborne, 1996, Tempera on panel, Crystal Bridges Museum of American Art",
"description": "A sense of unease in an immaculate world pervades Andrew Wyeth’s Airborne. The painting depicts the artist and his wife Betsy’s home on Benner Island, Maine. Wyeth painted Airborne in a contrasting palette of bright greens and dull grays that vividly conveys the site’s weather, tides, and seasonal rhythms. The floating feathers in the foreground add an element of surprise to the painting. The artist suggests here, as in many of his paintings, that something is taking place just beyond the frame. He invites the viewer to speculate what is happening to the ducks and geese who summer on the pond next to his house: are they attacked by one of the is
@benwbrum
benwbrum / dma_demo.json
Last active September 28, 2017 15:16
json for dma
{
"@type": "sc:Manifest",
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "https://gist.githubusercontent.com/benwbrum/3091a5c594c740513a54d39e0fe45672/raw/67960f14815c999ddc97593653b012ae62068570/dma_demo.json",
"label": "Charles Willson Peale (American, 1741 - 1827), Rachel Leeds Kerr, 1790, Oil on canvas, Dallas Museum of Art, 1989.23, Paintings",
"description": "Rachel Leeds Kerr was the wife of Lt. David Kerr, a justice of the peace in Talbot, Maryland, and member of the Maryland House of Delegates. Like all of Charles Willson Peale's works, this portrait has a linear quality, featuring strongly marked contour lines and a careful delineation of materials-largely due to Peale's self-taught background, which not even two years' study in London with Benjamin West could totally soften. Born in Maryland but based in Philadelphia for most of his career, Peale was not only one of early America's most successful artists, he also helped engineer the United States' artistic future. Beside
<!--?xml version="1.0" encoding="UTF-8"?-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title> Livre de Jacques d'Ibelin</title>
</head>
<body>
<h1 class="work-title">Livre de Jacques d'Ibelin</h1>
<div class="export-metadata">FromThePage export of Livre de Jacques d'Ibelin from French of Outremer made on 2017-09-18 10:30:11 -0500.</div>
@benwbrum
benwbrum / grinnell_transcript_html.json
Last active July 22, 2017 12:55
html transcript annotation
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "https://gist.githubusercontent.com/benwbrum/267248188a7eb078f98b8f3241384df6/raw/b09a65126ecd08223f77ea4e6a0e3b1623e83a9d/grinnell_transcript_html.json",
"@type": "sc:AnnotationList",
"resources": [
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"on": "https://fromthepage.com/iiif/75/canvas/4283#xywh=100,100,3820,5300",
"resource": {
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "https://gist.githubusercontent.com/benwbrum/4974ee9011f7dcd37b3e96347a23db02/raw/a22afe0061a2b1bcee58787e509dc1f055b7922a/grinnel_manifest_single_page.json",
"@type": "sc:Manifest",
"label": "1925: Joseph Grinnell's field notes",
"within": "https://fromthepage.com/iiif/collection/20",
"sequences": [
{
"@id": "https://fromthepage.com/iiif/75/sequence/default",
"@type": "sc:Sequence",
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "https://gist.githubusercontent.com/benwbrum/903ca706a1167fef9af19671fe9b2d55/raw/adafc18bbbbe26e072fc879cd87f7c69f4177309/plaintext_transcript_annotation.json",
"@type": "sc:AnnotationList",
"resources": [
{
"@type": "oa:Annotation",
"motivation": "sc:painting",
"on": "https://fromthepage.com/iiif/75/canvas/4283#xywh=100,100,3820,5300",
"resource": {