<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: The great implementer swindle - making badge use easy doesn&#8217;t make it clever!</title>
	<link>http://www.wait-till-i.com/2008/02/12/the-great-implementer-swindle-making-badge-use-easy-doesnt-make-it-clever/</link>
	<description>Random notes by Chris Heilmann</description>
	<pubDate>Tue, 13 May 2008 19:21:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: Kent Brewster</title>
		<link>http://www.wait-till-i.com/2008/02/12/the-great-implementer-swindle-making-badge-use-easy-doesnt-make-it-clever/#comment-7601</link>
		<dc:creator>Kent Brewster</dc:creator>
		<pubDate>Thu, 08 May 2008 21:21:29 +0000</pubDate>
		<guid>http://www.wait-till-i.com/2008/02/12/the-great-implementer-swindle-making-badge-use-easy-doesnt-make-it-clever/#comment-7601</guid>
		<description>Yes, true, this is a horrible perversion of the separation of structure, presentation, and behavior ... but it's very, very easy for the user to implement.

I did a presentation at Web 2.0--Case-Hardened JavaScript, linked under my name, above--that addresses some of this; I'd love to hear your take on it. As long as we pass arguments to the script within its innerHTML and not by overloading the DOM, avoid using document.write to build structure, and politely wait for the rest of the page to load before attempting to render the badge, it seems to work.</description>
		<content:encoded><![CDATA[<p>Yes, true, this is a horrible perversion of the separation of structure, presentation, and behavior &#8230; but it&#8217;s very, very easy for the user to implement.</p>
<p>I did a presentation at Web 2.0-<del>Case-Hardened JavaScript, linked under my name, above</del>-that addresses some of this; I&#8217;d love to hear your take on it. As long as we pass arguments to the script within its innerHTML and not by overloading the <span class="caps">DOM</span>, avoid using document.write to build structure, and politely wait for the rest of the page to load before attempting to render the badge, it seems to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.wait-till-i.com/2008/02/12/the-great-implementer-swindle-making-badge-use-easy-doesnt-make-it-clever/#comment-7116</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 14 Feb 2008 12:32:17 +0000</pubDate>
		<guid>http://www.wait-till-i.com/2008/02/12/the-great-implementer-swindle-making-badge-use-easy-doesnt-make-it-clever/#comment-7116</guid>
		<description>Actually according to your quoted snippet it isnt invalid html, it only says UAs should ignore the contents not that contents are not allowed.</description>
		<content:encoded><![CDATA[<p>Actually according to your quoted snippet it isnt invalid html, it only says UAs should ignore the contents not that contents are not allowed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sil</title>
		<link>http://www.wait-till-i.com/2008/02/12/the-great-implementer-swindle-making-badge-use-easy-doesnt-make-it-clever/#comment-7105</link>
		<dc:creator>sil</dc:creator>
		<pubDate>Tue, 12 Feb 2008 17:13:57 +0000</pubDate>
		<guid>http://www.wait-till-i.com/2008/02/12/the-great-implementer-swindle-making-badge-use-easy-doesnt-make-it-clever/#comment-7105</guid>
		<description>There’s value in saying “just paste this in where you want the badge”, rather than “just paste this where you want the badge (your [a] elements) and this in the head of your document (the [script] element)”. A thought occurs: is:

[script type="text/javascript" src="http://example.org/badge.js"]
color: red;
background-color: blue;
size: small;
[/script]

allowed? I mean, UAs are meant to ignore the content of the script element…

This doesn't solve the problem that it loads the script a lot, but it should surely be cached the second time?</description>
		<content:encoded><![CDATA[<p>There&#8217;s value in saying &#8220;just paste this in where you want the badge&#8221;, rather than &#8220;just paste this where you want the badge (your [a] elements) and this in the head of your document (the [script] element)&#8221;. A thought occurs: is:</p>
<p>[script type="text/javascript" src="http://example.org/badge.js"]<br />
color: red;<br />
background-color: blue;<br />
size: small;<br />
[/script]</p>
<p>allowed? I mean, UAs are meant to ignore the content of the script element&#8230;</p>
<p>This doesn't solve the problem that it loads the script a lot, but it should surely be cached the second time?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
