| 1 | # $Id: JVP.pm,v 1.2 2007-01-26 13:53:47 mike Exp $ | ||
| 2 | |||
| 3 | package Keystone::Resolver::plugins::Citation::JVP; | ||
| 4 | |||
| 5 | use strict; | ||
| 6 | use warnings; | ||
| 7 | |||
| 8 | |||
| 9 | sub citation { | ||
| 10 | my $class = shift(); | ||
| 11 | my($openurl) = @_; | ||
| 12 | |||
| 13 | my($aulast, $auinit, $date, $atitle, $jtitle, $volume, $spage, $epage) | ||
| 14 | = map { $openurl->rft($_) || "[UNKNOWN-$_]" } | ||
| 15 | qw(aulast auinit date atitle jtitle volume spage epage); | ||
| 16 | |||
| 17 | $auinit =~ s/\.$//; | ||
| 18 | return "$aulast, $auinit. $date. $atitle. $jtitle $volume:$spage-$epage"; | ||
| 19 | } | ||
| 20 | |||
| 21 | |||
| 22 | 1; |