<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--Web 2.0 Content Powered by MyST Blogsite® (http://blogsite.com)-->
<!--A service of MyST Technology Partners, Inc. (http://myst-technology.com)-->
<?xml-stylesheet href="http://faseidl.com/public/styles/etc/object.xsl" type="text/xsl"?>

<?myst-baseUrl http://faseidl.com/public/?>

<MySmartChannels Public="true" UserID="187686" dT="119" t0="1328718178155">
     <GetChannelItem_Result>
      <Item>
       <Resource>
        <ObjectID>228970</ObjectID>
        <ObjectClass>Resource</ObjectClass>
        <OwnerID ObjectClass="Domain" Title="[Weblog] FAS Talk">187691</OwnerID>
        <CreatedByID ObjectClass="User" Title="aseidl">21</CreatedByID>
        <ModifiedByID ObjectClass="User" Title="aseidl">21</ModifiedByID>
        <CreateTime Title="2009-03-19 09:25:40 EST">1237472740774</CreateTime>
        <ModifyTime Title="2009-03-19 09:49:25 EST">1237474165943</ModifyTime>
        <SecurityModel>Controlled</SecurityModel>
        <Name>Web Developer Tip: X-UA-Compatibility Header Simplifies Life with IE8</Name>
        <Summary>Another version of IE to support means more developer headaches. But there's a little known bit of magic that helps ease the pain.</Summary>
        <Description> &lt;p&gt;If you are responsible for a commercial web site or web application, you understand too well that there are significant differences between web browsers.&amp;nbsp; Creating and maintaining a web site or web application that is truly cross-browser compatible is both a skill and and art.&amp;nbsp; And now there's a new browser on the scene:&amp;nbsp; Internet Explorer 8 ("IE8").&lt;/p&gt; &lt;p&gt;Just to keep web developers jumping, Microsoft decided to change the behavior of some extremely fundamental aspects of the browser.&amp;nbsp; For example, the "onresize" event is the notification event that applications rely on to determine when something in the browser changes size, e.g., when a user resizes the browser window, an application may need to do something to adjust for the new window size.&amp;nbsp; In its infinite wisdom, Microsoft decided to change the default behavior of this event.&amp;nbsp; Never mind that millions of web pages rely on the long established behavior as implemented by IE7 (and IE6, IE5, IE4, Firefox, Safari, Opera, Chrome, etc.).&lt;/p&gt; &lt;p&gt;Well, as it turns out, the new behavior could cause the MyST Blogsite editor to hang in an infinite loop.&amp;nbsp; (Technically, it was processing an infinite cascade of onresize events.)&lt;/p&gt; &lt;p&gt;Fortunately, Microsoft also added a "Compatibility View" feature to IE8 that forces IE8 to behave more like IE7—that is, to be compatible with the millions of web pages that were tested against IE7 but now break under IE8.&amp;nbsp; Unfortunately, they did not make Compatibility View the default.&amp;nbsp; In other words, the default is non-compatibility.&amp;nbsp; (Silly.)&lt;/p&gt; &lt;p&gt;After doing a little Googling, I ran across &lt;a title="Beyond DOCTYPE: Web Standards, Forward Compatibility, and IE8" href="http://alistapart.com/articles/beyonddoctype" target="_blank"&gt;this article&lt;/a&gt;, by Aaron Gustafson, that provides a hint about how to force IE8 to use Compatibility View for a web page automatically, without requiring the user to mess with browser options.&lt;/p&gt; &lt;h3&gt;&lt;/h3&gt; &lt;h3&gt;X-UA-Compatible Header&lt;/h3&gt; &lt;p&gt;Here's the magic.&lt;/p&gt; &lt;p&gt;IE8 recognizes a new HTTP response header that tells IE8 which browser(s) the web page has been tested against.&amp;nbsp; In other words, with which browser(s) the web page is compatible.&amp;nbsp; Specifying a value of "IE=7" means the web page is compatible with IE7 and causes IE8 to automatically process it using its Compatibility View.&lt;/p&gt; &lt;p&gt;Alternatively, you can specify the X-UA-Compatible details by placing an http-equiv &lt;code&gt;meta&lt;/code&gt; element within the web page itself:&lt;/p&gt; &lt;blockquote&gt;&lt;pre&gt;&amp;lt;meta http-equiv="X-UA-Compatible" content="IE=7" /&amp;gt;&lt;/pre&gt;&lt;/blockquote&gt;
&lt;p&gt;If you use the &lt;code&gt;meta&lt;/code&gt; element approach, you must ensure that the tag appear early in the head section of the page.&amp;nbsp; Specifically, it can be preceded by other &lt;code&gt;meta&lt;/code&gt; elements and the &lt;code&gt;title&lt;/code&gt; element, but will need to be placed above any other elements—and you can’t add it into the DOM via JavaScript.&lt;/p&gt;
&lt;p&gt;Once I added the &lt;code&gt;meta&lt;/code&gt; element to the MyST Blogsite rendering framework (which is all XSL, so adding it was very simple), we were able to close all support issues related to IE8 compatibility issues.&amp;nbsp; And, I was able to stop pulling my hair out.&lt;/p&gt;</Description>
        <ResourceTypeID ObjectClass="ResourceType" Title="Item:Link">9</ResourceTypeID>
        <ContentType>application/xml</ContentType>
        <ContentDocument>
         <ItemProperties>
               <CommonProperties>
       
                <Keywords>
                 <Keyword>browser compatibility</Keyword>

                 <Keyword>developer</Keyword>

                 <Keyword>IE7</Keyword>

                 <Keyword>IE8</Keyword>

                 <Keyword>Internet Explorer</Keyword>

                 <Keyword>software</Keyword>

                 <Keyword>user-agent</Keyword>

                 <Keyword>web</Keyword>

       </Keywords>

                <Links>
                 <Link>
                  <Title>Beyond DOCTYPE: Web Standards, Forward Compatibility, and IE8</Title>

                  <Synopsis>Aaron Gustafson describes how to use IE8's new X-UA-Compatible support to achieve backward compatibility with IE7</Synopsis>

                  <URL>http://alistapart.com/articles/beyonddoctype</URL>

        </Link>

       </Links>

               <Hidden>false</Hidden>
        </CommonProperties>

              <ns3:Details xmlns="urn:MyST-Technology.Structured.Details" xmlns:ns3="urn:MyST-Technology.Structured.Details">
               <ns3:Collection name="Quote" type="urn:MyST-Technology.Structured.Collection.Captyx.Quote">
                                <ns3:Attribute name="Quote" type="large-text">
                                 <ns3:Value>Once I added the meta element... we were able to close all support issues related to IE8 compatibility issues.  And, I was able to stop pulling my hair out.</ns3:Value>



        </ns3:Attribute>



                                <ns3:Attribute name="Name" type="text"/>



                                <ns3:Attribute name="Blog" type="url"/>



                                <ns3:Attribute name="Title" type="text"/>



                                <ns3:Attribute name="Company" type="text"/>



                                <ns3:Attribute name="Web" type="url"/>



                                <ns3:Attribute name="Icon" type="checkbox" value="true"/>



                                <ns3:Attribute name="Frame" type="text" value="bars"/>



                                <ns3:Attribute name="HTML" type="checkbox" value="false"/>



                                <ns3:Attribute name="Alignment" type="text" value="right"/>



                                <ns3:Attribute name="Text Size" type="text" value="large"/>



                                <ns3:Attribute name="Container" type="text" value="div"/>



                                <ns3:Attribute name="Container ID" type="text"/>



                                <ns3:Attribute name="Container Class" type="text" value="Quote"/>



                                <ns3:Attribute name="Container Style" type="text"/>



                                <ns3:Attribute name="_captyx.position" type="text" value="_top"/>



                                <ns3:Attribute name="_captyx.embargo" type="checkbox" value="false"/>



                                <ns3:Attribute name="_captyx.scope" type="text"/>



                                <ns3:Attribute name="_captyx.sortkey" type="text"/>



       </ns3:Collection>

      </ns3:Details>

              <RemoteInfo>
               <UserAgent>MySmartChannels/6 (mailto:info@myst-technology.com; MyST Blogsite MetaWeblog API 6.00.0110)</UserAgent>

               <RemoteHost>127.0.0.1</RemoteHost>

               <RemoteAddr>127.0.0.1</RemoteAddr>

               <RemoteUser>aseidl</RemoteUser>

               <ForwardedFor>205.145.142.200</ForwardedFor>

      </RemoteInfo>

     </ItemProperties>
       </ContentDocument>
      </Resource>
      <Shares/>
      <Subjects/>
      <UserPermissions>
       <CanDelete>false</CanDelete>
       <CanDiscover>true</CanDiscover>
       <CanEdit>false</CanEdit>
       <CanEditPermissions>false</CanEditPermissions>
       <CanRead>true</CanRead>
      </UserPermissions>
      <CommentInfo>
       <CommentChannelRef AllowAnonymous="true" Inherited="true">
        <ChannelID ObjectClass="Channel" Title="[Public] Public Comments">188081</ChannelID>
        <UserPermissions>
         <CanCreateChannelItem>false</CanCreateChannelItem>
         <CanDelete>false</CanDelete>
         <CanDiscover>true</CanDiscover>
         <CanEdit>false</CanEdit>
         <CanEditPermissions>false</CanEditPermissions>
         <CanPublish>false</CanPublish>
         <CanRead>true</CanRead>
        </UserPermissions>
       </CommentChannelRef>
       <Comments>
        <Comment>
         <Item>
          <Resource>
           <ObjectID>232104</ObjectID>
           <ObjectClass>Resource</ObjectClass>
           <OwnerID ObjectClass="Domain" Title="[Public] Public Comments">188081</OwnerID>
           <CreatedByID ObjectClass="User" Title="$Anonymous">173239</CreatedByID>
           <ModifiedByID ObjectClass="User" Title="aseidl">21</ModifiedByID>
           <CreateTime Title="2009-05-13 17:12:44 EDT">1242249164040</CreateTime>
           <ModifyTime Title="2009-05-13 17:31:20 EDT">1242250280882</ModifyTime>
           <SecurityModel>Controlled</SecurityModel>
           <Name>RE: Web Developer Tip: X-UA-Compatibility Header Simplifies Life with IE8</Name>
           <Summary>Thank you!</Summary>
           <Description>&lt;p&gt;Thank you so much for that tip!&amp;nbsp; I'm a newbie web developer and was tearing my hair out because my standards-compliant code was misbehaving on IE8 and I had no idea what to do.&amp;nbsp; That meta tag is a life-saver.&lt;/p&gt;</Description>
           <ResourceTypeID ObjectClass="ResourceType" Title="Item:Content">10</ResourceTypeID>
           <ContentType>application/xml</ContentType>
           <ContentDocument>
            <ItemProperties>
                  <CommonProperties>
                   <Hidden>false</Hidden>

      </CommonProperties>

                  <ns3:Details xmlns="urn:MyST-Technology.Structured.Details" xmlns:ns3="urn:MyST-Technology.Structured.Details">
                   <ns3:Collection name="Tanya" type="urn:MyST-Technology.Structured.Collection.Contact">
                    <ns3:Attribute name="EMail" type="email" value="tanya@tcconsulting.co.uk"/>

                    <ns3:Attribute name="Web" type="url"/>

                    <ns3:Attribute name="Twitter" type="twitter"/>

       </ns3:Collection>

      </ns3:Details>

                  <RemoteInfo>
                   <UserAgent>Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)</UserAgent>

                   <RemoteHost>127.0.0.1</RemoteHost>

                   <RemoteAddr>127.0.0.1</RemoteAddr>

                   <RemoteUser>aseidl</RemoteUser>

                   <ForwardedFor>68.40.167.222</ForwardedFor>

      </RemoteInfo>

     </ItemProperties>
           </ContentDocument>
          </Resource>
          <UserPermissions>
           <CanDelete>false</CanDelete>
           <CanDiscover>true</CanDiscover>
           <CanEdit>false</CanEdit>
           <CanEditPermissions>false</CanEditPermissions>
           <CanRead>true</CanRead>
          </UserPermissions>
          <CommentInfo>
           <CommentChannelRef>
            <ChannelID/>
           </CommentChannelRef>
           <Comments/>
          </CommentInfo>
         </Item>
        </Comment>
       </Comments>
      </CommentInfo>
      <Views>
       <SourceID ObjectClass="Channel" Title="[Weblog] FAS Talk">187691</SourceID>

              <View>
               <Name>blog</Name>

               <Model>blogsite/FASeidl/web</Model>

               <Style/>

               <Scheme/>

       </View>

              <View>
               <Name>edit-item</Name>

               <Model>blogsite/FASeidl/right-content</Model>

               <Style/>

               <Scheme/>

       </View>

              <View>
               <Name>left</Name>

               <Model>blogsite/FASeidl/left-content</Model>

               <Style/>

               <Scheme/>

       </View>

              <View>
               <Name>right</Name>

               <Model>blogsite/FASeidl/right-content</Model>

               <Style/>

               <Scheme/>

       </View>

              <View>
               <Name>wide</Name>

               <Model>blogsite/FASeidl/wide-content</Model>

               <Style/>

               <Scheme/>

       </View>

      </Views>
       <Views>
        <SourceID ObjectClass="Channel" Shared="true" Title="[Public] What's New">187697</SourceID>

               <View>
                <Name>blog</Name>

                <Model>blogsite/FASeidl/whatsnew</Model>

                <Style/>

                <Scheme/>

       </View>

               <View>
                <Name>edit-item</Name>

                <Model>blogsite/FASeidl/right-content</Model>

                <Style/>

                <Scheme/>

       </View>

               <View>
                <Name>left</Name>

                <Model>blogsite/FASeidl/left-content</Model>

                <Style/>

                <Scheme/>

       </View>

               <View>
                <Name>right</Name>

                <Model>blogsite/FASeidl/right-content</Model>

                <Style/>

                <Scheme/>

       </View>

               <View>
                <Name>wide</Name>

                <Model>blogsite/FASeidl/wide-content</Model>

                <Style/>

                <Scheme/>

       </View>

      </Views>
       </Item>
      </GetChannelItem_Result>
     </MySmartChannels>

