Highwire 2.0 and PNAS "early edition" (fix provided)

The Highwire 2.0 translator was not detecting "early edition" PNAS articles published before printing. eg: http://www.pnas.org/content/early/2010/11/24/1010919108.abstract?etoc

All you need to do to fix it is to change part of the translator regex where it says "current|firstcite" to "current|firstcite|early", and change the elseif in detectWeb from:

} else if (url.match("content/[0-9]+")) {
return "journalArticle";

to

} else if (url.match("content/(early/)?[0-9]+")) {
return "journalArticle";
Sign In or Register to comment.