<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tubejumper &#187; tool</title>
	<atom:link href="http://www.tubejumper.com/index.php/category/tool/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tubejumper.com</link>
	<description></description>
	<lastBuildDate>Sun, 12 Jun 2011 02:40:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/><cloud domain='www.tubejumper.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Globalizr</title>
		<link>http://www.tubejumper.com/index.php/2011/03/31/globalizr/</link>
		<comments>http://www.tubejumper.com/index.php/2011/03/31/globalizr/#comments</comments>
		<pubDate>Thu, 31 Mar 2011 21:10:32 +0000</pubDate>
		<dc:creator>shawn</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://www.tubejumper.com/?p=83</guid>
		<description><![CDATA[I had an idea that was born from playing with the html5boilerplate as I rebuild an existing site.  The current site is multi-homed with different TLD&#8217;s for english content and we also use a translation company that translates the site as is and hosts it at a site closer geographically to where the users would come from.  All ...]]></description>
			<content:encoded><![CDATA[<p>I had an idea that was born from playing with the <a href="http://html5boilerplate.com/">html5boilerplate</a> as I rebuild an existing site.  The current site is multi-homed with different TLD&#8217;s for english content and we also use a translation company that translates the site as is and hosts it at a site closer geographically to where the users would come from.  All sites come from a single source but we&#8217;ve needed small variations depending on the TLD/Language.  One instance was a product that was not available outside the United States, so on the .com site it needed to be there but on the .fr site it needed to be removed.  The current site uses javascript to remove the navigation, but after playing with <a href="http://www.modernizr.com/">Modernizr</a> I thought maybe we can do something similar.</p>
<p>I&#8217;m not a javascript guru but I managed to hack together something functional.  We don&#8217;t go live until mid-may so i thought I&#8217;d put this out and see if anyone had any comments on the code.</p>
<pre>
window.Globalizr = (function(window,document,undefined){
   docElement = document.documentElement;
   classes = [];
   lang = '';
   var version = '0.1';
   ret = {};
   var d = document.domain.split('.');
   var l = d.length-1;
   var s = 0;
   classes.push(d[l]);
   var language = window.navigator.userLanguage || window.navigator.language;
   classes.push(language);
   if ('in,id,il,uk,nz,jp,kr,ck'.indexOf(d[l])>0) { s = -1; classes.push(d[l-1]); }
   if ((l+s) > 1) { classes.push(d[d.length-2+s]); }
   if ((l+s) > 1) { classes.push(d[d.length-3+s]); }
      else { classes.push('no-host'); }
   if (document.defaultCharset!=undefined) { classes.push(document.defaultCharset); }
      else { classes.push('no-defaultcharset'); }
   if (document.charset!=undefined) { classes.push(document.charset); }
      else { classes.push('no-charset'); }
   if (document.inputEncoding!=undefined) { classes.push(document.inputEncoding); }
      else { classes.push('no-inputencoding'); }
   docElement.className += classes.join(' ');
   return ret;
})(this,this.document);
</pre>
<p>Right now I have this code sitting right under the minified Modernizr code.   </p>
]]></content:encoded>
			<wfw:commentRss>http://www.tubejumper.com/index.php/2011/03/31/globalizr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search Keyword OPML Generator</title>
		<link>http://www.tubejumper.com/index.php/2009/01/20/search-keyword-opml-generator/</link>
		<comments>http://www.tubejumper.com/index.php/2009/01/20/search-keyword-opml-generator/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 03:17:36 +0000</pubDate>
		<dc:creator>shawn</dc:creator>
				<category><![CDATA[Idea]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://www.tubejumper.com/index.php/2009/01/20/search-keyword-opml-generator/</guid>
		<description><![CDATA[There are a number of search engines that are exposing their results as RSS feeds.  From this I had an idea and built a little app at work that collected RSS posts from about 40+ search engines to help track brands across the internet.  It occurred to me that others might want to do the same thing so ...]]></description>
			<content:encoded><![CDATA[<p>There are a number of search engines that are exposing their results as RSS feeds.  From this I had an idea and built a little app at work that collected RSS posts from about 40+ search engines to help track brands across the internet.  It occurred to me that others might want to do the same thing so I decided on building a quick and dirty opml generator that people could use in their feed reader.  Give it a try at <a href="http://punchingsoup.com/">http://punchingsoup.com/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tubejumper.com/index.php/2009/01/20/search-keyword-opml-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

