In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Kevin Old) writes: >Hello everyone, > >I realize the subject is quite confusing, but I'll try to explain as >best I can. > >I need a way to browse a few websites and capture the content - in a >graphical format. The ideal solution would be a "virtual browser" that >I could "save" the graphical output (for then entire page, not just the >first screen) to a PDF. > >I know I'm asking for the world and so much more, but has anyone done >anything like this either with perl or with a combination of unix >programs/utilities? > >I've thought of using Perl to drive mozilla and GIMP and somehow get the >results I need, but that sounds tedious. > >Also, yes, I do realize that those who are requesting this type of >solution are bonkers and extremely lazy, but it's what they want.
Actually it seems quite plausible. I can see why someone would want to do that. Maybe they are also bonkers/lazy, but they don't have to be :-) I haven't used these modules, but they look like they'll do the job for you: http://search.cpan.org/~mfrankl/HTML-HTMLDoc-0.07/lib/HTML/HTMLDoc.pm http://search.cpan.org/~mfrankl/HTML-HTMLDoc-0.07/lib/HTML/HTMLDoc/PDF.pm Just fetch the HTML using LWP::Simple or similar and then those modules should do the rest. -- Peter Scott http://www.perldebugged.com/ *** NEW *** http//www.perlmedic.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>