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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.