[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: html as background



Hello Lance,

On Nov  2, Lance Hoffmeyer <lance@augustmail.com> wrote:

|  This is what I am trying to do-- but automatically from a console.
|  Galeon will save as *.ps file.  But does w3m,links, or wget save as
|  *.ps file?  How can I write a script (bash, perl) to go to a website
|  and dump the html page as a *.ps file (or gif,jpeg...)?
| 
|  I am basically trying to get a local weather forecast off the web
|  and use it as a background on my desktop.

Check out the 'html2ps' package.  You should be able to use wget or
links -dump or whatever to grab the .html, then use html2ps to covert to
..ps.  I don't know if you can use a .ps as a background image, but I'm
sure you can convert .ps to .jpg pretty easily using like ImageMagick or
something.

Note that I haven't used html2ps - I only just found in using an
apt-cache search.

-Jason

-- 
Jason Wojciechowski==jwojciechowski@hampshire.edu
http://wonka.hampshire.edu/~jason
GPG key - 0EFB1DFE

Attachment: pgp7TMkBVVq4p.pgp
Description: PGP signature


Reply to: