{"action":"closed","issue":{"url":"https://api.github.com/repos/mrclay/minify/issues/273","labels_url":"https://api.github.com/repos/mrclay/minify/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/mrclay/minify/issues/273/comments","events_url":"https://api.github.com/repos/mrclay/minify/issues/273/events","html_url":"https://github.com/mrclay/minify/issues/273","id":104809862,"number":273,"title":"Easier API for page minification","user":{"login":"mrclay","id":170687,"avatar_url":"https://avatars.githubusercontent.com/u/170687?v=3","gravatar_id":"","url":"https://api.github.com/users/mrclay","html_url":"https://github.com/mrclay","followers_url":"https://api.github.com/users/mrclay/followers","following_url":"https://api.github.com/users/mrclay/following{/other_user}","gists_url":"https://api.github.com/users/mrclay/gists{/gist_id}","starred_url":"https://api.github.com/users/mrclay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrclay/subscriptions","organizations_url":"https://api.github.com/users/mrclay/orgs","repos_url":"https://api.github.com/users/mrclay/repos","events_url":"https://api.github.com/users/mrclay/events{/privacy}","received_events_url":"https://api.github.com/users/mrclay/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mrclay/minify/labels/Priority-High","name":"Priority-High","color":"ededed"},{"url":"https://api.github.com/repos/mrclay/minify/labels/Status-Started","name":"Status-Started","color":"ededed"},{"url":"https://api.github.com/repos/mrclay/minify/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"closed","locked":false,"assignee":{"login":"mrclay","id":170687,"avatar_url":"https://avatars.githubusercontent.com/u/170687?v=3","gravatar_id":"","url":"https://api.github.com/users/mrclay","html_url":"https://github.com/mrclay","followers_url":"https://api.github.com/users/mrclay/followers","following_url":"https://api.github.com/users/mrclay/following{/other_user}","gists_url":"https://api.github.com/users/mrclay/gists{/gist_id}","starred_url":"https://api.github.com/users/mrclay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrclay/subscriptions","organizations_url":"https://api.github.com/users/mrclay/orgs","repos_url":"https://api.github.com/users/mrclay/repos","events_url":"https://api.github.com/users/mrclay/events{/privacy}","received_events_url":"https://api.github.com/users/mrclay/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-09-04T01:02:14Z","updated_at":"2015-09-29T20:42:19Z","closed_at":"2015-09-29T20:42:19Z","body":"Originally reported on Google Code with ID 129\n```\nI've studies the Minify builder a little, but couldn't make much of the way \r\nthe html is minified.\r\n\r\nA nice way would be the following, where Minify would follow the config.\r\n<?php ob_start(); ?>\r\n<!-- html -->\r\n\r\n<?\r\n$contents = 0b_get_contents();\r\nob_end_clean();\r\nrequire '/min/Minify.php';\r\nMinify::serve('Page', $contents);\r\n// This as a cleaner alternative to http://code.google.com/p/minify/source/browse/trunk/min/builder/index.php\n```\n\nReported by `Kramieb` on 2009-08-04 12:58:38\n"}}