You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
4 years ago | |
|---|---|---|
| comedy-plaintext.d | 4 years ago | |
| py-scripts | 4 years ago | |
| shell-scripts.d | 4 years ago | |
| xml | 4 years ago | |
| .gitignore | 5 years ago | |
| LICENSE | 5 years ago | |
| README.md | 5 years ago | |
README.md
xml-commedia
Storage for XML files used to represent Dante's Divine Comedy.
This repo was first created on my home server and was then transferred here.
It is now mirrored at my home server: https://git.lhess.xyz:1534/lhess/xml-commedia-mirror.git.
Plaintext to XML with canticle-to-xml.sh
I used shell scripts to convert plaintext cantos to XML documents with the following format:
<?xml version="1.0" encoding="UTF-8"?>
<canto num="1" num_comm="1">
<terzine>
<terzina num="1">
<word>Nel</word> <word>mezzo</word> <word>del</word> <word>cammin</word> ...
<word>mi</word> <word>ritrovai</word> <word>per</word> <word>una</word> <word>selva</word> ...
<word>che</word> ... <word>smarrita.</word>
</terzina>
...
<terzina num="...">
...
</terzina>
</terzine>
</canto>