RE: [PHP] Automatically creating an image of another website

This is a discussion on RE: [PHP] Automatically creating an image of another website within the PHP General forums, part of the PHP Programming Forums category; Hamid Thanks for the reply. I was told that using html2ps and ps2gif via php pipes (if that's the ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-14-2003
Adrian Teasdale
 
Posts: n/a
Default RE: [PHP] Automatically creating an image of another website

Hamid

Thanks for the reply. I was told that using html2ps and ps2gif via php
pipes (if that's the right word) would let php go to a site and "browse" the
page, print it off as postscript and then convert the postscript file to a
gif. not sure if that is possible which is why I posted to the list. Any
suggestions would be appreciated! :)

Ade

> -----Original Message-----
> From: Hamid Hossain [mailto:hamidhossain@hotmail.com]
> Sent: 14 July 2003 18:05
> To: adrian@justcompete.com
> Subject: Re: [php] Automatically creating an image of another website
>
>
>
> using GD functions you will be able to create images from the scratch or
> from other images, but not a screenshot. PHP cannot take a screen shot of
> the browser window!!
>
> It's the first time I here about this.
>
> I will check the upcoming comments maybe I will gain more info !!!
>
> Regards,
> Hamid Hossain
>
> ----Original Message Follows----
> From: "Adrian Teasdale" <adrian@justcompete.com>
> Reply-To: <adrian@justcompete.com>
> To: <php-general@lists.php.net>
> Subject: [php] Automatically creating an image of another website
> Date: Mon, 14 Jul 2003 17:33:20 +0100
>
> I would like to be able to point PHP to a URL and for it to create an
> "image" (like a screenshot) of that website. We are putting together a
> "useful links" section for a client and to have this facility would be
> great. Anyone done this sort of thing before? Any ideas would be very
> useful
>
> Thanks in advance
>
> Ade
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> __________________________________________________ _______________
> Tired of spam? Get advanced junk mail protection with MSN 8.
> http://join.msn.com/?page=features/junkmail
>
>
>
>


Reply With Quote
  #2 (permalink)  
Old 07-14-2003
Jason Wong
 
Posts: n/a
Default Re: [PHP] Automatically creating an image of another website

On Tuesday 15 July 2003 02:57, Adrian Teasdale wrote:

> Thanks for the reply. I was told that using html2ps and ps2gif via php
> pipes (if that's the right word) would let php go to a site and "browse"
> the page, print it off as postscript and then convert the postscript file
> to a gif. not sure if that is possible which is why I posted to the list.
> Any suggestions would be appreciated! :)


In theory that would work. But in practice the output from html2ps is very
primitive and ugly to boot. Don't expect anything resembling a screenshot of
a browser rendered page.

NB html2ps may have improved in the months since I last tried it so try it and
judge for yourself.

--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
/* Halley */

(Halley's comment.)
*/

Reply With Quote
  #3 (permalink)  
Old 07-14-2003
Adrian Teasdale
 
Posts: n/a
Default RE: [PHP] Automatically creating an image of another website

OK, thanks for this suggestion Jason. I'll try it and see and then see if I
can find any alternative

Best regards

Adrian

> -----Original Message-----
> From: Jason Wong [mailto:php-general@gremlins.biz]
> Sent: 14 July 2003 20:34
> To: php-general@lists.php.net
> Subject: Re: [php] Automatically creating an image of another website
>
>
> On Tuesday 15 July 2003 02:57, Adrian Teasdale wrote:
>
> > Thanks for the reply. I was told that using html2ps and ps2gif via php
> > pipes (if that's the right word) would let php go to a site and "browse"
> > the page, print it off as postscript and then convert the

> postscript file
> > to a gif. not sure if that is possible which is why I posted

> to the list.
> > Any suggestions would be appreciated! :)

>
> In theory that would work. But in practice the output from
> html2ps is very
> primitive and ugly to boot. Don't expect anything resembling a
> screenshot of
> a browser rendered page.
>
> NB html2ps may have improved in the months since I last tried it
> so try it and
> judge for yourself.
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
> ------------------------------------------
> Search the list archives before you post
> http://marc.theaimsgroup.com/?l=php-general
> ------------------------------------------
> /*
> /* Halley */
>
> (Halley's comment.)
> */
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:12 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0