<?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>jpbazinet.com</title>
	<atom:link href="http://jpbazinet.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jpbazinet.com</link>
	<description>all my stuff</description>
	<lastBuildDate>Thu, 19 Apr 2012 23:11:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>php detect web browser</title>
		<link>http://jpbazinet.com/2012/04/19/php-detect-web-browser/</link>
		<comments>http://jpbazinet.com/2012/04/19/php-detect-web-browser/#comments</comments>
		<pubDate>Thu, 19 Apr 2012 23:11:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[detect]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://jpbazinet.com/?p=76</guid>
		<description><![CDATA[&#60;?php $useragent = $_SERVER[‘HTTP_USER_AGENT’]); if (preg_match(‘&#124;MSIE ([0-9].[0-9]{1,2})&#124;’,$useragent,$matched)) { $browser_version=$matched[1]; $browser = ‘IE’; } elseif (preg_match( ‘&#124;Opera ([0-9].[0-9]{1,2})&#124;’,$useragent,$matched)) { $browser_version=$matched[1]; $browser = ‘Opera’; } elseif(preg_match(‘&#124;Firefox/([0-9\.]+)&#124;’,$useragent,$matched)) { $browser_version=$matched[1]; $browser = ‘Firefox’; } elseif(preg_match(‘&#124;Safari/([0-9\.]+)&#124;’,$useragent,$matched)) { $browser_version=$matched[1]; $browser = ‘Safari’; } else { // &#8230; <a href="http://jpbazinet.com/2012/04/19/php-detect-web-browser/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<pre class="brush: js">
&lt;?php
$useragent = $_SERVER[‘HTTP_USER_AGENT’]);

if (preg_match(‘|MSIE ([0-9].[0-9]{1,2})|’,$useragent,$matched)) {
    $browser_version=$matched[1];
    $browser = ‘IE’;
} elseif (preg_match( ‘|Opera ([0-9].[0-9]{1,2})|’,$useragent,$matched)) {
    $browser_version=$matched[1];
    $browser = ‘Opera’;
} elseif(preg_match(‘|Firefox/([0-9\.]+)|’,$useragent,$matched)) {
        $browser_version=$matched[1];
        $browser = ‘Firefox’;
} elseif(preg_match(‘|Safari/([0-9\.]+)|’,$useragent,$matched)) {
        $browser_version=$matched[1];
        $browser = ‘Safari’;
} else {
        // browser not recognized!
    $browser_version = 0;
    $browser= ‘other’;
}

print “browser: $browser $browser_version”;
?&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://jpbazinet.com/2012/04/19/php-detect-web-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hyperlink Phone Numbers</title>
		<link>http://jpbazinet.com/2012/04/03/hyperlink-phone-numbers/</link>
		<comments>http://jpbazinet.com/2012/04/03/hyperlink-phone-numbers/#comments</comments>
		<pubDate>Tue, 03 Apr 2012 23:37:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[hyperlink]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[phone number]]></category>

		<guid isPermaLink="false">http://jpbazinet.com/?p=74</guid>
		<description><![CDATA[&#60;a href=&#34;tel:3174562564&#34;&#62;317.456.2564&#60;/a&#62;]]></description>
			<content:encoded><![CDATA[<pre class="brush: js">
&lt;a href=&quot;tel:3174562564&quot;&gt;317.456.2564&lt;/a&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://jpbazinet.com/2012/04/03/hyperlink-phone-numbers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detect mobile browsers and forward with Javascript</title>
		<link>http://jpbazinet.com/2012/03/28/detect-mobile-browsers-and-forward-with-javascript/</link>
		<comments>http://jpbazinet.com/2012/03/28/detect-mobile-browsers-and-forward-with-javascript/#comments</comments>
		<pubDate>Wed, 28 Mar 2012 04:15:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mibile]]></category>

		<guid isPermaLink="false">http://jpbazinet.com/?p=68</guid>
		<description><![CDATA[&#60;script type=&#34;text/javascript&#34;&#62;// &#60;![CDATA[ var mobile = (/iphone&#124;ipad&#124;ipod&#124;android&#124;blackberry&#124;mini&#124;windows\sce&#124;palm/i.test(navigator.userAgent.toLowerCase())); if (mobile) { document.location = &#34;http://www.yoursite.com/mobile.html&#34;; } // ]]&#62;&#60;/script&#62;]]></description>
			<content:encoded><![CDATA[<pre class="brush: js">
&lt;script type=&quot;text/javascript&quot;&gt;// &lt;![CDATA[
    var mobile = (/iphone|ipad|ipod|android|blackberry|mini|windows\sce|palm/i.test(navigator.userAgent.toLowerCase()));
    if (mobile) {
        document.location = &quot;http://www.yoursite.com/mobile.html&quot;;
    }
// ]]&gt;&lt;/script&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://jpbazinet.com/2012/03/28/detect-mobile-browsers-and-forward-with-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show / Hide a table with Javascript</title>
		<link>http://jpbazinet.com/2011/11/25/show-hide-a-table-with-javascript/</link>
		<comments>http://jpbazinet.com/2011/11/25/show-hide-a-table-with-javascript/#comments</comments>
		<pubDate>Fri, 25 Nov 2011 23:40:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[div table hide show javascript]]></category>

		<guid isPermaLink="false">http://jpbazinet.com/?p=58</guid>
		<description><![CDATA[&#60;script type=&#34;text/JavaScript&#34;&#62; &#60;!-- function show(id) { if (document.getElementById(id).style.display == &#039;none&#039;) { document.getElementById(id).style.display = &#039;&#039;; } } //--&#62; &#60;!-- function hide(id) { document.getElementById(id).style.display = &#039;none&#039;; } //--&#62; &#60;/script&#62; &#60;table cellspacing=&#34;1&#34; cols=&#34;3&#34; border=&#34;0&#34;&#62; &#60;tbody&#62; &#60;tr valign=&#34;top&#34; align=&#34;left&#34;&#62; &#60;td width=&#34;202&#34;&#62;&#60;b&#62;Please, select option&#60;/b&#62;&#60;/td&#62; &#60;td &#8230; <a href="http://jpbazinet.com/2011/11/25/show-hide-a-table-with-javascript/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<pre class="brush: js">
&lt;script type=&quot;text/JavaScript&quot;&gt;

&lt;!--
function show(id)
{
     if (document.getElementById(id).style.display == &#039;none&#039;)
     {
          document.getElementById(id).style.display = &#039;&#039;;
     }
}
//--&gt;

&lt;!--
function hide(id)
{
          document.getElementById(id).style.display = &#039;none&#039;;

}
//--&gt;
&lt;/script&gt;

&lt;table cellspacing=&quot;1&quot; cols=&quot;3&quot; border=&quot;0&quot;&gt;
    &lt;tbody&gt;
    &lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;
      &lt;td width=&quot;202&quot;&gt;&lt;b&gt;Please, select option&lt;/b&gt;&lt;/td&gt;

      &lt;td width=&quot;481&quot;&gt;A
        &lt;input type=&quot;radio&quot; name=&quot;Option&quot; onfocus=&quot;hide(&#039;tblB&#039;);hide(&#039;tblC&#039;);show(&#039;tblA&#039;);&quot;&gt;
        B
        &lt;input type=&quot;radio&quot; name=&quot;Option&quot;  onfocus=&quot;hide(&#039;tblA&#039;);hide(&#039;tblC&#039;);show(&#039;tblB&#039;);return true;&quot;&gt;
        C
        &lt;input type=&quot;radio&quot; name=&quot;Option&quot; onfocus=&quot;hide(&#039;tblA&#039;);hide(&#039;tblB&#039;);show(&#039;tblC&#039;);return true;&quot;&gt;
      &lt;/td&gt;
    &lt;/tr&gt;
    &lt;/tbody&gt;
  &lt;/table&gt;

  &lt;table id=&quot;tblA&quot; style=&quot;DISPLAY: none&quot; cols=&quot;1&quot; cellpadding=&quot;2&quot;&gt;
    &lt;tbody&gt;
    &lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;

    &lt;td&gt;
      You&amp;nbsp;select A,
      table
      tblA is shown&amp;nbsp;
      &lt;/td&gt;
    &lt;/tr&gt;
    &lt;/tbody&gt;
  &lt;/table&gt;
  &lt;table id=&quot;tblB&quot; style=&quot;DISPLAY: none&quot; cols=&quot;1&quot; cellpadding=&quot;2&quot;&gt;
    &lt;tbody&gt;
    &lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;
      &lt;td&gt;
       You&amp;nbsp;select B, table tblB
       is shown&amp;nbsp;
      &lt;/td&gt;
    &lt;/tr&gt;
    &lt;/tbody&gt;
  &lt;/table&gt;
   &lt;table id=&quot;tblC&quot; style=&quot;DISPLAY: none&quot; cols=&quot;1&quot; cellpadding=&quot;2&quot;&gt;
    &lt;tbody&gt;
    &lt;tr valign=&quot;top&quot; align=&quot;left&quot;&gt;
      &lt;td&gt;
       You&amp;nbsp;select C, table tblC
       is shown&amp;nbsp;
      &lt;/td&gt;
    &lt;/tr&gt;
    &lt;/tbody&gt;
  &lt;/table&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://jpbazinet.com/2011/11/25/show-hide-a-table-with-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sotd: 11/15/2011</title>
		<link>http://jpbazinet.com/2011/11/16/sotd-11152011/</link>
		<comments>http://jpbazinet.com/2011/11/16/sotd-11152011/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 01:21:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Song of the Day]]></category>
		<category><![CDATA[kasabian]]></category>
		<category><![CDATA[rewired]]></category>
		<category><![CDATA[song of the day]]></category>
		<category><![CDATA[sotd]]></category>

		<guid isPermaLink="false">http://jpbazinet.com/?p=55</guid>
		<description><![CDATA[Kasabian &#8211; Rewired]]></description>
			<content:encoded><![CDATA[<p><strong>Kasabian &#8211; Rewired</strong></p>
<p><object style="height: 390px; width: 640px"><param name="movie" value="http://www.youtube.com/v/38kQfdpOvgg?version=3&#038;feature=player_detailpage"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed src="http://www.youtube.com/v/38kQfdpOvgg?version=3&#038;feature=player_detailpage" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360"></object></p>
]]></content:encoded>
			<wfw:commentRss>http://jpbazinet.com/2011/11/16/sotd-11152011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Onestop.mid</title>
		<link>http://jpbazinet.com/2011/11/05/onestop-mid/</link>
		<comments>http://jpbazinet.com/2011/11/05/onestop-mid/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 02:41:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[onestop]]></category>

		<guid isPermaLink="false">http://jpbazinet.com/?p=53</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://jpbazinet.com/wp-content/uploads/2011/11/onestop.jpg"><img src="http://jpbazinet.com/wp-content/uploads/2011/11/onestop.jpg" alt="" title="onestop" width="500" height="400" class="alignnone size-full wp-image-66" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://jpbazinet.com/2011/11/05/onestop-mid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SotD: 11/4/2011</title>
		<link>http://jpbazinet.com/2011/11/04/sotd-1142011/</link>
		<comments>http://jpbazinet.com/2011/11/04/sotd-1142011/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 16:01:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Song of the Day]]></category>
		<category><![CDATA[muse]]></category>
		<category><![CDATA[song of the day]]></category>
		<category><![CDATA[sotd]]></category>
		<category><![CDATA[starlight]]></category>

		<guid isPermaLink="false">http://jpbazinet.com/?p=51</guid>
		<description><![CDATA[Muse &#8211; Starlight]]></description>
			<content:encoded><![CDATA[<p><strong>Muse &#8211; Starlight</strong></p>
<p><object style="height: 390px; width: 640px"><param name="movie" value="http://www.youtube.com/v/xsoPsxKVhP4?version=3&#038;feature=player_detailpage"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed src="http://www.youtube.com/v/xsoPsxKVhP4?version=3&#038;feature=player_detailpage" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360"></object></p>
]]></content:encoded>
			<wfw:commentRss>http://jpbazinet.com/2011/11/04/sotd-1142011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SotD: 11/3/2011</title>
		<link>http://jpbazinet.com/2011/11/04/sotd-1132011/</link>
		<comments>http://jpbazinet.com/2011/11/04/sotd-1132011/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 02:56:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Song of the Day]]></category>
		<category><![CDATA[dustland fairytale]]></category>
		<category><![CDATA[killers]]></category>
		<category><![CDATA[song of the day]]></category>
		<category><![CDATA[sotd]]></category>

		<guid isPermaLink="false">http://jpbazinet.com/?p=48</guid>
		<description><![CDATA[The Killers &#8211; A Dustland Fairytale]]></description>
			<content:encoded><![CDATA[<p><strong>The Killers &#8211; A Dustland Fairytale</strong></p>
<p><object style="height: 390px; width: 640px"><param name="movie" value="http://www.youtube.com/v/-3hyrkzFRss?version=3&#038;feature=player_detailpage"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed src="http://www.youtube.com/v/-3hyrkzFRss?version=3&#038;feature=player_detailpage" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360"></object></p>
]]></content:encoded>
			<wfw:commentRss>http://jpbazinet.com/2011/11/04/sotd-1132011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SotD: 10-22-2011</title>
		<link>http://jpbazinet.com/2011/10/22/sotd-10-22-2011/</link>
		<comments>http://jpbazinet.com/2011/10/22/sotd-10-22-2011/#comments</comments>
		<pubDate>Sat, 22 Oct 2011 15:19:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Song of the Day]]></category>
		<category><![CDATA[song of the day]]></category>
		<category><![CDATA[sotd]]></category>
		<category><![CDATA[the angry mob]]></category>
		<category><![CDATA[the kaiser chiefs]]></category>

		<guid isPermaLink="false">http://jpbazinet.com/?p=46</guid>
		<description><![CDATA[The Kaiser Chiefs &#8211; The Angry Mob]]></description>
			<content:encoded><![CDATA[<p><strong>The Kaiser Chiefs &#8211; The Angry Mob</strong></p>
<p><object style="height: 390px; width: 640px"><param name="movie" value="http://www.youtube.com/v/zrL58OJ2Rms?version=3&#038;feature=player_detailpage"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed src="http://www.youtube.com/v/zrL58OJ2Rms?version=3&#038;feature=player_detailpage" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360"></object></p>
]]></content:encoded>
			<wfw:commentRss>http://jpbazinet.com/2011/10/22/sotd-10-22-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SotD: 10-21-2011</title>
		<link>http://jpbazinet.com/2011/10/21/sotd-10-21-2011/</link>
		<comments>http://jpbazinet.com/2011/10/21/sotd-10-21-2011/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 12:02:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Song of the Day]]></category>
		<category><![CDATA[brandon flowers]]></category>
		<category><![CDATA[song of the day]]></category>
		<category><![CDATA[sotdm crossfire]]></category>

		<guid isPermaLink="false">http://jpbazinet.com/?p=43</guid>
		<description><![CDATA[Brandon Flowers &#8211; Crossfire bonus: Brandon Flowers &#8211; Hard Enough (Live Acoustic)]]></description>
			<content:encoded><![CDATA[<p><strong>Brandon Flowers &#8211; Crossfire</strong></p>
<p><object style="height: 390px; width: 640px"><param name="movie" value="http://www.youtube.com/v/5AhU12zC8fc?version=3&#038;feature=player_detailpage"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed src="http://www.youtube.com/v/5AhU12zC8fc?version=3&#038;feature=player_detailpage" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360"></object></p>
<p>bonus:<br />
<strong>Brandon Flowers &#8211; Hard Enough (Live Acoustic)</strong></p>
<p><object style="height: 390px; width: 640px"><param name="movie" value="http://www.youtube.com/v/dSZ3WlFPGME?version=3&#038;feature=player_detailpage"><param name="allowFullScreen" value="true"><param name="allowScriptAccess" value="always"><embed src="http://www.youtube.com/v/dSZ3WlFPGME?version=3&#038;feature=player_detailpage" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="360"></object></p>
]]></content:encoded>
			<wfw:commentRss>http://jpbazinet.com/2011/10/21/sotd-10-21-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

