« blib/lib/Keystone/Resolver/plugins/Citation/JVP.pm
↑ Summary
blib/lib/Keystone/Resolver/plugins/ID/info/oclcnum.pm »
| 1 | # $Id: http.pm,v 1.2 2007-01-26 13:53:47 mike Exp $ | ||
| 2 | |||
| 3 | package Keystone::Resolver::plugins::ID::http; | ||
| 4 | |||
| 5 | use strict; | ||
| 6 | use warnings; | ||
| 7 | |||
| 8 | |||
| 9 | sub data { | ||
| 10 | my $class = shift(); | ||
| 11 | my($openurl, $http) = @_; | ||
| 12 | |||
| 13 | # I guess an HTTP ID is just a page that contains useful | ||
| 14 | # information on the referent. The simple thing in this case is | ||
| 15 | # probably also the correct thing: just return the ID itself as a | ||
| 16 | # result. | ||
| 17 | |||
| 18 | return ("http:$http", "http"); | ||
| 19 | } | ||
| 20 | |||
| 21 | |||
| 22 | 1; |