themexpert / onepager

Onepage Theme/Website Builder for WordPress
https://themesgrove.com/wp-onepager/
Other
304 stars 101 forks source link

Indentation and Beautification #106

Closed perroud closed 9 years ago

perroud commented 9 years ago

Hello guys, It can be perfectionism, but... why not a perfect re-indent html(5) output from One Pager? This idea reminds the old and nice wp-beautifier plugin, forgotten nowadays - unfortunately, doesn't work into newer versions of Wordpress. Scarcely, any wordpress plugin and/or theme can show a flawless output code. A good idea to have a built-in OnePager feature or fix the wp-beautifier as a fork, perhaps.

nadimtuhin commented 9 years ago

@perroud now a days we focus on minimizing html output by compressing. Can you please show us some grounds on why beautifying on production is helpful?

perroud commented 9 years ago

Dear @nadimtuhin, Well... by compressing is offered by webserver +~ http protocol version. Is not a feature from other one. First, gzip compressing. Second, js/css compress method, like Closure Compiler. Third, image compress for jpg/jpeg/png with any ways (few into WP, in fact). Indentation and/or beautification of html code is really good.

Re-indent and beautify, why? We have many ways to posh, usability, acessibility ~508/WAI~ and, of course, HTML5 give us a semantic html, oppositing a presentational structure available with HTML4.

nadimtuhin commented 9 years ago

@perroud got the idea. POSH looks like a great idea. Currently we are trying to maximize onepager usability with constant effort. We believe POSH will not make enough impact on usability. Maybe in future :) btw thanks for the idea.