<?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"
	>

<channel>
	<title>Wait till I come!</title>
	<atom:link href="http://www.wait-till-i.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wait-till-i.com</link>
	<description>Chris Heilmann - Accessibility, Web Development and Pragmatism - can talk, will travel</description>
	<pubDate>Mon, 06 Oct 2008 12:33:06 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Webmaster Jam Session hack - quickly fixing a web site with YUI grids</title>
		<link>http://www.wait-till-i.com/2008/10/04/webmaster-jam-session-hack-quickly-fixing-a-web-site-with-yui-grids/</link>
		<comments>http://www.wait-till-i.com/2008/10/04/webmaster-jam-session-hack-quickly-fixing-a-web-site-with-yui-grids/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 18:16:48 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[My Articles]]></category>

		<category><![CDATA[fixing]]></category>

		<category><![CDATA[hack]]></category>

		<category><![CDATA[redesign]]></category>

		<category><![CDATA[wsj08]]></category>

		<category><![CDATA[YUI]]></category>

		<guid isPermaLink="false">http://www.wait-till-i.com/?p=649</guid>
		<description><![CDATA[Last weekend I went to Atlanta, Georgia to speak at the Webmaster Jam Session or short WJS organized by Coffeecup software. I&#8217;ve written a detailed report on the event on the YDN blog and in short it was fantastic.

One of the things I did at the event is sit in on one of the Website [...]]]></description>
			<content:encoded><![CDATA[<p>Last weekend I went to Atlanta, Georgia to speak at the <a href="http://2008.webjamsession.com/sessions/">Webmaster Jam Session or short <span class="caps">WJS</span></a> organized by Coffeecup software. I&#8217;ve written a <a href="http://developer.yahoo.net/blog/archives/2008/10/jammin_in_atlan.html">detailed report on the event on the <span class="caps">YDN </span>blog</a> and in short it was fantastic.</p>

<p>One of the things I did at the event is sit in on one of the Website Smackdown sessions, which are expert reviews of web sites people in the audience submitted. One of the sites was the following:</p>

<p><a href="http://www.grc.nasa.gov/WWW/OHR/coop/"><img src="http://www.wait-till-i.com/wp-content/uploads/2008/10/original.jpg" alt="The original site" style="display:block;border:1px solid #ccc;margin:10px auto;padding:5px" /></a></p>

<p>What shocked me about it was that it is fairly new, but still uses tables for layout. When I investigated I heard that the reason is simply lack of resources to build web sites in a different manner. This is sad, as nowadays we have resources to build upon readily available on the web that we couldn&#8217;t even dream of when I started developing. To prove the point that you can re-do a small info site like this one using semantic markup and <span class="caps">CSS </span>without even knowing much about it, I used the <span class="caps">YUI </span>grids and created the following in roughly 15 minutes:</p>

<p><a href="http://icant.co.uk/sandbox/nasa/"><img src="http://www.wait-till-i.com/wp-content/uploads/2008/10/yuicopy.jpg" alt="YUI redesign site" style="display:block;border:1px solid #ccc;margin:10px auto;padding:5px" /></a></p>

<p>You can <a href="http://icant.co.uk/sandbox/nasa/nasa.zip">download the web site demo files</a> and play with them yourself.</p>

<p>I&#8217;d be happy to write more, in-depth articles about this kind of structure and redesign if there is interest. The only question I have about it is where to publish them? People that would benefit from these are not likely to read the blogs and magazines I write for. Is there a government web standards publication somewhere?</p>]]></content:encoded>
			<wfw:commentRss>http://www.wait-till-i.com/2008/10/04/webmaster-jam-session-hack-quickly-fixing-a-web-site-with-yui-grids/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My Ajax Experience presentation - YUI for control freaks</title>
		<link>http://www.wait-till-i.com/2008/10/04/my-ajax-experience-presentation-yui-for-control-freaks/</link>
		<comments>http://www.wait-till-i.com/2008/10/04/my-ajax-experience-presentation-yui-for-control-freaks/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 17:43:09 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[ajaxexperience]]></category>

		<category><![CDATA[css]]></category>

		<category><![CDATA[dom]]></category>

		<category><![CDATA[fixes]]></category>

		<category><![CDATA[tae2008]]></category>

		<category><![CDATA[wsj08]]></category>

		<category><![CDATA[YUI]]></category>

		<guid isPermaLink="false">http://www.wait-till-i.com/?p=648</guid>
		<description><![CDATA[I just spent several splendid days at the Ajax Experience in Boston, MA and was asked to deliver a talk about the YUI. Here&#8217;s what I went for: I wanted to make very clear that while YUI is a library much like the others, the real power of it lies in the control it gives [...]]]></description>
			<content:encoded><![CDATA[<p>I just spent several splendid days at the Ajax Experience in Boston, MA and was asked to deliver a talk about the <span class="caps">YUI.</span> Here&#8217;s what I went for: I wanted to make very clear that while <span class="caps">YUI </span>is a library much like the others, the real power of it lies in the control it gives you over the whole frontend development process from start to end.</p>


<ul>
<li>The <span class="caps">CSS </span>components make sure that creating <span class="caps">CSS </span>based layouts and typography are as easy cross-browser as libraries make JavaScript development</li>
<li>The <span class="caps">YUI DOM </span>control allows you to monitor the size of the browser window, the position of the document in the window and the dimensions of any element. You can use this power to control things like fixed positioning and element overlap and even monitor font resizing.</li>
<li>I explained the concept of Custom Events and how the -debug versions of <span class="caps">YUI </span>will notify you as a developer at any moment of execution about the internal happenings.<br />
    * I showed the development tools - the <span class="caps">YUI </span>logger, profiler and test suite and how they make your development process much less random.</li>
</ul>



<p>The slides are <a href="http://www.slideshare.net/cheilmann/yui-for-control-freaks-a-presentation-at-the-ajax-experience-631005/">available on slideshare</a> and here are the <a href="http://ydntest.com/yuicontrolfreaks/">code examples mentioned in the slides for browsing and to download as a zip</a>.</p>

<p><div class="slideshare-presentation"><a href="http://www.slideshare.net/cheilmann/yui-for-control-freaks-a-presentation-at-the-ajax-experience-631005"><img src="http://cdn.slideshare.net/yui-for-control-freaks-a-presentation-at-the-ajax-experience-631005-1473-thumbnail?1222922527" alt="YUI for control freaks - a presentation at The Ajax Experience"></a><h2><a href="http://www.slideshare.net/cheilmann/yui-for-control-freaks-a-presentation-at-the-ajax-experience-631005">YUI for control freaks - a presentation at The Ajax Experience</a></h2><p></p><p><a href="http://icant.co.uk/easy-slideshare/?slides=http://www.slideshare.net/cheilmann/yui-for-control-freaks-a-presentation-at-the-ajax-experience-631005">Read <span>"YUI for control freaks - a presentation at The Ajax Experience"</span>  with Easy SlideShare</a></p><div class="slideshare-show"><a href="http://www.slideshare.net/cheilmann/yui-for-control-freaks-a-presentation-at-the-ajax-experience-631005" onclick="this.parentNode.innerHTML='&lt;object style=\&quot;margin:0px\&quot; width=\&quot;425\&quot; height=\&quot;355\&quot;&gt;&lt;param name=\&quot;movie\&quot; value=\&quot;http://static.slideshare.net/swf/ssplayer2.swf?doc=yui-for-control-freaks-a-presentation-at-the-ajax-experience-631005-1473\&quot;/&gt;&lt;param name=\&quot;allowFullScreen\&quot; value=\&quot;true\&quot;/&gt;&lt;param name=\&quot;allowScriptAccess\&quot; value=\&quot;always\&quot;/&gt;&lt;embed src=\&quot;http://static.slideshare.net/swf/ssplayer2.swf?doc=yui-for-control-freaks-a-presentation-at-the-ajax-experience-631005-1473\&quot; type=\&quot;application/x-shockwave-flash\&quot; allowscriptaccess=\&quot;always\&quot; allowfullscreen=\&quot;true\&quot; width=\&quot;425\&quot; height=\&quot;355\&quot;&gt;&lt;/embed&gt;&lt;/object&gt;';return false">Watch "YUI for control freaks - a presentation at The Ajax Experience" right here, right now</a></div></div></p>]]></content:encoded>
			<wfw:commentRss>http://www.wait-till-i.com/2008/10/04/my-ajax-experience-presentation-yui-for-control-freaks/feed/</wfw:commentRss>
		</item>
		<item>
		<title>YUI3 meetup in London on 16th of October</title>
		<link>http://www.wait-till-i.com/2008/10/03/yui3-meetup-in-london-on-16th-of-october/</link>
		<comments>http://www.wait-till-i.com/2008/10/03/yui3-meetup-in-london-on-16th-of-october/#comments</comments>
		<pubDate>Fri, 03 Oct 2008 13:13:57 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.wait-till-i.com/?p=646</guid>
		<description><![CDATA[If you are curious to get the know the upcoming changes in YUI3 straight from the horse&#8217;s mouth and you are in lovely England, come down to London on the 16th of October to meet with the YUI team in the Yahoo offices over video conference.



Sign up to the event on upcoming and pencil in [...]]]></description>
			<content:encoded><![CDATA[<p>If you are curious to get the know the upcoming changes in <span class="caps">YUI3 </span>straight from the horse&#8217;s mouth and you are in lovely England, come down to London on the 16th of October to meet with the <span class="caps">YUI </span>team in the Yahoo offices over video conference.</p>


<ul>
<li><a href="http://upcoming.yahoo.com/event/1154778">Sign up to the event on upcoming</a> and pencil in information from 6.15 to 8 and then beers in a nearby local.</li>
</ul>



<p>The Yahoo offices are located bang in the tourist centre of town, 125 Shaftesbury Avenue, <span class="caps">WC2H</span> 8AD London, which is next to the cinema on Shaftesbury Avenue. If you come from Leicester Square, just walk up towards Tottenham Court Road and go right when you see the Spamalot musical theatre. The office is on the left of the road right next to the Cafe Milano. </p>

<p>Hope to see you there!</p>

<p>Chris</p>]]></content:encoded>
			<wfw:commentRss>http://www.wait-till-i.com/2008/10/03/yui3-meetup-in-london-on-16th-of-october/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Image Optimization made easy with smushit.com</title>
		<link>http://www.wait-till-i.com/2008/09/30/image-optimization-made-easy-with-smushitcom/</link>
		<comments>http://www.wait-till-i.com/2008/09/30/image-optimization-made-easy-with-smushitcom/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 14:49:58 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[batchconversion]]></category>

		<category><![CDATA[imageoptimization]]></category>

		<category><![CDATA[performance]]></category>

		<category><![CDATA[stubbornella]]></category>

		<guid isPermaLink="false">http://www.wait-till-i.com/?p=644</guid>
		<description><![CDATA[Dedication is a really nice thing. Esteemed Yahoo colleagues Stoyan Stefanov and Nicole Sullivan of the exceptional performance team are two people who are dedicated to making the web a faster place. 

Both Nicole and Stoyan have been talking about performance of CSS, JavaScript, HTML and also image optimization. Images can be optimized in two [...]]]></description>
			<content:encoded><![CDATA[<p>Dedication is a really nice thing. Esteemed Yahoo colleagues <a href="http://www.phpied.com/">Stoyan Stefanov</a> and <a href="http://www.stubbornella.org/content/">Nicole Sullivan</a> of the exceptional performance team are two people who are dedicated to making the web a faster place. </p>

<p>Both Nicole and Stoyan have been talking about performance of <span class="caps">CSS,</span> JavaScript, <span class="caps">HTML </span>and also image optimization. Images can be optimized in two ways: visually (what is the quality) and file size. The latter is quite a corker, though as image editing tools leave a lot of information in files that we don&#8217;t really need - <span class="caps">EXIF </span>information, to be precise. If you open an image in a hex editor you will find a lot of things that can be safely removed without a change in the image quality. </p>

<p>There are a lot of open source tools to optimize images that way - amost one for each image format. Working through all of them can be a drag. This is why Stoyan and Nicole took their knowledge, dedication and all of these tools and built one application that does all the optimizations for you in one go:</p>

<p><a href="http://smushit.com"><img src="http://www.wait-till-i.com/wp-content/uploads/2008/09/smushit.jpg" alt="Smushit Screenshot" width="450" height="323" style="border:1px solid #ccc;padding:5px;margin:10px auto;display:block" /></a></p>

<p>You can upload a bunch of images, give it a <span class="caps">URL </span>or use it as a Firefox extension or bookmarklet. Smushit will show you how many bytes you can save by removing cruft from the images and gives you all the images as a zip file to replace them on your site. How cool and easy is that?</p>


<ul>
<li><a href="http://smushit.com">Check it out now at Smushit.com</a></li>
</ul>



<p>Here&#8217;s a video of Stoyan and Nicole presenting Smushit.com at The Ajax Experience in Boston (sorry about the audio):</p>

<p><embed src="http://blip.tv/play/AdCdYQA" type="application/x-shockwave-flash" width="500" height="410" allowscriptaccess="always" allowfullscreen="true"></embed></p>]]></content:encoded>
			<wfw:commentRss>http://www.wait-till-i.com/2008/09/30/image-optimization-made-easy-with-smushitcom/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Useful tweets widget using Yahoo Pipes and some JavaScript</title>
		<link>http://www.wait-till-i.com/2008/09/28/useful-tweets-with-pipe/</link>
		<comments>http://www.wait-till-i.com/2008/09/28/useful-tweets-with-pipe/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 17:17:44 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[hack]]></category>

		<category><![CDATA[javascript]]></category>

		<category><![CDATA[JSON]]></category>

		<category><![CDATA[pipes]]></category>

		<category><![CDATA[twitter]]></category>

		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://www.wait-till-i.com/?p=643</guid>
		<description><![CDATA[If you look on the right side of this blog (and you can see) and you have JavaScript enabled you&#8217;ll spy a little &#8220;Useful tweets&#8221; widget (list). This is done with Yahoo Pipes and some JavaScript. As people asked me how it is done, here goes:

The idea

I use twitter a lot. Some of what I [...]]]></description>
			<content:encoded><![CDATA[<p>If you look on the right side of this blog (and you can see) and you have JavaScript enabled you&#8217;ll spy a little &#8220;Useful tweets&#8221; widget (list). This is done with Yahoo Pipes and some JavaScript. As people asked me how it is done, here goes:</p>

<h2>The idea</h2>

<p>I use twitter a lot. Some of what I write is very relevant to the blog here, some is not fit for publication and some is just personal. So publishing all the tweets here would have been disruptive, hence I tried to find a way to filter things down.</p>

<p>What I do is that I end every tweet that I want to show up here with a &sect; symbol, thus giving me a handle to filter out the good ones.</p>

<h2>Playing nice with twitter and not summoning the fail whale</h2>

<p>As twitter is probably the most hit <span class="caps">API </span>out there I didn&#8217;t want to go through the <span class="caps">API </span>and all the authentication malarkey. Instead I am using the <span class="caps">ATOM </span>feed and pipes to get the information and to filter it down. </p>

<p>Yahoo pipes is still full of win when it comes to filtering, mashing and converting data, and the pipe in question that I am using is available here: <a href="http://pipes.yahoo.com/pipes/pipe.info?_id=f7229d01b79e508d543fb84e8a0abb0d">Useful tweets pipe</a></p>

<p>It takes the atom feed of a twitter user of a certain <span class="caps">ID, </span>removes all tweets but the ones ending in a &sect; and removes the user name of the output. </p>

<h2>Using the pipe and displaying the content</h2>

<p>In order to display the pipe all you need is a small JavaScript and the right <span class="caps">HTML </span>in your page (or in my case WordPress template):</p>



<pre><code>
&lt;div id=&quot;mytweet&quot; class=&quot;user-13567&quot;&gt;
  &lt;a href=&quot;http://twitter.com/codepo8&quot;&gt;My useful twitter updates&lt;/a&gt;
&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;
 src=&quot;http://usefulltweets.googlecode.com/files/chirpchirp.js&quot;&gt;&lt;/script&gt;
</code></pre>



<p>The link means the thing still makes sense when JavaScript is not available and the script does the rest. One thing you need to do to show your useful tweets instead of mine is to change the class on the <span class="caps">DIV</span>! You get the number from your twitter page:</p>


<ul>
<li>Go to your twitter page, f.e.: http://twitter.com/codepo8 </li>
<li>Click the <span class="caps">RSS </span>link at the bottom</li>
<li>Check the <span class="caps">URL </span>of the feed, your ID is the number in between the slash and &#8216;.rss&#8217;, f.e.: http://twitter.com/statuses/user_timeline/<strong>13567</strong>.rss</li>
</ul>



<p>The <a href="http://usefulltweets.googlecode.com/files/chirpchirp.js">JavaScript for display of the badge</a> is no rocket science whatsoever: </p>



<pre><code>
var tweets = function(){
  var x = document.getElementById('mytweet');
  if(x){
    var twitterUserId = x.className.replace('user-','');
    var s = document.createElement('script');
    s.type = 'text/javascript';
    s.src = 'http://pipes.yahoo.com/pipes/pipe.run?' + 
    '_id=f7229d01b79e508d543fb84e8a0abb0d&amp;_render=json' +
    '&amp;id=' + twitterUserId + '&amp;_callback=tweets.tweet';
    document.getElementsByTagName('head')[0].appendChild(s);
  };
  function tweet(data){
      if(data &amp;&amp; data.value &amp;&amp; data.value.items){
          if(typeof data.value.items.length !== &#8216;undefined&#8217;){
            var ul = document.createElement(&#8217;ul&#8217;);
            var all = data.value.items.length;
            var end = all &gt; 5 ? 5 : all;
            for(var i=0;i &lt; end;i++){
              var now = data.value.items[i];
              var li = document.createElement(&#8217;li&#8217;);
              var a = document.createElement(&#8217;a');
              a.href = now.link;
              a.appendChild(document.createTextNode(now.title));
              li.appendChild(a);
              ul.appendChild(li);
            }
            x.appendChild(ul);
        }
      }
    };
  return{
    tweet:tweet
  }
}();
</code></pre>




<ul>
<li>We check if the element with the ID mytweet exists</li>
<li>We then extract the user ID from the class name and create a new JavaScript pointing to the <span class="caps">JSON </span>output of the pipe. This, once loaded, will call tweets.tweet() and send the data as <span class="caps">JSON</span></li>
<li>The tweet() method checks if data was retrieved, creates a list of links and appends it to the <span class="caps">DIV.</span></li>
</ul>



<p>Hope this is useful to someone else, too.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wait-till-i.com/2008/09/28/useful-tweets-with-pipe/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
