Re: Fwd: Parsing web pages

2017-03-03 Thread Dave Gray
> On 03/03/2017 02:15 AM, kavita kulkarni wrote: > > Hello, > > > > Can you suggest some effective ways to parse multiple web pages from the > > web site. > > I cannot use web crawling as the format of the pages is not same. I am > > interested in the data from

Re: Fwd: Parsing web pages

2017-03-03 Thread kavita kulkarni
Thanks all for your suggestions. Will take a look at modules and see which one works for me. Regards, Kavita :-) On Fri, Mar 3, 2017 at 12:39 AM, Lars Noodén wrote: > On 03/03/2017 02:15 AM, kavita kulkarni wrote: > > Hello, > > > > Can you suggest some effective ways

Re: Fwd: Parsing web pages

2017-03-03 Thread Lars Noodén
On 03/03/2017 02:15 AM, kavita kulkarni wrote: > Hello, > > Can you suggest some effective ways to parse multiple web pages from the > web site. > I cannot use web crawling as the format of the pages is not same. I am > interested in the data from specific table on each pa

Re: Parsing web pages

2017-03-02 Thread X Dungeness
s too: Perl & LWP by Sean Burke Spidering Hacks by Hemenway & Calishain On Thu, Mar 2, 2017 at 4:15 PM, kavita kulkarni wrote: > Hello, > > Can you suggest some effective ways to parse multiple web pages from the web > site. > I cannot use web crawling as the format of

Fwd: Parsing web pages

2017-03-02 Thread kavita kulkarni
Hello, Can you suggest some effective ways to parse multiple web pages from the web site. I cannot use web crawling as the format of the pages is not same. I am interested in the data from specific table on each page. Thanks in advance. Kavita

Re: Creating web pages using Perl.

2011-04-23 Thread David Christensen
the browser. > the info would come from the directory structure of the audio books. I would run the script and it would build the web pages. So the HTML pages would be semi-static. Compiled static HTML sites have distinct advantages, but if the site is low-bandwidth (e.g. personal/ LAN use

Re: Creating web pages using Perl.

2011-04-23 Thread Shawn H Corey
On 11-04-23 09:09 AM, Peter Scott wrote: It was very popular at one time although templating makes a lot more sense. It was very popular at one time because at one time, it was all there was. :) -- Just my 0.0002 million dollars worth, Shawn Confusion is the first step of understand

Re: Creating web pages using Perl.

2011-04-23 Thread Peter Scott
On Sat, 23 Apr 2011 18:14:46 +1000, Sean Murphy wrote: > > I am starting another project and I wish to know the best method of > creating a web page via Perl. I don't want to reinvent the wheel here. > The perl script must generate plain 4.0 HTML code. I am not after any > bells or whistles on the

Re: Creating web pages using Perl.

2011-04-23 Thread Shlomi Fish
hieve this? I am not after a > complex tool like the Ruby Rail project. > > the info would come from the directory structure of the audio books. I > would run the script and it would build the web pages. So the HTML pages > would be semi-static. > > Ideas and thoughts wo

Creating web pages using Perl.

2011-04-23 Thread Sean Murphy
run the script and it would build the web pages. So the HTML pages would be semi-static. Ideas and thoughts would be welcomed Sean If they click on the

Re: change web pages in browser

2008-09-18 Thread Jenda Krynicky
From: Adams Paul <[EMAIL PROTECTED]> > Hello to everyone, > I am trying to use Perl to open the browser and then go to different web > pages. > I have tried the following code. > #!/usr/bin/perl > use LWP::SIMPLE; > system ("start iexplore \"www.goog

Re: web pages

2008-09-17 Thread Mr. Shawn H. Corey
On Tue, 2008-09-16 at 23:52 -0700, Adams Paul wrote: > Hello everyone, > I am still trying to change to different web pages in a browser.I have tried > the following code: > > #!/usr/bin/perluse warnings;use strict;use LWP::Simple;system ("start > iexplore \"my$

web pages

2008-09-16 Thread Adams Paul
Hello everyone, I am still trying to change to different web pages in a browser.I have tried the following code: #!/usr/bin/perluse warnings;use strict;use LWP::Simple;system ("start iexplore \"my$url\"");sub main (for my$URL ('http://www.google.com'

Re: need script to get tags and links pairs from web pages

2006-07-26 Thread Rob Dixon
Hal Wigoda wrote: > > I need a perl script to get tags and corresponding links (in pairs) > from a web page. > > Anyone steer me in the right way? Hi Hal This should give you some clues, although a lot depends on exactly what you want. Obviously the variables can be used to do something more use

Re: need script to get tags and links pairs from web pages

