Skip to content

Commit

Permalink
Merge pull request #593 from sul-dlss/573-bibliography-fixtures
Browse files Browse the repository at this point in the history
sample fixture objects in multiple formats with screenshots
  • Loading branch information
camillevilla authored Sep 26, 2017
2 parents eac7bab + 2bf2302 commit 85233b8
Show file tree
Hide file tree
Showing 17 changed files with 324 additions and 0 deletions.
7 changes: 7 additions & 0 deletions spec/fixtures/bibliography/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
The following fixtures were exported from the Zotero Desktop application
using "Export Item..." with Notes enabled.

*.bib - BibTeX (custon translator that adds URI for id)
*.json - CSL JSON with tags (custom translator that adds tags)
*.png - Screenshot of record in Zotero Web UI
*.xml - MODS
13 changes: 13 additions & 0 deletions spec/fixtures/bibliography/parker1.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

@phdthesis{http://zotero.org/groups/1051392/items/E3MS2TQK,
address = {Oxford},
type = {B.{Litt}.},
title = {A {Critical} {Text}, with {Commentary} of {MS} {Eng}. {Theol}. f. 39 in the {Bodleian} {Library}},
shorttitle = {Wilson 1968},
school = {University of Oxford},
author = {Wilson, E. A.},
year = {1968},
keywords = {dd998pq6752},
annote = { NJC},
annote = {The following values have no corresponding Zotero field:volume: B.Litt.}
}
28 changes: 28 additions & 0 deletions spec/fixtures/bibliography/parker1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
[
{
"id": "http://zotero.org/groups/1051392/items/E3MS2TQK",
"type": "thesis",
"title": "A Critical Text, with Commentary of MS Eng. Theol. f. 39 in the Bodleian Library",
"publisher": "University of Oxford",
"publisher-place": "Oxford",
"genre": "B.Litt.",
"event-place": "Oxford",
"shortTitle": "Wilson 1968",
"author": [
{
"family": "Wilson",
"given": "E. A."
}
],
"issued": {
"date-parts": [
[
"1968"
]
]
},
"keyword": [
"dd998pq6752"
]
}
]
Binary file added spec/fixtures/bibliography/parker1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions spec/fixtures/bibliography/parker1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<modsCollection xmlns="http://www.loc.gov/mods/v3" 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-2.xsd">
<mods>
<titleInfo>
<title>A Critical Text, with Commentary of MS Eng. Theol. f. 39 in the Bodleian Library</title>
</titleInfo>
<titleInfo type="abbreviated">
<title>Wilson 1968</title>
</titleInfo>
<typeOfResource>text</typeOfResource>
<genre authority="local">thesis</genre>
<genre authority="marcgt">thesis</genre>
<genre>B.Litt.</genre>
<name type="personal">
<namePart type="family">Wilson</namePart>
<namePart type="given">E. A.</namePart>
<role>
<roleTerm type="code" authority="marcrelator">aut</roleTerm>
</role>
</name>
<originInfo>
<place>
<placeTerm type="text">Oxford</placeTerm>
</place>
<publisher>University of Oxford</publisher>
<dateCreated>1968</dateCreated>
<issuance>monographic</issuance>
</originInfo>
<note>The following values have no corresponding Zotero field:&lt;br/&gt;volume: B.Litt.</note>
<subject>
<topic>dd998pq6752</topic>
</subject>
</mods>
</modsCollection>
13 changes: 13 additions & 0 deletions spec/fixtures/bibliography/parker2.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

