when converting MODS XML to RIS using Bibutils v4.15, the publication year (e.g., "2003") gets converted into "PY - DA - 2003//" instead of just "PY - 2003" or "DA - 2003//".
As an example, this command:
xml2ris -i utf8 -o utf8 DA_test.xml > DA_test.ris
with file 'DA_test.xml' containing:
<?xml version="1.0" encoding="UTF-8" ?><modsCollectionxmlns="http://www.loc.gov/mods/v3"><modsversion="3.2"ID="Aberle+Witte2003Deep-sea"><titleInfo><title>Deep-sea macrofauna exposed to a simulated sedimentation event in the abyssal NE Atlantic: in situ pulse-chase experiments using ¹³C-labelled phytodetritus</title></titleInfo><nametype="personal"><nameParttype="family">Aberle</namePart><nameParttype="given">N</namePart><role><roleTermauthority="marcrelator"type="text">author</roleTerm></role></name><nametype="personal"><nameParttype="family">Witte</namePart><nameParttype="given">U</namePart><role><roleTermauthority="marcrelator"type="text">author</roleTerm></role></name><originInfo><dateIssued>2003</dateIssued></originInfo><note>exported from refbase (https://refbase.ipoe.uni-kiel.de/refs/show.php?record=21520), last updated on Sat, 15 Jul 2006 22:24:16 +0200</note><typeOfResource>text</typeOfResource><location><url>http://www.int-res.com/abstracts/meps/v251/p37-47/</url></location><identifiertype="doi">10.3354/meps251037</identifier><identifiertype="citekey">Aberle+Witte2003Deep-sea</identifier><relatedItemtype="host"><titleInfo><title>Marine Ecology Progress Series</title></titleInfo><titleInfotype="abbreviated"><title>Mar Ecol Prog Ser</title></titleInfo><originInfo><dateIssued>2003</dateIssued><publisher>Inter-Research</publisher><place><placeTermtype="text">Oldendorf/Luhe</placeTerm></place><issuance>continuing</issuance></originInfo><genreauthority="marcgt">periodical</genre><genre>academic journal</genre><part><detailtype="volume"><number>251</number></detail><extentunit="page"><start>37</start><end>47</end></extent></part><identifiertype="issn">0171-8630</identifier></relatedItem></mods><modsversion="3.2"ID="Arrigo2003PrimProd"><titleInfo><title>Primary production in sea ice</title></titleInfo><nametype="personal"><nameParttype="family">Arrigo</namePart><nameParttype="given">K</namePart><nameParttype="given">R</namePart><role><roleTermauthority="marcrelator"type="text">author</roleTerm></role></name><originInfo><dateIssued>2003</dateIssued></originInfo><note>exported from refbase (https://refbase.ipoe.uni-kiel.de/refs/show.php?record=21647), last updated on Mon, 18 Oct 2010 12:17:39 +0200</note><typeOfResource>text</typeOfResource><location><url>http://www3.interscience.wiley.com/cgi-bin/summary/117888178/SUMMARY</url></location><identifiertype="doi">10.1002/9780470757161.ch5</identifier><identifiertype="citekey">Arrigo2003PrimProd</identifier><relatedItemtype="host"><titleInfo><title>Sea ice – an introduction to its physics, chemistry, biology and geology</title></titleInfo><nametype="personal"><nameParttype="family">Thomas</namePart><nameParttype="given">D</namePart><nameParttype="given">N</namePart><role><roleTermauthority="marcrelator"type="text">editor</roleTerm></role></name><nametype="personal"><nameParttype="family">Dieckmann</namePart><nameParttype="given">G</namePart><nameParttype="given">S</namePart><role><roleTermauthority="marcrelator"type="text">editor</roleTerm></role></name><originInfo><dateIssued>2003</dateIssued><publisher>Blackwell Science Ltd</publisher><place><placeTermtype="text">Oxford</placeTerm></place><issuance>monographic</issuance></originInfo><genreauthority="marcgt">book</genre><part><extentunit="page"><start>143</start><end>183</end></extent></part><identifiertype="isbn">0-632-05808-0</identifier></relatedItem></mods><modsversion="3.2"ID="Assur1958"><titleInfo><title>Composition of sea ice and its tensile strength</title></titleInfo><nametype="personal"><nameParttype="family">Assur</namePart><nameParttype="given">A</namePart><role><roleTermauthority="marcrelator"type="text">author</roleTerm></role></name><originInfo><dateIssued>1958</dateIssued><publisher>National Academy of Sciences, National Research Council</publisher><place><placeTermtype="text">Washington DC</placeTerm></place></originInfo><note>exported from refbase (https://refbase.ipoe.uni-kiel.de/refs/show.php?record=5746), last updated on Wed, 24 Nov 2010 09:32:32 +0100</note><typeOfResource>text</typeOfResource><identifiertype="citekey">Assur1958</identifier><relatedItemtype="host"><titleInfo><title>Arctic sea ice: proceedings of the conference conducted by the Division of Earth Sciences and supported by the Office of Naval Research</title></titleInfo><originInfo><dateIssued>1958</dateIssued><publisher>National Academy of Sciences, National Research Council</publisher><place><placeTermtype="text">Washington DC</placeTerm></place></originInfo><genreauthority="marcgt">conference publication</genre><part><extentunit="page"><start>106</start><end>138</end></extent></part><relatedItemtype="series"><titleInfo><title>National Research Council Publications</title></titleInfo><titleInfotype="abbreviated"><title>Nat Res Council Publ</title></titleInfo><part><detailtype="volume"><number>598</number></detail></part></relatedItem></relatedItem></mods></modsCollection>
results in this RIS output in file 'DA_test.ris':
TY - JOUR
AU - Aberle, N.
AU - Witte, U.
PY - DA - 2003//
TI - Deep-sea macrofauna exposed to a simulated sedimentation event in the abyssal NE Atlantic: in situ pulse-chase experiments using ¹³C-labelled phytodetritus
T2 - Mar Ecol Prog Ser
JO - Marine Ecology Progress Series
SP - 37
EP - 47
VL - 251
PB - Inter-Research
CY - Oldendorf/Luhe
SN - 0171-8630
UR - http://www.int-res.com/abstracts/meps/v251/p37-47/
DO - 10.3354/meps251037
N1 - exported from refbase (https://refbase.ipoe.uni-kiel.de/refs/show.php?record=21520), last updated on Sat, 15 Jul 2006 22:24:16 +0200
ID - Aberle+Witte2003Deep-sea
ER -
TY - CHAP
AU - Arrigo, K. R.
ED - Thomas, D. N.
ED - Dieckmann, G. S.
PY - DA - 2003//
TI - Primary production in sea ice
BT - Sea ice – an introduction to its physics, chemistry, biology and geology
SP - 143
EP - 183
PB - Blackwell Science Ltd
CY - Oxford
SN - 0-632-05808-0
UR - http://www3.interscience.wiley.com/cgi-bin/summary/117888178/SUMMARY
DO - 10.1002/9780470757161.ch5
N1 - exported from refbase (https://refbase.ipoe.uni-kiel.de/refs/show.php?record=21647), last updated on Mon, 18 Oct 2010 12:17:39 +0200
ID - Arrigo2003PrimProd
ER -
TY - CONF
AU - Assur, A.
PY - DA - 1958//
TI - Composition of sea ice and its tensile strength
T2 - Nat Res Council Publ
BT - Arctic sea ice: proceedings of the conference conducted by the Division of Earth Sciences and supported by the Office of Naval Research
T3 - National Research Council Publications
SP - 106
EP - 138
VL - 598
PB - National Academy of Sciences, National Research Council
CY - Washington DC
N1 - exported from refbase (https://refbase.ipoe.uni-kiel.de/refs/show.php?record=5746), last updated on Wed, 24 Nov 2010 09:32:32 +0100
ID - Assur1958
ER -
Note the incorrect formatting of the PY/DA field.
Best regards,
Matthias
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
FWIW, refbase currently only recognizes PY, though future refbase releases will probably prefer DA over PY (if present). So including both is fine for us.
Thanks again,
Matthias
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
when converting MODS XML to RIS using Bibutils v4.15, the publication year (e.g., "2003") gets converted into "PY - DA - 2003//" instead of just "PY - 2003" or "DA - 2003//".
As an example, this command:
with file 'DA_test.xml' containing:
results in this RIS output in file 'DA_test.ris':
Note the incorrect formatting of the PY/DA field.
Best regards,
Matthias
Oops. Thanks for letting me know. The fix will be in version 4.16.
I think the best thing to do in the output is to generate both PY and DA tags, as in:
PY - 1958
DA - 1958//
Unless this causes a problem for programs that consume RIS-formatted files.
Chris.
Yes, including both tags seems good to me.
FWIW, refbase currently only recognizes PY, though future refbase releases will probably prefer DA over PY (if present). So including both is fine for us.
Thanks again,
Matthias
This should now be fixed in version 4.16. I'll chalk up this bug to me learning how to use but not abuse my version control system.
Chris.