2006-07-25 Thread Dr.Ruud
Hal Wigoda schreef: > I need a perl script to get tags and corresponding links (in pairs) > from a web page. > > Anyone steer me in the right way? CPAN -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

need script to get tags and links pairs from web pages

2006-07-25 Thread Hal Wigoda
I need a perl script to get tags and corresponding links (in pairs) from a web page. Anyone steer me in the right way? hal chicago -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: What are the differences between Perl and PHP when handling with Web pages

2006-05-26 Thread Ron Wingfield
- Original Message - From: "Chad Perrin" <[EMAIL PROTECTED]> To: Sent: Friday, May 26, 2006 12:09 PM Subject: Re: What are the differences between Perl and PHP when handling with Web pages On Fri, May 26, 2006 at 06:51:36PM +0200, sfantar wrote: Thank you ve

Re: What are the differences between Perl and PHP when handling with Web pages

2006-05-26 Thread Chad Perrin
On Fri, May 26, 2006 at 06:51:36PM +0200, sfantar wrote: > > Thank you very much for your long but very very interesting reply. > I started learning Perl. Until now, I think I made the good choice. > Contrary to PHP, It takes some time to deal with Perl at the beginning > but I am very happy to b

Re: What are the differences between Perl and PHP when handling with Web pages

2006-05-26 Thread sfantar
Thanks a lot for the informations below. I will look for the modules mentioned below on cpan.org in order to understand how they work and how to write scripts using them. Octavian Rasnita a écrit : Hi, PHP is more limited than perl, but much simple to use for simple web pages than perl. PHP

Re: What are the differences between Perl and PHP when handling with Web pages

2006-05-26 Thread sfantar
Chad Perrin a écrit : On Fri, May 26, 2006 at 02:17:11PM +0200, sfantar wrote: What are the differences between Perl and PHP? The differences are far too many to list here. However, I'll list a few: Perl tends to run slightly faster. Your site's visitors probably won't notice any lag,

Re: What are the differences between Perl and PHP when handling with Web pages

2006-05-26 Thread Chad Perrin
On Fri, May 26, 2006 at 02:17:11PM +0200, sfantar wrote: > > What are the differences between Perl and PHP? The differences are far too many to list here. However, I'll list a few: Perl tends to run slightly faster. Your site's visitors probably won't notice any lag, though. PHP has a m

Re: What are the differences between Perl and PHP when handling with Web pages

2006-05-26 Thread Octavian Rasnita
Hi, PHP is more limited than perl, but much simple to use for simple web pages than perl. PHP was created specially for making web pages and you can transform very easy a .html file into a .php file. PHP is better than perl for web sites where there are very few dynamic parts of web pages

Re: What are the differences between Perl and PHP when handling with Web pages

2006-05-26 Thread sfantar
Charles K. Clarkson a écrit : sfantar wrote: : What are the differences between Perl and PHP? You can Google for that. I found the following article. I think perl can be used for more applications than PHP. http://www.zend.com/zend/art/langdiff.php : Which one is the best to build up a

RE: What are the differences between Perl and PHP when handling with Web pages

2006-05-26 Thread Charles K. Clarkson
sfantar wrote: : What are the differences between Perl and PHP? You can Google for that. I found the following article. I think perl can be used for more applications than PHP. http://www.zend.com/zend/art/langdiff.php : Which one is the best to build up a website? You don't really n

What are the differences between Perl and PHP when handling with Web pages

2006-05-26 Thread sfantar
Hi everyone What are the differences between Perl and PHP? Which one is the best to build up a website? There are more and more PHP-based websites. Except the fact that ISP provide most of the time PHP/MySQL web hosting, why do people prefer using PHP instead of Perl? I would like to create o

Re: extract web pages from a web site

2005-09-17 Thread Scott R. Godin
Siegfried Heintze wrote: I recommend Lincoln Stein's book "Perl Networking". Even if you are too cheap to buy his book, you can google for it and download the source code for an example program that uses HTML::Parser to extract and download all the gif files from a page. His example actually par

RE: extract web pages from a web site

2005-09-15 Thread Siegfried Heintze
Sent: Wednesday, September 14, 2005 9:33 PM To: beginners@perl.org; [EMAIL PROTECTED] Subject: Re: extract web pages from a web site José Pedro Silva Pinto wrote: > Hi there, > > I am doing a program in perl to extract some web pages (And copy it to a local file), from a given web address

Re: extract web pages from a web site

2005-09-14 Thread Scott R. Godin
José Pedro Silva Pinto wrote: Hi there, I am doing a program in perl to extract some web pages (And copy it to a local file), from a given web address. Which perl module can I use to help me to do this task It depends on what you're looking to do... LWP::Simple to grab stuff with

Re: extract web pages from a web site

