Remote browser screen capture with Rials?

Hi everyone,

Does anyone know of a solution that will work with Rails that can capture remote screen shots of website a.k.a Magnolia, DZone etc?

Thanks,
Schalk

Schalk Neethling wrote:

Hi everyone,

Does anyone know of a solution that will work with Rails that can capture remote screen shots of website a.k.a Magnolia, DZone etc?

I would use Curl, Wget, Rio, or Net::HTTP to pull in the page (and its dependencies), then I would Google for "html to thumbnail", find a shell command that works, and shell to it. A good thumbnailer will let you set the dimensions to very large, for a screen shot not a thumbnail.

May I ask if you are acceptance testing that target website?

Hi there Philip,

Thanks for the info. These looks promising:
http://ruby-gnome2.sourceforge.jp/hiki.cgi?Ruby/GtkMozEmbed
http://mirko.lilik.it/Ruby-GNOME2/moz-snapshooter.rb

Regarding acceptance testing, so you mean the websites that I want to
capture or the website doing the capturing?

Thanks,
Schalk

Phlip wrote:

Schalk Neethling wrote:

Hi there Philip,

Thanks for the info. These looks promising:
http://ruby-gnome2.sourceforge.jp/hiki.cgi?Ruby/GtkMozEmbed
http://mirko.lilik.it/Ruby-GNOME2/moz-snapshooter.rb

Does Moz imply they invoke the Mozilla/Netscape/Firefox web browser? Ain't that too heavy?

Hi Philip,

I am guessing it must be the mozilla engine. I saw another one that uses
webkit but it seems that the server needs to run the Mac OS.

Regards,
Schalk

Phlip wrote:

Schalk,

The guys from Pagestacker.com did just that. Talk to them, they are
very friendly...

Cheers, Sazima