Bug 2775 - Google Scholar XML file reports wrong publication dates
Google Scholar XML file reports wrong publication dates
Status: RESOLVED FIXED
Product: OJS
Classification: Unclassified
Component: Plug-ins
2.2
All All
: P1 normal
Assigned To: PKP Support
http://pkp.sfu.ca/cvs/cvsweb.cgi/ojs2...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-06 11:59 PDT by Martin J. Osborne
Modified: 2007-04-06 12:20 PDT (History)
0 users

See Also:
Version Reported In:
Also Affects:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin J. Osborne 2007-04-06 11:59:17 PDT
The XML file the Google Scholar plugin creates reports the publication date of every article to be the publication date of the last article.  The line
$pubDateNode = XMLCustomWriter::createElement($document, 'pub-date');
in GoogleScholarPlugin.inc.php should be
$pubDateNode = & XMLCustomWriter::createElement($document, 'pub-date');
(i.e. the '&' is missing).
Comment 1 Alec Smecher 2007-04-06 12:20:34 PDT
Fixed. Thanks, Martin.