commit ca57ca58571eb01911cc4b9542fe6ca8ba99c45f
parent c64f56d31be6ea7b2a5c56cb554854df487eb723
Author: Avram Lyon <ajlyon@gmail.com>
Date: Sun, 3 Apr 2011 19:44:25 +0000
Trans: Correction to all-caps journal names in SIRSI
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/translators/ISI Web of Knowledge.js b/translators/ISI Web of Knowledge.js
@@ -73,6 +73,9 @@ function doWeb(doc, url) {
} else if (field == "TI") {
item.title = content;
} else if (field == "SO") {
+ // People say ISI is bad about being all-caps; let's try this for now
+ // http://forums.zotero.org/discussion/17316
+ if (content.toUpperCase() == content) Zotero.Utilities.capitalizeTitle(content.toLowerCase(), true);
item.publicationTitle = content;
} else if (field == "SN") {
item.ISSN = content;
@@ -110,4 +113,4 @@ function doWeb(doc, url) {
item.attachments = [{url:item.url, title:"ISI Web of Knowledge Snapshot", mimeType:"text/html"}];
item.complete();
}
-}
-\ No newline at end of file
+}