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 419 times
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
 
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: 96
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
 
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
jmacgreg
 
Posts: 4186
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: 96
Joined: Mon Apr 11, 2011 7:08 am

Re: OJS Plugin: CrossRef CitedBy linking

Postby Garant » Fri Sep 13, 2013 4:05 am

Hi all!
Have something updated since that time or project is suspended?
Garant
 
Posts: 212
Joined: Wed May 30, 2012 8:53 am

Re: OJS Plugin: CrossRef CitedBy linking

Postby Garant » Sun Sep 15, 2013 11:51 pm

The same error:
Code: Select all
Fatal error: Call to undefined method PublishedArticle::getDOI() in /var/www/html/ojs/plugins/generic/CitedBy/CitedByPlugin.inc.php on line 124

Have anyone found the solution?
P.S. As I understand the
Code: Select all
$article->getDOI()
method inside the plugin is out of date and should be updated till new?
It should be changed to this?
Code: Select all
 $doi = $article->getStoredPubId('doi')

Am I right?

And one more additional question, which XML files with reference lists should be sent to CrossRef? Or this plugin makes everything automatically when DOI's are set?
Garant
 
Posts: 212
Joined: Wed May 30, 2012 8:53 am

Re: OJS Plugin: CrossRef CitedBy linking

Postby solty » Wed Jan 29, 2014 4:44 am

Hi,
Is there any correction and new version for this plugin?
Sincerely,
Last edited by solty on Wed Jan 29, 2014 5:23 am, edited 1 time in total.
solty
 
Posts: 140
Joined: Mon Mar 16, 2009 12:47 am
Location: Turkiye, İzmir

Re: OJS Plugin: CrossRef CitedBy linking

Postby aleskl » Wed Jan 29, 2014 5:18 am

Garant wrote:And one more additional question, which XML files with reference lists should be sent to CrossRef? Or this plugin makes everything automatically when DOI's are set?

As far as I know the Citation markup assistant doesn't have the proper format for Crossref references submission (under the Export citations tab). But I have only briefly used it, so I'm maybe missing something.

Regards,
Ales
aleskl
 
Posts: 96
Joined: Mon Apr 11, 2011 7:08 am

Re: OJS Plugin: CrossRef CitedBy linking

Postby Garant » Thu Apr 03, 2014 1:40 am

It seems that it doesn't work with 2.4.x :(
Garant
 
Posts: 212
Joined: Wed May 30, 2012 8:53 am

Re: OJS Plugin: CrossRef CitedBy linking

Postby darryl » Tue Apr 15, 2014 12:34 am

Hi Everyone,

I have the same problem on this cited by linking in crossref, I download the plugins, and upload to the OJS. but the problem is the plugins not shown in generic plugins?

can anyone help me? oh give me some idea? on how o implement on this?

regards,
Darryl
darryl
 
Posts: 75
Joined: Wed Jul 04, 2012 6:52 pm
Location: Cagayan de Oro , Misamis Oriental Philippines


Return to Plugin Gallery

Who is online

Users browsing this forum: Google [Bot] and 0 guests