mennake/minify

Needs a PHP version of getBestUri as used in JS (Provided)

Closed this issue · 4 comments

I translated parts of the MUB object into PHP, and I thought I'd give my result 
as I could find no such thing on the internet. This allows php apps to build 
minify urls on the fly. Perhaps it could be included in the minify download.

See attachment.

Original issue reported on code.google.com by danumbah...@gmail.com on 8 Aug 2013 at 9:34

Attachments:

[deleted comment]
There was a bug in the previous version. Here is the fix.

Original comment by danumbah...@gmail.com on 8 Aug 2013 at 10:53

Attachments:

Thanks, but this logic is already present: 
http://code.google.com/p/minify/source/browse/min/lib/Minify/HTML/Helper.php#187

See the file min/utils.php for usage.

If you can improve on that algorithm feel free to make a pull request here or 
on github.

Original comment by mrclay....@gmail.com on 9 Aug 2013 at 2:52

  • Changed state: Invalid
Ok thanks!

Original comment by danumbah...@gmail.com on 14 Aug 2013 at 11:39