Skip to content

FromThePage Support for the IIIF Presentation API and Web Annotations

Ben W. Brumfield edited this page Sep 8, 2022 · 27 revisions

Table of Contents

Query APIs

In addition to the implementations of the IIIF Presentation API, FromThePage servers also support two non-standard APIs for querying IIIF content.

Since most IIIF clients only work with IIIF manifests (rather than other presentation objects like supplementary layers), FromThePage re-presents transcripts, comments, translations and other additions to IIIF content as derivative manifests. Any IIIF item that has been imported into FromThePage will be re-presented on the FromThePage IIIF Presentation API server as a manifest including information from the originating manifest as well as links to resources and annotations authored on by FromThePage users. Each derivative manifest includes a metadata element dc:source referencing the original manifest so that these may be correlated. However, additional APIs are convenient so that content providers do not need to crawl all FromThePage IIIF manifests to find content in use on the crowdsourcing platform.

iiif/contributions: User Contribution API

The iiif/contributions API allows content providers to find all user-created contributions relating to their content on a FromThePage site. This can be used by a single institution to integrate crowdsourcing output with its digital library systems, or by multiple institutions to poll FromThePage servers for researcher-driven projects using their content.

Usage: {FromThePage Server}/iiif/contributions/{domain or user slug}/start date/end_date/

  • domain or user slug may be a slug for a project owner user account or a string like data.ucd.ie or stanford.edu corresponding to the domain of the imported manifest URI.
  • start date is an ISO8601 date/time representing the terminus a quo -- the beginning of a time window for user activity. Works which were transcribed, translated, or indexed before this time will not be returned by this query. This parameter is optional, but must be specified if an end date parameter is specified.
  • end date is an ISO8601 date/time representing the terminus ad quem -- the end of a time window for user activity. Only works which had user activity between the start date and end date of the window will be returned by this query. This parameter is optional.

This API returns a IIIF Presentation Collection listing IIIF Manifests for each FromThePage work that matches the query. In addition to label and derivative URI, each manifest also lists the dc:source and FromThePage Status service for the manifest.

iiif/for: IIIF Content Redirection API

The iiif/for API allows content providers to query for derivative resources corresponding to their own IIIF presentation collections, manifests, or canvases on a FromThePage server. Any content derived from the originating manifest will be returned as a 302 redirect.

Usage: {FromThePage Server}/iiif/for/{originating URI}

IIIF Collections

Top-level Collection

The top-level collection for a FromThePage server lists sub-collections, and is accessible at {protocol}://{hostname/iiif/collections

Each IIIF sub-collection represents a FromThePage Collection. In addition, those collections which have been imported from a corresponding IIIF collection elsewhere include a metadata block with a dc:source term referencing the originating collection, so that clients can easily identify the derivative resource that corresponds with their IIIF collection:

    {
      "@id": "https://fromthepage.com/iiif/collection/163",
      "@type": "sc:Collection",
      "label": "UCD Ephemera Collection",
      "metadata": [
        {
          "label": "dc:source",
          "value": "https://data.ucd.ie/api/img/collection/ivrla:9927"
        }
      ]
    },

Sub-collections

Each sub-collection displays the title and description of the underlying FromThePage collection along with manifests that correspond to FromThePage works in the collection.

If the collection has been imported into FromThePage from a IIIF collection hosted elsewhere, the metadata block will include a reference the originating IIIF collection in the dc:source field.

Each manifest listed in the sub-collection document includes the standard label/descripion fields in short views of manifests, and omits sequences of canvases.

In addition, the manifest includes a metadata block containing the dc:source field pointing to an originating manifest, if that work was imported into FromThePage by from a IIIF manifest. Manifests also include a service block containing the transcription status of the work.

User Collections

The top-level collection for each project owner user account is accessible at {protocol}://{hostname/iiif/collections{user slug}

Each IIIF sub-collection represents a FromThePage Collection or Document Set owned by the user with that slug.

IIIF Manifests

FromThePage generates a IIIF manifest for each work that is publicly visible. If the work was imported from a content provider's IIIF manifest, the manifest FromThePage serves is a derivative manifest with a new @id.

@id

