I want a php script that performs a few tasks automatically on a given site,
according to a number of control parameters that are specified in a xml or text file.
The start page may contain more entries of a certain type, which should be parsed.
The script is supposed to work with sites that have pagination so the task should loop through both the entries on a page and the pages.
It should be generic, meaning it has to work with any similar sites - if the said parameters are changed accordingly by the user.