Jump to content

Parserscript with perl or php


dilbertone

Recommended Posts

 

Hello dear Community, hello dear Andy

 

I want to parse a site that is called the foundation-finder: My Perl knowledge is pretty small!

I have tried various tutorials (examples of Mecha - that i have found on the CPAN) not oll of them  work - some of them are broken!

 

Now i try t o  get some real-world-task!

 

the Foundation-Finder-task has several steps: Especially interesting for me as a PHP/Perl-beginner is this site in  Switzerland: http://www.edi.admin.ch/esv/00475/00698/index.html?lang=de&webgrab_path=http://esv2000.edi.admin.ch/d/entry.asp?Id=3221

 

 

which has a dataset of 2700 foundations. All the data are free to use - with no limitations copyrights on it.

 

i mused about a starting-point: ould i use a Perl-module from CPAN and do the job with Perl.I guess that Mechanize or LWP could do a great job. Or HTML::Parser well - i am just musing which is

the best way to do the job. Guess that i am in front of a nice learning curve. This task will give me some nice PHP or Perl lessions.

 

Or can we do this with Python either!? I guess so! So here i am!

 

So here is a sample-page for the  real-world-task a governmental site in Switzerland: more than 2'700 foundations in

 

http://www.edi.admin.ch/esv/00475/00698/index.html?lang=de&webgrab_path=http://esv2000.edi.admin.ch/d/entry.asp?Id=3221

 

can i do this with mecha!?

 

love to get a hint

 

thx matz

Link to comment
https://forums.phpfreaks.com/topic/236608-parserscript-with-perl-or-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.