{"id":10086,"date":"2010-08-11T17:06:26","date_gmt":"2010-08-11T17:06:26","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-beautifier\/"},"modified":"2010-11-26T04:49:23","modified_gmt":"2010-11-26T04:49:23","slug":"wp-beautifier","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/wp-beautifier\/","author":5787231,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.3.1","stable_tag":"1.3.1","tested":"3.1.0","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"WP-Beautifier","header_author":"Till Kr\u00fcss","header_description":"","assets_banners_color":"","last_updated":"2010-11-26 04:49:23","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/wordpress.pralinenschachtel.de\/donations\/","header_plugin_uri":"http:\/\/wordpress.pralinenschachtel.de\/","header_author_uri":"http:\/\/pralinenschachtel.de\/","rating":4,"author_block_rating":0,"active_installs":80,"downloads":9462,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.3":"<p>This version contains speed improvements and new feed cleaning support.<\/p>","1.2":"<p>This version prevents an on-going E_NOTICE and extends, enhances and fixes many sections of the plugin.<\/p>","1.1.1":"<p>This version leaves conditional comments and `` tags untouched.<\/p>","1.1":"<p>This version prevents an infinite loop and provides additional cleaning functionality.<\/p>"},"ratings":{"1":0,"2":0,"3":"1","4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.1.1","1.2","1.3","1.3.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1578526","resolution":"1","location":"plugin"}},"screenshots":{"1":"Clean and nicely formatted HTML-code."}},"plugin_section":[],"plugin_tags":[4657,2958,3511,1653,8508],"plugin_category":[46],"plugin_contributors":[78186],"plugin_business_model":[],"class_list":["post-10086","plugin","type-plugin","status-closed","hentry","plugin_tags-clean","plugin_tags-indent","plugin_tags-remove","plugin_tags-strip","plugin_tags-tidy","plugin_category-editor-and-writing","plugin_contributors-tillkruess","plugin_committers-tillkruess"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/wp-beautifier.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-beautifier\/trunk\/screenshot-1.png?rev=1578526","caption":"Clean and nicely formatted HTML-code."}],"raw_content":"<!--section=description-->\n<p>Beautifier provides the following options to clean up WP's messy (X)HTML source code output:<\/p>\n\n<ul>\n<li>Strip unnecessary whitespace, like new lines and trailing whitespace<\/li>\n<li>Format (indent) the (X)HTML source code output<\/li>\n<li>Remove all HTML comments<\/li>\n<li>Convert single quoted tag attributes values into uniform double quoted values<\/li>\n<li>Remove <em>anything<\/em> you want from the output by using custom regular expressions<\/li>\n<\/ul>\n\n<p>If something is not working, please read the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wp-beautifier\/faq\/\">FAQ<\/a> or open a topic in the <a href=\"http:\/\/wordpress.org\/tags\/wp-beautifier\">support forum<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>\/wp-beautifier\/<\/code> directory and its contents to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Login to your WordPress installation and activate the plugin through the <em>Plugins<\/em> menu.<\/li>\n<li>If desired, refine the plugin's options in the <em>Settings<\/em> menu under <em>Beautification<\/em>.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Excuse me, what exactly is this plugin doing?<\/dt>\n<dd><p>This plugin provides a bunch of options to change what WordPress is sending to the browser. The text sent to the browser is called HTML\/XHTML and you can usually see it by doing a right-click on the page and select something like \"View Page Source\" or \"Show Sourcecode\". This plugin provides the ability to indent all lines correctly for easier reading, the removal of unnecessary whitespace characters, the ability to remove anything you want from the output using regular expressions and a few other options.<\/p><\/dd>\n<dt>This plugin leaves my (X)HTML untouched!<\/dt>\n<dd><p>The reason for that is most likely a invalid or missing Doctype declarations (DTD). This plugin only takes action, if a valid (X)HTML DTD is found in the first 200 characters of the page. If you don't know what a Doctype declarations is, read this <a href=\"http:\/\/www.w3.org\/QA\/Tips\/Doctype\">article about Doctypes<\/a> or see this <a href=\"http:\/\/www.w3.org\/QA\/2002\/04\/valid-dtd-list.html\">list of valid doctypes for (X)HTML documents<\/a>.<\/p><\/dd>\n<dt>My HTML source code isn't indented correct!<\/dt>\n<dd><p>Most likly the reason for that is the actual source code output of your WordPress theme is using <a href=\"http:\/\/www.w3.org\/TR\/html401\/\">HTML<\/a> syntax. This plugin only supports valid <a href=\"http:\/\/www.w3.org\/TR\/xhtml1\/\">XHTML<\/a> syntax, which can also be used in HTML5 documents.<\/p><\/dd>\n<dt>When I activate the plugin, my theme breaks!<\/dt>\n<dd><p>To narrow down the cause, start disabling every single option (under <em>Settings<\/em>-&gt;<em>Beautification<\/em>) one by one and see if the problem persists. If it persists, deactivate the plugin and copy-paste the working generated (X)HTML source code into a txt-file; afterwards activate the plugin again and copy-paste the <em>broken<\/em> (X)HTML output into another txt-file. Send these two files to <a href=\"http:\/\/wordpress.pralinenschachtel.de\/contact\/\">the author<\/a> with a short description of your problem.<\/p><\/dd>\n<dt>I see a white\/blank page where my website used to be!<\/dt>\n<dd><p>Try the <em>Reset Options<\/em> button in the <em>Settings<\/em> menu under <em>Beautification<\/em>. If that doesn't help, deactivate the plugin and <a href=\"http:\/\/wordpress.pralinenschachtel.de\/contact\/\">contact the author<\/a>. To resolve your problem faster, attach your server's PHP error-log-file to the email.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Renamed Settings menu link and added plugin meta row support links<\/li>\n<li><code>beautifier_add_indention()<\/code> is now PHP4 compatible<\/li>\n<li>Moved <code>beautifier_uninstall()<\/code> to plugin options file<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Added basic RSS and Atom-Feed output cleaning<\/li>\n<li>Moved admin related code into <code>options.php<\/code> file<\/li>\n<li>Made most of the language strings easier to understand<\/li>\n<li>Added settings link to plugin actions in plugin listing<\/li>\n<li><code>beautifier_clean_whitespace()<\/code> is now also removing tabs between tags<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Prevented permanent <code>E_NOTICE<\/code> caused by strict <code>ob_start()<\/code><\/li>\n<li>Added toggle for <em>custom regular expressions<\/em><\/li>\n<li>Added contextual help to administration menu<\/li>\n<li>Added German translation <\/li>\n<li><code>beautifier_uninstall()<\/code> is now working again<\/li>\n<li>Updated language strings and old comments<\/li>\n<li><em>Custom regular expressions<\/em> are now applied before the code cleaning to enhance their potential<\/li>\n<li>Moved the <em>single quotes conversion<\/em> before the tag preservation<\/li>\n<li>Cleaning only if <code>WP_USE_THEMES<\/code> is defined and a valid DTD is found in the beginning of the output buffer<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Improved tag preservation to keep <code>&lt;script&gt;<\/code> tags intact<\/li>\n<li>Conditional Comments are not removed anymore<\/li>\n<li>Custom regexps are now called after comment removal and quotes conversion<\/li>\n<li>Fixed mis-labeled input field id attribute<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Renewed many functions and made the descriptions more clear.<\/li>\n<li>Added the ability to convert single quotes into double quotes in html tags<\/li>\n<li>Added the ability to clean the output with custom regular expressions<\/li>\n<li>Prevented an infinite loop, when a html comment is not closed<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Beautifier provides several options to clean up WP&#039;s messy (X)HTML source code output, such as code indentation.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/10086","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=10086"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tillkruess"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=10086"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=10086"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=10086"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=10086"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=10086"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=10086"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}