Skip to content

XSLT stylesheets to download facsimile images linked in TEI XML files

License

Notifications You must be signed in to change notification settings

OpenArabicPE/tei-download-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

title author date
read me: OpenArabicPE/tei-download-images
Till Grallert
2017-03-17 11:51:29 +0100

This repository contains a set of XSLT stylesheets that provide the means to download digital facsimiles from the links provided in TEI XML files. If you wish to use them, make sure the licence of the images allows for download to your local machine. The main stylesheet xslt/download-images.xsl will do the following:

  1. Create a list of URLs to images to be downloaded based on the <tei:facsimile> child of <tei:TEI>.
  2. Create a list of local files names for the images based on their URL.
  3. Generate a shell script to download the images and save them under their local file names using the $curl command.
  4. Generate an applescript wrapping the curl script for those uncomfortable using the terminal.
  5. Generate a copy of the original TEI file with additional links to the downloaded images.

In order to actually download the facsimiles, either run the shell script or the applescript.

NOTE: the XSLT doesn't yet deal with IIIF hosted facsimiles.

About

XSLT stylesheets to download facsimile images linked in TEI XML files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages