[Gllug] Browser tricks
Simon Stewart
sms at lateral.net
Wed Jul 31 12:50:28 UTC 2002
On Wed, Jul 31, 2002 at 02:34:30PM +0200, John Hearns wrote:
> 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 have a horrible feeling I know where you're going with this one.
> As I recall, there are lots of CPAN modules for this.
Will have a poke about.
> And look in Chapter 20 of the Perl Cookbook.
>
> (will email with something more useful when I've had a quick skim)
I don't want to download the HTML. I want to visit a webpage at
certain times using a cronjob, render the page in Gecko and then save
the resulting image. It's the image of the whole page, and not just
one image within the page.
Cheers,
Simon
--
"If my son wants to be a pimp when he grows up, that's fine with me. I
hope he's a good one and enjoys it and doesn't get caught. I'll support
him in this. But if he wants to be a network administrator, he's out of
the house and not part of my family." Steve Wozniak, http://www.woz.org
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list