patches for UserAgent/*

E.L. Willighagen e.willighagen at science.ru.nl
Wed Aug 18 13:49:51 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 18 August 2004 13:41, Joost van Baal wrote:
> > On Browser.pm:
> >
> > It did not recognize recent browsers, like Firefox, Epiphany or Safari...
> > Nor did it recognize Java VM's that can retrieve over HTTP... The test
> > for 'gecko' is no longer valid marker for Mozilla browsers, as there are
> > many browsers based on the Gecko engine, *like* Mozilla... but that does
> > not make them Mozilla...
>
> Did you sent this patch to the AWStats maintainers too?

No. The Browser.pm in CVS was very old... I think AWStats will be much more 
uptodate...

> > On OS.pm:
> >
> > After some heavy debugging, I found that the keys method for hashes does
> > not return them in order in which entered in the hashtable... and it
> > turned out that x11 ("Unknown X11 System") was tested before things like
> > "linux" :( Therefor, I separate these more generic types into a separate
> > hash.
>
> This one didn't apply cleanly to the version in CVS: $Id: OS.pm,v 1.1
> 2004/05/24 15:24:33 flacoste Exp $ .  After some tweaking it applied.
>
> > On Robot.pm:
> >
> > Robots which user agent string started with "Mozilla/x.0_(compatible"
> > were never recognized as assumed to always be browsers, instead of
> > robots... I a local log I found two exceptions: "Yahoo! Slurp" and
> > "Grub.org" which is a distributed crawler... Because of these two (and
> > likely more) exceptions, I made a new hash for these kind of robots that
> > mimick a true browser... Furthermore, I added 4 robots found in this
> > local log, which were not available in the perl module...
>
> Did you sent this to the http://www.robotstxt.org/wc/active.html
> maintainer, Martijn Koster?

No.

> > I have not checked wether I still have CVS write access, but otherwise,
> > consider these patches GPL (that's the Lire license, correct?) and I
> > hereby transfer any copyright on these patches to the foundation.
>
> OK.
>
> > PS. the new HTML output is not in 1.5, is it?
>
> I believe not, it's planned for Lire 2.0.  See
> http://logreport.org/lire/roadmap-2.0.php .  It is in CVS though, IIRC.

Ok, I'd seen screenshots, but did not remember that was before or after 1.5...

> Thanks a _lot_ for the patches, I've just applied them.  They'll get
> distributed with Lire 2.0 which is expected to get shipped within a
> couple of weeks.

Ack.

Egon

- -- 
e.willighagen at science.ru.nl
PhD on Molecular Representation in Chemometrics
Radboud University, Nijmegen
http://www.cac.science.ru.nl/people/egonw/
GPG: 1024D/D6336BA6

"Again a chemist did something useful with a computer"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (SunOS)

iD8DBQFBI0JZd9R8I9Yza6YRAiQ9AJ9gKkqH44la60ruUwhp0VcjZXQmsACfWWlA
XOlpzjLwgZ6JRIdHrLMpenQ=
=NqH8
-----END PGP SIGNATURE-----

-- 
To UNSUBSCRIBE, email to development-request at logreport.org with a subject of
"unsubscribe". Trouble? Send an email with subject "help" to
development-request at logreport.org




More information about the Development mailing list