@incollection{http://zotero.org/groups/1051392/items/EI8BRRXB,
address = {Montréal/Paris},
title = {A "symple wrecche" at work: the {Life} and {Miracles} of {St}. {Erkenwald} in the \textit{{Gilte} {Legende}}, {BL} {Add}. 35298},
shorttitle = {Whatley 1986},
booktitle = {Legenda aurea. {Sept} siècles de diffusion. {Actes} du colloque international sur la \textit{{Legenda} aurea}, {Université} du {Québec}, {Montréal}, 11-12 mai 1983},
author = {Whatley, E. G.},
editor = {Dunn-Lardeau, B.},
year = {1986},
keywords = {qt747ct6627},
pages = {333--43},
annote = { NJM}
}
34 changes: 34 additions & 0 deletions spec/fixtures/bibliography/parker2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
[
{
"id": "http://zotero.org/groups/1051392/items/EI8BRRXB",
"type": "chapter",
"title": "A \"symple wrecche\" at work: the Life and Miracles of St. Erkenwald in the <i>Gilte Legende</i>, BL Add. 35298",
"container-title": "Legenda aurea. Sept siècles de diffusion. Actes du colloque international sur la <i>Legenda aurea</i>, Université du Québec, Montréal, 11-12 mai 1983",
"publisher-place": "Montréal/Paris",
"page": "333-43",
"event-place": "Montréal/Paris",
"shortTitle": "Whatley 1986",
"author": [
{
"family": "Whatley",
"given": "E. G."
}
],
"editor": [
{
"family": "Dunn-Lardeau",
"given": "B."
}
],
"issued": {
"date-parts": [
[
"1986"
]
]
},
"keyword": [
"qt747ct6627"
]
}
]
Binary file added spec/fixtures/bibliography/parker2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
50 changes: 50 additions & 0 deletions spec/fixtures/bibliography/parker2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<modsCollection xmlns="http://www.loc.gov/mods/v3" 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-2.xsd">
<mods>
<titleInfo>
<title>A "symple wrecche" at work: the Life and Miracles of St. Erkenwald in the &lt;i&gt;Gilte Legende&lt;/i&gt;, BL Add. 35298</title>
</titleInfo>
<titleInfo type="abbreviated">
<title>Whatley 1986</title>
</titleInfo>
<typeOfResource>text</typeOfResource>
<genre authority="local">bookSection</genre>
<name type="personal">
<namePart type="family">Whatley</namePart>
<namePart type="given">E. G.</namePart>
<role>
<roleTerm type="code" authority="marcrelator">aut</roleTerm>
</role>
</name>
<note>&lt;p&gt; NJM&lt;/p&gt;</note>
<subject>
<topic>qt747ct6627</topic>
</subject>
<relatedItem type="host">
<genre authority="marcgt">book</genre>
<name type="personal">
<namePart type="family">Dunn-Lardeau</namePart>
<namePart type="given">B.</namePart>
<role>
<roleTerm type="code" authority="marcrelator">edt</roleTerm>
</role>
</name>
<part>
<extent unit="pages">
<start>333</start>
<end>43</end>
</extent>
</part>
<originInfo>
<place>
<placeTerm type="text">Montréal/Paris</placeTerm>
</place>
<copyrightDate>1986</copyrightDate>
<issuance>monographic</issuance>
</originInfo>
<titleInfo>
<title>Legenda aurea. Sept siècles de diffusion. Actes du colloque international sur la &lt;i&gt;Legenda aurea&lt;/i&gt;, Université du Québec, Montréal, 11-12 mai 1983</title>
</titleInfo>
</relatedItem>
</mods>
</modsCollection>
13 changes: 13 additions & 0 deletions spec/fixtures/bibliography/parker3.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

