{"id":2244,"date":"2017-01-21T23:22:52","date_gmt":"2017-01-21T23:22:52","guid":{"rendered":"http:\/\/www.gssezisoft.com\/main\/?page_id=2244"},"modified":"2017-01-21T23:22:52","modified_gmt":"2017-01-21T23:22:52","slug":"rm_comment","status":"publish","type":"page","link":"http:\/\/www.gssezisoft.com\/main\/rm_comment\/","title":{"rendered":"Remove HTML Comments"},"content":{"rendered":"<p>This one&#8217;s real simple. It doesn&#8217;t have FAQs or Help pages. It doesn&#8217;t even have a built in Usage message. It just does a specific task.<\/p>\n<p>You can use it if you like.<\/p>\n<p>All it does is strip HTML comments from a file. It modifies the file you give it so, if you want to keep the original, make a copy first.<\/p>\n<p>It doesn&#8217;t beautify. It doesn&#8217;t minimize. It just pulls out the comments. As you can probably tell, it was written for one simple specific purpose.<\/p>\n<p>HTML comments start with &#8220;&lt;!&#8211;&#8221; and end with &#8220;&#8211;&gt;&#8221;. They don&#8217;t &#8220;nest&#8221;. The program ignores everything from the start marker to the first end marker it sees after that (because they don&#8217;t nest). It then repeats the process for the rest of the file: copying or ignoring. You end up with a HTML file without comments. If there is a new line character before or after the comment then that remains. Nothing fancy. It just removes HTML comments.<\/p>\n<p>If it had a Usage message, it would look like this:<br \/>\n<code><br \/>\nrm_comment file [file ...]<br \/>\n<\/code><\/p>\n<p>You can download it from<br \/>\n<a href=\"http:\/\/www.gssezisoft.com\/download\/1000010000\/Other\/rm_comment.exe\">rm_comment.exe<\/a><\/p>\n<p>I&#8217;d suggest putting it in %USERPROFILE%\\bin and adding that directory to your PATH (see <a href=\"http:\/\/www.gssezisoft.com\/main\/2016\/08\/windows-command-line-programs-and-the-path-setting\/\" target=\"_blank\">windows-command-line-programs-and-the-path-setting<\/a>) but you can put it anywhere that works for you. It doesn&#8217;t have an installer. It doesn&#8217;t have any DLLs. It doesn&#8217;t use or need the registry. It just runs.<\/p>\n<hr \/>\n<p>Legal: This, and any software on this site not otherwise licensed, is provided under the terms of the <a href=\"http:\/\/www.gssezisoft.com\/Products\/Other\/Download\/license.txt\" target=\"_blank\">MIT license<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This one&#8217;s real simple. It doesn&#8217;t have FAQs or Help pages. It doesn&#8217;t even have a built in Usage message. It just does a specific task. You can use it if you like. All it does is strip HTML comments from a file. It modifies the file you give it so, if you want to &hellip; <a href=\"http:\/\/www.gssezisoft.com\/main\/rm_comment\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Remove HTML Comments<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/www.gssezisoft.com\/main\/wp-json\/wp\/v2\/pages\/2244"}],"collection":[{"href":"http:\/\/www.gssezisoft.com\/main\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.gssezisoft.com\/main\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.gssezisoft.com\/main\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/www.gssezisoft.com\/main\/wp-json\/wp\/v2\/comments?post=2244"}],"version-history":[{"count":0,"href":"http:\/\/www.gssezisoft.com\/main\/wp-json\/wp\/v2\/pages\/2244\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.gssezisoft.com\/main\/wp-json\/wp\/v2\/media?parent=2244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}