<?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>The Accidental Developer &#187; internet explorer</title>
	<atom:link href="http://osric.com/chris/accidental-developer/tag/internet-explorer/feed/" rel="self" type="application/rss+xml" />
	<link>http://osric.com/chris/accidental-developer</link>
	<description>What if Gregor Samsa awoke a computer programmer?</description>
	<lastBuildDate>Sat, 28 Jan 2012 23:13:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Testing for multiple versions of Internet Explorer</title>
		<link>http://osric.com/chris/accidental-developer/2010/03/testing-for-multiple-versions-of-internet-explorer/</link>
		<comments>http://osric.com/chris/accidental-developer/2010/03/testing-for-multiple-versions-of-internet-explorer/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 22:43:56 +0000</pubDate>
		<dc:creator>Chris Herdt</dc:creator>
				<category><![CDATA[Testing]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[cross-browser compatibilty]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[virtual pc]]></category>

		<guid isPermaLink="false">http://osric.com/chris/accidental-developer/?p=266</guid>
		<description><![CDATA[Using Microsoft's Virtual PC and their supplied Virtual Hard Disks, you can run virtual machines with Internet Explorer 6 and Internet Explorer 7 for testing web pages on these legacy browsers.]]></description>
			<content:encoded><![CDATA[<p>Only one version of Internet Explorer (IE) can exist on a single windows installation by default. I had previously used <a href="http://tredosoft.com/Multiple_IE">Multiple IE</a> as a way of testing web pages on older versions of IE. This allows you to have IE3, IE4, IE5, IE5.5, and IE6 installed alongside your existing IE7 or IE8 install. You can even run them concurrently.<br />
<img src="http://osric.com/chris/accidental-developer/wp-content/uploads/2010/03/ie-logo-150x150.png" alt="Internet Explorer Logo" title="Internet Explorer Logo" width="150" height="150" class="alignright size-thumbnail wp-image-267" /><br />
I don&#8217;t test pages on anything earlier than IE6 anymore, but IE6 still accounts for more than 5% of my site traffic. Multiple IE basically helps me test both IE6 and IE8 from the same machine. However, there is still the IE7 gap, plus Multiple IE, which is no longer being updated or maintained, can produce some glitchy behavior.</p>
<p>It turns out, though, Microsoft offers some tools to help test their legacy browsers.<br />
<span id="more-266"></span><br />
Microsoft offers several <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=21EABB90-958F-4B64-B5F1-73D0A413C8EF&#038;displaylang=en">Windows virtual hard disks (VHDs)</a> that can be loaded using <a href="http://www.microsoft.com/windows/virtual-pc/">Virtual PC</a>. If you run IE8, you can download VHDs that include IE6 and IE7, and run them through a virtual environment.</p>
<p>Two drawbacks compared to Multiple IE: the VHD files are huge (some are 800+ MB), and in my experience, the virtual machines run hopelessly slowly. (The latter may be due to my environment or my Virtual PC settings.) However, it does allow you to test web pages on fully-functional versions of IE6, IE7, and IE8 without maintaining separate testing machines.</p>
<p>I&#8217;m running VMWare Fusion on Mac OSX (Leopard), which allows me to test Firefox and Safari on the Mac, as well as the PC versions of the browsers through a Windows VM. I could presumably create separate VMs for IE6 and IE7, although that may not be kosher with Microsoft&#8217;s licensing for my copy of Windows XP. It is frankly easier, however, to run Virtual PC through my Windows VM, than to install Windows XP twice more over.</p>
]]></content:encoded>
			<wfw:commentRss>http://osric.com/chris/accidental-developer/2010/03/testing-for-multiple-versions-of-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Create an XSL stylesheet for your RSS or Atom feeds</title>
		<link>http://osric.com/chris/accidental-developer/2008/12/create-an-xsl-stylesheet-for-your-rss-or-atom-feeds/</link>
		<comments>http://osric.com/chris/accidental-developer/2008/12/create-an-xsl-stylesheet-for-your-rss-or-atom-feeds/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 00:16:44 +0000</pubDate>
		<dc:creator>Chris Herdt</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[atom]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[xsl]]></category>

		<guid isPermaLink="false">http://osric.com/chris/accidental-developer/?p=131</guid>
		<description><![CDATA[Internet Explorer 6 and, curiously enough, Google&#8217;s Chrome browser, don&#8217;t display RSS or Atom feeds in a particularly helpful manner. IE6 displays neatly-formatted XML, with color-coding and indentation, whereas Chrome displays the text node of all the XML tags without so much as a linebreak: Either way is completely intimidating to an RSS novice. Fortunately, [...]]]></description>
			<content:encoded><![CDATA[<p>Internet Explorer 6 and, curiously enough, Google&#8217;s Chrome browser, don&#8217;t display RSS or Atom feeds in a particularly helpful manner. IE6 displays neatly-formatted XML, with color-coding and indentation, whereas Chrome displays the text node of all the XML tags without so much as a linebreak:<br />
<div id="attachment_133" class="wp-caption alignnone" style="width: 220px"><a href="http://osric.com/chris/accidental-developer/wp-content/uploads/2008/12/unstyled-rss.png"><img src="http://osric.com/chris/accidental-developer/wp-content/uploads/2008/12/unstyled-rss.png" alt="Slashdot&#039;s RSS feed in IE6 and Chrome, respectively" title="unstyled-rss" width="210" height="100" class="size-full wp-image-133" /></a><p class="wp-caption-text">Slashdot's RSS feed in IE6 and Chrome, respectively</p></div></p>
<p>Either way is completely intimidating to an RSS novice. Fortunately, we can change that.<br />
<span id="more-131"></span><br />
Both IE6 and Chrome will apply an XSL stylesheet, if one is specified. To specify a stylesheet, insert the following code right after the DTD:<br />
<code>&lt;?xml-stylesheet href="rss2.xsl" type="text/xsl" media="screen"?&gt;</code></p>
<p>I created a bare-bones XSL file to transform RSS 2.0 files:<br />
<a href="http://osric.com/chris/accidental-developer/rss2.xsl">rss2.xsl</a></p>
<p>Voila! The RSS feed now displays some information telling the user what RSS is and how to use it.</p>
<p>Of course, Firefox, Internet Explorer 7, and other modern browsers give the user some pretty click options that allow them to add the feed to their RSS reader of choice with the click of a button. There&#8217;s really no reason we couldn&#8217;t add code to achieve the same effect to our XSL file. For example, just view the <em>generated</em> source (using a tool like the <a href="https://addons.mozilla.org/en-US/firefox/addon/60">Web Developer Toolbar</a>) of an RSS feed displayed in Firefox and copy or further customize the code.</p>
<p>(I&#8217;m sure I&#8217;ll get to that in my copious free time.)</p>
<p>This brings up a good question in my mind, though: why do the modern browsers override publisher-specified XSL stylesheets? I&#8217;ll admit that it adds a certain helpful consistency to all RSS feeds, but it seems peculiar. I suppose that since so few RSS feeds have custom XSL stylesheets, it is better to apply a single style to all. It&#8217;s an idea that is bad in theory, but good in practice.</p>
<p>(And you can always change your Firefox settings to customize how it handles Web Feeds. I thought I could trick it into displaying my styled feed, but I recommend against using Firefox to open web feeds with Firefox: I started an infinite loop.)</p>
]]></content:encoded>
			<wfw:commentRss>http://osric.com/chris/accidental-developer/2008/12/create-an-xsl-stylesheet-for-your-rss-or-atom-feeds/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Testing Tools</title>
		<link>http://osric.com/chris/accidental-developer/2008/09/testing-tools/</link>
		<comments>http://osric.com/chris/accidental-developer/2008/09/testing-tools/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 21:52:05 +0000</pubDate>
		<dc:creator>Chris Herdt</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[internet explorer]]></category>

		<guid isPermaLink="false">http://osric.com/chris/accidental-developer/?p=82</guid>
		<description><![CDATA[A couple of useful testing tools I thought I&#8217;d share: Multiple IE &#8211; Put IE3 through IE6 on your Windows box (without interfering with your IE7 installation) Flash Switcher &#8211; an extension for Firefox 3 that will allow you to switch between older versions of Flash Player The latter seems a little buggy, but still [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of useful testing tools I thought I&#8217;d share:</p>
<ul>
<li><a href="http://tredosoft.com/Multiple_IE">Multiple IE</a> &#8211; Put IE3 through IE6 on your Windows box (without interfering with your IE7 installation)</li>
<li><a href="http://www.sephiroth.it/firefox/flash_switcher/">Flash Switcher</a> &#8211; an extension for Firefox 3 that will allow you to switch between <a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14266">older versions of Flash Player</a></li>
</ul>
<p>The latter seems a little buggy, but still easier to use than removing and installing different Flash versions yourself.</p>
]]></content:encoded>
			<wfw:commentRss>http://osric.com/chris/accidental-developer/2008/09/testing-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Doesn&#8217;t TinyMCE load in IE?</title>
		<link>http://osric.com/chris/accidental-developer/2008/09/why-doesnt-tinymce-load-in-ie/</link>
		<comments>http://osric.com/chris/accidental-developer/2008/09/why-doesnt-tinymce-load-in-ie/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 21:19:32 +0000</pubDate>
		<dc:creator>giblfiz</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[tinymce]]></category>

		<guid isPermaLink="false">http://osric.com/chris/accidental-developer/?p=65</guid>
		<description><![CDATA[looks like it is all due to the insertAdjacentHTML call being used in another library. In my case, wz_tooltip. Oh wow did this hurt me. So that horror of a project that keeps on poking its head up sent in another small request&#8230; put tinyMCE or FCKeditor into one page on the website. Offered 5 [...]]]></description>
			<content:encoded><![CDATA[<p><img style="max-width: 800px;" src="http://osric.com/chris/accidental-developer/wp-content/uploads/2008/09/ie7.jpg" align="right" height="200" width="200" />looks like it is all due to the insertAdjacentHTML call being used in another library. In my case, wz_tooltip. Oh wow did this hurt me. So that horror of a project that keeps on poking its head up sent in another small request&#8230; put <a href="http://tinymce.moxiecode.com/">tinyMCE</a> or <a href="http://www.fckeditor.net/">FCKeditor</a> into one page on the website. Offered 5 hours. Well TinyMCE is already installed, so I figured this was a chance to recoup a <i>little</i> of my loss on this project. Sure enough, I activated TinyMCE with about 5 lines of code, checked that it worked in Firefox, and billed my money. </p>
<p>Next morning I get a call. The thing doesn&#8217;t work in IE. So I try a few quick and obvious things, move around where it gets loaded, try a few different load orders. No luck. Grr. I was going to type out my whole damn process, but I realized that&#8217;s not what people want to read&#8230;</p>
<p>Short version is: the <a href="http://www.walterzorn.com/tooltip/tooltip_e.htm">wz_tooltip.js</a> library conflicts with the <a href="http://tinymce.moxiecode.com/">TinyMCE</a> library ONLY in Internet Explorer. This is because of a call to <a href="http://www.faqts.com/knowledge_base/view.phtml/aid/7184/fid/53">insertAdjacentHTML</a> which is an IE-only javascript call (thanks again for embrace and extend M$). As a workaround, you can modify the wz_tooltip file by commenting out from line 397 (inclusive) (thats: <font face="Courier New">   if(wztt_body.insertAdjacentHTML)</font> ) down to line 400 inclusive (thats : <font face="Courier New">else if(typeof wztt_body.innerHTML != wztt_u &&amp; document.createElement &&amp; wztt_body.appendChild)</font> ) And now I&#8217;m off to submit bug reports.</p>
<p>What a waste of a morning. </p>
]]></content:encoded>
			<wfw:commentRss>http://osric.com/chris/accidental-developer/2008/09/why-doesnt-tinymce-load-in-ie/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

