Digital Medievalist: Merge with Ubiquity Journals (#2545)

这个提交包含在:
Abe Jellinek 2021-07-14 00:09:40 -06:00 提交者 GitHub
父节点 36a2e7ed5b
当前提交 fa42be61bb
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有 3 个文件被更改,包括 85 次插入163 次删除

查看文件

@ -1,149 +0,0 @@
{
"translatorID": "5e684d82-73a3-9a34-095f-19b112d77bbe",
"label": "Digital Medievalist",
"creator": "Fred Gibbs, Sebastian Karcher",
"target": "^https?://(www\\.)?digitalmedievalist\\.org/(index\\.html)?($|journal/?$|(journal/\\d+))",
"minVersion": "3.0",
"maxVersion": "",
"priority": 100,
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2016-12-17 02:55:59"
}
function detectWeb(doc, url) {
if (doc.title == "Digital Medievalist: Journal" || doc.title == "Digital Medievalist" || doc.title == "Digital Medievalist Journal") {
return "multiple";
} else {
return "journalArticle";
}
}
function doWeb(doc, url) {
var links ={};
var articles = [];
// if on single article
if (detectWeb(doc, url) == "journalArticle") {
scrape(doc, url)
}
// if multiple, collect article titles
else if (doc.evaluate('//div[@class="issue"]/div/ul/li/a', doc, null, XPathResult.ANY_TYPE, null).iterateNext()) {
var titles = doc.evaluate('//div[@class="issue"]/div/ul/li/a', doc, null, XPathResult.ANY_TYPE, null);
while (title = titles.iterateNext()) {
links[title.href] = Zotero.Utilities.trimInternal(title.textContent);
}
Zotero.selectItems(links, function (items) {
if (!items) {
return true;
}
for (var i in items) {
articles.push(i);
}
Zotero.Utilities.processDocuments(articles, scrape);
});
}
}
function scrape(doc, url){
var newItem = new Zotero.Item("journalArticle")
newItem.publicationTitle = "Digital Medievalist";
newItem.ISSN = " 1715-0736";
newItem.url = url;
newItem.title = ZU.xpathText(doc, '//h1')
newItem.attachments.push({document:doc, title: "Digital Medievalist Snapshot", mimeType:"text/html"});
var keywords = ZU.xpathText(doc, '//div[@class="keywords"]/p');
if (keywords) keywords=keywords.replace(/Keywords:\s*/, "").replace(/.\s*$/, "").split(/\s*;\s*/);
for (var i in keywords){
newItem.tags.push(keywords[i].trim())
}
var authors = ZU.xpath(doc, '//div[@class="frontmatter"]//p[@class="byline"]');
for (var i=0; i<authors.length;i++){
var author = authors[i].textContent.match(/^.+?,/);
if (author) newItem.creators.push(ZU.cleanAuthor(author[0], "author"))
}
var abstract = ZU.xpathText(doc, '//div[@class="abstract"]/p[last()]');
if (abstract) newItem.abstractNote = ZU.trimInternal(abstract);
var pubinfo = ZU.xpathText(doc, '//div[@class="frontmatter"]/p[1]');
var volyear = pubinfo.match(/Digital Medievalist (\d+)\s*\((\d{4})\)/)
if (volyear){
newItem.year = volyear[2];
newItem.volume = volyear[1];
}
newItem.complete();
}
/** BEGIN TEST CASES **/
var testCases = [
{
"type": "web",
"url": "http://digitalmedievalist.org/journal/6/gau/",
"items": [
{
"itemType": "journalArticle",
"creators": [
{
"firstName": "Melanie",
"lastName": "Gau",
"creatorType": "author"
},
{
"firstName": "Heinz",
"lastName": "Miklas",
"creatorType": "author"
},
{
"firstName": "Martin",
"lastName": "Lettner",
"creatorType": "author"
},
{
"firstName": "Robert",
"lastName": "Sablatnig",
"creatorType": "author"
}
],
"notes": [],
"tags": [
"Codicology",
"Damaged Manuscripts",
"Digital Palaeography",
"Foreground-Background Separation",
"Graphemic Character Segmentation",
"Image Acquisition",
"Manuscripts",
"Multi-Spectral Imaging",
"Palaeography",
"Palimpsests",
"Processing"
],
"seeAlso": [],
"attachments": [
{
"title": "Digital Medievalist Snapshot",
"mimeType": "text/html"
}
],
"publicationTitle": "Digital Medievalist",
"ISSN": "1715-0736",
"url": "http://digitalmedievalist.org/journal/6/gau/",
"title": "Image Acquisition & Processing Routines for Damaged Manuscripts",
"abstractNote": "This paper presents an overview of data acquisition and processing procedures of an interdisciplinary project of philologists and image processing experts aiming at the decipherment and reconstruction of damaged manuscripts. The digital raw image data was acquired via multi-spectral imaging. As a preparatory step we developed a method of foreground-background separation (binarisation) especially designed for multi-spectral images of degraded documents. On the basis of the binarised images further applications were developed: an automatic character decomposition and primitive extraction dissects the scriptural elements into analysable pieces that are necessary for palaeographic and graphemic analyses, writing tool recognition, text restoration, and optical character recognition. The results of the relevant procedures can be stored and interrogated in a database application. Furthermore, a semi-automatic page layout analysis provides codicological information on latent page contents (script, ruling, decorations).",
"volume": "6",
"libraryCatalog": "Digital Medievalist"
}
]
},
{
"type": "web",
"url": "http://digitalmedievalist.org/journal/6/",
"items": "multiple"
}
]
/** END TEST CASES **/

查看文件

@ -9,12 +9,11 @@
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsibv",
"lastUpdated": "2019-06-10 23:10:24"
"lastUpdated": "2021-07-12 18:01:40"
}
/*
Ubiquiy Press Translator
Copyright (C) 2015 Sebastian Karcher
Copyright (C) 2015-2021 Sebastian Karcher and Abe Jellinek
This file is part of Zotero.
@ -32,11 +31,8 @@
along with Zotero. If not, see <http://www.gnu.org/licenses/>.
*/
function detectWeb(doc, _url) {
var ubiquitytest = doc.getElementsByClassName("press-logo");
// this doesn't work always, so we're only using it on single items.
// if the translator doesn't detect there, we still get good EM import
// For multiples we check getSearchResults
if (ubiquitytest[0] && ubiquitytest[0].href.includes("http://www.ubiquitypress.com")) {
var ubiquityTest = doc.querySelector('link[href*="/static/css/journal.css"]');
if (ubiquityTest) {
if (ZU.xpathText(doc, '//meta[@name="citation_journal_title"]/@content')) {
return "journalArticle";
}
@ -124,6 +120,7 @@ var testCases = [
"issue": "1",
"language": "en",
"libraryCatalog": "journal.eahn.org",
"pages": "Art. 2",
"publicationTitle": "Architectural Histories",
"rights": "Authors who publish with this journal agree to the following terms: Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access ). All third-party images reproduced on this journal are shared under Educational Fair Use. For more information on Educational Fair Use , please see this useful checklist prepared by Columbia University Libraries . All copyright of third-party content posted here for research purposes belongs to its original owners. Unless otherwise stated all references to characters and comic art presented on this journal are ©, ® or ™ of their respective owners. No challenge to any owner’s rights is intended or should be inferred.",
"shortTitle": "Handymen, Hippies and Healing",
@ -135,14 +132,23 @@ var testCases = [
"mimeType": "application/pdf"
},
{
"title": "Snapshot"
"title": "Snapshot",
"mimeType": "text/html"
}
],
"tags": [
"Ant Farm",
"DIY",
"DIY architecture",
"Paolo Soleri"
{
"tag": "Ant Farm"
},
{
"tag": "DIY"
},
{
"tag": "DIY architecture"
},
{
"tag": "Paolo Soleri"
}
],
"notes": [],
"seeAlso": []
@ -153,6 +159,70 @@ var testCases = [
"type": "web",
"url": "http://www.pediatricneurologybriefs.com/51/volume/29/issue/7/",
"items": "multiple"
},
{
"type": "web",
"url": "https://journal.digitalmedievalist.org/articles/10.16995/dm.81/",
"items": [
{
"itemType": "journalArticle",
"title": "Querying Variants: Boccaccio’s ‘Commedia’ and Data-Models",
"creators": [
{
"firstName": "Sonia",
"lastName": "Tempestini",
"creatorType": "author"
},
{
"firstName": "Elena",
"lastName": "Spadini",
"creatorType": "author"
}
],
"date": "2019-09-20",
"DOI": "10.16995/dm.81",
"ISSN": "1715-0736",
"abstractNote": "This paper presents the methodology and the results of an analytical study of the three witnesses of Dante’s Commedia copied by Giovanni Boccaccio, focusing on the importance of their digital accessibility. These extraordinary materials allow us to further our knowledge of Boccaccio’s cultural trajectory as a scribe and as an author, and could be useful for the study of the textual tradition of Dante’s Commedia. In the first section of the paper, the manuscripts and their role in previous scholarship are introduced. A thorough analysis of a choice of variants is then offered, applying specific categories for organizing the varia lectio. This taxonomy shows how fundamental it is to combine the methodological tools for studying copies (as usual in medieval philology) and those for studying author’s manuscripts (as usual in modern philology) in dealing with the three manuscripts of Boccaccio’s Commedia: in fact, the comparative analysis of the three manuscripts has much to reveal not only of their genetic relationship but also of Boccaccio’s editorial practices. Furthermore, the analytic categories inform the computational model behind the web application ‘La Commedia di Boccaccio’, &lt;http://boccacciocommedia.unil.ch/&gt; created for accessing and querying the variants. The model, implemented in a relational database, allows for the systematic management of different features of textual variations, distinguishing readings and their relationships, without setting a base text. The paper closes on a view to repurposing the model for handling other textual transmissions, working at the intersection between textual criticism and information technology.",
"issue": "1",
"language": "en",
"libraryCatalog": "journal.digitalmedievalist.org",
"pages": "1",
"publicationTitle": "Digital Medievalist",
"rights": "Authors who publish with this journal agree to the following terms: Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access ). All third-party images reproduced on this journal are shared under Educational Fair Use. For more information on Educational Fair Use , please see this useful checklist prepared by Columbia University Libraries . All copyright of third-party content posted here for research purposes belongs to its original owners. Unless otherwise stated all references to characters and comic art presented on this journal are ©, ® or ™ of their respective owners. No challenge to any owner’s rights is intended or should be inferred.",
"shortTitle": "Querying Variants",
"url": "http://journal.digitalmedievalist.org//articles/10.16995/dm.81/",
"volume": "12",
"attachments": [
{
"title": "Full Text PDF",
"mimeType": "application/pdf"
},
{
"title": "Snapshot",
"mimeType": "text/html"
}
],
"tags": [
{
"tag": "Italian literature"
},
{
"tag": "data model"
},
{
"tag": "database"
},
{
"tag": "digital philology"
},
{
"tag": "textual variation"
}
],
"notes": [],
"seeAlso": []
}
]
}
]
/** END TEST CASES **/

查看文件

@ -1,4 +1,4 @@
68 # Increment number when modifying file
69 # Increment number when modifying file
96b9f483-c44d-5784-cdad-ce21b984 # Amazon
add7c71c-21f3-ee14-d188-caf9da12 # SIRSI 2003+
@ -114,3 +114,4 @@ edfa5803-e331-47db-84d1-db3cf8d6f460 # Replaced by US National Archives Research
b86bb082-6310-4772-a93c-913eaa3dfa1b # Early English Books Online merged with ProQuest
bbf1617b-d836-4665-9aae-45f223264460 # A Contra Corriente is better handled by PKP Catalog Systems (Open Journal Systems)
1fdc31af-065d-4923-9e90-ab4afe5cca8b # Informit Australia now runs Atypon
5e684d82-73a3-9a34-095f-19b112d77bbe # Digital Medievalist now runs Ubiquity Journals