bofh-0.4 (Barcodes-on-the-fly helper) now available

2006-03-01 Thread Ben Ostrowsky
Thanks to Greg Barniskis, the PDF barcode generator is working on our new web server and is more portable and better documented (internally, at least) than before. http://www.tblc.org/barcodes/ Regards, Ben Ostrowsky

Re: Filing-rules sort subroutine for authors' names?

2004-07-26 Thread Ben Ostrowsky
Andy Houghton wrote: Don't confuse ALA filing rules with NACO normalization rules. If you are trying to compare two author names you should use the NACO normalization rules [1]. If you are trying to sort the headings into order then use the filing rules [2]. We're trying to get a shelf list, and w

Filing-rules sort subroutine for authors' names?

2004-07-26 Thread Ben Ostrowsky
Hey guys -- Just a sanity check: is it really possible to create a Perl subroutine that would compare two authors being sorted and enforce the ALA filing rules? I haven't read 'em, but I'd imagine that some sort of real-world knowledge might be called for. Ben

Re: HTML::Parser walkthrough?

2004-01-28 Thread Ben Ostrowsky
Thanks to everyone who helped me! Here's how I finally did it: #!/usr/bin/perl -w use strict; use LWP::Simple; my $html = get("http://weather.noaa.gov/weather/current/KVDF.html";) or die"0\n0\n"; $html =~ m/Temperature.* (.*) F \((.*) C\).* Dew Point/s or die "0\n0\n"; # yeah, it's a bit of a k

HTML::Parser walkthrough?

2004-01-26 Thread Ben Ostrowsky
I'm trying to build a script that will go to a NOAA web page, find the current temperature, and return just that information. If the first TABLE in the document is TABLE[0], then the data I want is, I think, at: HTML > BODY > TABLE[3] > TR[7] > TD[1] But how can I use Perl to get the contents