fubralimited/CDN-Sync-Tool — pull request #35 by dbisso (2013-01-01 14:13:00+00:00)
Title: Use DOM for more reliable concatenation / minification

I found the scraping process used to concatenate scripts and styles a little unreliable, particularly in the case where the main WP install is in its own directory and the content directory is not named `wp-content`.

In the end I re-wrote the method using PHP DOM manipulation (instead of regular expressions) to grab the appropriate `` and `