Mike Jewell > Biblio-Citation-Parser > Biblio::Citation::Parser::Jiao

Download:
citeparser/Biblio-Citation-Parser-1.10.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

Biblio::Citation::Parser::Jiao - citation parsing using Zhuoan Jiao's parsing module.

SYNOPSIS ^

  use Biblio::Citation::Parser::Jiao;
  # Parse a simple reference
  $parser = new Biblio::Citation::Parser::Jiao;
  $metadata = $parser->parse("M. Jewell (2002) Citation Parsing for Beginners. Journal of Madeup References 4(3).");
  print "The title of this article is ".$metadata->{atitle}."\n";

DESCRIPTION ^

Biblio::Citation::Parser::Jiao uses a reference parsing module written by Zhuoan Jiao (zj@ecs.soton.ac.uk). This is a good module to use if titles are not required (if they are in double-quotes they will be picked up, however).

For more information see: http://arabica.ecs.soton.ac.uk/code/doc/ref/Parser/about_Citation_module.html

The module has been repackaged to comply with the ParaCite metadata style and uses the Citation parser interface to preserve interoperability with the other modules.

METHODS ^

$parser = Biblio::Citation::Parser::Jiao->new()

The new() method creates a new parser.

$metadata = $parser->parse($reference, [$notrim]);

This method provides a wrapper to the functions within the Jiao module that carry out the parsing. Simply pass a reference string, and a metadata hash is returned. Note that this is trimmed to comply to OpenURL standards (thus removing some information that you may wish to keep). To prevent this from occurring, ensure that $notrim is non-zero.

AUTHOR ^

Original Author: Zhuoan Jiao <zj@ecs.soton.ac.uk>

Ported to Biblio interface by: Mike Jewell <moj@ecs.soton.ac.uk>

syntax highlighting: