PHP-beginner - how to run Curl
Posted: Tue May 17, 2011 5:29 pm
hello dear community
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! - and i want to do it with PHP
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 ... sp?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 a Curl -task 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 ... sp?Id=3221
can i do this with Curl
love to get a hint
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! - and i want to do it with PHP
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 ... sp?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 a Curl -task 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 ... sp?Id=3221
can i do this with Curl
love to get a hint