written in php, using DOM Document & cURL