TEI/XML Simple Viewer
Based on CETEICean, the text of TEI/XML is displayed. The n
attribute of the pb
tag is shown. Additionally, images are displayed using the Mirador viewer based on the URL of the IIIF manifest file provided in the facsimile
tag.
Visit the demo page to try it out.
https://utda.github.io/tei-viewer/?u=https://kouigenjimonogatari.github.io/tei/01.xml&v=true
Field | Description | Requirement |
---|---|---|
u | URL of TEI/XML File | required |
v | If set to true, displays in vertical writing. | optional |
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The above DOI corresponds to the latest versioned release as published to Zenodo, where you will find all earlier releases. To cite tei-viewer
independent of version, use https://doi.org/10.5281/zenodo.10574443, which will always redirect to the latest release.