I need a PHP script that will scrape the contents of another website and present the data in an easy to read XML format. It will need to store data in a database so that it only needs to refresh every few days. It will also need to be for multiple pages (eg. [url removed, login to view] gets data from one page, and type2 gets data from another).
It should only need to be one file, but more is acceptable.