ScanJobs

Purpose

This is the sample code from my CodeWorks 2012 talk.
It is a simple web application based on the Silex framework that will scan the jobs from careers.stackoverflow.com, store them in a database and plot them on a Google Map.

Installing

Prerequisites

Apache Web Server.

This code SHOULD work with any web server that supports PHP but the re-write rules provided are for Apache.

In the scripts directory there is a file that can be executed as a cron job. Modify it to point to the right script and then call it from your cron. Given the frequency of updates for Careers.stackoverflow.com, calling it at two hour intervals is sufficient. Four hour intervals would also be acceptable.