« blib/lib/Keystone/Resolver/plugins/ID/http.pm
↑ Summary
blib/lib/Keystone/Resolver/plugins/ID/info/pmid.pm »
| 1 | # $Id: oclcnum.pm,v 1.1 2007-06-20 13:03:58 mike Exp $ | ||
| 2 | |||
| 3 | package Keystone::Resolver::plugins::ID::info::oclcnum; | ||
| 4 | |||
| 5 | use strict; | ||
| 6 | use warnings; | ||
| 7 | |||
| 8 | |||
| 9 | sub data { | ||
| 10 | my $class = shift(); | ||
| 11 | my($openurl, $oclcnum) = @_; | ||
| 12 | |||
| 13 | # We probably don't want to resolve an OCLC identifier to a | ||
| 14 | # reference into OCLC. We could look the identifier up in an OCLC | ||
| 15 | # database if we could find a nice remote API, but we're only | ||
| 16 | # likely to find OCLC IDs in OpenURLs generated by OCLC | ||
| 17 | # applications, in which case the application presumably already | ||
| 18 | # has access to the OCLC data and has given us all of it that it | ||
| 19 | # thinks we need. So there seems to be nothing useful to do here. | ||
| 20 | |||
| 21 | return (undef, undef, undef, "Resolution of OCLC IDs is unsupported", 1); | ||
| 22 | } | ||
| 23 | |||
| 24 | |||
| 25 | 1; | ||
| 26 |