RIS importing problem
Using the new IEEE Xplore input filter (great addition!), Zotero (1.0.0b3.r1) grabs bibliography data from an Endnote file (.RIS). For a conference paper, the item is misclassified as a book, and the conference title is missing. Here is an example RIS file for a conference paper:
TY - CONF
JO - Power Engineering Society General Meeting, 2005. IEEE
TI - Numerical algorithm for fault distance calculation and blocking unsuccessful reclosing onto permanent faults
IS -
SN -
SP - 757
EP - 762 Vol. 1
AU - Radojevic, Z.M.
AU - Lee, C.J.
AU - Shin, J.R.
AU - Park, J.B.
PY - 2005
KW - arcs (electric)
KW - fault location
KW - numerical analysis
KW - power transmission faults
KW - power transmission lines
KW - power transmission protection
KW - spectral analysis
KW - adaptive autoreclosure
KW - arc voltage amplitude
KW - distance protection
KW - electric arc
KW - fault distance calculation
KW - fault location
KW - numerical spectral domain algorithm
KW - permanent arcless fault
KW - transient arcing fault
KW - unsuccessful automatic reclosing
VL -
JA - Power Engineering Society General Meeting, 2005. IEEE
AB - This paper presents a new numerical spectral domain ... truncated
ER -
TY - CONF
JO - Power Engineering Society General Meeting, 2005. IEEE
TI - Numerical algorithm for fault distance calculation and blocking unsuccessful reclosing onto permanent faults
IS -
SN -
SP - 757
EP - 762 Vol. 1
AU - Radojevic, Z.M.
AU - Lee, C.J.
AU - Shin, J.R.
AU - Park, J.B.
PY - 2005
KW - arcs (electric)
KW - fault location
KW - numerical analysis
KW - power transmission faults
KW - power transmission lines
KW - power transmission protection
KW - spectral analysis
KW - adaptive autoreclosure
KW - arc voltage amplitude
KW - distance protection
KW - electric arc
KW - fault distance calculation
KW - fault location
KW - numerical spectral domain algorithm
KW - permanent arcless fault
KW - transient arcing fault
KW - unsuccessful automatic reclosing
VL -
JA - Power Engineering Society General Meeting, 2005. IEEE
AB - This paper presents a new numerical spectral domain ... truncated
ER -
// TODO: figure out if these are the best types for letter, interview, webpage
var typeMap = {
book:"BOOK",
bookSection:"CHAP",
conferencePaper:"CONF", //// added
journalArticle:"JOUR",
magazineArticle:"MGZN",
newspaperArticle:"NEWS",
thesis:"THES",
letter:"PCOMM",
manuscript:"PAMP",
interview:"PCOMM",
film:"MPCT",
artwork:"ART",
webpage:"ELEC"
};
// supplements outputTypeMap for importing
// TODO: BILL, CASE, COMP, CONF, DATA, HEAR, MUSIC, PAT, SOUND, STAT
var inputTypeMap = {
ABST:"journalArticle",
ADVS:"film",
CONF:"conferencePaper", //// added
CTLG:"magazineArticle",
GEN:"book",
INPR:"manuscript",
JFULL:"journalArticle",
MAP:"artwork",
PAMP:"manuscript",
RPRT:"book",
SER:"book",
SLIDE:"artwork",
UNBILL:"manuscript",
VIDEO:"film"
};
....
function completeItem(item) {
// if backup publication title exists but not proper, use backup
// (hack to get newspaper titles from EndNote)
if(item.backupPublicationTitle) {
if(!item.publicationTitle) {
item.publicationTitle = item.backupPublicationTitle;
}
item.backupPublicationTitle = undefined;
}
if(item.itemType == "conferencePaper") { //// these three lines added
item.conferenceName = item.publicationTitle;
}
item.complete();
}
TI (Book Title) does not get imported for Item Type ("Book Section").