« blib/lib/Keystone/Resolver/plugins/ID/info/oclcnum.pm
↑ Summary
blib/lib/Keystone/Resolver/plugins/ID/mailto.pm »
| 1 | # $Id: pmid.pm,v 1.2 2007-01-26 13:53:48 mike Exp $ | ||
| 2 | |||
| 3 | package Keystone::Resolver::plugins::ID::info::pmid; | ||
| 4 | |||
| 5 | use strict; | ||
| 6 | use warnings; | ||
| 7 | |||
| 8 | |||
| 9 | sub data { | ||
| 10 | my $class = shift(); | ||
| 11 | my($openurl, $pmid) = @_; | ||
| 12 | |||
| 13 | # There's a PubMed search interface at | ||
| 14 | # http://www.ncbi.nlm.nih.gov/entrez/query.fcgi | ||
| 15 | # but it would be a pain to write a scaper, plus invoking one | ||
| 16 | # would radically slow down the resolver. So let's not. | ||
| 17 | |||
| 18 | return (undef, undef, undef, "Resolution of PubMed IDs is unsupported", 1); | ||
| 19 | } | ||
| 20 | |||
| 21 | |||
| 22 | 1; | ||
| 23 |