BachelorDragon.png

The bachelor programme Celtic Languages and Culture at Utrecht University is under threat.


arraysize: 0


CETEIcean extension to MediaWiki

The CETEIcean extension is an open-source extension to MediaWiki which implements the CETEIcean library (pronounce: /sɪˈti:ʃn/) to let users collaborate on TEI XML documents and present them on the wiki. CETEIcean converts your source document using HTML5 Custom Elements (CE) of Web Components standards, preserving much of the structure of the original document and providing additional leverage for post-processing. This extension attempts to combine the best of both worlds: XSLT for the initial stage of processing XML and JavaScript for registering CE and applying custom behaviours. See Github for instructions on how to set up and use the extension in your wiki.

This space is primarily intended to provide some additional how-to information and demonstrate some use cases.

Extension

General


Present selections in parallel columns

Demonstration of the #cetei-align parser function:

Extract fragments between self-closing tags (experimental)

If content needs to be extracted that is placed between self-closing tags, such as pb for pages, we cannot rely on XPath. In the absence of any solutions that are tried, tested and proven, that offered by this extension should be treated as experimental and unlikely to cover every conceivable use case.

Feedback

Github

See also

  • Parallel vision - examples of presenting TEI XML side by side with other resources.