Use PHP DOM and PHP Tidy to parse HTML content
add in code to change css link elements to cake helpers