@book{http://zotero.org/groups/1051392/items/TXXUJDG2,
address = {Coimbra},
title = {A {Carta} ou {Memória} do {Cruzado} {Inglês} {R}. para {Osberto} de {Bawdsey} sobre a conquista de {Lisboa} em 1147},
shorttitle = {De {Azevedo} 1962},
publisher = {Faculdade de Letras da Universidade de Coimbra},
author = {de Azevedo, R.},
year = {1962},
keywords = {sg012cr8689},
annote = { KAW},
annote = {CCC MS 470 [p. 9, and referred to (without MS number) throughout]reproductions from CCC MS 470, ff. 125-146, in the appendix},
annote = {The following values have no corresponding Zotero field:custom1: 23}
}
29 changes: 29 additions & 0 deletions spec/fixtures/bibliography/parker3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[
{
"id": "http://zotero.org/groups/1051392/items/TXXUJDG2",
"type": "book",
"title": "A Carta ou Memória do Cruzado Inglês R. para Osberto de Bawdsey sobre a conquista de Lisboa em 1147",
"publisher": "Faculdade de Letras da Universidade de Coimbra",
"publisher-place": "Coimbra",
"number-of-pages": "34, 22 b/w plates",
"event-place": "Coimbra",
"shortTitle": "De Azevedo 1962",
"author": [
{
"family": "Azevedo",
"given": "R.",
"non-dropping-particle": "de"
}
],
"issued": {
"date-parts": [
[
"1962"
]
]
},
"keyword": [
"sg012cr8689"
]
}
]
Binary file added spec/fixtures/bibliography/parker3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 37 additions & 0 deletions spec/fixtures/bibliography/parker3.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<modsCollection xmlns="http://www.loc.gov/mods/v3" 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-2.xsd">
<mods>
<titleInfo>
<title>A Carta ou Memória do Cruzado Inglês R. para Osberto de Bawdsey sobre a conquista de Lisboa em 1147</title>
</titleInfo>
<titleInfo type="abbreviated">
<title>De Azevedo 1962</title>
</titleInfo>
<typeOfResource>text</typeOfResource>
<genre authority="local">book</genre>
<genre authority="marcgt">book</genre>
<name type="personal">
<namePart type="family">de Azevedo</namePart>
<namePart type="given">R.</namePart>
<role>
<roleTerm type="code" authority="marcrelator">aut</roleTerm>
</role>
</name>
<physicalDescription>
<extent>34, 22 b/w plates p.</extent>
</physicalDescription>
<originInfo>
<place>
<placeTerm type="text">Coimbra</placeTerm>
</place>
<publisher>Faculdade de Letras da Universidade de Coimbra</publisher>
<copyrightDate>1962</copyrightDate>
<issuance>monographic</issuance>
</originInfo>
<note>&lt;p&gt; KAW&lt;/p&gt;</note>
<note>The following values have no corresponding Zotero field:&lt;br/&gt;custom1: 23</note>
<subject>
<topic>sg012cr8689</topic>
</subject>
</mods>
</modsCollection>
11 changes: 11 additions & 0 deletions spec/fixtures/bibliography/parker4.bib
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

@phdthesis{http://zotero.org/groups/1051392/items/VAP2RGBA,
title = {A {Case} {Grammar} of the {Parker} {Manuscript} of the \_Anglo-{Saxon} {Chronicle}\_ from 734 to 891},
shorttitle = {Schulz 1973},
school = {University of Southern California},
author = {Schulz, M. R.},
year = {1973},
keywords = {wp146tq7625},
annote = {SLP},
annote = {The following values have no corresponding Zotero field:volume: Ph.D.}
}
25 changes: 25 additions & 0 deletions spec/fixtures/bibliography/parker4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[
{
"id": "http://zotero.org/groups/1051392/items/VAP2RGBA",
"type": "thesis",
"title": "A Case Grammar of the Parker Manuscript of the _Anglo-Saxon Chronicle_ from 734 to 891",
"publisher": "University of Southern California",
"shortTitle": "Schulz 1973",
"author": [
{
"family": "Schulz",
"given": "M. R."
}
],
"issued": {
"date-parts": [
[
"1973"
]
]
},
"keyword": [
"wp146tq7625"
]
}
]
Binary file added spec/fixtures/bibliography/parker4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions spec/fixtures/bibliography/parker4.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<modsCollection xmlns="http://www.loc.gov/mods/v3" 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-2.xsd">
<mods>
<titleInfo>
<title>A Case Grammar of the Parker Manuscript of the _Anglo-Saxon Chronicle_ from 734 to 891</title>
</titleInfo>
<titleInfo type="abbreviated">
<title>Schulz 1973</title>
</titleInfo>
<typeOfResource>text</typeOfResource>
<genre authority="local">thesis</genre>
<genre authority="marcgt">thesis</genre>
<name type="personal">
<namePart type="family">Schulz</namePart>
<namePart type="given">M. R.</namePart>
<role>
<roleTerm type="code" authority="marcrelator">aut</roleTerm>
</role>
</name>
<originInfo>
<publisher>University of Southern California</publisher>
<dateCreated>1973</dateCreated>
<issuance>monographic</issuance>
</originInfo>
<note>The following values have no corresponding Zotero field:&lt;br/&gt;volume: Ph.D.</note>
<subject>
<topic>wp146tq7625</topic>
</subject>
</mods>
</modsCollection>

0 comments on commit 85233b8

Please sign in to comment.