<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Cleaning Up the Sawdust</title>
	<atom:link href="http://leftjustified.net/journal/2004/08/24/sawdust/feed/" rel="self" type="application/rss+xml" />
	<link>http://leftjustified.net/journal/2004/08/24/sawdust/</link>
	<description>In a few words, explain what this weblog is about.</description>
	<lastBuildDate>Wed, 11 Feb 2009 06:59:21 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Andrew</title>
		<link>http://leftjustified.net/journal/2004/08/24/sawdust/#comment-111</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Tue, 14 Sep 2004 01:46:56 +0000</pubDate>
		<guid isPermaLink="false">http://leftjustified.net/journal/2004/08/24/sawdust/#comment-111</guid>
		<description>Glen said:
&lt;em&gt;As for the document.write, can you not use element.innerHTML?&lt;/em&gt;
Yes, I could, but that would require that an empty element exists in the markup. The current setup creates everything on the fly.

I&#039;ve had a bit more of a think about validating comments and the main issue isn&#039;t dodgy html, but instead quotes.It&#039;s funny that you should want to continue this discussion Glen, as it was one of your comments that was first to invalidate a post. When someone copies and pastes any part of a previous comment/post that contains true typographical quotes (&amp; #8220; etc), these are not re-converted and get passed through. Obviously a regular expression could be written to find and replace these, but I&#039;m not sure how/if the browser&#039;s character set affects this. It is my understanding that the character set of form submissions is controlled by the character set of the page, but I&#039;ve seen some &lt;strong&gt;very&lt;/strong&gt; different results while testing, so I think I&#039;ll leave it be for now.</description>
		<content:encoded><![CDATA[<p>Glen said:<br />
<em>As for the document.write, can you not use element.innerHTML?</em><br />
Yes, I could, but that would require that an empty element exists in the markup. The current setup creates everything on the fly.</p>
<p>I&#8217;ve had a bit more of a think about validating comments and the main issue isn&#8217;t dodgy html, but instead quotes.It&#8217;s funny that you should want to continue this discussion Glen, as it was one of your comments that was first to invalidate a post. When someone copies and pastes any part of a previous comment/post that contains true typographical quotes (&#038; #8220; etc), these are not re-converted and get passed through. Obviously a regular expression could be written to find and replace these, but I&#8217;m not sure how/if the browser&#8217;s character set affects this. It is my understanding that the character set of form submissions is controlled by the character set of the page, but I&#8217;ve seen some <strong>very</strong> different results while testing, so I think I&#8217;ll leave it be for now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glen Mailer</title>
		<link>http://leftjustified.net/journal/2004/08/24/sawdust/#comment-109</link>
		<dc:creator>Glen Mailer</dc:creator>
		<pubDate>Wed, 08 Sep 2004 22:52:36 +0000</pubDate>
		<guid isPermaLink="false">http://leftjustified.net/journal/2004/08/24/sawdust/#comment-109</guid>
		<description>Well i&#039;ve been puzzling over the comments problem for a while now and i&#039;ve yet to find a really good solution. Atm i have a function that strips out any html, then does a BB code style thingy but also checks the BB code for nesting errors.

As for the document.write, can you not use element.innerHTML? 

I&#039;m not trying to be picky or anything, it&#039;s just nice to see sites using the proper mime type. I&#039;m using it on my latest project and so far so good, although my fancy javascript tend to be nothing more technical than a classname swap.</description>
		<content:encoded><![CDATA[<p>Well i&#8217;ve been puzzling over the comments problem for a while now and i&#8217;ve yet to find a really good solution. Atm i have a function that strips out any html, then does a BB code style thingy but also checks the BB code for nesting errors.</p>
<p>As for the document.write, can you not use element.innerHTML? </p>
<p>I&#8217;m not trying to be picky or anything, it&#8217;s just nice to see sites using the proper mime type. I&#8217;m using it on my latest project and so far so good, although my fancy javascript tend to be nothing more technical than a classname swap.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://leftjustified.net/journal/2004/08/24/sawdust/#comment-108</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Mon, 06 Sep 2004 10:24:19 +0000</pubDate>
		<guid isPermaLink="false">http://leftjustified.net/journal/2004/08/24/sawdust/#comment-108</guid>
		<description>Glen: I&#039;ve reverted the individual posts back to tag soup for two reasons:
1) A single bad comment and the page is borked.
2) document.write doesn&#039;t work in XHTML 1.1 (application/blah blah...) so that borked my &#039;gogoGadgetPreview()&#039; function on the comment form. :-(</description>
		<content:encoded><![CDATA[<p>Glen: I&#8217;ve reverted the individual posts back to tag soup for two reasons:<br />
1) A single bad comment and the page is borked.<br />
2) document.write doesn&#8217;t work in XHTML 1.1 (application/blah blah&#8230;) so that borked my &#8216;gogoGadgetPreview()&#8217; function on the comment form. <img src='http://leftjustified.net/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glen Mailer</title>
		<link>http://leftjustified.net/journal/2004/08/24/sawdust/#comment-104</link>
		<dc:creator>Glen Mailer</dc:creator>
		<pubDate>Fri, 03 Sep 2004 00:17:52 +0000</pubDate>
		<guid isPermaLink="false">http://leftjustified.net/journal/2004/08/24/sawdust/#comment-104</guid>
		<description>is it just me or has the site revered to text/html?</description>
		<content:encoded><![CDATA[<p>is it just me or has the site revered to text/html?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Gwynne</title>
		<link>http://leftjustified.net/journal/2004/08/24/sawdust/#comment-76</link>
		<dc:creator>Chris Gwynne</dc:creator>
		<pubDate>Thu, 26 Aug 2004 13:49:18 +0000</pubDate>
		<guid isPermaLink="false">http://leftjustified.net/journal/2004/08/24/sawdust/#comment-76</guid>
		<description>lol your call :p</description>
		<content:encoded><![CDATA[<p>lol your call :p</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://leftjustified.net/journal/2004/08/24/sawdust/#comment-69</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Thu, 26 Aug 2004 10:00:55 +0000</pubDate>
		<guid isPermaLink="false">http://leftjustified.net/journal/2004/08/24/sawdust/#comment-69</guid>
		<description>&lt;blockquote&gt;&lt;p&gt;It&#039;s possible your site could break daily thus losing visitors just to maintain real XHTML.&lt;/p&gt;&lt;/blockquote&gt;

It has broken daily so far, all because of:

&lt;ol&gt;
&lt;li&gt;Auto &lt;acronym&gt; Plugin (I&#039;ve since converted it to an &lt;abbr&gt; plugin)&lt;/li&gt;
&lt;li&gt;Faulty weather data and poor server caching on my part.&lt;/li&gt;
&lt;li&gt;Microsoft Word&lt;/li&gt;
&lt;/ol&gt;

I like to think of it as a challenge...and I can always load up IE when it breaks ;-)</description>
		<content:encoded><![CDATA[<blockquote><p>It&#8217;s possible your site could break daily thus losing visitors just to maintain real XHTML.</p>
</blockquote>
<p>It has broken daily so far, all because of:</p>
<ol>
<li>Auto &lt;acronym&gt; Plugin (I&#8217;ve since converted it to an &lt;abbr&gt; plugin)</li>
<li>Faulty weather data and poor server caching on my part.</li>
<li>Microsoft Word</li>
</ol>
<p>I like to think of it as a challenge&#8230;and I can always load up IE when it breaks <img src='http://leftjustified.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
