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.
 
 
lhess2021 16f64ddf01 minor edits 4 years ago
comedy-plaintext.d rename cantos with digits 4 years ago
comedy-xml.d purgatorio TEI xml 4 years ago
py-scripts.d works with canticle-to-xml-automated.sh 4 years ago
shell-scripts.d minor edits 4 years ago
.gitignore Initial commit 5 years ago
LICENSE Initial commit 5 years ago
README.md Update mirror link 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>