Hi, I'm wondering if it's possible to use the Gecko layout engine to create a thumbnail of a web page from the command line without X or any GUI running.
I am looking to have this script running on a server where users will be able to see thumbnails of their own sites as a diagnostics tool, I've seen scripts that use Gtk to open a window before taking a screenshot but I need all of this done on the command line.
Does anyone know if this is currently possible or if I'm coming at this from the right angle?
Thanks,
--Neil
Command line web page thumbnailing?
- trolly
- Moderator
- Posts: 39851
- Joined: August 22nd, 2005, 7:25 am
Maybe this is of help:
http://forums.mozillazine.org/viewtopic.php?t=403614
http://forums.mozillazine.org/viewtopic.php?t=403614
Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
-
- Guest
- trolly
- Moderator
- Posts: 39851
- Joined: August 22nd, 2005, 7:25 am
Perhaps you have to make your own application around Gecko.
Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
-
- Guest
Hi this is what I am expecting, however like I say so far all I've seen is examples running on top of X using Gtk windows.
What I'm asking is if it actually possible to have Gecko render a page without X or any desktop environment running, that is, can I have Gecko render a page on the command line remotely on a server or does it _have_ to display the page in an X environment?
What I'm asking is if it actually possible to have Gecko render a page without X or any desktop environment running, that is, can I have Gecko render a page on the command line remotely on a server or does it _have_ to display the page in an X environment?
- trolly
- Moderator
- Posts: 39851
- Joined: August 22nd, 2005, 7:25 am
I guess this is better discussed in the 3rd party builds forum. Perhaps they can help here. I'm no dev and i do not know how Gecko works.
Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.
-
- Posts: 1
- Joined: May 28th, 2006, 4:59 am
-
- Posts: 8
- Joined: June 17th, 2004, 5:44 am
Another way would be to use mono and gtkmozembed.
A sample is provided here:
http://svn.myrealbox.com/source/trunk/g ... rp/sample/
A sample is provided here:
http://svn.myrealbox.com/source/trunk/g ... rp/sample/