2005-09-08 Thread Jeff Pan
LWP::Simple can do that. On Thu, 8 Sep 2005 14:45:26 +0100, "José Pedro Silva Pinto" <[EMAIL PROTECTED]> said: > Hi there, > > > > I am doing a program in perl to extract some web pages (And copy it to a > local file), from a given web address. > >

extract web pages from a web site

2005-09-08 Thread José Pedro Silva Pinto
Hi there, I am doing a program in perl to extract some web pages (And copy it to a local file), from a given web address. Which perl module can I use to help me to do this task Thanks José Pinto

RE: How can I automate the removal of hard-coded banners from locallysaved web pages

2005-04-29 Thread Manav Mathur
perl -i -pe 's/offending_code//g' /path/to/*.html |-Original Message- |From: Orel Stringa [mailto:[EMAIL PROTECTED] |Sent: Friday, April 29, 2005 5:21 PM |To: beginners@perl.org |Subject: How can I automate the removal of hard-coded banners from |locallysaved web pages | |

How can I automate the removal of hard-coded banners from locally saved web pages

2005-04-29 Thread Orel Stringa
Hi, I sometime happen to save certain web pages of interest (tutorials, articles, etc) locally on my PC. Unfortunately, some of these pages do carry top and bottom banners which are displayed every time I open the page locally on my PC (while PC is hooked up to the Internet). I understand this

IDE for web pages produces by Perl/MySql

2004-10-10 Thread Mike K
G'day... I'm wanting to use Perl with MySQL to produce web pages, and then process the results. Are there any IDEs (like PageMill, Dreamweaver, etc) that understand Perl or can write templates that Perl can understand using a particular package? All help appreciated. Thanks Mike (Pl

RE: stripping web pages

2002-10-27 Thread Steven_Massey
Beau lots to understand in there .. I'll certainly be looking at the LWP::UserAgent stuff thanks - much appreciated Steve -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: stripping web pages

2002-10-26 Thread Beau E. Cox
cy, HTML::TokenParser. Have fun! Aloha => Beau. PS: I tested the above - OK. -Original Message- From: [EMAIL PROTECTED] [mailto:Steven_Massey@;notes.amdahl.com] Sent: Saturday, October 26, 2002 8:14 AM To: [EMAIL PROTECTED] Subject: stripping web pages Hi I have perl scripts that I have bui

stripping web pages

2002-10-26 Thread Steven_Massey
Hi I have perl scripts that I have built over the last 6 months( with MUCH help from this list), basically I save a web page as a text file and process this and dump into mysql Is it possible to to process the web page directly ?? straight into mysql - without the need to dump to text and re-rea

RE: Fetching web pages and displaying as text

2002-07-29 Thread Bob Showalter
> -Original Message- > From: Senthil Kumar M. [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 30, 2002 2:37 AM > To: [EMAIL PROTECTED] > Subject: Fetching web pages and displaying as text > > > Hi, > > I am trying out some scripts using lib-www perl (LWP)

RE: Fetching web pages and displaying as text

2002-07-29 Thread Senthil Kumar M.
Hi, I tried it once more after including use HTTP:Request; It gives the same error message Senthil > > this is going to sound absolutely retarded, but did you include > > use HTTP::Request; > > in your code? =) > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

RE: Fetching web pages and displaying as text

2002-07-29 Thread nkuipers
>The code is as follows: > >#!/usr/bin/perl >use LWP::UserAgent; >$ua = LWP::UserAgent->new; >#$ua->env_proxy; # initialize from environment variables >$ua->proxy(ftp => '172.16.0.1'); >$ua->proxy(http => '172.16.0.1'); >#$ua->no_proxy(qw(no se fi)); >my $req = HTTP::Request->new(GET => 'http://w

Fetching web pages and displaying as text

2002-07-29 Thread Senthil Kumar M.
Hi, I am trying out some scripts using lib-www perl (LWP) module. Unfortunately i am behind a firewall and our network uses a proxy. I am using the following script to fetch a page and display the contents. It does not work, the error message says: "501 (Not Implemented) Protocol scheme '' is n

Re: Perl script for simple web pages

2002-03-03 Thread Michael Kelly
On 3/3/02 10:36 AM, michael <[EMAIL PROTECTED]> wrote: > Is writing a perl script for making simple HTML pages > reinventing the wheel? If you can find another script that does what you want (such as CGI.pm), yes. Otherwise, no. (I've written quite a few quickie scripts that I couldn't find anyw

Perl script for simple web pages

2002-03-03 Thread jbajin
It depends. If you are writing them to create a simple page. Maybe, but using perl to decide something or take action is just a CGI script. So they turn out to be very useful.

Perl script for simple web pages

2002-03-03 Thread michael
Is writing a perl script for making simple HTML pages reinventing the wheel? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]