<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1046347" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1046347</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Greg! An important thing to</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/optimized-page-output-function#comment-1248583</link>
    <description> &lt;p&gt;Greg! An important thing to note is that you should not use such stripping &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;The following line is crucial:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;$code = $result = preg_replace(&amp;#039;/&amp;lt;!--\s.+?\s--&amp;gt;/s&amp;#039;, &amp;#039;&amp;#039;, $html); // Strip HTML Comments&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;It will make your markup incompatible with many browsers. How? I will explain. Suppose your site is not appearing fine in IE6 , but it is fine on all other browsers. So, you need to ask IE6 to do something extra to make your page look atleast acceptible. You can give such instructions inside &lt;code&gt;&amp;lt;!-- --&amp;gt;&lt;/code&gt;. This is called conditional comments. You can incluse CSS files, JS files, Apply CSS, or anything you want.&lt;/p&gt;
&lt;p&gt;Here is a detailed post on this topic (specifically on conditional comments): &lt;a href=&quot;http://www.quirksmode.org/css/condcom.html&quot; title=&quot;http://www.quirksmode.org/css/condcom.html&quot;&gt;http://www.quirksmode.org/css/condcom.html&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 27 Apr 2010 01:00:42 +0000</pubDate>
 <dc:creator>hamdusa</dc:creator>
 <guid isPermaLink="false">comment 1248583 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Sweet! I&#039;ll have to give that</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/optimized-page-output-function#comment-1247828</link>
    <description> &lt;p&gt;Sweet! I&#039;ll have to give that a try! Thank you for the link to that. &lt;/p&gt;
&lt;p&gt;-Greg&lt;/p&gt;
 </description>
     <pubDate>Wed, 17 Mar 2010 00:56:33 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1247828 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Thank you for sharing - it is</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/optimized-page-output-function#comment-1247804</link>
    <description> &lt;p&gt;Thank you for sharing - it is always interesting to see how others approach requirements such as this...&lt;/p&gt;
&lt;p&gt;I&#039;ve had good luck doing similar with the html tidy extension in PHP:&lt;br /&gt;
&lt;a href=&quot;http://ca.php.net/manual/en/book.tidy.php&quot; title=&quot;http://ca.php.net/manual/en/book.tidy.php&quot;&gt;http://ca.php.net/manual/en/book.tidy.php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Though - I&#039;m not quite sure what it would do to contents within the pre tags - some experimentation is likely necessary with the different options / flags available here:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://tidy.sourceforge.net/docs/quickref.html&quot; title=&quot;http://tidy.sourceforge.net/docs/quickref.html&quot;&gt;http://tidy.sourceforge.net/docs/quickref.html&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 15 Mar 2010 18:38:55 +0000</pubDate>
 <dc:creator>Shaggy</dc:creator>
 <guid isPermaLink="false">comment 1247804 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
