zotero-db/translators/METS.js

385 lines
644 KiB
JavaScript
Raw Normal View History

{
"translatorID": "5c6895a1-b6a9-4939-9c65-43f8ae0ef096",
"label": "METS",
"creator": "Abe Jellinek",
"target": "xml",
"minVersion": "3.0",
"maxVersion": "",
"priority": 50,
"configOptions": {
"dataMode": "xml/dom"
},
"inRepository": true,
"translatorType": 1,
"lastUpdated": "2021-07-13 20:44:34"
}
/*
***** BEGIN LICENSE BLOCK *****
Copyright © 2021 Abe Jellinek
This file is part of Zotero.
Zotero is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Zotero is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with Zotero. If not, see <http://www.gnu.org/licenses/>.
***** END LICENSE BLOCK *****
*/
function detectImport() {
var line;
var i = 0;
while ((line = Zotero.read()) !== false) {
if (line !== "") {
if (line.includes("<mets")) {
return true;
}
else if (i++ > 7) {
return false;
}
}
}
return false;
}
function doImport() {
let xml = Zotero.getXML();
for (let mets of xml.querySelectorAll('mets')) {
let attachments = createAttachments(mets);
for (let dmd of mets.querySelectorAll('dmdSec')) {
let mdWrap = dmd.querySelector('mdWrap');
if (!mdWrap) {
Z.debug('No metadata found in METS item. External metadata is not supported.');
}
let mdType = mdWrap.getAttribute('MDTYPE');
Z.debug(`Found metadata of type '${mdType}'`);
let data = extractData(mdWrap);
processData(mdType, data, attachments);
}
}
}
function createAttachments(mets) {
let attachments = [];
for (let file of mets.querySelectorAll('fileSec file')) {
if (attachments.length >= 5) {
Z.debug('Too many attachments. Something is probably wrong.');
attachments = [];
break;
}
let mimeType = file.getAttribute('MIMETYPE');
let locator = file.querySelector('FLocat[LOCTYPE="URL"]');
let url = locator && locator.getAttribute('xlink:href');
if (mimeType && url) {
let title = 'Attachment';
if (mimeType == 'application/pdf') {
title = 'PDF'; // full text? often it isn't text!
}
else if (mimeType.startsWith('audio/')) {
title = 'Audio';
}
else if (mimeType.startsWith('video/')) {
title = 'Video';
}
else if (mimeType.startsWith('image/')) {
title = 'Image';
}
attachments.push({
title,
mimeType,
url
});
}
}
return attachments;
}
function extractData(mdWrap) {
for (let child of mdWrap.children) {
if (child.tagName.endsWith('xmlData')) {
Z.debug('Metadata is XML');
return child.innerHTML;
}
else if (child.tagName.endsWith('binData')) {
Z.debug('Metadata is base64 encoded');
return atob(child.innerHTML);
}
}
Z.debug('Metadata is in XML (unwrapped)');
return mdWrap.innerHTML;
}
function processData(mdType, data, attachments) {
switch (mdType) {
case 'MARC':
// charmingly, we don't get to know what KIND of MARC we're
// getting. we could go off of whether it's encoded as
// binary, but that isn't really valid according to the
// spec. so we'll just try MARCXML, then binary MARC, then
// MAB2 for good measure (it's MARC-ish!).
callImport(
data,
[
'edd87d07-9194-42f8-b2ad-997c4c7deefd', // MARCXML
'a6ee60df-1ddc-4aae-bb25-45e0537be973', // MARC
'91acf493-0de7-4473-8b62-89fd141e6c74', // MAB2
],
attachments
);
break;
case 'MODS':
callImport(
data,
'0e2235e7-babf-413c-9acf-f27cce5f059c', // MODS
attachments,
item => item.callNumber = ''
);
break;
case 'OTHER':
// this usually indicates some kind of internal metadata that isn't
// essential to parse.
Z.debug('Skipping \'OTHER\' metadata');
break;
case 'EAD':
// todo: an EAD translator. does anyone use EAD?
// https://www.loc.gov/ead/
default:
throw new Error(`Unsupported metadata type: ${mdType}`);
}
}
function callImport(data, translator, attachments, callback) {
let trans = Zotero.loadTranslator('import');
trans.setTranslator(translator);
trans.setHandler('itemDone', function (_, item) {
let numFieldsSet = 0;
for (let field of Object.keys(item)) {
if (field == 'itemType') continue;
if (item[field] && typeof item[field] == 'string') {
numFieldsSet++;
}
}
if (numFieldsSet <= 1) {
Z.debug(`Skipping item with < 2 fields set: '${item.title}'`);
return;
}
if (attachments) {
item.attachments.push(...attachments);
}
if (item.language == 'zxx') {
delete item.language;
}
if (callback) callback(item);
item.complete();
});
trans.setString(data);
trans.translate();
}
/** BEGIN TEST CASES **/
var testCases = [
{
"type": "import",
"input": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><mets:mets xmlns:mets=\"http://www.loc.gov/METS/\" xmlns:mods=\"http://www.loc.gov/mods/v3\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" LABEL=\"Antietam, Maryland. Allan Pinkerton, President Lincoln, and Major General John A. McClernand: Another View\" OBJID=\"https://www.wdl.org/1\" xml:lang=\"en\" xml:id=\"1\" xsi:schemaLocation=\"http://www.loc.gov/METS/ http://www.loc.gov/standards/mets/mets.xsd http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-6.xsd\" TYPE=\"Prints, Photographs\">\n <mets:metsHdr CREATEDATE=\"2010-05-17T13:04:33+00:00\" LASTMODDATE=\"2017-04-04T18:54:12+00:00\">\n <mets:agent ROLE=\"DISSEMINATOR\">\n <mets:name>World Digital Library</mets:name>\n </mets:agent>\n <mets:agent ROLE=\"CUSTODIAN\">\n <mets:name>Library of Congress</mets:name>\n </mets:agent>\n </mets:metsHdr>\n <mets:dmdSec ID=\"MODS1\">\n <mets:mdWrap MDTYPE=\"MODS\">\n <mets:xmlData>\n <mods:mods version=\"3.6\">\n <mods:typeOfResource>text</mods:typeOfResource>\n <mods:titleInfo>\n <mods:title>Antietam, Maryland. Allan Pinkerton, President Lincoln, and Major General John A. McClernand: Another View</mods:title>\n </mods:titleInfo>\n <mods:abstract>At the outset of the U.S. Civil War, Mathew Brady dispatched a team of photographers to document the conflict. Among them was a Scottish-born immigrant named Alexander Gardner, the photographer who took this photo of Lincoln at Antietam as well as other famous wartime shots. The man to Lincoln's right is Allan Pinkerton, founder of the Pinkerton National Detective Agency, whom Lincoln had as head of a personal security detail during the war. Gardner titled another shot of Pinkerton and his brother William at Antietam &#8220;The Secret Service.&#8221; Gardner photographed Lincoln on seven separate occasions, the last one on February 5, 1865, only a few weeks before Lincoln&#8217;s assassination. In 1866 he published Gardner&#8217;s Sketchbook of the War, combining plates and text, commemorating such battles as Fredericksburg, Gettysburg, and Petersburg, but the book was a commercial failure. Photographic historians also have suggested that Gardner staged many of his photos, moving dead bodies and using a regular prop gun to create romanticized pictorial narratives.</mods:abstract>\n <mods:physicalDescription>\n <mods:note>1 negative : glass, wet collodion</mods:note>\n </mods:physicalDescription>\n <mods:language>\n <mods:languageTerm type=\"code\" authority=\"iso639-2b\">zxx</mods:languageTerm>\n </mods:language>\n <mods:name type=\"personal\">\n <mods:namePart>Gardner, Alexander, 1821-1882</mods:namePart>\n <mods:role>\n <mods:roleTerm type=\"text\" authority=\"marcrelator\">Photographer</mods:roleTerm>\n </mods:role>\n </mods:name>\n <mods:originInfo>\n <mods:dateIssued>1862-10-03</mods:dateIssued>\n </mods:originInfo>\n <mods:subject>\n <mods:temporal encoding=\"iso8601\">1862-10-03</mods:temporal>\n </mods:subject>\n <mods:subject>\n <mods:hierarchicalGeographic>\n <mods:region>North America</mods:region>\n <mods:country>United States of America</mods:country>\n <mods:state>Maryland</mods:state>\n <mods:city>Antietam</mods:city>\n </mods:hierarchicalGeographic>\n </mods:subject>\n <mods:subject authority=\"lcsh\">\n <mods:topic>Antietam, Battle of, Maryland, 1862</mods:topic>\n </mods:subject>\n <mods:subject authority=\"lcsh\">\n <mods:topic>Generals</mods:topic>\n </mods:subject>\n <mods:subject authority=\"lcsh\">\n <mods:topic>Lincoln, Abraham, 1809-1865</mods:topic>\n </mods:subject>\n <mods:subject autho
"items": [
{
"itemType": "document",
"title": "Antietam, Maryland. Allan Pinkerton, President Lincoln, and Major General John A. McClernand: Another View",
"creators": [
{
"firstName": "Alexander",
"lastName": "Gardner",
"creatorType": "author"
}
],
"date": "1862-10-03",
"abstractNote": "At the outset of the U.S. Civil War, Mathew Brady dispatched a team of photographers to document the conflict. Among them was a Scottish-born immigrant named Alexander Gardner, the photographer who took this photo of Lincoln at Antietam as well as other famous wartime shots. The man to Lincoln's right is Allan Pinkerton, founder of the Pinkerton National Detective Agency, whom Lincoln had as head of a personal security detail during the war. Gardner titled another shot of Pinkerton and his brother William at Antietam “The Secret Service.” Gardner photographed Lincoln on seven separate occasions, the last one on February 5, 1865, only a few weeks before Lincolns assassination. In 1866 he published Gardners Sketchbook of the War, combining plates and text, commemorating such battles as Fredericksburg, Gettysburg, and Petersburg, but the book was a commercial failure. Photographic historians also have suggested that Gardner staged many of his photos, moving dead bodies and using a regular prop gun to create romanticized pictorial narratives.",
"attachments": [
{
"title": "Image",
"mimeType": "image/tiff"
},
{
"title": "PDF",
"mimeType": "application/pdf"
}
],
"tags": [
{
"tag": "Antietam, Battle of, Maryland, 1862"
},
{
"tag": "Generals"
},
{
"tag": "Lincoln, Abraham, 1809-1865"
},
{
"tag": "McClernand, John A. (John Alexander), 1812-1900"
},
{
"tag": "Military camps"
},
{
"tag": "Pinkerton, Allan, 1819-1884"
},
{
"tag": "Presidents"
},
{
"tag": "Tents"
},
{
"tag": "United States--History--Civil War, 1861-1865"
},
{
"tag": "United States. Army"
}
],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "import",
"input": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>\n<mets ID=\"ID1\" OBJID=\"1262473\" LABEL=\"El cruzado : semanario tradicionalista - Portada\" PROFILE=\"http://www.loc.gov/standards/mets/profiles/00000044.xml\" xmlns=\"http://www.loc.gov/METS/\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:marc=\"http://www.loc.gov/MARC21/slim\" xmlns:mix=\"http://www.loc.gov/mix/v20\" xsi:schemaLocation=\"http://www.loc.gov/METS/ http://www.loc.gov/standards/mets/mets.xsd http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd http://www.loc.gov/mix/v20 http://www.loc.gov/standards/mix/mix20/mix20.xsd\">\n <metsHdr CREATEDATE=\"2021-07-10T02:07:44\"/>\n <dmdSec ID=\"DM1\">\n <mdWrap MDTYPE=\"MARC\">\n <xmlData> <collection xmlns=\"http://www.loc.gov/MARC21/slim\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd\">\n <record>\n <leader>00000cas 82200000 4500</leader>\n <controlfield tag=\"001\">BDG20080002497</controlfield>\n <controlfield tag=\"003\">BDG</controlfield>\n <controlfield tag=\"005\">20210421075144.0</controlfield>\n <controlfield tag=\"008\">100609d19121917espwr|n |0|||b|spa d</controlfield>\n <datafield tag=\"040\" ind1=\" \" ind2=\" \">\n <subfield code=\"a\">BDG</subfield>\n <subfield code=\"b\">glg</subfield>\n <subfield code=\"c\">BDG</subfield>\n <subfield code=\"e\">rda</subfield>\n <subfield code=\"d\">BDG</subfield>\n </datafield>\n <datafield tag=\"245\" ind1=\"0\" ind2=\"3\">\n <subfield code=\"a\">El cruzado</subfield>\n <subfield code=\"b\">: semanario tradicionalista</subfield>\n </datafield>\n <datafield tag=\"264\" ind1=\" \" ind2=\"1\">\n <subfield code=\"a\">Mondoñedo</subfield>\n <subfield code=\"b\">[editor non identificado]</subfield>\n <subfield code=\"c\">1912-1917</subfield>\n </datafield>\n <datafield tag=\"264\" ind1=\" \" ind2=\"3\">\n <subfield code=\"a\">Mondoñedo</subfield>\n <subfield code=\"b\">Tip. Mancebo</subfield>\n <subfield code=\"c\">1912-1917</subfield>\n </datafield>\n <datafield tag=\"300\" ind1=\" \" ind2=\" \">\n <subfield code=\"a\">v.</subfield>\n <subfield code=\"c\">47 cm</subfield>\n </datafield>\n <datafield tag=\"310\" ind1=\" \" ind2=\" \">\n <subfield code=\"a\">Semanal </subfield>\n </datafield>\n <datafield tag=\"500\" ind1=\" \" ind2=\" \">\n <subfield code=\"a\">Director: José Polo Folgueira</subfield>\n </datafield>\n <datafield tag=\"500\" ind1=\" \" ind2=\" \">\n <subfield code=\"a\">Propietario: Enrique Costas Márquez</subfield>\n </datafield>\n <datafield tag=\"500\" ind1=\" \" ind2=\" \">\n <subfield code=\"a\">Redactor: Carolino Costas Márquez</subfield>\n </datafield>\n <datafield tag=\"500\" ind1=\" \" ind2=\" \">\n <subfield code=\"a\">Colaboradores: Antonio Noriega Varela e Manuel Amor Meilán.</subfield>\n </datafield>\n <datafield tag=\"590\" ind1=\"0\" ind2=\" \">\n <subfield code=\"a\">n. 13 (jul. 1912)</subfield>\n </datafield>\n <datafield tag=\"650\" ind1=\" \" ind2=\"4\">\n <subfield code=\"0\">BDGA20090004351</subfield>\n <subfield code=\"a\">Prensa</subfield>\n <subfield code=\"z\">Galicia</subfield>\n </datafield>\n <datafield tag=\"700\" ind1=\"1\" ind2=\" \">\n <subfield code=\"0\">BDGA20180473692</subfield>\n <subfield code=\"a\">Costas Márquez, Enrique</subfield>\n </datafield>\n <datafield tag=\"700\" ind1=\"2\" ind2=\"0\">\n <subfield code=\"0\">BDGA20181256447</subfield>\n <subfield code=\"a\">Costas Márquez, Carolino</subfield>\n </datafield>\n <datafield tag=\"700\" ind1=\"1\" ind2=\" \">\n <subfield code=\"0\">BDGA20120008724</subfield>\n <subfield code=\"a\">Noriega Varela, Antonio</subfield>\n <subfield code=\"d\">1869-1947</sub
"items": [
{
"itemType": "book",
"title": "El cruzado: semanario tradicionalista",
"creators": [
{
"firstName": "Enrique",
"lastName": "Costas Márquez",
"creatorType": "editor"
},
{
"firstName": "Carolino",
"lastName": "Costas Márquez",
"creatorType": "editor"
},
{
"firstName": "Antonio",
"lastName": "Noriega Varela",
"creatorType": "editor"
},
{
"firstName": "Manuel",
"lastName": "Amor Meilán",
"creatorType": "editor"
},
{
"lastName": "Tipografía Mancebo",
"creatorType": "editor",
"fieldMode": true
}
],
"date": "1912",
"place": "Mondoñedo",
"publisher": "editor non identificado",
"attachments": [
{
"title": "Image",
"mimeType": "image/jpeg"
}
],
"tags": [
{
"tag": "Galicia"
},
{
"tag": "Prensa"
}
],
"notes": [
{
"note": "Director: José Polo Folgueira Propietario: Enrique Costas Márquez Redactor: Carolino Costas Márquez Colaboradores: Antonio Noriega Varela e Manuel Amor Meilán"
}
],
"seeAlso": []
}
]
},
{
"type": "import",
"input": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!-- This METS file was created on Wed Oct 12 13:00:22 CEST 2011 using the UGH Metadata Library: ugh.fileformats.mets.MetsModsImportExport (version 1.9-20100505) -->\n<mets:mets xmlns:mets=\"http://www.loc.gov/METS/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-3.xsd http://www.loc.gov/METS/ http://www.loc.gov/standards/mets/version17/mets.v1-7.xsd\"><mets:dmdSec ID=\"DMDLOG_0000\"><mets:mdWrap MDTYPE=\"MODS\"><mets:xmlData><mods:mods xmlns:mods=\"http://www.loc.gov/mods/v3\"><mods:classification authority=\"GDZ\">Antiquitates_und_Archaeologia</mods:classification><mods:classification authority=\"GDZ\">Antiquitates_und_Archaeologia_ARCHAEO18</mods:classification><mods:recordInfo><mods:recordIdentifier source=\"gbv-ppn\">PPN143342827</mods:recordIdentifier></mods:recordInfo><mods:identifier type=\"PPNanalog\">PPN143342819</mods:identifier><mods:titleInfo><mods:title>Vite De' Pittori, Scultori Ed Architetti Napoletani</mods:title><mods:subTitle>Non mai date alla luce da Autore alcuno ...</mods:subTitle></mods:titleInfo><mods:language><mods:languageTerm authority=\"iso639-2b\" type=\"code\">it</mods:languageTerm></mods:language><mods:originInfo><mods:place><mods:placeTerm type=\"text\">Neapel</mods:placeTerm></mods:place><mods:dateIssued encoding=\"w3cdtf\" keyDate=\"yes\">1742</mods:dateIssued><mods:publisher>Ricciardi</mods:publisher></mods:originInfo><mods:subject authority=\"gdz\"><mods:topic>domivite</mods:topic></mods:subject><mods:name type=\"personal\"><mods:role><mods:roleTerm authority=\"marcrelator\" type=\"code\">aut</mods:roleTerm></mods:role><mods:namePart type=\"family\">Dominici</mods:namePart><mods:namePart type=\"given\">Bernardo</mods:namePart><mods:displayForm>Dominici, Bernardo</mods:displayForm></mods:name></mods:mods></mets:xmlData></mets:mdWrap></mets:dmdSec><mets:amdSec ID=\"AMD\"><mets:rightsMD ID=\"RIGHTS\"><mets:mdWrap MDTYPE=\"OTHER\" MIMETYPE=\"text/xml\" OTHERMDTYPE=\"DVRIGHTS\"><mets:xmlData><dv:rights xmlns:dv=\"http://dfg-viewer.de/\"><dv:owner>Digitalisierungszentrum der Niedersächsischen Staats- und Universitätsbibliothek Göttingen</dv:owner><dv:ownerLogo>http://gdz.sub.uni-goettingen.de/logo_gdz_dfgv.png</dv:ownerLogo><dv:ownerSiteURL>http://gdz.sub.uni-goettingen.de</dv:ownerSiteURL><dv:ownerContact/></dv:rights></mets:xmlData></mets:mdWrap></mets:rightsMD><mets:digiprovMD ID=\"DIGIPROV\"><mets:mdWrap MDTYPE=\"OTHER\" MIMETYPE=\"text/xml\" OTHERMDTYPE=\"DVLINKS\"><mets:xmlData><dv:links xmlns:dv=\"http://dfg-viewer.de/\"><dv:reference>http://opac.sub.uni-goettingen.de/DB=1/PPN?PPN=143342827</dv:reference><dv:presentation>http://resolver.sub.uni-goettingen.de/purl?PPN143342827</dv:presentation></dv:links></mets:xmlData></mets:mdWrap></mets:digiprovMD></mets:amdSec><mets:structMap TYPE=\"LOGICAL\"><mets:div ADMID=\"AMD\" DMDID=\"DMDLOG_0000\" ID=\"LOG_0000\" LABEL=\"Vite De' Pittori, Scultori Ed Architetti Napoletani\" TYPE=\"MultiVolumeWork\"><mets:div ID=\"LOG_0002\" TYPE=\"volume\" LABEL=\"Vite De' Pittori, Scultori Ed Architetti Napoletani : non mai date alla luce da autore alcuno ... 1\"><mets:mptr LOCTYPE=\"URL\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xlink:href=\"http://gdz.sub.uni-goettingen.de/mets/PPN659413833.xml\"/></mets:div></mets:div></mets:structMap></mets:mets>\n",
"items": [
{
"itemType": "document",
"title": "Vite De' Pittori, Scultori Ed Architetti Napoletani: Non mai date alla luce da Autore alcuno ...",
"creators": [
{
"firstName": "Bernardo",
"lastName": "Dominici",
"creatorType": "author"
}
],
"date": "1742",
"language": "it",
"publisher": "Ricciardi",
"attachments": [],
"tags": [
{
"tag": "domivite"
}
],
"notes": [],
"seeAlso": []
}
]
},
{
"type": "import",
"input": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!-- This METS file was created on Mon Mar 19 14:28:59 CET 2012 using the UGH Metadata Library: ugh.fileformats.mets.MetsModsImportExport (version 1.9-20100505) -->\n<mets:mets xmlns:mets=\"http://www.loc.gov/METS/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-3.xsd http://www.loc.gov/METS/ http://www.loc.gov/standards/mets/version17/mets.v1-7.xsd\"><mets:dmdSec ID=\"DMDLOG_0001\"><mets:mdWrap MDTYPE=\"MODS\"><mets:xmlData><mods:mods xmlns:mods=\"http://www.loc.gov/mods/v3\"><mods:classification authority=\"GDZ\">Antiquitates_und_Archaeologia</mods:classification><mods:classification authority=\"GDZ\">Antiquitates_und_Archaeologia_ARCHAEO18</mods:classification><mods:relatedItem type=\"host\"><mods:recordInfo><mods:recordIdentifier source=\"gbv-ppn\">PPN137363532</mods:recordIdentifier></mods:recordInfo></mods:relatedItem><mods:recordInfo><mods:recordIdentifier source=\"gbv-ppn\">PPN137363540</mods:recordIdentifier></mods:recordInfo><mods:identifier type=\"PPNanalog\">PPN137363540</mods:identifier><mods:titleInfo><mods:title>Accurata, E Succinta Descrizione Topografica Delle Antichitá Di Roma</mods:title></mods:titleInfo><mods:part order=\"10\" type=\"host\"><mods:detail><mods:number>1</mods:number></mods:detail></mods:part><mods:language><mods:languageTerm authority=\"iso639-2b\" type=\"code\">la</mods:languageTerm></mods:language><mods:originInfo><mods:place><mods:placeTerm type=\"text\">Roma</mods:placeTerm></mods:place><mods:dateIssued encoding=\"w3cdtf\" keyDate=\"yes\">1763</mods:dateIssued><mods:publisher>Bernabò, e Lazzarini</mods:publisher></mods:originInfo><mods:name type=\"personal\"><mods:role><mods:roleTerm authority=\"marcrelator\" type=\"code\">aut</mods:roleTerm></mods:role><mods:namePart type=\"family\">Venuti</mods:namePart><mods:namePart type=\"given\">Ridolfino</mods:namePart><mods:displayForm>Venuti, Ridolfino</mods:displayForm></mods:name><mods:physicalDescription><mods:extent>[1] Bl., XXXVI, 143, [1] S., 59 Bl., [1] gef. Bl.</mods:extent></mods:physicalDescription></mods:mods></mets:xmlData></mets:mdWrap></mets:dmdSec><mets:dmdSec ID=\"DMDLOG_0002\"><mets:mdWrap MDTYPE=\"MODS\"><mets:xmlData><mods:mods xmlns:mods=\"http://www.loc.gov/mods/v3\"><mods:titleInfo><mods:title>Clemens Papa XIII. Ad futuram rei memoriam.</mods:title></mods:titleInfo></mods:mods></mets:xmlData></mets:mdWrap></mets:dmdSec><mets:dmdSec ID=\"DMDLOG_0003\"><mets:mdWrap MDTYPE=\"MODS\"><mets:xmlData><mods:mods xmlns:mods=\"http://www.loc.gov/mods/v3\"><mods:titleInfo><mods:title>Avvertimento Al Lettore.</mods:title></mods:titleInfo></mods:mods></mets:xmlData></mets:mdWrap></mets:dmdSec><mets:dmdSec ID=\"DMDLOG_0004\"><mets:mdWrap MDTYPE=\"MODS\"><mets:xmlData><mods:mods xmlns:mods=\"http://www.loc.gov/mods/v3\"><mods:titleInfo><mods:title>Indice De' Capi Della Parte Prima.</mods:title></mods:titleInfo></mods:mods></mets:xmlData></mets:mdWrap></mets:dmdSec><mets:dmdSec ID=\"DMDLOG_0005\"><mets:mdWrap MDTYPE=\"MODS\"><mets:xmlData><mods:mods xmlns:mods=\"http://www.loc.gov/mods/v3\"><mods:titleInfo><mods:title>Approvazione.</mods:title></mods:titleInfo></mods:mods></mets:xmlData></mets:mdWrap></mets:dmdSec><mets:dmdSec ID=\"DMDLOG_0006\"><mets:mdWrap MDTYPE=\"MODS\"><mets:xmlData><mods:mods xmlns:mods=\"http://www.loc.gov/mods/v3\"><mods:titleInfo><mods:title>Introduzione Alla Topografia Di Roma.</mods:title></mods:titleInfo></mods:mods></mets:xmlData></mets:mdWrap></mets:dmdSec><mets:dmdSec ID=\"DMDLOG_0007\"><mets:mdWrap MDTYPE=\"MODS\"><mets:xmlData><mods:mods xmlns:mods=\"http://www.loc.gov/mods/v3\"><mods:titleInfo><mods:title>Carta Topografica Delle Antichità Di Roma [...]</mods:title></mods:titleInfo></mods:mods></mets:xmlData></mets:mdWrap></mets:dmdSec><mets:dmdSec ID=\"DMDLOG_0008\"><mets:mdWrap MDTYPE=\"MODS\"><mets:xmlData><mods:mods xmlns:mods=\"http://www.loc.gov/mods/v3\"><mods:titleInfo><mods:title>Capo Primo Del Monte Palatino.</mods:title></mods:title
"items": [
{
"itemType": "bookSection",
"title": "Accurata, E Succinta Descrizione Topografica Delle Antichitá Di Roma",
"creators": [
{
"firstName": "Ridolfino",
"lastName": "Venuti",
"creatorType": "author"
}
],
"date": "1763",
"language": "la",
"place": "Roma",
"publisher": "Bernabò, e Lazzarini",
"attachments": [],
"tags": [],
"notes": [],
"seeAlso": []
}
]
}
]
/** END TEST CASES **/