This is a discussion on Website picture from PHP within the PHP Language forums, part of the PHP Programming Forums category; If I remember correctly, the command-line/console screenshot app is called "xwd" (x window dump). Google it. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
If I remember correctly, the command-line/console screenshot app is called
"xwd" (x window dump). Google it. So there is the missing piece of your puzzle. But it still seems like quite a "bulky" solution. Regards, [-b] "William Maddler" <newsNOSPAM@maddler.net> wrote in message news:35lgefF4o7gtvU1@individual.net... > 0000=year wrote: > >> Hi >> >> does anyone of you know a save method on PHP to relyably, maybe using >> other programs create scrennshots (thumbnails) of websites? >> >> I am the administrator of the open source project (at SourceForge) >> "TSEP - >> The Search Engine Project" (http://tsep.sf.net) and we might want to show >> pictures of the website our search engine has found. The generation >> process of the thumbnails should be pretty automatic (as much as >> possible) >> >> My tries to find an "optimal" solution did not bring any good results >> yet, >> so I am hopeing for better information here. > > mumble... ok... it is not done with PHP... but I think this could help... > there is a command (can't recall it's name right now) which allows you to > capture an X screenshot from the command line. Basically what you need to > to is a file (or a SQL table) containing all the URLs to be "shooted". > Then > have them opened with Firefox (using the '-remote "openurl()"' function) > and the script to capture the screen. Once the capture is done you can > load > the next site. > > The only part missing is the name of the proggie to do the screenshot from > the console. I am 101% sure it exists... > > hope it helps... or drop me a line... I'll be happy to help... > > -- > William Maddler |
|
|||
|
Hi Rajesh Jeba
Can you please email me that stuff too? olaf0000@team-noehring.de please change 0000 to 2005 thanks already Olaf >> R. Rajesh Jeba Anbiah wrote: >> > kicken wrote: >> > <snip> >> > >> >>(I used mozilla, but I think it would apply for firefox too) >> > >> > <snip> >> > >> > I bookmarked and saved your code sometimes ago. But, I see the > links >> > are now dead. IMHO, if they're up, you may get some feedbacks and >> > suggestions to improve that code. >> >> Problem is I don't have the code anymore. I keep my server at our > house >> and around last october one of my sisters friends accidently threw CD > >> Player into it which broke the CPU fan and also messed up the > harddrive. >> Couldn't get it back, lost a lot of stuff that day. I could > probably >> re-write it, didn't consist of much, but I simply don't want to, at >> least not now. > > Sad news. *Fortunately*, I did save your webshot scripts and I have > them. If you need them, please respond, I'll mail you _or_ if you > think, it's ok to post your code here, I'll be happy to do so. > > -- > <?php echo 'Just another PHP saint'; ?> > Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/ > -- http://www.team-noehring.de |
|
|||
|
Hi Sam
no solution has turned up yet. I have surfed the web for screenshot utilities - but none of them seems to be able to to the job either (crawl + take screenshots) Olaf > I found that you solve the problem and you let the php script tp take a > screen shot > > and i'm searching about that? > can you tell more information about how to do that please? -- http://www.team-noehring.de |