Giter VIP home page Giter VIP logo

tei-xpointer.js's Introduction

tei-xpointer.js - TEI Pointer Library

This repository contains an implementation of the draft proposal for new TEI XPointers. It utilizes code from jQuery, Rangy, and TEI Boilerplate to enable the display of unmodified XML documents in the browser. The xpointer.js and annotate.js code handles the resolution of TEI Pointers within the documents. There is a demo running at http://tei.philomousos.com/. Note: the demo is a demo, there are certainly bugs, the webapp part may be subject to falling over under any load at all, etc.

Prerequisites

You will need Leiningen 1.7.0 or above installed to run the document loading application, which reads TEI P5 XML files either locally or from the web and delivers them to the browser with the TEI Boilerplate XSLT processing inscruction added.

Running the app

To start a web server for the application, run:

lein ring server-headless

Go to http://localhost:3000 to see an example text. Any TEI P5 text on the web can be loaded using the widget on the right in the text view. Do note that TEI Boilerplate doesn't cope well with absolutely every TEI construct, particularly when there is no standard display for a given element.

License

Copyright © 2013 Hugh Cayless. The use and distribution terms for this software are covered by the Eclipse Public License 1.0. By using this software in any fashion, you are agreeing to be bound by the terms of this license. You must not remove this notice, or any other, from this software.

tei-xpointer.js's People

Contributors

hcayless avatar

Stargazers

 avatar Joe Wicentowski avatar Tim Thompson avatar Winona Salesky avatar Emmanuel Château-Dutier avatar Andreas Wagner avatar Rainer Simon avatar Peter Daengeli avatar Raff Viglianti avatar

Watchers

 avatar James Cloos avatar Andreas Wagner avatar Till Grallert avatar Duncan Paterson avatar

Forkers

raffazizzi

tei-xpointer.js's Issues

Add support for EpiDoc

epidoc.js currently support for displaying gaps using one '.' per character unit. Need to determine what additional similar support is needed, enumerate, and implement.

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.