Return to Index

[download | view]

Posner Memorial Collection (posner)

Description

The Posner Memorial Collection is one of Carnegie-Mellon University Library's special collections, consisting of rare and interesting books acquired by Henry Posner, Sr.

It is not clear whether or not Carnegie-Mellon University claims copyright on the scans. However, there appear to be quite a few books that were published during or after 1923, which means they might still be under copyright. The following note is posted on the collection's website:

Use of the Posner Collection is intended for educational purposes only. Users are warned that copyright laws may restrict the use of these images. Permissions for commercial use or publication should be obtained from the copyright holders.

Formats

The posner module supports the following download formats:

-f value

Description

image

Pages are returned as one JPEG image per page.

ID

The ID is the call number of the book. To get the ID, browse to the desired book and then find the portion of the URL that has "call=XXX_XXXX". For example:

http://posner.library.cmu.edu/Posner/books/book.cgi?call=220_H31F

The ID for this book is 220_H31F.

History

Module Printout

# posner : Posner Memorial Collection#
# 
# This module will allow you to download page images from
# the Posner Memorial Collection site. See the documentation
# for additional details

$module_default_format = "image";

%module_formats = (
  'image'  => 'jpg',
  'jpg'    => 'jpg',
  'jpeg'   => 'jpg',
);


$module_format = module_check_format($module_default_format,keys(%module_formats));
$config{'ext'} = $module_formats{$module_format};

$module_url{'plistbase'} = "http://posner.library.cmu.edu/Posner/books/CALL5/$idno/vol0/part0/copy0/jpg/lg/";

print_v("Getting page listing... (".$module_url{'plistbase'}.")");
$res = $ua->get($module_url{'plistbase'});

$module_url{'imagebase'} = $module_url{'plistbase'};


$res->content =~ m!(\d+)-lg\.jpg</A>[^<]+<IMG SRC="/icons/folder!s;
$module_available_high = $1;
print_v("This volume has $module_available_high pages...");

$module_actual_high = module_set_limit($module_available_high);


foreach $module_i ( $config{'start'} .. $module_actual_high ) {
  $module_i = sprintf("%04d",$module_i);
  $module_image_url = $module_url{'imagebase'}.$module_i."-lg.".$config{'ext'};
  print_v("Image URL: $module_image_url");
  push(@urls,$module_image_url);
}

Valid XHTML 1.0! Valid CSS! PDA Friendly