[Gllug] Browser tricks
John Hearns
john.hearns at cern.ch
Wed Jul 31 12:34:30 UTC 2002
On Wed, 2002-07-31 at 14:21, Simon Stewart wrote:
> One of my users has just asked me if it's possible to automatically go
> to a website and grab the rendered output as a PNG, GIF or JPEG. This
> means that they just want to fire off a cron job (say) to collect the
> rendered output of a web page without having to go to the site and
> grab the window itself by hand.
>
> Before I hurl myself bodily into scripting Mozilla, does anyone know
> of a tool that can already do this?
>
Perl is your friend here.
I once had the idea of having weather maps printed off for me when
I get up in the morning (or rather Philippa)
but as we have an inkjet at home, the noise would be too much early
in the morning.
As I recall, there are lots of CPAN modules for this.
And look in Chapter 20 of the Perl Cookbook.
(will email with something more useful when I've had a quick skim)
I also guess Python-ists will be able to do this in two lines.
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list