This code may not even work at this point still, but I'm getting
it out in a collab branch and will continue to hack on it.
Signed-off-by: Jeff Godin <jgodin@tadl.org>
my $keyhash;
my $cachekey;
+ # Intended URL formats
+ # /opac/extras/ac/jacket/medium/ISBN_VALUE -- classic keyed-off-isbn
+ # /opac/extras/ac/jacket/medium/r/RECORD_ID -- provide record id (bre.id)
+ # /opac/extras/ac/jacket/medium/m/RECORD_ID -- future use for metarecord id
+
if ($keypart1 =~ m/^(r|m)$/) {
+ # XXX: metarecord not yet supported
$keytype = 'record';
} else {
$keytype = 'isbn';