|
Back to New Materials page
Back to Library
Catalog
EOM
#INSERT BIBLIOGRAPHIC INFORMATION
# LOOK AT EACH LINE OF THE REVIEW FILE
while ($line = )
{
$_ = $line ;
@line=split(/\^/,$line);
$rnum = @line[0];chop ($rnum);
$cnum = @line[1]; $title = "@line[2]";
$author = @line[3]; $pubinfo = @line[4]; $url = @line[6];
$subj = @line[5];
# PRINT OUT CALL NUMBER AND LINK TO RECORD IN THE OPAC.
# CHANGE "http://lis.wwu.edu" TO THE URL OF YOUR OWN OPAC.
print OUT "$cnum ";
foreach $item ($title, $author, $pubinfo, $subj)
{
if ($item ne undef)
{
if ($item =~ /~/)
{ &division($item)
}
else
{
print OUT "$item ";
}
}
}
if ($url ne undef)
{ print OUT "$url "
}
print OUT "";
}
sub division
{
{
@item = split(/~/,$item);
foreach $i (@item)
{
print OUT "$i ";
}
}
}
# INSERT FOOTER
# anything that you add between the EOM; and EOM will appear
# at the bottom of the HTML file that is created
print OUT <
Back to New Materials page
Back to Library
Catalog
| WWU
Home | Western Libraries |

|