[ic] Grabbing a web page content using LWP::Simple

Dan McFarland dan@mailturtle.com
Thu, 22 Mar 2001 14:32:30 -0600


It can apply to both.  You'll need legal advice for that one.  I wouldn't
have anyone NOT an attorney answer that question as you can be legally
liable if you act upon the answer.

Dan M.


----- Original Message -----
From: Viktors Rotanovs <Viktors@Rotanovs.com>
To: <interchange-users@lists.akopia.com>
Sent: Thursday, March 22, 2001 2:22 PM
Subject: Re: [ic] Grabbing a web page content using LWP::Simple


> Forgot to ask, how much can I change Xsell logo?
> ie, does trademark apply to the logo or to the name?
>
> Best Wishes,
> Viktors Rotanovs
> Riga, Latvia.  Phone +371 7377-472  Fax +1 760-418-8128
>
> ----- Original Message -----
> From: "Ed LaFrance" <edl@newmediaems.com>
> To: <interchange-users@lists.akopia.com>
> Sent: Thursday, March 22, 2001 8:05 PM
> Subject: Re: [ic] Grabbing a web page content using LWP::Simple
>
>
> > At 09:46 AM 03/22/2001 -0800, you wrote:
> > >Are there any interchange docs on the [get-url] tag?
> > >
> > >Thanks
> > >
> > >Mat
> >
> > open the file ic/usertag/get_url.
> >
> > - Ed L.
> >
> >
> > >----- Original Message -----
> > >From: "Ed LaFrance" <edl@newmediaems.com>
> > >To: <interchange-users@lists.akopia.com>
> > >Sent: Thursday, March 22, 2001 9:19 AM
> > >Subject: Re: [ic] Grabbing a web page content using LWP::Simple
> > >
> > >
> > > > At 11:06 PM 03/21/2001 -0500, you wrote:
> > > > >I need to grab the contents of a web page. I have tried using the
> below
> > > > >code.
> > > > >
> > > > >[perl Global=1 subs=1]
> > > > >use LWP::Simple
> > > > >my $return=LWP::Simple::get('http::/www.somesite.com/index.html')
> > > > >return $return
> > > > >[/perl]
> > > > >
> > > > >No matter what library I use and the arguments to the perl call. I
> can
> > >not
> > > > >get it to return the page. It will send the request but will hang
up
> > >trying
> > > > >to read from the socket.
> > > > >
> > > > >I have tried setting it up as a Global Sub, as a usertag and plain
> perl
> > > > >using Use Socket. The code will work fine outside of minivend but
> will
> > > > >always hang when it comes to reading from the socket. It will write
> to
> > >the
> > > > >socket but can not read from it.
> > > > >
> > > > >How can one read in the contents of a web page?
> > > >
> > > > I assume you have verified that LWP::Simple is installed.  Did you
try
> the
> > > > GET utility? it comes with the example scripts in the LWP dist, in a
> /bin
> > > > subdirectory, or it may already be in your /usr/bin or
/usr/local/bin.
> > >Try
> > > > at the command line:
> > > >
> > > > GET http://www.someworkingsite.comn
> > > >
> > > > ...if it works you will see the html echoed to the screen.  Also,
> there is
> > > > a [get_url] usertag for Interchange, have you tried that?
> > > >
> > > > - Ed L.
> > > >
> > > >
> > > >
> > > >
> > > > ===============================================================
> > > > **** Virtual Hosting w/private IC Installation, $65/month! ****
> > > > ---------------------------------------------------------------
> > > > New Media E.M.S.               Software Solutions for Business
> > > > 463 Main St., Suite D          eCommerce | Consulting | Hosting
> > > > Placerville, CA  95667         edl@newmediaems.com
> > > > (530) 622-9421                 http://www.newmediaems.com
> > > > (866) 519-4680 Toll-Free       (530) 622-9426 Fax
> > > > ===============================================================
> > > >
> > > >
> > > > _______________________________________________
> > > > Interchange-users mailing list
> > > > Interchange-users@lists.akopia.com
> > > > http://lists.akopia.com/mailman/listinfo/interchange-users
> > >
> > >
> > >_______________________________________________
> > >Interchange-users mailing list
> > >Interchange-users@lists.akopia.com
> > >http://lists.akopia.com/mailman/listinfo/interchange-users
> >
> > ===============================================================
> > **** Virtual Hosting w/private IC Installation, $65/month! ****
> > ---------------------------------------------------------------
> > New Media E.M.S.               Software Solutions for Business
> > 463 Main St., Suite D          eCommerce | Consulting | Hosting
> > Placerville, CA  95667         edl@newmediaems.com
> > (530) 622-9421                 http://www.newmediaems.com
> > (866) 519-4680 Toll-Free       (530) 622-9426 Fax
> > ===============================================================
> >
> >
> > _______________________________________________
> > Interchange-users mailing list
> > Interchange-users@lists.akopia.com
> > http://lists.akopia.com/mailman/listinfo/interchange-users
> >
>
>
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users
>