commit 4c45a25c3566e380a6936a63da248f6dca50fe73
parent ad3d5faddcea69f81bdbc2ce34d2e0ddce5e4768
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 21 Sep 2009 08:11:42 +0000
Closes #1554, Add non-standard mime types to improve RIS handling
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/mimeTypeHandler.js b/chrome/content/zotero/xpcom/mimeTypeHandler.js
@@ -49,6 +49,16 @@ Zotero.MIMETypeHandler = new function () {
if(Zotero.Prefs.get("parseEndNoteMIMETypes")) {
this.addHandler("application/x-endnote-refer", Zotero.Ingester.importHandler, true);
this.addHandler("application/x-research-info-systems", Zotero.Ingester.importHandler, true);
+ //
+ // And some non-standard ones
+ //
+ this.addHandler("text/x-research-info-systems", Zotero.Ingester.importHandler, true);
+ // Nature uses this one
+ this.addHandler("text/application/x-research-info-systems", Zotero.Ingester.importHandler, true);
+ // Cell uses this one
+ this.addHandler("text/ris", Zotero.Ingester.importHandler, true);
+ // Not even trying
+ this.addHandler("ris", Zotero.Ingester.importHandler, true);
}
this.addHandler("text/x-csl", function(a1, a2) { Zotero.Styles.install(a1, a2) });
}