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 45e915220e Improved canto/.gitignore system 4 years ago
comedy-plaintext.d Initial commit 5 years ago
inferno-xml.d Initial commit 5 years ago
paradiso-xml.d Initial commit 5 years ago
purgatorio-xml.d Initial commit 5 years ago
shell-scripts.d Improved canto/.gitignore system 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>