[sf-lug] OT - Perl / CPAN question
vincent polite
vpolitewebsiteguy at yahoo.com
Tue Apr 4 12:56:26 PDT 2006
Hi Deirdre,
I like your personal website. Very nicely done, not even excepting the fact that you are a techhead.
Deirdre Saoirse Moen <deirdre at deirdre.net> wrote: On Apr 4, 2006, at 11:22 AM, kevin.kempter at dataintellect.com wrote:
> Hi List;
>
> Sorry for the OT post but I could not find a relevent perl list.
>
> I want to create a perl process that will go to a specified list of
> web pages
> and retrieve the data for each page so i can parse it. Ideally, the
> perl
> process would download the requested web pages in XML format.
Very few html pages will be XML-compliant, even those served as xhtml.
I don't know perl, but I believe ruby's Net::HTTP was modeled upon
some perl module or another.
process in ruby:
require 'net/http'
@domain = 'http://deirdre.net/'
...
@content = Net::HTTP.get(URI.parse("#{@domain}pages/show/#
{@page.id}"))
--
_Deirdre http://deirdre.net
_______________________________________________
sf-lug mailing list
sf-lug at linuxmafia.com
http://linuxmafia.com/mailman/listinfo/sf-lug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://linuxmafia.com/pipermail/sf-lug/attachments/20060404/8c0f96ac/attachment.html>
More information about the sf-lug
mailing list