<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/rss-style.xsl" type="text/xsl"?>
<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>theme &#8211; Terence Eden’s Blog</title>
	<atom:link href="https://shkspr.mobi/blog/tag/theme/feed/" rel="self" type="application/rss+xml" />
	<link>https://shkspr.mobi/blog</link>
	<description>Regular nonsense about tech and its effects 🙃</description>
	<lastBuildDate>Fri, 02 May 2025 21:35:52 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://shkspr.mobi/blog/wp-content/uploads/2023/07/cropped-avatar-32x32.jpeg</url>
	<title>theme &#8211; Terence Eden’s Blog</title>
	<link>https://shkspr.mobi/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title><![CDATA[Making DynamicWP's Simple White Theme XHTML Compliant]]></title>
		<link>https://shkspr.mobi/blog/2010/07/making-dynamic-wps-simple-white-theme-xhtml-compliant/</link>
					<comments>https://shkspr.mobi/blog/2010/07/making-dynamic-wps-simple-white-theme-xhtml-compliant/#comments</comments>
				<dc:creator><![CDATA[@edent]]></dc:creator>
		<pubDate>Tue, 27 Jul 2010 10:49:14 +0000</pubDate>
				<category><![CDATA[/etc/]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[GPL]]></category>
		<category><![CDATA[meta]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">http://shkspr.mobi/blog/?p=2217</guid>

					<description><![CDATA[This blog is proud to be XHTML 1.0 Strict Compliant.  Just like it is polite to use correct spelling and grammar for human readers, I believe that correct markup is &#34;polite&#34; for rendering engines.  I&#039;ve recently started using DynamicWP&#039;s Simple White Theme.  The theme is excellent, but generated around 60 validation errors.  Luckily these were caused by a scant half dozen errors in the source co…]]></description>
										<content:encoded><![CDATA[<p>This blog is proud to be <a href="http://validator.w3.org/check?uri=referer">XHTML 1.0 Strict Compliant</a>.&nbsp; Just like it is polite to use correct spelling and grammar for human readers, I believe that correct markup is "polite" for rendering engines.</p>

<p>I've recently started using <a href="http://www.dynamicwp.net/">DynamicWP</a>'s <a href="http://www.dynamicwp.net/free-themes/simple-white-theme/">Simple White Theme</a>.&nbsp; The theme is excellent, but generated around 60 validation errors.&nbsp; Luckily these were caused by a scant half dozen errors in the source code.
<img src="https://shkspr.mobi/blog/wp-content/uploads/2010/07/lightweight-cover550-300x175.jpg" alt="Screenshots of the theme" title="lightweight-cover550" width="300" height="175" class="aligncenter size-medium wp-image-2272"></p>

<p>Here is a quick summary of the errors, why they need to be fixed, and how to fix them.</p>

<p>footer.php - line 8</p>

<p>Why: Target isn't a valid XHTML attribute</p>

<p>From:</p>

<pre><code class="language-_">&lt;p&gt;Powered by &lt;a href="http://www.wordpress.org/" target="_blank"WordPress&lt;/a&gt; | SimpleWhite by &lt;a href="http://www.dynamicwp.net/"&gt;Dynamicwp&lt;/a&gt;&lt;/p&gt;
</code></pre>

<p>To:</p>

<pre><code class="language-_">&lt;p&gt;Powered by &lt;a href="http://www.wordpress.org/" &gt;WordPress&lt;/a&gt; | SimpleWhite by &lt;a href="http://www.dynamicwp.net/"&gt;Dynamicwp&lt;/a&gt;&lt;/p&gt;
</code></pre>

<p>index.php - line 63</p>

<p>Why: The &amp; symbol should be escaped to &amp;amp; when used in URLs. The element needs to be closed. The alt attribute needs to be included.</p>

<p>From:</p>

<pre><code class="language-_">&lt;img src="&lt;?php bloginfo('template_directory'); ?&gt;/timthumb.php?src=&lt;?php echo catch_that_image(); ?&gt;&amp;w=275&amp;h=120&amp;zc=1"&gt;
</code></pre>

<p>To:</p>

<pre><code class="language-_">&lt;img src="&lt;?php bloginfo('template_directory'); ?&gt;/timthumb.php?src=&lt;?php echo catch_that_image(); ?&gt;&amp;amp;w=275&amp;amp;h=120&amp;amp;zc=1" alt="" /&gt;
</code></pre>

<p>line 69</p>

<p>Why: The element needs to be closed</p>

<p>From:</p>

<pre><code class="language-_">&lt;hr&gt;
</code></pre>

<p>To:</p>

<pre><code class="language-_">&lt;hr /&gt;
</code></pre>

<p>sidebar.php - line 24</p>

<p>Why: The element needs to be closed</p>

<p>From:</p>

<pre><code class="language-_">&lt;img src="&lt;?php echo catch_that_image(); ?&gt;"&gt;
</code></pre>

<p>To:</p>

<pre><code class="language-_">&lt;img src="&lt;?php echo catch_that_image(); ?&gt;" /&gt;
</code></pre>

<p>line 26</p>

<p>Why: The &amp; symbol should be escaped to &amp;amp; when used in URLs. The element needs to be closed. The alt attribute needs to be included.</p>

<p>From:</p>

<pre><code class="language-_">&lt;img src="&lt;?php bloginfo('template_directory'); ?&gt;/timthumb.php?src=&lt;?php echo catch_that_image(); ?&gt;&amp;w=40&amp;h=40&amp;zc=1"&gt;
</code></pre>

<p>To:</p>

<pre><code class="language-_">&lt;img src="&lt;?php bloginfo('template_directory'); ?&gt;/timthumb.php?src=&lt;?php echo catch_that_image(); ?&gt;&amp;amp;w=40&amp;amp;h=40&amp;amp;zc=1" alt="" /&gt;
</code></pre>

<p>line 29</p>

<p>Why: The alt attribute needs to be included.</p>

<p>From:</p>

<pre><code class="language-_">&lt;img src="&lt;?php bloginfo('template_directory'); ?&gt;/images/noimagesmall.jpg" /&gt;
</code></pre>

<p>To:</p>

<pre><code class="language-_">&lt;img src="&lt;?php bloginfo('template_directory'); ?&gt;/images/noimagesmall.jpg" alt="" /&gt;
</code></pre>

<p>line 42</p>

<p>Why: Error.&nbsp; The <code>&lt;ul&gt;</code> should be <code>&lt;/ul&gt;</code> to close the list.</p>

<p>From:</p>

<pre><code class="language-_">&lt;ul&gt;
</code></pre>

<p>To:</p>

<pre><code class="language-_">&lt;/ul&gt;
</code></pre>
<img src="https://shkspr.mobi/blog/wp-content/themes/edent-wordpress-theme/info/okgo.php?ID=2217&HTTP_REFERER=RSS" alt="" width="1" height="1" loading="eager">]]></content:encoded>
					
					<wfw:commentRss>https://shkspr.mobi/blog/2010/07/making-dynamic-wps-simple-white-theme-xhtml-compliant/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
	</channel>
</rss>
