Git Product home page Git Product logo

medieval-mss's Introduction

Bodleian Libraries Catalogue of Western Manuscripts

This repository contains the TEI data that represents the Bodleian Library's Catalogue of Medieval Manuscripts.

It also contains several scripts and tools for processing this data into a Solr instance for use with our Blacklight search service.

Indexing the Catalogue

NB: This information is probably only useful if you're working in the Bodleian!

This project ships with a version of the Saxon XML processor. The only dependency needed to run this is a working Java installation. Inside the processing folder you will find two shell scripts and several xQuery and XSLT files.

The generate-html.sh script will generate an HTML representation of the TEI data, for displaying the record in the front-end catalogue.

The generate-solr-document.sh script will create a Solr XML document, which can then be passed along to a running Solr instance. The arguments for this command are:

$> ./generate-solr-document.sh [xQuery File] [Solr XML Output filename] [Solr record type] [Solr server]

To index the manuscripts, you should first create a html folder inside of the processing folder, then run:

$> ./generate-html.sh
$> ./generate-solr-document.sh manuscripts.xquery mss_solr_index.xml manuscript [Some Solr Server]

For the Solr record type you should use manuscript for manuscripts, person for people, place for places, and work for works.

Indexing in Windows 7

The indexing scripts require curl, tidy alias HTML tidy and xmllint. These tools will need to be installed on your local machine, if you do not already have them. curl is included with posh-git (see below).

The scripts require a terminal running BASH. If you have GitHub Desktop installed on your machine, this should include Git Shell alias posh-git, which is a package for Windows PowerShell that will allow you to execute BASH shell scripts.

Modifying the HTML output

The HTML representations of each record is generated by the convert2HTML.xsl script. Modifying this and running the generate-html.sh script will generate new HTML, which will then be picked up by the Solr indexing process and incorporated into the Solr index for record display.

medieval-mss's People

Contributors

holfordm avatar andrew-morrison avatar tainonen avatar tdungate avatar ahankinson avatar asikowe avatar jamescummings avatar adunning avatar stjohnscollegeoxford avatar emmastanford avatar eletort avatar emeryr-upenn avatar littlegustv avatar o-miller-jesus avatar amfraas avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.