rft.tpages in COinS not took into account (Zotero 2.1b2)
I am importing some refereneces from COinS embed in HTML pages. The rft.tpages tag (indicating the total number of COinS) is not imported by Zoetro (using 2.1b2).
Regards
Regards
This is minor and should certainly make it into Zotero 2.1 final.
There is the same problem when importing a book from a RIS file. The total number of pages is defined with tag SP but is not imported by Zotero.
When importing a bib file, the pages tag is correctly imported by Zotero.
regards
@larmarange: What made you think that SP was correct for number of pages? Are there other programs that put it there? It would be good to see if this is common practice.
if(item.pages) {
if(item.itemType == "book") {
addTag("EP", item.pages);
This line of course is never executed, since book items don't have an "pages" attribute, but it looks like someone wanted to use EP for number of pages.
[Edit: This is in the export function of the translator.]
However, EndNote and ReferenceManager are both developed by Thomson Reuters.
Unfortunetaly, in the example section of RIS specifications, there is no example with a book.
Restart Zotero and see if the number of pages imports correctly.
noksagt, others: What about export? Should we abuse the spec ourselves and export with numPages as SP?
I saved RIS.js in my translators directory but number of pages was still not imported.
About export, maybe it would be a good thing to make a test with Reference Manager. If both Reference Manager and Endnote are using SP tags, it would be a good idea to export numPages as SP.
The specifications are unclear because they don't explain how to export the number of pages of a book. So, if Thomson's software are using this tag, we can consider that it is correct to use SP tags for books' total number of pages.
TY - BOOK
AU - Bachelard, Gaston
CY - Paris (FR)
ET - réimpression de la 7e édition Quadrige de 2006 (première édition en 1934)
PB - PUF
PY - 1934
SN - 2-13-054249-2
SP - 183
ST - Le Nouvel esprit scientifique
TI - Le Nouvel esprit scientifique
ID - 501
ER -
TY - BOOK
AU - Bourdieu, Pierre
AU - Chamboredon, Jean-Claude
AU - Passeron, Jean-Claude
CY - Paris-La Haye (FR)
ET - 2e édition révisée, première édition en 1968
PB - Mouton
PY - 1973
SP - 357
ST - Le Métier de sociologue : préalables épistémologiques
TI - Le Métier de sociologue : préalables épistémologiques
ID - 519
ER -
TY - BOOK
AU - Durkheim, Émile
CY - Paris (FR)
ET - 5e édition Quadrige, 1895 pour la première édition
L4 - 4059185408Durkheim 1990.pdf
PB - PUF
PY - 1990
SP - 149
ST - Les Règles de la méthode sociologique
T2 - Quadrige
TI - Les Règles de la méthode sociologique
UR - http://gallica.bnf.fr/ark:/12148/bpt6k20762v
ID - 518
ER -
TY - BOOK
AU - Hogarth, James
CY - Copenhague (DK)
L4 - 2600471297Hogarth 1977.pdf
PB - OMS Bureau régional de l'Europe
PY - 1977
SN - 9290202238
ST - Vocabulaire de la santé publique
T2 - La Santé publique en Europe
TI - Vocabulaire de la santé publique
UR - http://whqlibdoc.who.int/euro/phie/WHO_PHIE_4_fre.pdf
VL - 4
ID - 411
ER -
TY - BOOK
AU - Lakatos, Imre
CY - Paris (FR)
ET - édition française de 1994 traduite à partir de l'édition anglaise de 1986
PY - 1986
SN - 2-13-045599-9
SP - 268
ST - Histoire et Méthodologie des sciences
TI - Histoire et Méthodologie des sciences : programmes de recherche et reconstruction rationnelle
ID - 506
ER -
TY - BOOK
AU - Mann, Jonatahn M
AU - Tarantola, Daniel J M
CY - New York City, New York (US)
PB - Oxford University Press
PY - 1996
SP - 616
ST - AIDS in the World II
TI - AIDS in the World II
ID - 450
ER -
When importing from a COinS, Zotero import the number of pages if it is declared in a rft.pages tag but not if it is in a rft.tpages tag.
There is no specific tag in COinS to specify the type or the number of a report, but COinS accept a rft.series tag fand a rft.volume tag for a report. These two tags are not imported by Zotero when rft.genre=report.
About importing/exporting Report in RIS format : Zotero do not export nor import the type of report.
EndNote uses the M3 tag to specify the type of Report. Specifications are unclear about the M3 tag : It's still the same problem that the RIS specification is not precise about specific fields.
Best regards
Currently, Zotero use M3 tag for exporting/importing DOI of a journal article .
This tag is used by EndNote to specify the type of article, a specif tag (DO) existing for DOI. In RefMan Export style for ReferenceManager (ftp://support.isiresearchsoft.com/RefMan/Styles/Refman Export.os) the DO tag is also present.
The RIS specification don't explain how to specify a DOI.
Based on my review of the existing translators, it looks like EBSCOhost is the only one for which we currently look for DOI in the DO tag. If Endnote and RefMan use DO, I suppose we can look for it there as well.
As for concurring with Endnote and importing report type from M3 and exporting it there too, and importing and exporting DOI only in DO, I'm not sure. Are there any other good sources of RIS data we can compare with? If we can do it without breaking compatibility with other data sources that interpret the vague standard differently, I'm fine with it.
Regarding COinS:
My fix for rft.tpages has been submitted, but it hasn't landed yet, since it affects the core Zotero code (OpenURL -- and therefore COinS -- is in the core code).
What Zotero fields should rft.series and rft.volume map to in Zotero? Right now, they are being discarded since report items don't have corresponding fields. Fixing this is easy, but I'm not sure what behavior we want to see.