#!/usr/local/bin/perl -w
# ***
# *** CGI script: static PDOS publication list
# *** Eddie Kohler, June 10, 1999
# ***
# *** Take a look at PDOSBib.pm
# *** to change things like people's URLs
# *** and how different bibliography entries are generated
# ***
# *** Take a look at PDOSCGI.pm
# *** to change where files are located
# ***
#use lib '/home/am0/httpd/htdocs/pdosbib';
use BibTeX;
use PDOSBib;
use PDOSCGI;
sub do_entries () {
my($section, $key, $d);
foreach $section (@sections) {
# print section header
print '
\n";
# print all papers in that section
foreach $key (@{$e->{'_'}}) {
$d = BibTeX::expand($e, $key);
next if dont_print($d) || $d->{'www_section'} ne $section;
print htmlize_entry $d;
}
print "