<?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>CodeDread Blog &#187; xhtml</title>
	<atom:link href="http://www.codedread.com/blog/archives/tag/xhtml/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codedread.com/blog</link>
	<description></description>
	<lastBuildDate>Mon, 02 Jan 2012 15:30:52 +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>How Do You Get Patches Into WordPress</title>
		<link>http://www.codedread.com/blog/archives/2008/07/15/how-do-you-get-patches-into-wordpress/</link>
		<comments>http://www.codedread.com/blog/archives/2008/07/15/how-do-you-get-patches-into-wordpress/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 05:09:35 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://blog.codedread.com/archives/2008/07/15/how-do-you-get-patches-into-wordpress/</guid>
		<description><![CDATA[Looks like WordPress 2.6 is out. I submitted three patches about three months ago: 6583, 6602 and 6642. I&#8217;d like to sturdy up WordPress&#8217;s ability to handle invalid XHTML markup. Care to take a whack at my XHTML Piñata? This all sounds vaguely familiar. Anyway does anyone have any suggestions on how to get these [...]]]></description>
			<content:encoded><![CDATA[<p><object type="image/svg+xml" width="100" height="100" align="right" hspace="10" data="http://codedread.com/clipart/wordpress.svgz"><span/></object>Looks like <a href="http://wordpress.org/development/2008/07/wordpress-26-tyner/">WordPress 2.6</a> is out.  I submitted three patches about three months ago:  <a href="http://trac.wordpress.org/ticket/6583">6583</a>, <a href="http://trac.wordpress.org/ticket/6602">6602</a> and <a href="http://trac.wordpress.org/ticket/6642">6642</a>.  I&#8217;d like to sturdy up WordPress&#8217;s ability to handle invalid XHTML markup.  Care to take a whack at my <a href="http://blog.codedread.com/xhtml-pinata/">XHTML Piñata</a>?  This all sounds <a href="http://blog.codedread.com/archives/2008/04/23/wordpress-xhtmlation-stalled/">vaguely familiar</a>.</p>
<p>Anyway does anyone have any suggestions on how to get these patches moving?  Someone I need to email?  kthxbai</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedread.com/blog/archives/2008/07/15/how-do-you-get-patches-into-wordpress/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>WordPress: XHTMLation Stalled?</title>
		<link>http://www.codedread.com/blog/archives/2008/04/23/wordpress-xhtmlation-stalled/</link>
		<comments>http://www.codedread.com/blog/archives/2008/04/23/wordpress-xhtmlation-stalled/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 19:27:36 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://blog.codedread.com/archives/2008/04/23/wordpress-xhtmlation-stalled/</guid>
		<description><![CDATA[I spent some time a few weeks ago quietly trying to shore up my XHTML defenses on my WordPress install &#8211; not everyone is planning to move to Drupal just yet. I have a bunch of patches that are aging. I think three of them are &#8216;good to go&#8217; but I need someone to look [...]]]></description>
			<content:encoded><![CDATA[<p><object type="image/svg+xml" width="100" height="100" align="right" hspace="10" data="http://codedread.com/clipart/wordpress.svgz"><span/></object>I spent some time a few weeks ago quietly trying to shore up my <a href="http://intertwingly.net/blog/2008/02/24/XHTMLating-WordPress">XHTML defenses</a> on my <a href="http://wordpress.org/">WordPress</a> install &#8211; not everyone is <a href="http://realtech.burningbird.net/ajax/last-post/">planning to move</a> to <a href="http://drupal.org">Drupal</a> just yet.  I have a bunch of <a href="http://www.codedread.com/contrib.php#wp">patches</a> that are aging.  I think three of them are &#8216;good to go&#8217; but I need someone to look at them.  The patch for <a href="http://trac.wordpress.org/ticket/5998">Ticket 5998</a> needs some work to make it applicable across trackbacks and pingbacks as well as ensuring it is applicable only for UTF-8.  Unfortunately, no one is really looking at the patches because apparently no one on this planet would bother serving WordPress as true XHTML.  Anyway, enough whinging &#8211; it would be great if some of these could make it into WordPress 2.5.1.</p>
<p>In the meantime, if anyone wants to try and break my WordPress install by injecting funky XHTML, please be my guest on <a href="http://blog.codedread.com/xhtml-pinata" title="Please try to break my site with invalid XHTML">this page</a>.  Currently <a href="http://intertwingly.net/blog" title="Sam Ruby">Sam</a> is in the lead with two breakages (now fixed).  Oh, and your name doesn&#8217;t have to be Philip, Jacques, Mark or Shelley either.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedread.com/blog/archives/2008/04/23/wordpress-xhtmlation-stalled/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>35,000-Year-Old Tools Found</title>
		<link>http://www.codedread.com/blog/archives/2008/04/07/35000-year-old-tools-found/</link>
		<comments>http://www.codedread.com/blog/archives/2008/04/07/35000-year-old-tools-found/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 22:57:44 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://blog.codedread.com/archives/2008/04/07/35000-year-old-tools-found/</guid>
		<description><![CDATA[Via CNN. My only question: Did they support XHTML output?]]></description>
			<content:encoded><![CDATA[<p><object type="image/svg+xml" width="100" height="100" align="right" hspace="10" data="http://codedread.com/clipart/tools.svgz"><span/></object><a href="http://www.cnn.com/2008/WORLD/asiapcf/04/07/australia.stone.tool.ap/index.html?eref=rss_tech">Via CNN</a>.  My only question:  Did they support XHTML output?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedread.com/blog/archives/2008/04/07/35000-year-old-tools-found/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Stimulating WordPress</title>
		<link>http://www.codedread.com/blog/archives/2008/02/25/stimulating-wordpress/</link>
		<comments>http://www.codedread.com/blog/archives/2008/02/25/stimulating-wordpress/#comments</comments>
		<pubDate>Mon, 25 Feb 2008 18:05:45 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://blog.codedread.com/archives/2008/02/25/stimulating-wordpress/</guid>
		<description><![CDATA[I think XHTMLate should be pronounced &#8220;stimulate&#8221;. Anyway, here&#8217;s a list of WordPress bugs that I think are important for XHTML: 3833 &#8211; Extra &#60;/p&#62; inside blockquote 3914, 4746 &#8211; Two feeds on Dashboard don&#8217;t work with application/xhtml+xml 4466 &#8211; Serve application/xhtml+xml if browser compliant 4857 &#8211; More issues with wpautop() 5144 &#8211; Paragraph end-tag [...]]]></description>
			<content:encoded><![CDATA[<p><object type="image/svg+xml" width="100" height="100" align="right" hspace="10" data="http://codedread.com/clipart/wordpress.svgz"><span/></object>I think <a href="http://realtech.burningbird.net/development/xhtmlating-feeds/">XHTMLate</a> should be pronounced &#8220;stimulate&#8221;.  Anyway, here&#8217;s a list of WordPress bugs that I think are important for XHTML:  <span id="more-432"></span></p>
<p><object type="image/svg+xml" width="100" height="100" align="right" hspace="10" data="http://www.codedread.com/clipart/bugs.svgz"><span/></object></p>
<ul>
<li><a href="http://trac.wordpress.org/ticket/3833">3833</a> &#8211; Extra &#60;/p&#62; inside blockquote</li>
<li><a href="http://trac.wordpress.org/ticket/3914">3914</a>, <a href="http://trac.wordpress.org/ticket/4746">4746</a> &#8211; Two feeds on Dashboard don&#8217;t work with application/xhtml+xml</li>
<li><a href="http://trac.wordpress.org/ticket/4466">4466</a> &#8211; Serve application/xhtml+xml if browser compliant</li>
<li><a href="http://trac.wordpress.org/ticket/4857">4857</a> &#8211; More issues with wpautop()</li>
<li><a href="http://trac.wordpress.org/ticket/5144">5144</a> &#8211; Paragraph end-tag wrongly inserted after object tag</li>
<li><a href="http://trac.wordpress.org/ticket/5250">5250</a> &#8211; wpautop() issue with nested lists</li>
<li><a href="http://trac.wordpress.org/ticket/5998">5998</a> &#8211; Invalid Unicode characters</li>
</ul>
<p>I know there are a heap more.  I know more will be submitted.  This is just what I found when scanning the first few pages of a search for &#8220;xhtml&#8221;.</p>
<p>I&#8217;ve encountered 5144 directly on this blog with my <a href="http://codedread.com/clipart/">clip art</a>.  I&#8217;ve found that I have to start the paragraph right after the &#60;object&#62; tag without a newline.  A little annoying, but workaround-able.</p>
<p><a href="http://realtech.burningbird.net/">Shelley</a> just created Bug 5998 right now.  This is a bug for WP accepting <a href="http://www.w3.org/TR/REC-xml/#NT-Char">illegal Unicode code points</a> like U+FFFE, which <a href="http://golem.ph.utexas.edu/~distler/blog/">Jacques</a> so <a href="http://blog.codedread.com/archives/2008/02/23/perception-is-everything/#comment-12344">kindly demonstrated</a>.</p>
<p>Sad/Funny sidenote: When he did this, I ran into the very problem that <a href="http://diveintomark.org/archives/2004/01/14/thought_experiment">Mark mentioned</a> years ago and I had to poke my WordPress database option to switch back to text/html for the WordPress admin panel so I could correct Jacques&#8217; invalid character.  <a href="http://intertwingly.net/blog/2008/02/24/XHTMLating-WordPress#c1203957015">Tail now less bushy</a>&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedread.com/blog/archives/2008/02/25/stimulating-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bugs From New Theme</title>
		<link>http://www.codedread.com/blog/archives/2008/02/20/bugs-from-new-theme/</link>
		<comments>http://www.codedread.com/blog/archives/2008/02/20/bugs-from-new-theme/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 01:44:21 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[SVG]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[webkit]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://blog.codedread.com/archives/2008/02/20/bugs-from-new-theme/</guid>
		<description><![CDATA[Sander asked me to post a list of bugs that I found as a result of working on my new theme. Here they are. Mozilla Bugs Bug 418164 Firefox 3 Regression: white-space:pre div forces browser window width Bug 418305 Enhancement Request: Make Yellow-Screen-Of-Death Follow the Geneva Convention 410820 &#60;svg&#62; elements respond to mouse events when [...]]]></description>
			<content:encoded><![CDATA[<p><object type="image/svg+xml" width="100" height="100" align="right" hspace="10" data="http://codedread.com/clipart/bugs.svgz"><span/></object><a href="http://weblog.juima.org/">Sander</a> <a href="http://blog.codedread.com/archives/2008/02/18/new-xhtmlsvg-theme/#comment-12312">asked</a>  me to post a list of bugs that I found as a result of working on my <a href="http://blog.codedread.com/archives/2008/02/18/new-xhtmlsvg-theme/">new theme</a>.  Here they are.  <span id="more-426"></span></p>
<h3>Mozilla Bugs</h3>
<dl>
<dt><a href="http://bugzilla.mozilla.org/show_bug.cgi?id=418164">Bug 418164</a></dt>
<dd>Firefox 3 Regression: white-space:pre div forces browser window width</dd>
<dt><a href="http://bugzilla.mozilla.org/show_bug.cgi?id=418305">Bug 418305</a></dt>
<dd>Enhancement Request: Make Yellow-Screen-Of-Death Follow the Geneva Convention</dd>
<dt><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=410820">410820</a></dt>
<dd>&#60;svg&#62; elements respond to mouse events when they should not <strong>(Not Reported By Me, But Important)</strong></dd>
</dl>
<h3>WebKit Bugs</h3>
<dl>
<dt><a href="http://bugs.webkit.org/show_bug.cgi?id=15214">Bug 15214</a></dt>
<dd>SVG link with target=&#8221;_top&#8221; opens new window <strong>(FIXED since r25729)</strong></dd>
<dt><a href="http://bugs.webkit.org/show_bug.cgi?id=17423">Bug 17423</a></dt>
<dd>Enhancement Request: Add support for xml:base</dd>
<dt><a href="http://bugs.webkit.org/show_bug.cgi?id=17424">Bug 17424</a></dt>
<dd>WebKit Regression: SVG properly positioned only upon Redraw</dd>
</dl>
<h3>My Own Fixes</h3>
<ul>
<li><a href="http://blog.codedread.com/archives/2008/02/18/new-xhtmlsvg-theme/#comment-12307">Phil noticed</a> that the side gradients weren&#8217;t being displayed in Opera 9.2 or earlier builds of Opera 9.5.  I&#8217;ve since &#8220;fixed&#8221; that by explicitly setting the height of the divs to be 100% (with top:0; bottom:0;).</li>
<li><a href="http://blog.codedread.com/archives/2008/02/18/new-xhtmlsvg-theme/#comment-12312">Sander reported</a> that there was an annoying horizontal scrollbar in Firefox (also was in Safari).  This was a result of me trying to get the menu to display workably in all browsers, including IE.  I have since fixed this.</li>
<li><a href="http://blog.codedread.com/archives/2008/02/18/new-xhtmlsvg-theme/#comment-12315">Sander also pointed out</a> that the &#38;raquo; (and &#38;laquo;) entity is being shown literally in Opera.  This is actually the right thing for Opera to do since XHTML doesn&#8217;t define any character references like HTML.  I need to wrap my head around this and then either add the entity reference or update my WP theme.  Haven&#8217;t got to it yet.</li>
</ul>
<p>Is it sick that I enjoyed putting the site together and tweaking it for all the various browsers out there?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codedread.com/blog/archives/2008/02/20/bugs-from-new-theme/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>New XHTML+SVG Theme</title>
		<link>http://www.codedread.com/blog/archives/2008/02/18/new-xhtmlsvg-theme/</link>
		<comments>http://www.codedread.com/blog/archives/2008/02/18/new-xhtmlsvg-theme/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 05:01:58 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Opera]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[SVG]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://www.codedread.com/blog/archives/2008/02/18/new-xhtmlsvg-theme/</guid>
		<description><![CDATA[I&#8217;ve been tinkering at a new theme for my website since the Christmas holidays and finally got around to flipping the switch this weekend. I decided to try my hand, for the first time, at real XHTML served as application/xhtml+xml but with PHP content negotiation to text/html for poor ol&#8217; Internet Explorer. I like the [...]]]></description>
			<content:encoded><![CDATA[<p><object type="image/svg+xml" width="100" height="100" align="right" hspace="10" data="http://codedread.com/clipart/party.svgz"><span/></object>I&#8217;ve been tinkering at a new theme for <a href="http://www.codedread.com/">my website</a> since the Christmas holidays and finally got around to flipping the switch this weekend.  I decided to try my hand, for the first time, at real XHTML served as application/xhtml+xml but with PHP content negotiation to text/html for poor ol&#8217; Internet Explorer.  <span id="more-425"></span></p>
<p>I like the idea of having a seamless transition between my blog and website. so this evening I decided to flip the switch on the blog, even though the WordPress theme is very much a work-in-progress.  I still need to figure out what to do with the sidebar,  but I can always hack away on the theme on my old blog installation internally and publish updates once they have been verified on a set of decent browsers (Firefox 2+, Opera 9+, Safari 3+).</p>
<p>I use <a href="http://www.w3.org/Graphics/SVG" title="Scalable Vector Graphics">SVG</a> in a bunch of different places:  inline as decoration around the page (the blue gradient and the title) and referenced (via &#60;object&#62;) for the icon menu (at the top) and W3C validation badges (at the bottom).  Once I nail down all the particulars, I&#8217;ll compress <a href="http://www.codedread.com/menu.svg" title="SVG-enabled icon menu">menu.svg</a> and serve only menu.svgz so it can be neatly cached (at roughly 15kb).  But I&#8217;ll keep menu.svg around for web developers to look at if they&#8217;re curious.</p>
<p>Work on this led to a few bugs reported at Mozilla, WebKit and Opera &#8211; but no show stoppers.  The best user experience is in Opera 9.5.  For the first time, I&#8217;m using declarative animation (in a simple way) for icon mouse-hovering.  Firefox and Safari users miss out for now, unfortunately.</p>
<p>It turns out, as <a href="http://realtech.burningbird.net/standards/adventures-in-xhtml/">Shelley has mentioned</a>, that the best developer experience to work on XHTML is also (by far) Opera.  Instead of Firefox&#8217;s &#8220;yellow screen of death&#8221; we&#8217;re greeted with Opera&#8217;s &#8220;light grey screen of mild achiness&#8221;.  Instead of cryptic messages about unexpected tags, the element which failed to be terminated and the tag that broke the XML parsing are highlighted for you.</p>
<p>I encountered some funniness when I tried to validate my pages on the <a href="http://validator.w3.org/">W3C Validator</a>.  Apparently it thought they were text/html pages.  So I had to add a little catch in my PHP content negotiation code to force application/xhtml+xml when I want to.  Anyway, the PHP content negotiation code looks like this:</p>
<div class="code">&#60;?php<br/>if( (!stristr($_SERVER["HTTP_ACCEPT"],&#8221;application/xhtml+xml&#8221;) &#38;&#38; <br/>&#160;&#160;&#160;&#160; !isset($_GET['xhtml'])) &#124;&#124; $_GET['xhtml'] === &#8217;0&#8242; )<br/>{<br/>&#160;&#160;header(&#8220;Content-Type: text/html;charset=utf-8&#8243;);<br/>&#160;&#160;header(&#8220;Vary: Accept&#8221;);<br/>&#160;&#160;printf(&#8220;&#60;!DOCTYPE HTML PUBLIC \&#8221;-//W3C//DTD HTML 4.01//EN\&#8221;".<br/>&#160;&#160;&#160;&#160;&#8221; \&#8221;http://www.w3.org/TR/html4/strict.dtd\&#8221;&#62;\n&#8221;);<br/>&#160;&#160;printf(&#8220;&#60;html lang=\&#8221;en\&#8221;&#62;\n&#8221;);<br/>}<br/>else <br/>{<br/>&#160;&#160;header(&#8220;Content-Type: application/xhtml+xml;charset=utf-8&#8243;);<br/>&#160;&#160;header(&#8220;Vary: Accept&#8221;);<br/>&#160;&#160;printf(&#8220;&#60;&#8221; . &#8220;?xml version=\&#8221;1.0\&#8221; encoding=\&#8221;UTF-8\&#8221; ?&#8221; . &#8220;&#62;\n&#8221;);<br/>&#160;&#160;printf(&#8220;&#60;!DOCTYPE html PUBLIC \&#8221;-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN\&#8221;" .<br/>&#160;&#160;&#160;&#160;&#8221;\&#8221;http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd\&#8221;&#62;\n&#8221;);<br/>&#160;&#160;printf(&#8220;&#60;html xmlns=\&#8221;http://www.w3.org/1999/xhtml\&#8221; xmlns:svg=\&#8221;http://www.w3.org/2000/svg\&#8221;" .<br/>&#160;&#160;&#160;&#160;&#8221; xmlns:xlink=\&#8221;http://www.w3.org/1999/xlink\&#8221; xml:lang=\&#8221;en\&#8221;&#62;\n&#8221;);<br/>}<br/>?&#62;<br/></div>
<p>You might find some of my old site themes amusing, sad, or boring:</p>
<ul>
<li><a href="http://www.codedread.com/archive/2004-04/">2004-04</a> &#8211; Early static HTML, table-based layout, no CSS.</li>
<li><a href="http://www.codedread.com/archive/2005-04/">2005-04</a> &#8211; Reworked into a templated PHP site.  Eventually I turned it from table-based to CSS layout-based (snapshot is table-based).</li>
<li><a href="http://www.codedread.com/archive/2006-01/">2006-01</a> &#8211; Theme from 2006.  Using CSS for layout.  Embedded SVG aqua buttons for navigation menus.  All modern browsers now support the features I was using on this page.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.codedread.com/blog/archives/2008/02/18/new-xhtmlsvg-theme/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>

