<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: Is Blogspot serving invalid XHTML?</title>
	<link>http://ask.metafilter.com/26702/Is-Blogspot-serving-invalid-XHTML/</link>
	<description>Comments on Ask MetaFilter post Is Blogspot serving invalid XHTML?</description>
	<pubDate>Sat, 05 Nov 2005 11:18:12 -0800</pubDate>
	<lastBuildDate>Sat, 05 Nov 2005 11:18:12 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: Is Blogspot serving invalid XHTML?</title>
		<link>http://ask.metafilter.com/26702/Is-Blogspot-serving-invalid-XHTML</link>	
		<description>Blogspot automagically codes line breaks in XHTML form, so I&apos;m trying to get my site to validate as XHTML 1.0.  Parts of it fail to validate, but they&apos;re all parts that expand from strings in the Blogger template.  What am I doing wrong?  How do I get these parts to validate? &lt;br /&gt;&lt;br /&gt; Going to &lt;a href=&quot;http://validator.w3.org/check?uri=http%3A%2F%2Ftuwa.blogspot.com&quot;&gt;the validation results for my page&lt;/a&gt; you can see that the same errors present themselves over and over:&lt;br&gt;
&lt;cite&gt;there is no attribute &quot;location.href&quot;.&lt;br&gt;
an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified.&lt;br&gt;
NET-enabling start-tag not immediately followed by null end-tag.&lt;br&gt;
end tag for element &quot;a&quot; which is not open.&lt;/cite&gt;&lt;br&gt;
&lt;br&gt;
These all expand from this part of the template:&lt;br&gt;
         &amp;lt;MainOrArchivePage&amp;gt;&amp;lt;BlogItemCommentsEnabled&amp;gt;&amp;lt;a href=&quot;&amp;lt;$BlogItemCommentCreate$&amp;gt;&quot; &amp;lt;$BlogItemCommentFormOnclick$&amp;gt;&amp;gt;&amp;lt;$BlogItemCommentCount$&amp;gt; comments&amp;lt;/a&amp;gt;&amp;lt;/BlogItemCommentsEnabled&amp;gt; | &lt;br&gt;
which is, in turn, the part that puts the number of comments between the permalink and the linkbacks on each entry.&lt;br&gt;
&lt;br&gt;
Is there anything I can do to get this part to expand to something that&apos;s valid XHTML?&lt;br&gt;
&lt;br&gt;
I&apos;m not finding any solutions in my searches, though I&apos;m quite likely using all the wrong terms.  And I&apos;ve written Blogger support, but I&apos;ve written them before and I know how that goes: you might as well write it out, roll up the paper, tuck it into a bottle, and toss it into the sea.</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2005:site.26702</guid>
		<pubDate>Sat, 05 Nov 2005 11:14:13 -0800</pubDate>
		<dc:creator>Tuwa</dc:creator>
		
			<category>XHTML</category>
		
			<category>blogger</category>
		
			<category>blogspot</category>
		
			<category>blogspottemplate</category>
		
			<category>resolved</category>
		
	</item> <item>
		<title>By: riffola</title>
		<link>http://ask.metafilter.com/26702/Is-Blogspot-serving-invalid-XHTML#420909</link>	
		<description>Drop the &amp;lt;$BlogItemCommentFormOnclick$&amp;gt; from the link and you&apos;ll be fine.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.26702-420909</guid>
		<pubDate>Sat, 05 Nov 2005 11:18:12 -0800</pubDate>
		<dc:creator>riffola</dc:creator>
	</item><item>
		<title>By: Tuwa</title>
		<link>http://ask.metafilter.com/26702/Is-Blogspot-serving-invalid-XHTML#420910</link>	
		<description>Awesome!  Thank you so much.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.26702-420910</guid>
		<pubDate>Sat, 05 Nov 2005 11:22:07 -0800</pubDate>
		<dc:creator>Tuwa</dc:creator>
	</item><item>
		<title>By: AmbroseChapel</title>
		<link>http://ask.metafilter.com/26702/Is-Blogspot-serving-invalid-XHTML#420994</link>	
		<description>Short answer, yes.&lt;br&gt;
&lt;br&gt;
Looking at other blogs you can see this sort of thing:&lt;br&gt;
&lt;br&gt;
&lt;code&gt;&lt;br&gt;
&amp;lt;a class=&quot;comment-link&quot; href=&quot;http://www.blogger.com/comment.g?blogID=foo&amp;amp;postID=bar&quot; location.href=http://www.blogger.com/comment.g?blogID=foo&amp;amp;postID=bar;&amp;gt;&lt;br&gt;
&lt;/code&gt;&lt;br&gt;
&lt;br&gt;
which isn&apos;t just invalid, it&apos;s just random.&lt;br&gt;
&lt;br&gt;
That BlogItemCommentFormOnclick thing ought to be inside an &quot;onclick&quot; attribute, perhaps? It definitely looks like it&apos;s an error, missing some other component, or left over from a previous version.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.26702-420994</guid>
		<pubDate>Sat, 05 Nov 2005 14:36:08 -0800</pubDate>
		<dc:creator>AmbroseChapel</dc:creator>
	</item><item>
		<title>By: Tuwa</title>
		<link>http://ask.metafilter.com/26702/Is-Blogspot-serving-invalid-XHTML#421016</link>	
		<description>It&apos;s possible I caused the problem in the first place; I&apos;ve been tweaking the template for over a year and I don&apos;t remember worrying about whether it validated any time before last week.  At any rate, I dropped the BlogItemCommentFormOnclick tag and all the validation errors disappeared.&lt;br&gt;
&lt;br&gt;
As far as I can tell, everything still works, so all&apos;s well that ends well.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.26702-421016</guid>
		<pubDate>Sat, 05 Nov 2005 14:57:33 -0800</pubDate>
		<dc:creator>Tuwa</dc:creator>
	</item><item>
		<title>By: panoptican</title>
		<link>http://ask.metafilter.com/26702/Is-Blogspot-serving-invalid-XHTML#421069</link>	
		<description>I&apos;m confused. How did you get it to validate? I&apos;ve done everything I can think of and I still have &lt;a href=&quot;http://validator.w3.org/check?uri=http%3A%2F%2Fflannelmouthed.blogspot.com%2F&amp;charset=%28detect+automatically%29&amp;doctype=Inline&quot;&gt;two errors&lt;/a&gt; that seem to relate to the navbar. How do you get rid of the navbar errors?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.26702-421069</guid>
		<pubDate>Sat, 05 Nov 2005 16:23:06 -0800</pubDate>
		<dc:creator>panoptican</dc:creator>
	</item><item>
		<title>By: panoptican</title>
		<link>http://ask.metafilter.com/26702/Is-Blogspot-serving-invalid-XHTML#421070</link>	
		<description>Oh nevermind, you&apos;re transitional and I&apos;m strict... whatever that means. If anyone knows if it&apos;s possible to make your Blogger code XHTML strict, let me know...</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.26702-421070</guid>
		<pubDate>Sat, 05 Nov 2005 16:24:46 -0800</pubDate>
		<dc:creator>panoptican</dc:creator>
	</item>
	</channel>
</rss>
