Adjust very simple screen scraper in PHP

The project is about adjusting a very simple PHP scraper to extract postings off a new website.
The provided code has to be adjusted to scrape postings found here:
If you want to reuse/change/add any of the static (provided) functions, feel free to do that. Please do not add other frameworks/classes etc. before you ask.
Please read and observe the specs as outlined in the code (go to Detail Requirements). If you have any questions, feel free to ask. If this project is done well, more (and similar) jobs will follow.
Thanks a lot!
Requirements Interview Answers:
To help you bid more accurately, the employer was interviewed about the requirements for this project. Below are their answers.
Untitled Page
Project Type:
What kind of work do you need done?Software related (Includes desktop applications and internet websites)
Project Parts:
What do you want the worker to do on this project?
The worker will analyze the problem and propose a software-based solution to the problem.
The worker will take the requirements and translate them into the language of the computer (and test it).
Req. Doc. Type:
What kind of documentation do you want for this project?Informal documentation - As the employer talks back and forth about the project with the worker, those conversations become the requirements.Remember to communicate ALL of the details of your project on the site. If you don't, and there is a dispute, then important details of the contract will not be documented and cannot be taken into account in arbitration. If you feel you MUST go offsite (for example, using the phone or IM) then afterwards post everything onsite and get the other party to post that they agree to those contractual terms.
Program Type:
What kind of software should the worker create (and/or install)?An internet web-site: This software runs on a web server and users will access it using their internet browser.
Internet web-site info
Design and functionality:
What does the programming of this project involve?Program Functionality: Making the website "work".
Modeling another site:
Do you wish to model another site? No
Size of website:
How many pages need to be created/edited in this website?Exactly 1.
Programming Language:
What programming language(s) do you want your website written in?I do know the language(s).Languages(s):PHPMisc. details: Feel free to reuse the class provided in the example, please abstain from using other external classes / modules - thanks!
Will this project include a database?No, it does not include a database.
Browser Type(s)/Version(s):
Which browser/version combinations must this website support?Other. Details: Not relevant - output should be text only as per the example provided.
Server Hosting Environment:
What is your server hosting environment?I have my own in-house server.
Server Hosting Environment:
Will the worker develop "live" on your server?No. The worker is responsible for creating their own development and/or qc environment.
1) I require complete and fully-functional working program(s) in executable form as well as complete source code of all work done (so that I may modify it in the future).
2) Deliverables must be in ready-to-run condition as follows (depending on the nature of the deliverables):
2b) Any website server-side deliverables must be installed in ready-to-run condition in the employer's environment (unless overridden otherwise by the employer elsewhere in this contract.
2c) If there are any server-side deliverables (intended to only exist in one place in the employer's environment) then they must be installed by the winning worker in ready-to-run condition (unless specified elsewhere by the employer).
3) Employer will receive exclusive and complete copyrights to all work paid for. All paid for deliverables will be considered 'work made for hire' under U.S. Copyright law.
3b) No part of the deliverable may contain any copyright restricted 3rd party components (including GPL, GNU, Copyleft, etc.) unless all copyright ramifications are explained AND AGREED TO by the employer on the site per the worker's 'Worker Legal Agreement'.

Apply for this Job