Skip to content

Instantly share code, notes, and snippets.

View raffazizzi's full-sized avatar
🌈

Raff Viglianti raffazizzi

🌈
View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<fileDesc>
<titleStmt>
<title>Herbsttag</title>
<author>Rainer Maria Rilke</author>
</titleStmt>
<publicationStmt>
@raffazizzi
raffazizzi / CRIM_Mass_0001_1.xml
Created June 29, 2020 20:10
Example of CRIM metadata in single movement file
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://music-encoding.org/schema/4.0.1/mei-CMN.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="https://music-encoding.org/schema/4.0.1/mei-CMN.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<mei xmlns="http://www.music-encoding.org/ns/mei" xml:id="CRIM_MASS-0001_1">
<meiHead>
<!-- Since we don't have ONE file for the mass, but the database does,
I think it'd be useful to have both mass and movement ids-->
<altId>CRIM_MASS-0001</altId>
<altId>CRIM_MASS-0001_1</altId>
<fileDesc>
@raffazizzi
raffazizzi / CRIM_Mass_0001.xml
Created June 29, 2020 20:13
Split MEI file where the Mass is the main file, pointing to movement files encoded as fragments
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://music-encoding.org/schema/4.0.1/mei-CMN.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="https://music-encoding.org/schema/4.0.1/mei-CMN.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<mei xmlns="http://www.music-encoding.org/ns/mei" xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="CRIM_MASS-0001">
<meiHead>
<altId>CRIM_MASS-0001</altId>
<fileDesc>
<titleStmt>
<title>Missa Confitemini</title>
<respStmt>
@raffazizzi
raffazizzi / CRIM_Mass_0001.xml
Created June 29, 2020 20:14
Interdependent MEI files, one for the mass and one for each movement without duplication of data
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="https://music-encoding.org/schema/4.0.1/mei-CMN.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="https://music-encoding.org/schema/4.0.1/mei-CMN.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>
<mei xmlns="http://www.music-encoding.org/ns/mei" xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="CRIM_MASS-0001">
<meiHead xmlns="http://www.music-encoding.org/ns/mei" xml:id="CRIM_MASS-0001">
<altId>CRIM_MASS-0001</altId>
<fileDesc>
<titleStmt>
<title>Missa Confitemini</title>
{
"@context": "http://iiif.io/api/presentation/3/context.json",
"id": "https://dlib.biblhertz.it/iiif/bncrges1323/manifest.json",
"type": "Manifest",
"label": {
"en": [
"Zucchi, Philosophia magnetica"
]
},
"metadata": [