Closes #1554, Add non-standard mime types to improve RIS handling
This commit is contained in:
parent
ad3d5faddc
commit
4c45a25c35
1 changed files with 10 additions and 0 deletions
|
@ -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) });
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue