Convert HTML to TEI
Turn HTML files into TEI. A TEI document with sections, lists, tables, links and footnotes; the title, author and date go into its TEI header.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop HTML files on the dialor turn it to pick what to do
A TEI document from a web page.The text keeps its sections, lists, tables, links and footnotes.
What you get
One TEI XML file. Headings become sections, and lists, tables, links and footnotes stay in the document as such.
The title, author and date of the page go into the TEI header, where scholarly tools look for them.
What is left behind
Scripts, styles and layout are dropped. Only the text and its structure carry over, not the look of the page.
Images are not embedded. They stay as links to where they are.
HTML and TEI.What each format is.
The formats
HTML
The markup of web pages. Text, links and structure, usually with CSS and images alongside.
- Extensions
- .html .htm
- MIME type
- text
/html - Kind
- Text and data
TEI XML
Text Encoding Initiative XML, the format scholarly editions and digital humanities archives keep texts in.
- Extensions
- .tei
- MIME type
- application
/tei +xml - Kind
- Text and data
In your code.The same HTML to TEI conversion through the API, for your app or your agent.
$ cv convert report.html report.tei$ cv convert report.html report.teiQuestions.What people ask about HTML to TEI.
They go into the TEI header, along with the date.
No. Scripts, styles and layout are dropped. The structure of the text is kept, not the design.
No. Images stay as links, so the file points to them instead of holding them.
Yes. Links and footnotes are kept in the TEI document.