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.
General
- CETEIcean: editing (TEI) XML in the wiki (in progress) - incl. editing with Ace and FlexForm
- Examples of TEI XML documents on this wiki
Present selections in parallel columns
Demonstration of the #cetei-align
parser function:
- Welsh version of the birth of Arthur (text and translation) - how to use a single document, but present the edition and translation in parallel sections.
- CETEIcean extension: Aided Muirchertaig meic Erca. Text and translation - example of using two documents (the procedure is nearly identical). Note how much Whitley Stokes left out in his translation.
- Aided Máelodráin
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.
- View an example
- See also Github for documentation.
Feedback
See also
- Parallel vision - examples of presenting TEI XML side by side with other resources.