<?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>mospired</title>
	<atom:link href="http://www.mospired.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mospired.com</link>
	<description>Mospired</description>
	<lastBuildDate>Fri, 23 Jul 2010 23:25:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>HTML5 / CSS3 presentation at AWDG list of resources, links and sample code</title>
		<link>http://www.mospired.com/html5-css3-presentation-at-awdg-list-of-resources-links-and-sample-code/</link>
		<comments>http://www.mospired.com/html5-css3-presentation-at-awdg-list-of-resources-links-and-sample-code/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 18:09:37 +0000</pubDate>
		<dc:creator>mospired</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[AWDG]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS3]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Meetups]]></category>
		<category><![CDATA[Presentations]]></category>

		<guid isPermaLink="false">http://www.mospired.com/?p=196</guid>
		<description><![CDATA[Here is the short list of the links,  resources, sample code used in the presentation at the Atlanta Web Designer Group April meet-up, with Aarron Walter and J Cornelius Showcase...]]></description>
			<content:encoded><![CDATA[<p>Here is the short list of the links,  resources, sample code used in the presentation at the Atlanta Web Designer Group April meet-up, with <a href="http://aarronwalter.com/">Aarron Walter</a> and <a href="http://jcornelius.com/">J Cornelius</a></p>
<h3>Showcase Links</h3>
<div>
<ul>
<li>Canvas: <a href="http://9elements.com/io/projects/html5/canvas/">http://9elements.com/io/projects/html5/canvas/</a></li>
<li>Canvas with Audio Controlls: <a href="http://www.nihilogic.dk/labs/pocket_full_of_html5/">http://www.nihilogic.dk/labs/pocket_full_of_html5/</a></li>
<li>Remy Sharp IE fix : <a href="http://remysharp.com/2009/01/07/html5-enabling-script/">http://remysharp.com/2009/01/07/html5-enabling-script/</a></li>
<li>CSS Transitions: <a href="http://media.24ways.org/2009/14/3/index.html">http://media.24ways.org/2009/14/3/index.html</a></li>
</ul>
</div>
<h3>Resources:</h3>
<ul>
<li><a href="http://css3.info">http://css3.info</a></li>
<li><a href="http://dev.opera.com">http://dev.opera.com</a></li>
<li><a href="http://dev.w3.org/html5/spec/Overview.html">http://dev.w3.org/html5/spec/Overview.html</a></li>
<li><a href="http://delicious.com/jcornelius/html5">http://delicious.com/jcornelius/html5</a></li>
<li><a href="http://delicious.com/jcornelius/css3">http://delicious.com/jcornelius/css3</a></li>
<li><a href="http://adactio.com/extras/pocketbooks/html5/">http://adactio.com/extras/pocketbooks/html5/</a></li>
</ul>
<p>Links to the actual slides and video are coming soon.</p>
<p>Thanks for attending.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mospired.com/html5-css3-presentation-at-awdg-list-of-resources-links-and-sample-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Naked Day</title>
		<link>http://www.mospired.com/css-naked-day/</link>
		<comments>http://www.mospired.com/css-naked-day/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 22:17:41 +0000</pubDate>
		<dc:creator>mospired</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[naked]]></category>

		<guid isPermaLink="false">http://www.mospired.com/?p=184</guid>
		<description><![CDATA[What happened to the design? So today happens to be the one day i&#8217;m willingly going naked stripping my CSS for web standards. I am participating in the Annual CSS...]]></description>
			<content:encoded><![CDATA[<h3>What happened to the design?</h3>
<p>So today happens to be the one day i&#8217;m willingly going naked <span style="text-decoration: line-through;">stripping my CSS</span> for web standards.<br />
I am participating in the <a title="Web Standards Naked Day Host Website">Annual CSS Naked Day</a>, which means i get to say naked <span style="text-decoration: line-through;">as many times as i want </span>for a good cause<br />
If the bare minimum still doesn&#8217;t look right to you, please let me know.<br />
Visit the <a title="Web Standards Naked Day Host Website" href="http://naked.dustindiaz.com">Annual CSS Naked Day</a> website for more information on how to join, and support the use of web standards and accessibility guidelines.</p>
<p>code free <img src='http://www.mospired.com/journal/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.mospired.com/css-naked-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPad. Not for I!</title>
		<link>http://www.mospired.com/ipad-not-for-i/</link>
		<comments>http://www.mospired.com/ipad-not-for-i/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 21:32:49 +0000</pubDate>
		<dc:creator>mospired</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://www.mospired.com/blog/?p=179</guid>
		<description><![CDATA[So like everyone else i was looking forward to the iPad, and not  just because i can&#8217;t bear the price my friends are shelling out for the kindle or because...]]></description>
			<content:encoded><![CDATA[<p>So like everyone else i was looking forward to the iPad, and not  just because i can&#8217;t bear the price my friends are shelling out for the kindle or because unlike my other friends i don&#8217;t subscribe to the gospel according to the almighty Jobs. I was looking forward to it because i look out for apps and gadgets that do what they say they do and the fact that some think i suffer from the syndrome <em>techynes-i-tis</em> brought about by the pathogen  <em>gadgetae.</em></p>
<p>But after going through the iPad can &#8211; do&#8217;s,  asking myself,  &#8220;what will iPad do that my notebook and phone can&#8217;t do ?&#8221;  I came up with this conclusion. Wait for it&#8230;.. !nothing.<br />
<span style="text-decoration: line-through;">Apple</span> Steve Jobs and Co have very well figured out how to gain the following of the rest of the folks who generally don&#8217;t use desktops/laptops for everything they are advertised to do and do not necessarily need an app device  when they just needed to receive a call.</p>
<p>So for those over gadget feature overloaded techies who anticipated a new device that will change habits for everyone this isn&#8217;t it, but it will surely change the regular Joe who doesn&#8217;t need all the gigs to check email, read the news, watch a video, stalk old flames on facebook without squinting or calling tech support to turn on the computer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mospired.com/ipad-not-for-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Year, New Things</title>
		<link>http://www.mospired.com/new-year-new-things/</link>
		<comments>http://www.mospired.com/new-year-new-things/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 00:00:30 +0000</pubDate>
		<dc:creator>mospired</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.mospired.com/blog/?p=173</guid>
		<description><![CDATA[So unlike many years i try to forget 09 wasn&#8217;t a bad year at all, and even though i have left over resolutions from last year,  2010 is a bag...]]></description>
			<content:encoded><![CDATA[<p>So unlike many years i try to forget 09 wasn&#8217;t a bad year at all, and even though i have left over resolutions from last year,  2010 is a bag of a lot of goodies for me.</p>
<p>That said, my sole resolution this year is to put all my to-dos into to-done. Which means you will hear a whole lot from yours truly, hopefully most positive.<br />
Here is to a good 2009 and a great 2010 full of bigger and better things.</p>
<p>Happy new year everyone</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mospired.com/new-year-new-things/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JQuery and keyboard events</title>
		<link>http://www.mospired.com/jquery-and-keyboard-events/</link>
		<comments>http://www.mospired.com/jquery-and-keyboard-events/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 05:23:34 +0000</pubDate>
		<dc:creator>mospired</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[DOM]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">/?p=149</guid>
		<description><![CDATA[One of the many things that can and will induce a headache instantly is working with keyboard events on the multiple browsers.  Thankfully jQuery makes things seem a whole lot...]]></description>
			<content:encoded><![CDATA[<p>One of the many things that can and will induce a headache instantly is working with keyboard events on the multiple browsers.  Thankfully jQuery makes things seem a whole lot easier than they actually are. here is brief example</p>
<pre>$(document).keydown(function(event){
  switch (event.keyCode) {
   //ctrl key
      case 17:
     alert("key: ctrl");
  //overide default event action
     return false;
  }
});</pre>
<p>Note: The keycodes may be different across browsers and overiding the event action may did not work in ie8.<br />
For a keycode reference and test tool check out <a href="http://is.gd/2mf9A">http://is.gd/2mf9A</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mospired.com/jquery-and-keyboard-events/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RewriteMap TXT</title>
		<link>http://www.mospired.com/rewritemap-txt/</link>
		<comments>http://www.mospired.com/rewritemap-txt/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 15:25:08 +0000</pubDate>
		<dc:creator>mospired</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[frustration]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[regular expression]]></category>
		<category><![CDATA[rewritemap]]></category>
		<category><![CDATA[url rewrite]]></category>

		<guid isPermaLink="false">http://www.mospired.com/?p=134</guid>
		<description><![CDATA[So we all know that  mod_rewrite will destroy your brain cells faster than any other voluntarily ingested toxin, and yet we all seem to inhale it all the time.  In...]]></description>
			<content:encoded><![CDATA[<p>So we all know that  mod_rewrite will destroy your brain cells faster than any other voluntarily ingested toxin, and yet we all seem to inhale it all the time.  In my new found love of design patterns, regular expressions a.k.a <em>regex</em> (the primary fuel behind all matters rewrite) has become an essential tool in my arsenal of solutions to every day problems.<br />
<span id="more-134"></span><br />
Unfortunately most of the material available relating to mod_rewrite, <em>.</em><em>htaccess</em> and the different flavors of regular expression  never seems to quit communicate the proper ways (<em>note: plural here</em>) of understanding and implementing mod_rewrite. <em>Note: I&#8217;m running on assumption here that you have some knowledge of how to translate regular expression and if not I&#8217;d suggest going through the basics over at <a href="http://www.zytrax.com/tech/web/regex.htm">Zytrax&#8217;s regex user guide</a> or dive straight into the <a href="http://perldoc.perl.org/perlre.html">Perl Regular Expression manual</a>. </em></p>
<h3>RewriteMap.</h3>
<p>You can choose to implement RewriteMap in various ways but i choose the text file route because its relatively easier to implement, does not require external execution (prg : requires command line execution of your rewrite program),  and is easier to troubleshoot.</p>
<h4>problem:</h4>
<p>rewrite and redirect this old urls</p>
<pre>http://example.com/shoes/item.php?id=1245&amp;size=medium</pre>
<p>to something descent like</p>
<pre> http://example.com/shoes/ladies/sandals/</pre>
<h4>Solution:</h4>
<p>Create your rewrite map  map.txt</p>
<pre><code>
# old shoes urls
1245 	ladies/sandals
1024	mens/boots
5487    ladies/boots
</code></pre>
<p>Add the following to your <em>httpd.conf</em> inside your virtual host directive .</p>
<pre><code># if your path has spaces just place it in quotes
RewriteMap legacy "txt:c:/path to text file/map.txt"
RewriteCond %{THE_REQUEST}   ^GET\ /([\w-]+)/(.*)\.php/\?id=([\d]+)(.*)
RewriteRule ^(.*)$	${legacy:%3}/? [R=301,L]
</code></pre>
<h4>Explanation:</h4>
<dl>
<dt>The map.txt: </dt>
<dd>simple text file that has the value we are looking for (1245) and the value we want to replace it with (ladies/sandals)</dd>
<dt>
<pre>RewriteCond %{THE_REQUEST}</pre>
</dt>
<dd> This will try and match the whole URL request sent to the server.<br />
I used this instead of the more commonly touted  RewriteCond %{QUERY_STRING} because %{THE_REQUEST} captures the whole URL including the query string and since i am well aware of the URL format i can do an exact query string match of my URL without incurring the overhead of a greedy check of whether the query string exists or not, while validating the value of the variable i need to rewrite </dd>
<dt>
<pre>RewriteRule ^(.*)$	   ${legacy:%3}/? [R=301,L]</pre>
</dt>
<dd> This will take the whole URL, replace it with my matched value (${legacy:%3}), remove the query string by adding a &#8216;?&#8217; and  permanently redirect the URL to the new one &#8216;[R=301,L]&#8216; </dd>
<dd> </dd>
</dl>
<p>magic .. don&#8217;t you think?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mospired.com/rewritemap-txt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dear Frustration</title>
		<link>http://www.mospired.com/dear-frustration/</link>
		<comments>http://www.mospired.com/dear-frustration/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 19:36:32 +0000</pubDate>
		<dc:creator>mospired</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[competition]]></category>
		<category><![CDATA[frustration]]></category>
		<category><![CDATA[letters]]></category>
		<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">http://www.mospired.com/?p=126</guid>
		<description><![CDATA[Dear Ms.Frustration. I am sure you will be pleased to know that I have accepted the fact that you are a critical part of my daily (all 7 days) experience...]]></description>
			<content:encoded><![CDATA[<p>Dear Ms.Frustration.<br />
I am sure you will be pleased to know that I have accepted the fact that you are a critical part of my daily (all 7 days) experience and you are here to stay. That said I hope you will consider this few recommendations on how we can both tolerate one another.<span id="more-126"></span></p>
<ol>
<li><em>Ms Patience</em> will always take precedence  in any undertaking, regardless of how often you spill my coffee, crash my laptop,  steal my sock(s) and blame the dryer,  cut me off on the highway, skip my cd&#8217;s and loose my cell phone reception among many other things </li>
<li>I am allowed to celebrate <span style="text-decoration: line-through;">(hic*)</span> on every occasion you are not prescent</li>
<li>I can and shall employ documented methods of controll including and not limited to  <em>whoo-saah</em>, <em>wax-on wax-off. </em> If you get out off hand</li>
<li>I don&#8217;t mind you showing up and participating in non-life threatening events like <span style="text-decoration: line-through;">football</span> sports as long as <em>Mr Competition</em> is present</li>
<li>On the other hand please refrain from attending important meetings, checking in during work hours and hanging around whenever I&#8217;m in transit.</li>
</ol>
<p>With this few things in mind i&#8217;m sure we&#8217;ll get along just fine.  </p>
<p>Yours Trully.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mospired.com/dear-frustration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Photosynth</title>
		<link>http://www.mospired.com/photosynth/</link>
		<comments>http://www.mospired.com/photosynth/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 20:22:58 +0000</pubDate>
		<dc:creator>mospired</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[photoysnth]]></category>
		<category><![CDATA[ted]]></category>

		<guid isPermaLink="false">http://www.mospired.com/?p=118</guid>
		<description><![CDATA[A couple of months ago i run into this really cool presentation on TED&#8217;s about the use of images to create multidimensional spaces. The actual images used in the presentation...]]></description>
			<content:encoded><![CDATA[<p>A couple of months ago i run into this really cool presentation on <a href="http://www.ted.com/">TED&#8217;s</a> about the use of images to create multidimensional spaces.</p>
<p><span id="more-118"></span> The actual images used in the presentation are from flickr and are all of the Notre Dame.<br />
Enjoy</p>
<p>-<a href="http://www.ted.com/index.php/talks/blaise_aguera_y_arcas_demos_photosynth.html">watch the presentation</a>-&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mospired.com/photosynth/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Years Resolutions</title>
		<link>http://www.mospired.com/new-years-resolutions/</link>
		<comments>http://www.mospired.com/new-years-resolutions/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 20:56:20 +0000</pubDate>
		<dc:creator>mospired</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.mospired.com/?p=114</guid>
		<description><![CDATA[Not in any particular order. Join a charity foundation st.Jude Dust the drums/guitar and play them More phone calls less tweets/facebook Learn a foreign language Kao Practise more patience with...]]></description>
			<content:encoded><![CDATA[<p>Not in any particular order.</p>
<ul>
<li>Join <span class="lt">a charity foundation</span> <a href="http://www.friendsofstjude.org/">st.Jude</a></li>
<li>Dust the drums/guitar and play them</li>
<li>More phone calls less tweets/facebook</li>
<li>Learn <span class="lt">a foreign language</span> Kao</li>
<li>Practise more patience with <span class="lt">proclaimed former smart-asses</span> Kagai</li>
<li>Sunday = Church</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.mospired.com/new-years-resolutions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
