Skip to content.

Find topic

Web tools

Help

Tools

       Analysis Tool Bar  +

Get TEI Meta Data

See http://taporware.mcmaster.ca/~taporware/betaTools/getteimeta.shtml

Description

TEI (Text Encoding Initiative) is a project to represent texts in digital form, emphasizing the needs of humanities scholars and also the DTD used by the program.

TEI document is the XML document which follows the TEI DTD rules.

This tool parses the the header part of TEI document and extracts the meta data such as title, authors, publisher etc.

Pseudocode

  • Get the TEI compatible XML text from internet or from user's local disk
  • Use predefined XSL stylesheet to get the meta data and format the results.

Way of Using

  • Enter a valid URL which points to a TEI compatible XML document in the URL field or enter a local path to upload a TEI compatible XML document
  • Click the Submit button.

CGI Interface

If you want to use this tool from your web site, here is the CGI Interface: (Note: You need to use attribute name/value pair: enctype="multipart/form-data" within the form tag because the tool was to designed to allow local file uploading in mind)

Here are the parameters:

Parameter Name Parameter Value Control Type Default Discription
source url/local radio button url Let user select input text (either a url or upload local xml text)
xmlurl   text   A valid URL that the pointed document should be an xml text
localFile   file   The path to your local xml text file

-- LianYan - 01 Jun 2007


Use this box to quickly add a comment to the page.

more options...