A URI pointing to this document. All works have unique @id values referring to themselves, including those imported from a IIIF manifest elsewhere.

  "@id": "https://fromthepage.com/iiif/99/manifest",

label

Label is populated by the work title set in FromThePage. If the work was imported from a IIIF manifest originally, the work title was initially populated with the originating IIIF manifest.

  "label": "1.24 Houston, Sam, 30 July 1841",

description

Description is populated by the work description in FromThePage.

If the work was imported from a IIIF manifest originally, the work description was populated by the description property on the originating manifest.

metadata

If the work was imported from a IIIF manifest, the metadata property contains a single value pointing users to the originating manifest.

  "metadata": [
    {
      "label": "dc:source",
      "value": "https://data.ucd.ie/api/img/manifests/ivrla:18727"
    }
  ],

within

A pointer to the IIIF collection manifest for the FromThePage collection this work has been added to. Note that the parent collection may not correspond to a IIIF collection, even when works have been imported from IIIF manifests.

  "within": 
    {
      "@id": "https://fromthepage.com/iiif/collection/93",
      "@type": "sc:Collection",
      "label": "Indianapolis Metropolitan Police Department"
    }, 

related

Read Work URL

A link to the work's main reader view on FromThePage.

      {
         "@id": "https://fromthepage.com/nlthomas/utsa-james-morgan-papers/1-24-houston-sam-30-july-1841",
         "format": "text/html",
         "profile": "https://github.com/benwbrum/fromthepage/wiki/IIIF-Profiles-Read-Work",
         "label": ""Read 1.24 Houston, Sam, 30 July 1841",
      },

Table of Contents URL

A link to the work's table of contents on FromThePage.

      {
         "@id": "https://fromthepage.com/nlthomas/utsa-james-morgan-papers/1-24-houston-sam-30-july-1841/contents",
         "format": "text/html",
         "profile": "https://github.com/benwbrum/fromthepage/wiki/IIIF-Profiles-Table-of-Contents",
         "label": "Table of Contents"
      },

Originating related Properties

If a work has been imported from a IIIF manifest, any related properties from that manifest will be re-presented here. The contents of these properties will reflect the originating manifest's state when it was imported.

Sequence-level rendering

The rendering property is placed under the default sequence, not directly under the manifest.

The following formats will be exposed via rendering, with the expectation that clients will allow human users to download them for further editing. Some formats may also be exposed via seeAlso for machine consumption.

Verbatim Plaintext

A verbatim plaintext version of the work will be available at this URL. This plaintext file will represent line breaks with single newline, paragraph breaks with a double newline, and page breaks with a triple newline. It will contain the verbatim text, with all formatting, emendation, and subject linking stripped out.

      {
         "@id": "https://fromthepage.com/export/plaintext?work_id=11&transform=verbatim",
         "format": "text/plain",
         "profile": "https://github.com/benwbrum/fromthepage/wiki/IIIF-Export-Plaintext-Verbatim",
         "label": "Verbatim Plaintext"
      },

TEI-XML

The existing FromThePage TEI-XML export of the work will be available for download at the link target. This may be useful to editors who plan to do further mark-up within TEI-XML editors like Oxygen. The TEI-XML export of the work will be identical to that available in the FromThePage UI under the Export tab.

      {
         "@id": "https://fromthepage.com/export/tei?work_id=11",
         "format": "application/tei+xml",
         "profile": "https://tools.ietf.org/html/rfc6129",
         "label": "TEI XML"
      },

XHTML

The existing FromThePage XHTML export of the work will be available for download at the link target. This may be useful for preservation in other systems or as a starting point for display on another website. The XHTML export of the work will be identical to that available in the FromThePage UI under the Export tab.

      {
          "@id": "https://fromthepage.com/export/show?work_id=365",
          "label": "XHTML Export",
          "profile": "XHTML URL"
        },

seeAlso

Structured Data

For projects configured to support item-level metadata creation, each manifest will contain a seeAlso element with a link to the FromThePage Structured Data API

Verbatim Plaintext

