Difference between revisions of "Files/HackParacite"

From EPrints Documentation
Jump to: navigation, search
Line 1: Line 1:
== A better Paracite (the 'SEEK' botton) ==
== A better Paracite (the 'SEEK' botton) ==

Revision as of 14:40, 8 February 2010

A better Paracite (the 'SEEK' botton)

Eprints 2 tries to parse citation to search the citeted work into internet. The pieces of code used are the cgi paracite (the file your_basic_Eprints2_dir/cgi/paracite) and the Paratools modules (the modules in your_basic_Eprints2_dir/perl_lib/ParaTools).

You see the result clicking the 'SEEK' botton near the citation

Parse a citation is a very difficult task and many times the results is poor and you don't find anything. So we thing that is a good option to extract the web link from the citation (if present) and to insert the link under the 'SEEK' botton.

You can download hack from from here: http://files.eprints.org/48/1/Cilea_paratools.tar.gz

Inside you find:


To use it: The package inherits Standard.pm and overrides parse() method in order to return a hash with 2 keys: type and value. If type field=0 the value field contains a metadata hash, else if type field=1 the value field contains a url.

To install it: this package is under the ParaTools::CiteParser so you have to copy it under the CiteParser directory in your Perl installation


To use it:This package is like the Paratools::OpenURL package but it has some features:

  • returns a URL if the reference contains a URL, otherwise it will return an OpenURL 1.0
  • returns an OpenURL using the identifier found in the metadata.

This package is compatible with TugnoliCilea.pm, in fact it uses the $metadata obtained using the parse() method of the module TugnoliCilea.pm.

To install it: this package is under the ParaTools so you have to copy it under the Paratools directory in your Perl installation


It is the cgi modified to use the new modules. Put it into the dir your_basic_Eprints2_dir/cgi/


It is a script to check the modules. To install: this script need the you set the -I parameter with your Eprints perl library.