OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki


OJS Plugin: CrossRef CitedBy linking

The Plugin Gallery is a venue for users of PKP software to share their plugins.

Moderators: jmacgreg, michael, John

Forum rules
If you post a plugin here, please include information on which versions of which applications it is compatible with. Attach a tarball of the plugin (e.g. tar cvzf myPlugin-0.1.tar.gz plugins/generic/myPlugin). Thanks for contributing!

OJS Plugin: CrossRef CitedBy linking

Postby Tadas » Mon May 23, 2011 4:14 am

This plugin provides CitedBy linking from CrossRef XML and shows it like this: http://www.btp.vgtu.lt/index.php/btp/ar ... .9.215-220
It works using DOI's.

Author: Tadas Pocius
Software: OJS
Multilingual: yes (en_us, lt - included)
Versions: 2.2+
Requirements:
1. Must have login and password from crossref citedby-linking (http://www.crossref.org/06members/cited ... ignup.html)
2. Must put hook {call_hook name="citedby"} in templates/article/article.tpl where you want to see plugin.

Version 1.0. April, 2011.
UPDATED: Version 1.0.1.0. June, 2011
Changes:
* Code changes;
* Access to CrossRef provided XML changes as CrossRef changed date format for request.

To do:
* Make non-static XML parser.
* Make customizable interface to select what data should be.
* Make interface through .tpl.
Attachments
CitedBy.gz
CitedBy v1.0.1.0
(4.71 KiB) Downloaded 259 times
Tadas P.
Vilnius Gediminas Technical University
Tadas
 
Posts: 23
Joined: Fri Jan 28, 2011 3:02 am

Re: OJS Plugin: CrossRef CitedBy linking

Postby Tadas » Mon Jun 06, 2011 3:11 am

Updated to v1.0.1.0
Tadas P.
Vilnius Gediminas Technical University
Tadas
 
Posts: 23
Joined: Fri Jan 28, 2011 3:02 am

Re: OJS Plugin: CrossRef CitedBy linking

Postby aleskl » Tue Jun 07, 2011 2:45 am

Your plugin looks excellent! But before I install it I would like to know how it behaves if there are no citations? I would prefer that in that case it shows nothing, including "Cited by" title.
aleskl
 
Posts: 67
Joined: Mon Apr 11, 2011 7:08 am

Re: OJS Plugin: CrossRef CitedBy linking

Postby Tadas » Tue Jun 07, 2011 4:22 am

if there is no citation it shows nothing, for example this one has no citations: http://www.btp.vgtu.lt/index.php/btp/ar ... tp.2011.01
Tadas P.
Vilnius Gediminas Technical University
Tadas
 
Posts: 23
Joined: Fri Jan 28, 2011 3:02 am

Re: OJS Plugin: CrossRef CitedBy linking

Postby thebigaym » Thu Jan 19, 2012 9:00 am

Is there a web page which contains link to download latest version and get more information for the plugin CrossRef CitedBy?
thebigaym
 
Posts: 45
Joined: Thu Apr 09, 2009 8:25 am

Re: OJS Plugin: CrossRef CitedBy linking

Postby jmacgreg » Sat Jan 28, 2012 3:01 pm

Hi thebigaym,

This is the only place you can get the plugin, currently.

Cheers,
James
James MacGregor
PKP Support Team
--
Questions? Before posting, please try:
Advanced Forums Search
OJS and OCS Documentation
Video Tutorials

Visit #PKP on IRC!
jmacgreg
 
Posts: 4153
Joined: Tue Feb 14, 2006 10:50 am

Re: OJS Plugin: CrossRef CitedBy linking

Postby aleskl » Thu Oct 04, 2012 2:33 am

Hi Tadas!
I tried to use Cited-by plugin in OJS 2.4.1, but apparently it produces these errors:
Code: Select all
[Thu Oct 04 11:17:37 2012] [error] [client 88.200.26.11] ojs2 has produced an error\n  Message: WARNING: Missing argument 4 for GenericPlugin::manage(), called in /var/www/html/ojs/plugins/generic/CitedBy/CitedByPlugin.inc.php on line 232 and defined\n  In file: /var/www/html/ojs/lib/pkp/classes/plugins/GenericPlugin.inc.php\n  At line: 57\n  Stacktrace: \n  Server info:\n   OS: Linux\n   PHP Version: 5.3.3\n   Apache Version: Apache/2.2.3 (CentOS)\n   DB Driver: mysql\n   DB server version: 5.0.95, referer: http://www.ias-iss.org/ojs/IAS/manager/plugins/generic
[Thu Oct 04 11:17:44 2012] [error] [client 88.200.26.11] ojs2 has produced an error\n  Message: WARNING: Missing argument 4 for GenericPlugin::manage(), called in /var/www/html/ojs/plugins/generic/CitedBy/CitedByPlugin.inc.php on line 232 and defined\n  In file: /var/www/html/ojs/lib/pkp/classes/plugins/GenericPlugin.inc.php\n  At line: 57\n  Stacktrace: \n  Server info:\n   OS: Linux\n   PHP Version: 5.3.3\n   Apache Version: Apache/2.2.3 (CentOS)\n   DB Driver: mysql\n   DB server version: 5.0.95, referer: http://www.ias-iss.org/ojs/IAS/manager/plugin/generic/citedbyplugin/settings
[Thu Oct 04 11:17:52 2012] [error] [client 88.200.26.11] ojs2 has produced an error\n  Message: WARNING: Missing argument 4 for GenericPlugin::manage(), called in /var/www/html/ojs/plugins/generic/CitedBy/CitedByPlugin.inc.php on line 232 and defined\n  In file: /var/www/html/ojs/lib/pkp/classes/plugins/GenericPlugin.inc.php\n  At line: 57\n  Stacktrace: \n  Server info:\n   OS: Linux\n   PHP Version: 5.3.3\n   Apache Version: Apache/2.2.3 (CentOS)\n   DB Driver: mysql\n   DB server version: 5.0.95, referer: http://www.ias-iss.org/ojs/IAS/manager/plugins/generic
[Thu Oct 04 11:20:17 2012] [error] [client 88.200.26.11] PHP Fatal error:  Call to undefined method PublishedArticle::getDOI() in /var/www/html/ojs/plugins/generic/CitedBy/CitedByPlugin.inc.php on line 124, referer: http://www.ias-iss.org/ojs/IAS/issue/view/118
[Thu Oct 04 11:20:26 2012] [error] [client 88.200.26.11] PHP Fatal error:  Call to undefined method PublishedArticle::getDOI() in /var/www/html/ojs/plugins/generic/CitedBy/CitedByPlugin.inc.php on line 124, referer: http://www.ias-iss.org/ojs/IAS/index
[Thu Oct 04 11:25:06 2012] [error] [client 88.200.26.11] ojs2 has produced an error\n  Message: WARNING: Missing argument 4 for GenericPlugin::manage(), called in /var/www/html/ojs/plugins/generic/CitedBy/CitedByPlugin.inc.php on line 232 and defined\n  In file: /var/www/html/ojs/lib/pkp/classes/plugins/GenericPlugin.inc.php\n  At line: 57\n  Stacktrace: \n  Server info:\n   OS: Linux\n   PHP Version: 5.3.3\n   Apache Version: Apache/2.2.3 (CentOS)\n   DB Driver: mysql\n   DB server version: 5.0.95, referer: http://www.ias-iss.org/ojs/IAS/manager/plugins/generic
[Thu Oct 04 11:25:07 2012] [error] [client 88.200.26.11] ojs2 has produced an error\n  Message: WARNING: Invalid argument supplied for foreach()\n  In file: /var/www/html/ojs/lib/pkp/classes/notification/PKPNotificationManager.inc.php\n  At line: 235\n  Stacktrace: \n  Server info:\n   OS: Linux\n   PHP Version: 5.3.3\n   Apache Version: Apache/2.2.3 (CentOS)\n   DB Driver: mysql\n   DB server version: 5.0.95, referer: http://www.ias-iss.org/ojs/IAS/manager/plugins/generic
[Thu Oct 04 11:25:07 2012] [error] [client 88.200.26.11] ojs2 has produced an error\n  Message: WARNING: Invalid argument supplied for foreach()\n  In file: /var/www/html/ojs/lib/pkp/classes/notification/PKPNotificationManager.inc.php\n  At line: 235\n  Stacktrace: \n  Server info:\n   OS: Linux\n   PHP Version: 5.3.3\n   Apache Version: Apache/2.2.3 (CentOS)\n   DB Driver: mysql\n   DB server version: 5.0.95, referer: http://www.ias-iss.org/ojs/IAS/manager/plugins/generic

also the {call_hook name="citedby"} in templates/article/article.tpl doesn't show any output, it terminates the template rendering (nothing is shown on the page from the position of the hook down).

Do you know if the plugin is incompatible with the new OJS version? But if I remember correctly, the same errors were produced also in OJS 2.3.6.

Kind regards,
Ales
aleskl
 
Posts: 67
Joined: Mon Apr 11, 2011 7:08 am


Return to Plugin Gallery

Who is online

Users browsing this forum: No registered users and 1 guest