Identical to the sequence-level verbatim plaintext rendering. As rendering is designed for human download, but seeAlso specifies machine-readable output, the same link target will appear in both places within the manifest. contain the verbatim text, with all formatting, emendation, and subject linking stripped out.

      {
         "@id": "https://fromthepage.com/export/plaintext?work_id=11&transform=verbatim",
         "format": "text/plain",
         "profile": "https://github.com/benwbrum/fromthepage/wiki/IIIF-Export-Plaintext-Verbatim",
         "label": "Verbatim Plaintext"
      },

Emended Plaintext

An emended plaintext version of the work will be available at this URL. Like the verbatim plaintext, this plaintext file will represent line breaks with single newline, paragraph breaks with a double newline, and page breaks with a triple newline. It differs from the verbatim text, in that normalization will be applied to all subjects mentioned, so that while the verbatim text may read "I greeted Mr. Jones and his wife this morning.", the emended plaintext will read "I greeted James Jones and Elizabeth Smith Jones this morning". This artificial text is useful for programmatic analysis, but is not meant to be read by humans. contain the verbatim text, with all formatting, emendation, and subject linking stripped out.

      {
         "@id": "https://fromthepage.com/export/plaintext?work_id=11&transform=emended",
         "format": "text/plain",
         "profile": "https://github.com/benwbrum/fromthepage/wiki/IIIF-Export-Plaintext-Emended",
         "label": "Emended Plaintext"
      },

Verbatim Translation Plaintext

Identical to the verbatim plaintext in formatting, but containing the text of the translation (rather than the original language) for works which support translation.

Emended Translation Plaintext

An emended plaintext version (see above) of the translation of the work will be available at this URL. This element is not included for works that do not have translation enabled.

Plaintext for full-text search

A plaintext version of the work optimized for full-text search will be available at this URL. This version contains a verbatim plaintext transcript of each page (as described above), except that words broken by hyphenated newlines are joined together, and a list of the canonical names mentioned within each page is appended to the end of the page. The example text would be rendered as

I greeted Mr. Jones and his wife this morning.

James Jones
Elizabeth Smith Jones

contain the verbatim text, with all formatting, emendation, and subject linking stripped out.

      {
         "@id": "https://fromthepage.com/export/plaintext?work_id=11&transform=searchable",
         "format": "text/plain",
         "profile": "https://github.com/benwbrum/fromthepage/wiki/IIIF-Export-Plaintext-Searchable",
         "label": "Searchable Plaintext"
      },

XHTML

The existing XHTML export of the work will be accessible at this link. contain the verbatim text, with all formatting, emendation, and subject linking stripped out.

      {
         "@id": "https://fromthepage.com/export/plaintext?work_id=11&transform=verbatim",
         "format": "text/html",
         "profile": "https://github.com/benwbrum/fromthepage/wiki/IIIF-Export-Plaintext-XHTML",
         "label": "XHTML Export"
      },

TEI-XML

The existing TEI-XML export of the work will be accessible at this link. Like Verbatim Plaintext, an identical link appears under both sequence-level rendering and the manifest's seeAlso.

      {
         "@id": "https://fromthepage.com/export/plaintext?work_id=11&transform=verbatim",
         "format": "application/tei+xml",
         "profile": "https://tools.ietf.org/html/rfc6129",
         "label": "TEI XML"
      },

service

A JSON block listing the percentage of work completed, translation completed, pages transcribed, corrected, indexed, marked blank or "needs review", and pages translated, translation indexed, translation marked blank or "needs review". Example:

      "service": {
        "@context": "http://www.fromthepage.org/jsonld/1/context.json",
        "@id": "http://localhost:3000/iiif/2264/status",
        "label": "Work Status",
        "profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Support-for-the-IIIF-Presentation-API-and-Web-Annotations-(draft)",
        "pctComplete": 100.0,
        "pctTranscribed": 100.0,
        "pctOcrCorrected": 0.0,
        "pctIndexed": 100.0,
        "pctMarkedBlank": 0.0,
        "pctNeedsReview": 0.0,
        "pctTranslationComplete": 0.0,
        "pctTranslated": 0.0,
        "pctTranslationNeedsReview": 0.0,
        "pctTranslationIndexed": 0.0,
        "pctTranslationMarkedBlank": 0.0
      }

canvas

