adding abbriviation patch from Rintze
This commit is contained in:
parent
aa380262e0
commit
5a7f3b1500
1 changed files with 6 additions and 4 deletions
|
@ -93,13 +93,15 @@ function lookupPMIDs(ids, doc) {
|
|||
newItem.ISSN = issn;
|
||||
}
|
||||
|
||||
if(citation.MedlineJournalInfo.MedlineTA.length()) {
|
||||
newItem.journalAbbreviation = Zotero.Utilities.superCleanString(citation.MedlineJournalInfo.MedlineTA.text().toString());
|
||||
if(citation.Article.Journal.ISOAbbreviation.length()) {
|
||||
newItem.journalAbbreviation = Zotero.Utilities.superCleanString(citation.Article.Journal.ISOAbbreviation.text().toString());
|
||||
} else if(citation.MedlineJournalInfo.MedlineTA.length()) {
|
||||
newItem.journalAbbreviation = Zotero.Utilities.superCleanString(citation.MedlineJournalInfo.MedlineTA.text().toString());
|
||||
}
|
||||
// newItem.journalAbbreviation = Zotero.Utilities.superCleanString(citation.Article.Journal.ISOAbbreviation.text().toString());
|
||||
|
||||
if(article.Journal.Title.length()) {
|
||||
newItem.publicationTitle = Zotero.Utilities.superCleanString(article.Journal.Title.text().toString());
|
||||
} else if(citation.MedlineJournalInfo.MedlineTA.length()) {
|
||||
} else if(newItem.journalAbbreviation.length()) {
|
||||
newItem.publicationTitle = newItem.journalAbbreviation;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue