<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>My Piece of the Inter(.)net &#187; Internet Explorer</title>
	<atom:link href="http://mypieceoftheinter.net/tag/internet-explorer/feed" rel="self" type="application/rss+xml" />
	<link>http://mypieceoftheinter.net</link>
	<description>A place for my geekish ramblings or whatever I find interesting.</description>
	<lastBuildDate>Mon, 16 Jan 2012 16:35:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>How to fix the WordPress prepended linebreaks error</title>
		<link>http://mypieceoftheinter.net/archives/1889</link>
		<comments>http://mypieceoftheinter.net/archives/1889#comments</comments>
		<pubDate>Mon, 26 Oct 2009 22:40:21 +0000</pubDate>
		<dc:creator>David McGrath</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://mypieceoftheinter.net/archives/1889</guid>
		<description><![CDATA[A while ago I noticed that the RSS feed for MyPieceOfTheInter(.)net stopped working.&#160; Strict XML parsers like those in Google Chrome and Internet Explorer refused to parse the RSS feed.&#160; Looking around different places, I found that a lot of weirdness was happening. Viewing the source of the homepage reveled that there were unexpected linebreaks [...]]]></description>
			<content:encoded><![CDATA[<p>A while ago I noticed that the RSS feed for <a href="http://mypieceoftheinter.net">MyPieceOfTheInter(.)net</a> stopped working.&#160; Strict XML parsers like those in Google Chrome and Internet Explorer refused to parse the RSS feed.&#160; Looking around different places, I found that a lot of weirdness was happening.</p>
<p>Viewing the source of the homepage reveled that there were unexpected linebreaks at the top of the document.    <br /><img style="border-bottom-color: ; border-top-color: ; display: inline; border-right-color: ; border-left-color: " title="wordpress line break error 1" alt="wordpress line break error 1" src="http://mypieceoftheinter.net/wp-content/uploads/2009/10/wordpress_line_break_error_13.png" width="521" height="257" /> </p>
<p> <span id="more-1889"></span>
<p>This suggested that there was something wrong with the index.php file or the header.php file of the WordPress theme.&#160; However, viewing the RSS feed gave the following error:    <br /><img style="border-bottom-color: ; border-top-color: ; display: inline; border-right-color: ; border-left-color: " title="wordpress line break error 2" alt="wordpress line break error 2" src="http://mypieceoftheinter.net/wp-content/uploads/2009/10/wordpress_line_break_error_21.png" width="689" height="264" />&#160;</p>
<p>And looking at the source&#8230;    <br /><img style="border-bottom-color: ; border-top-color: ; display: inline; border-right-color: ; border-left-color: " title="wordpress line break error 3" alt="wordpress line break error 3" src="http://mypieceoftheinter.net/wp-content/uploads/2009/10/wordpress_line_break_error_31.png" width="606" height="246" /> </p>
<p>And finally, when I tried to submit a post through <a href="http://en.wikipedia.org/wiki/Windows_Live_Writer">Windows Live Writer</a>, I got the following error:     <br /><img style="border-bottom-color: ; border-top-color: ; display: inline; border-right-color: ; border-left-color: " title="wordpress line break error 4" alt="wordpress line break error 4" src="http://mypieceoftheinter.net/wp-content/uploads/2009/10/wordpress_line_break_error_41.png" width="580" height="336" /> </p>
<p>Navigating to the xmlrpc page…    <br /><img style="border-bottom-color: ; border-top-color: ; display: inline; border-right-color: ; border-left-color: " title="wordpress line break error 5" alt="wordpress line break error 5" src="http://mypieceoftheinter.net/wp-content/uploads/2009/10/wordpress_line_break_error_53.png" width="462" height="238" /> </p>
<p>(Clearly I can’t just look at the page through a browser, but there are those strange linebreaks anyway.)</p>
<p>Here I was left scratching my head wondering what might be inserting these mystery linebreaks.&#160; I even wrote a little test.php file to make sure the server wasn’t doing it.</p>
<p>The problem?&#160; Linebreaks after the closing php tags in included php files.&#160; The main culprit: plugins.    <br /><img style="display: inline" title="wordpress line break error 6" alt="wordpress line break error 6" src="http://mypieceoftheinter.net/wp-content/uploads/2009/10/wordpress_line_break_error_6.png" width="310" height="563" /> </p>
<p>As a test I could type “hello, world” where I have highlighted, and it would appear in every HTML page and RSS feed served by my WordPress blog. &gt;.&lt;&#160; For this to truly make sense, you’d need to know about PHP’s <a href="http://php.net/manual/en/function.include.php">include function</a>.</p>
<p>So I disabled all my pluggins and re-enabled them one-by-one to find the offending pluggins.&#160; Counterize II was the only one.&#160; I used WordPress’s built-in plugin editor to fix Counterize II’s code.</p>
<p>My wp-config.php files was also an offender.    <br /><a href="http://mypieceoftheinter.net/wp-content/uploads/2009/10/wordpress_line_break_error_7.png"><img style="display: inline" title="wordpress_line_break_error_7" alt="wordpress_line_break_error_7" src="http://mypieceoftheinter.net/wp-content/uploads/2009/10/wordpress_line_break_error_7_thumb.png" width="312" height="227" /></a> </p>
<p>*sigh* problem solved.</p>
]]></content:encoded>
			<wfw:commentRss>http://mypieceoftheinter.net/archives/1889/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Explorer 8 is out</title>
		<link>http://mypieceoftheinter.net/archives/1555</link>
		<comments>http://mypieceoftheinter.net/archives/1555#comments</comments>
		<pubDate>Wed, 25 Mar 2009 00:52:45 +0000</pubDate>
		<dc:creator>David McGrath</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Internet Explorer 8]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://mypieceoftheinter.net/archives/1555</guid>
		<description><![CDATA[It’s happy days for web developers!&#160; Microsoft released Internet Explorer 8, which touts many improvements over previous versions.&#160; Find out more at Microsoft.com/IE8. &#160; Why should web developers be happy?&#160; Internet Explorer 8 is the most standards-compliant version of IE yet.&#160; That means less time writing “special” code for IE and more time adding polish.&#160; [...]]]></description>
			<content:encoded><![CDATA[<p>It’s happy days for web developers!&#160; Microsoft released Internet Explorer 8, which touts many improvements over previous versions.&#160; Find out more at <a href="http://microsoft.com/ie8">Microsoft.com/IE8</a>.    <br /><img style="display: inline" title="IE8 Icon" alt="IE8 Icon" src="http://mypieceoftheinter.net/wp-content/uploads/2009/03/ie8icon1.png" width="256" height="256" />&#160;</p>
<p> <span id="more-1555"></span>
<p>Why should web developers be happy?&#160; Internet Explorer 8 is the most standards-compliant version of IE yet.&#160; That means less time writing “special” code for IE and more time adding polish.&#160; End users should like some new features such as accelerators, improved speed, an improved favorites bar, and especially new search features.</p>
<p>My favorite feature is search suggestions from within the search box.&#160; This is especially great for when I don’t know exactly what to Google for.   <br /><img style="display: inline" title="search results" alt="search results" src="http://mypieceoftheinter.net/wp-content/uploads/2009/03/searchresults1.png" width="353" height="422" /></p>
<p>For more information check out <a href="http://www.winsupersite.com/live/ie8.asp">Paul Thurott’s review of Internet Explorer 8</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://mypieceoftheinter.net/archives/1555/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Lazy man&#8217;s way to prepare for IE8</title>
		<link>http://mypieceoftheinter.net/archives/1377</link>
		<comments>http://mypieceoftheinter.net/archives/1377#comments</comments>
		<pubDate>Fri, 23 Jan 2009 21:44:30 +0000</pubDate>
		<dc:creator>David McGrath</dc:creator>
				<category><![CDATA[Demos]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Compatability]]></category>
		<category><![CDATA[Compatability View]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Internet Explorer 8]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://mypieceoftheinter.net/archives/1377</guid>
		<description><![CDATA[Internet Explorer 8, Microsoft’s up-and-coming browser to supersede Internet Explorer 7, has a very different layout engine than it’s predecessor.&#160; IE8’s engine is much more standards-compliant than any version of IE so far.&#160; Standards-compliance is great, but for IE it does yield some unfortunate consequences.&#160; Websites that produce special code for pages downloaded with IE7 [...]]]></description>
			<content:encoded><![CDATA[<p>Internet Explorer 8, Microsoft’s up-and-coming browser to supersede Internet Explorer 7, has a very different <a href="http://en.wikipedia.org/wiki/Layout_engine">layout engine</a> than it’s predecessor.&#160; IE8’s engine is much more standards-compliant than any version of IE so far.&#160; Standards-compliance is great, but for IE it does yield some unfortunate consequences.&#160; Websites that produce special code for pages downloaded with IE7 often send the same quirky code to IE8, which renders the page according to the “official rules”.&#160; The end result is a webpage that doesn’t look right.</p>
<p>IE8 has a few features for the transition time between now and when IE7 (and older) usage drops to an insignificant level.&#160; First is Compatibility View.&#160; If the user sees a website that isn’t rendering correctly (for example, my website right now), he can click the “broken page” button in the navigation bar.    <br /><a href="http://mypieceoftheinter.net/wp-content/uploads/2009/01/compatabilityviewbutton.png"><img style="display: inline" title="compatability view button" alt="compatability view button" src="http://mypieceoftheinter.net/wp-content/uploads/2009/01/compatabilityviewbutton-thumb.png" width="140" height="47" /></a></p>
<p> <span id="more-1377"></span>
<p> Here is the page viewed in Standards Mode.&#160; (I scrolled down to show how the content is pushed down past the sidebar.)    <br /><a href="http://mypieceoftheinter.net/wp-content/uploads/2009/01/websitestandardsmode.png"><img style="display: inline" title="website, standards mode" alt="website, standards mode" src="http://mypieceoftheinter.net/wp-content/uploads/2009/01/websitestandardsmode-thumb.png" width="550" height="480" /></a></p>
<p>Here is the page viewed in Compatibility View, which is called “quirks mode” behind the scenes.    <br /><a href="http://mypieceoftheinter.net/wp-content/uploads/2009/01/websitecompatabilityview.png"><img style="display: inline" title="website, compatability view" alt="website, compatability view" src="http://mypieceoftheinter.net/wp-content/uploads/2009/01/websitecompatabilityview-thumb.png" width="547" height="480" /></a></p>
<p>I would love to know enough about <a href="http://en.wikipedia.org/wiki/Cascading_Style_Sheets">CSS</a> to fix my <a href="http://en.wikipedia.org/wiki/Wordpress">WordPress</a> theme to render correctly in standards mode, but honestly I have better things to do, and the website renders correctly in Firefox already, so there doesn’t seem to be much point.&#160; Why?&#160; Because I can simply force IE8 to render the website in Compatibility View with a simple tag interested into the page.&#160; What is the tag?</p>
<p><strong>&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=7&quot; /&gt;</strong></p>
<p>When I add that tag to the proper place in the WordPress theme…    <br /><img style="display: inline" title="header.php" alt="header.php" src="http://mypieceoftheinter.net/wp-content/uploads/2009/01/headerphp-thumb.png" width="441" height="189" /> </p>
<p>The webpage renders correctly, and the compatibility view button goes away.    <br /><a href="http://mypieceoftheinter.net/wp-content/uploads/2009/01/ie8forcedquirksmode.png"><img style="display: inline" title="IE8 forced quirks mode" alt="IE8 forced quirks mode" src="http://mypieceoftheinter.net/wp-content/uploads/2009/01/ie8forcedquirksmode-thumb.png" width="640" height="273" /></a></p>
<p>Note: the version of IE8 used in this post is the one that was bundled with the Windows 7 Beta.</p>
]]></content:encoded>
			<wfw:commentRss>http://mypieceoftheinter.net/archives/1377/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

