commit 0e90e8efe75e00abc822263f29495e784bc27673
parent 24fc8d129214e805d866f707a8ac1d31475a666a
Author: Avram Lyon <ajlyon@gmail.com>
Date: Thu, 2 Dec 2010 20:51:42 +0000
Trans: Add support for early edition in Highwire 2.0, per http://forums.zotero.org/discussion/15429
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/translators/Highwire 2.0.js b/translators/Highwire 2.0.js
@@ -2,7 +2,7 @@
"translatorID":"8c1f42d5-02fa-437b-b2b2-73afc768eb07",
"label":"Highwire 2.0",
"creator":"Matt Burton",
- "target":"(content/([0-9]+/[0-9]+|current|firstcite)|search\\?submit=|search\\?fulltext=|cgi/collection/.+)",
+ "target":"(content/([0-9]+/[0-9]+|current|firstcite|early)|search\\?submit=|search\\?fulltext=|cgi/collection/.+)",
"minVersion":"1.0.0b4.r5",
"maxVersion":"",
"priority":100,
@@ -47,7 +47,7 @@ function detectWeb(doc, url) {
url.match("content/firstcite")
) {
return "multiple";
- } else if (url.match("content/[0-9]+")) {
+ } else if (url.match("content/(early/)?[0-9]+")) {
return "journalArticle";
}
}