For works directly uploaded to FromThePage, each canvas refers to the FromThePage Image API service and uses a dereferenceable FromThePage canvas @id:

        {
          "@id": "https://fromthepage.com/iiif/99/canvas/4532",
          "@type": "sc:Canvas",
          "label": "Page 1",
          "width": 2397,
          "height": 2997,
          "images": [
            {
              "@id": "https://fromthepage.com/image-service/4532",
              "@type": "oa:Annotation",
              "motivation": "sc:painting",
              "resource": {
                "@id": "https://fromthepage.com/image-service/4532/full/full/0/native.jpg",
                "@type": "dcterms:Image",
                "format": "image/jpeg",
                "width": 2397,
                "height": 2997,
                "service": {
                  "@context": "http://iiif.io/api/image/1/context.json",
                  "@id": "https://fromthepage.com/image-service/4532",
                  "profile": "http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level2"
                }
              },
              "on": "https://fromthepage.com/iiif/99/canvas/4532"
            }

For works imported from a IIIF manifest, each canvas retains its original @id and the originating canvas property values for width, height and image service annotations:

        {
          "@id": "https://data.ucd.ie/api/img/ivrla:18727/canvas/ivrla:18728",
          "@type": "sc:Canvas",
          "label": "vol. 1, p. 3",
          "width": 4192,
          "height": 5992,
          "images": [
            {
              "@id": "https://iiif.ucd.ie/loris/ivrla:18728",
              "@type": "oa:Annotation",
              "motivation": "sc:painting",
              "resource": {
                "@id": "https://iiif.ucd.ie/loris/ivrla:18728/full/full/0/default.jpg",
                "@type": "dcterms:Image",
                "format": "image/jpeg",
                "width": 4192,
                "height": 5992,
                "service": {
                  "@context": "http://iiif.io/api/image/2/context.json",
                  "@id": "https://iiif.ucd.ie/loris/ivrla:18728",
                  "profile": "http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level2"
                }
              },
              "on": "https://data.ucd.ie/api/img/ivrla:18727/canvas/ivrla:18728"
            }
          ]
        },

related

Links to the FromThePage application pages to read, transcribe, or (if enabled) translate or correct OCR for this page are added to all canvases as related properties:

   "related": [
      {
         "@id": "https://fromthepage.com/nlthomas/utsa-james-morgan-papers/1-24-houston-sam-30-july-1841/display/4532",
         "format": "text/html",
         "profile": "https://github.com/benwbrum/fromthepage/wiki/IIIF-Profiles-Read-Page",
         "label": "Read this page."
      },
      {
         "@id": "https://fromthepage.com/nlthomas/utsa-james-morgan-papers/1-24-houston-sam-30-july-1841/transcribe/4532",
         "format": "text/html",
         "profile": "https://github.com/benwbrum/fromthepage/wiki/IIIF-Profiles-Read-Page",
         "label": "Transcribe this page."
      },
      {
         "@id": "https://fromthepage.com/nlthomas/utsa-james-morgan-papers/1-24-houston-sam-30-july-1841/transcribe/4532",
         "format": "text/html",
         "profile": "https://github.com/benwbrum/fromthepage/wiki/IIIF-Profiles-Correct-Page",
         "label": "Correct this page."
      },
      {
         "@id": "https://fromthepage.com/nlthomas/utsa-james-morgan-papers/1-24-houston-sam-30-july-1841/translate/4532",
         "format": "text/html",
         "profile": "https://github.com/benwbrum/fromthepage/wiki/IIIF-Profiles-Translate-Page",
         "label": "Translate this page."
      },

Note that translation is only available if the project owner has set the work to enable translation. Note also that only one of "Correct this page" or "Transcribe this page" will be present, depending on whether a work is set for OCR correction versus manuscript transcription.

seeAlso

Machine-processable links for this page include page-level representations of texts for consumption into indexing services.

Structured Data

For projects configured to support field-based transcription or spreadsheet transcription, each canvas will contain a link to the FromThePage Structured Data API

HTML Transcription

HTML representation of the page text, including formatting and links to subjects.

Verbatim Plaintext

Verbatim plaintext export of the text for this page.

Emended Plaintext

Emended plaintext export of the text for this page.

HTML Translation

HTML representation of the translation text of this page, including formatting and links to subjects.

Verbatim Translation Plaintext

Verbatim plaintext export of the translation text for this page.

Emended Translation Plaintext

Emended plaintext export of the translation text for this page.

Plaintext for full-text search

Full-text search plaintext export of the text for this page.

Example:


          "seeAlso": [
            {
              "label": "Searchable Plaintext",
              "format": "text/plain",
              "profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Plaintext-Export-Formats#searchable-plaintext",
              "@id": "http://localhost:3000/jbhoward/ucd-letters-71/note-from-john-henry-newman-to-an-unnamed-recipient-apologising-for-his-inability-to-answer-letters-due-to-old-age-355/export/18252/plaintext/searchable"
            },
            {
              "label": "Verbatim Plaintext",
              "format": "text/plain",
              "profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Plaintext-Export-Formats#verbatim-plaintext",
              "@id": "http://localhost:3000/jbhoward/ucd-letters-71/note-from-john-henry-newman-to-an-unnamed-recipient-apologising-for-his-inability-to-answer-letters-due-to-old-age-355/export/18252/plaintext/verbatim"
            },
            {
              "label": "Emended Plaintext",
              "format": "text/plain",
              "profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Plaintext-Export-Formats#emended-plaintext",
              "@id": "http://localhost:3000/jbhoward/ucd-letters-71/note-from-john-henry-newman-to-an-unnamed-recipient-apologising-for-his-inability-to-answer-letters-due-to-old-age-355/export/18252/plaintext/emended"
            },
            {
              "label": "Verbatim Translation Plaintext",
              "format": "text/plain",
              "profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Plaintext-Export-Formats#verbatim-translation-plaintext",
              "@id": "http://localhost:3000/jbhoward/ucd-letters-71/note-from-john-henry-newman-to-an-unnamed-recipient-apologising-for-his-inability-to-answer-letters-due-to-old-age-355/export/18252/plaintext/translation/verbatim"
            },
            {
              "label": "Emended Translation Plaintext",
              "format": "text/plain",
              "profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Plaintext-Export-Formats#emended-translation-plaintext",
              "@id": "http://localhost:3000/jbhoward/ucd-letters-71/note-from-john-henry-newman-to-an-unnamed-recipient-apologising-for-his-inability-to-answer-letters-due-to-old-age-355/export/18252/plaintext/translation/emended"
            }
          ],

service

A JSON block representing the editorial status of this page. Since projects vary in their workflows and definitions of "done", FromThePage offers fine-grained flags for variations of status.

Valid status flags are

  • needsReview: Either a user has intentionally marked this page as needing review, or the project has been configured to automaticaly mark pages as needing review and the page has not yet been un-marked. This flag probably means that work on the page is either incomplete or problematic; the page is likely not "finished".
  • unedited: No user has transcribed, corrected or translated this page. Work on the page has not yet started, so the page is not "finished".
  • markedBlank: A user has looked at the page and decided that there is nothing to transcribe/translate/correct on it. The page is likely "finished".
  • hasTranscript: The page contains text. For manuscript transcription projects, this implies that a user has at least partially transcribed this page, so the page may be "finished" needsReview is not set and projects do not require subject tags. For OCR correction projects, the text present may be raw OCR, so unedited should be consulted for determining whether the page is "finished".
  • hasTranslation: A translation of the page text has been created by users. For translation projects, this may indicate that the page is "finished", modulo translationNeedsReview.
  • translationNeedsReview: The translation of the page has been flagged as needing review.
  • hasSubjectTags: Subjects within the page text have been tagged, creating index entries. For more extensive editing projects, this flag indicates that the page is "finished", modulo needsReview.
          "service": {
            "@context": "http://www.fromthepage.org/jsonld/1/context.json",
            "@id": "http://localhost:3000/iiif/2264/39168/status",
            "label": "Page Status",
            "profile": "https://github.com/benwbrum/fromthepage/wiki/FromThePage-Support-for-the-IIIF-Presentation-API-and-Web-Annotations#service-1",
            "pageStatus": [
              "needsReview",
              "hasTranscript"
            ]
          },

Web Annotations

At present, web annotations are only used for displaying textual content in viewers like Mirador.

Transcripts

A page transcript is presented as an AnnotationList targeting the canvas.

Verbatim plaintext

A verbatim plaintext version of the page. The annotation body represents line breaks with single newline and paragraph breaks with a double newline. It contains the verbatim text, with all formatting, emendation, and subject linking stripped out.

{
  "@context": "http://iiif.io/api/presentation/2/context.json",
  "@id": "https://fromthepage.com/iiif/4532/list/transcription",
  "@type": "sc:AnnotationList",
  "resources": [
    {
      "@type": "oa:Annotation",
      "motivation": "TODO",
      "on": "https://fromthepage.com/iiif/99/canvas/4532",
      "resource": {
        "@id": "plaintext_export_for_4532",
        "@type": "cnt:ContentAsText",
        "format": "text/plain",
        "chars": "\n        Cedar Point\n 30th July 1841\n\n\n My dear Colonel\n\n\n We felt the most painful\n anxiety for Mrs Lee on your voyage\n up yesterday, aware as we were of\n her great timidity on water.  I thought\n Mother and Mrs Houston would have\n gone into fits to see the Boat top and\n dive in the breakers.  Of course you\n reached home safe with your preci\n -ous charge.  Don't let it deter the\n Madam from coming to see us in\n future.  The Ladies salute Mrs Lee\n and the dear little Lee, with their\n best respects, to Col Morgan!\n\n\n I send you No 2, of \"Truth,\" and\n as it is interlined so much, I hope\n you will have it copied, corrected\n and if you can, hand it to Baker\n\n\n      "
      }
    }
  ]
}

HTML

A HTML version of the page transcript, including formatting and hyperlinks

    {
      "@type": "oa:Annotation",
      "motivation": "supplementing",
      "on": "https://fromthepage.com/iiif/99/canvas/4532",
      "resource": {
        "@id": "plaintext_export_for_4532",
        "@type": "cnt:ContentAsText",
        "format": "text/html",
        "chars": "<div class="page-preview"><p><a data-tooltip='/article/tooltip?article_id=8881&amp;collection_id=utsa-james-morgan-papers' href='/nlthomas/utsa-james-morgan-papers/article/8881' title='Cedar Point,Chambers,Texas'>Cedar Point</a><br/>
 30th July 1841</p>

<p> My dear <a data-tooltip='/article/tooltip?article_id=8858&amp;collection_id=utsa-james-morgan-papers' href='/nlthomas/utsa-james-morgan-papers/article/8858' title='Colonel James Morgan'>Colonel</a></p>

<p> We felt the most painful<br/>
 anxiety for <a data-tooltip='/article/tooltip?article_id=8935&amp;collection_id=utsa-james-morgan-papers' href='/nlthomas/utsa-james-morgan-papers/article/8935' title='Caroline Ophelia (Morgan) Lee'>Mrs Lee</a> on your voyage<br/>
 up yesterday, aware as we were of<br/>
 her great timidity on water.  I thought<br/>
 <a data-tooltip='/article/tooltip?article_id=8936&amp;collection_id=utsa-james-morgan-papers' href='/nlthomas/utsa-james-morgan-papers/article/8936' title='Nancy (Moffett) Lea'>Mother</a> and <a data-tooltip='/article/tooltip?article_id=8937&amp;collection_id=utsa-james-morgan-papers' href='/nlthomas/utsa-james-morgan-papers/article/8937' title='Margaret Moffett (Lea) Houston'>Mrs Houston</a> would have<br/>
 gone into fits to see the Boat top and<br/>
 dive in the breakers.  Of course you<br/>
 reached home safe with your preci<br/>
 -ous charge.  Don't let it deter the<br/>
 Madam from coming to see us in<br/>
 future.  The Ladies salute <a data-tooltip='/article/tooltip?article_id=8935&amp;collection_id=utsa-james-morgan-papers' href='/nlthomas/utsa-james-morgan-papers/article/8935' title='Caroline Ophelia (Morgan) Lee'>Mrs Lee</a><br/>
 and the dear little <a data-tooltip='/article/tooltip?article_id=8938&amp;collection_id=utsa-james-morgan-papers' href='/nlthomas/utsa-james-morgan-papers/article/8938' title='Ellen Lee'>Lee</a>, with their<br/>
 best respects, to <a data-tooltip='/article/tooltip?article_id=8858&amp;collection_id=utsa-james-morgan-papers' href='/nlthomas/utsa-james-morgan-papers/article/8858' title='Colonel James Morgan'>Col Morgan</a>!</p>

<p> I send you No 2, of "Truth," and<br/>
 as it is interlined so much, I hope<br/>
 you will have it <u>copied</u>, <u>corrected</u><br/>
 and if you can, hand it to <a data-tooltip='/article/tooltip?article_id=8996&amp;collection_id=utsa-james-morgan-papers' href='/nlthomas/utsa-james-morgan-papers/article/8996' title='Joseph Baker,known as Don Jose&apos;'>Baker</a></p></div></div></div>"
      }
    }

TEI Snippet

[Proposed but not implemented]

    {
      "@type": "oa:Annotation",
      "motivation": "TODO",
      "on": "https://fromthepage.com/iiif/99/canvas/4532",
      "resource": {
        "@id": "plaintext_export_for_4532",
        "@type": "cnt:ContentAsXml",
        "format": "application/xml+tei",
        "chars": "<pb xml:id="F4532" n="1" facs="/home/fromthepage/fromthepage/releases/20130808013424/public/images/working/95/txsau_ms00278_00098.jpg"/><div xml:id="OTP4532"><fw type="pageNum">Page 1</fw><p corresp="TTP4532P0" xml:id="OTP4532P0"><rs ref="#S8881">Cedar Point</rs><lb/>
 30th July 1841<lb/></p><p corresp="TTP4532P1" xml:id="OTP4532P1"> My dear <rs ref="#S8858">Colonel</rs><lb/></p><p corresp="TTP4532P2" xml:id="OTP4532P2"> We felt the most painful<lb/>
 anxiety for <rs ref="#S8935">Mrs Lee</rs> on your voyage<lb/>
 up yesterday, aware as we were of<lb/>
 her great timidity on water.  I thought<lb/><rs ref="#S8936">Mother</rs> and <rs ref="#S8937">Mrs Houston</rs> would have<lb/>
 gone into fits to see the Boat top and<lb/>
 dive in the breakers.  Of course you<lb/>
 reached home safe with your preci<lb/>
 -ous charge.  Don't let it deter the<lb/>
 Madam from coming to see us in<lb/>
 future.  The Ladies salute <rs ref="#S8935">Mrs Lee</rs><lb/>
 and the dear little <rs ref="#S8938">Lee</rs>, with their<lb/>
 best respects, to <rs ref="#S8858">Col Morgan</rs>!<lb/></p><p corresp="TTP4532P3" xml:id="OTP4532P3"> I send you No 2, of "Truth," and<lb/>
 as it is interlined so much, I hope<lb/>
 you will have it <hi rend="underline">copied</hi>, <hi rend="underline">corrected</hi><lb/>
 and if you can, hand it to <rs ref="#S8996">Baker</rs></p><note resp="#U93">Sam Houston urges Colonel Morgan to have Joseph Baker publish a book, titled "Truth."  Baker known as Don Jose' was the man who established the "Telegraph and Texas Register," in Oct, of 1835, and fought at the Battle of San Jacinto, on April 21, 1836. </note></div>"
      }
    }

Translations

A page translation is presented as an AnnotationList targeting the canvas.

Notes

Page notes are rendered as an AnnotationList targeting the canvas

{
  "@context": "http://iiif.io/api/presentation/2/context.json",
  "@id": "https://fromthepage.com/iiif/4532/notes",
  "@type": "sc:AnnotationList",
  "resources": [
    {
      "@id": "https://fromthepage.com/iiif/4532/note/1",
      "@type": "oa:Annotation",
      "motivation": "sc:painting",
      "on": "https://fromthepage.com/iiif/99/canvas/4532#xywh=0,0,2397,2997",
      "resource": {
        "@id": "note_1_for_4532",
        "@type": "cnt:ContentAsText",
        "format": "text/plain",
        "chars": "Sam Houston urges Colonel Morgan to have Joseph Baker publish a book, titled \"Truth.\"  Baker known as Don Jose' was the man who established the \"Telegraph and Texas Register,\" in Oct, of 1835, and fought at the Battle of San Jacinto, on April 21, 1836. "
      }
    }
  ]
}
Clone this wiki locally