Wright American Fiction (WAF) is a collection of 19th century American fiction, as listed in Lyle Wright's bibliography American Fiction, 1851-1875. WAF is hosted by the Indiana University Digital Library Program.
WAF does not appear to have a copyright policy on it's pages; however, the Digital Library Program at Indiana University has the following statement:
The university is currently seeking means to clarify the rights of use of many materials accessible on its Web pages. Unless rights of use are clearly stated with respect to an individual item, users must seek permission from the copyright owner for all uses that are allowed by fair use and other provisions of the U.S. Copyright Act. If you need assistance with identifying or locating the copyright owner of a work, please contact the owner of the page from which you linked to this statement.
It is unclear as to whether or not their mechanically reproduced page images are eligible for copyright protection.
The wright module supports the following download formats:
-f value | Description |
|---|---|
Pages are returned as one PDF file per page. | |
image | Pages are returned as one GIF image per page. |
Note: When downloading images, each image is generated on the WAF server real-time. The script must access each page individually (i.e., send separate HTTP requests) first to generate the image, and then to download the generated image. When downloading PDF files, there is no need to send these extra HTTP requests.
This wright ID number is in the form 'Wright2-####' (without quotes), where # is a number. For example, the unique ID for Herman Melville's book of short stories 'The Piazza Tales' is 'Wright2-1702'.
You can find the ID number by navigating to the book you want to retrieve and then copying the link address (URL) from that book. In the URL, there is a portion that looks like:
idno=
The portion following that, and continuing to the next ampersand (&), is the ID.
# wright : Wright American Fiction
#
#
# This module will allow you to download page images from
# the Wright American Fiction site. See the documentation
# for additional details
$module_default_format = "pdf";
%module_formats = (
'image' => 'gif',
# 'gif' => 'gif',
'pdf' => 'pdf',
);
$module_format = module_check_format($module_default_format,keys(%module_formats));
$config{'ext'} = $module_formats{$module_format};
if ( $module_format eq "pdf" ) {
print_v("Renumbering pages!");
$config{'renum'} = 1;
}
$lcidno = lc($idno);
$module_url{'sitebase'} = "http://www.letrs.indiana.edu/";
$module_url{'plistbase'} = $module_url{'sitebase'}."cgi/t/text/pageviewer-idx?c=wright2;idno=$idno;page=pagenav";
$module_url{'imagebase'} = $module_url{'sitebase'}."cgi/t/text/pageviewer-idx?c=wright2;idno=$idno;size=l;view=$module_format;page=main;seq=";
$module_url{'touchbase'} = $module_url{'sitebase'}."t/text/gifcvtdir/$lcidno/";
print_v("Getting page listing... (".$module_url{'plistbase'}.")");
$res = $ua->get($module_url{'plistbase'});
if ( $res->is_error ) {
print STDERR "Could not get page listing\n".$res->status_line;
exit();
}
$res->content =~ m!<option value="(\d+)">.+?</option>\n</select>!;
$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_image_url = $module_url{'imagebase'}.$module_i;
if ( $module_format eq "pdf" ) {
push(@urls,$module_image_url);
print_v("PDF URL: $module_image_url");
}
else {
$module_j = sprintf("%08d",$module_i);
$module_touch_url = $module_image_url;
$module_image_url = $module_url{'touchbase'}."$module_j.tifl.gif";
print_v("Touch URL: $module_touch_url");
print_v("Touch URL: $module_image_url");
push(@touchurls,$module_touch_url);
push(@urls,$module_image_url);
}
}