Trans: Add support for early edition in Highwire 2.0, per http://forums.zotero.org/discussion/15429
This commit is contained in:
parent
24fc8d1292
commit
0e90e8efe7
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
"translatorID":"8c1f42d5-02fa-437b-b2b2-73afc768eb07",
|
"translatorID":"8c1f42d5-02fa-437b-b2b2-73afc768eb07",
|
||||||
"label":"Highwire 2.0",
|
"label":"Highwire 2.0",
|
||||||
"creator":"Matt Burton",
|
"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",
|
"minVersion":"1.0.0b4.r5",
|
||||||
"maxVersion":"",
|
"maxVersion":"",
|
||||||
"priority":100,
|
"priority":100,
|
||||||
|
@ -47,7 +47,7 @@ function detectWeb(doc, url) {
|
||||||
url.match("content/firstcite")
|
url.match("content/firstcite")
|
||||||
) {
|
) {
|
||||||
return "multiple";
|
return "multiple";
|
||||||
} else if (url.match("content/[0-9]+")) {
|
} else if (url.match("content/(early/)?[0-9]+")) {
|
||||||
return "journalArticle";
|
return "journalArticle";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue