<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: JavaScript Auto-Bowser Detection</title>
	<atom:link href="http://www.iphonemicrosites.com/tutorials/javascript-auto-bowser-detection/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.iphonemicrosites.com/tutorials/javascript-auto-bowser-detection/</link>
	<description>iPhone-Optimized Website Solutions</description>
	<pubDate>Tue, 06 Jan 2009 10:00:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: admin</title>
		<link>http://www.iphonemicrosites.com/tutorials/javascript-auto-bowser-detection/#comment-31</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 23 Jul 2008 23:36:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonemicrosites.com/?p=17#comment-31</guid>
		<description>Hi Dmoss,

One way is to check that the user agent is not equal to iPhone/iPod, and forward accordingly.

if((!navigator.userAgent.match(/iPhone/i))&#038;&#038;
(!navigator.userAgent.match(/iPod/i)))
{
location.replace(”regular-version.html”);
}

This would go on your main iPhone site. Hope that helps!

-Admin</description>
		<content:encoded><![CDATA[<p>Hi Dmoss,</p>
<p>One way is to check that the user agent is not equal to iPhone/iPod, and forward accordingly.</p>
<p>if((!navigator.userAgent.match(/iPhone/i))&#038;&#038;<br />
(!navigator.userAgent.match(/iPod/i)))<br />
{<br />
location.replace(”regular-version.html”);<br />
}</p>
<p>This would go on your main iPhone site. Hope that helps!</p>
<p>-Admin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmoss</title>
		<link>http://www.iphonemicrosites.com/tutorials/javascript-auto-bowser-detection/#comment-30</link>
		<dc:creator>Dmoss</dc:creator>
		<pubDate>Tue, 22 Jul 2008 20:12:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonemicrosites.com/?p=17#comment-30</guid>
		<description>How do you do the opposite? Like... if someone tries to visit my "website.com/iphone" with their Firefox browser, I'd like to prevent them from seeing that page. Perhaps redirect them to my non-iPhone page.</description>
		<content:encoded><![CDATA[<p>How do you do the opposite? Like&#8230; if someone tries to visit my &#8220;website.com/iphone&#8221; with their Firefox browser, I&#8217;d like to prevent them from seeing that page. Perhaps redirect them to my non-iPhone page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik</title>
		<link>http://www.iphonemicrosites.com/tutorials/javascript-auto-bowser-detection/#comment-29</link>
		<dc:creator>Erik</dc:creator>
		<pubDate>Wed, 16 Jul 2008 03:25:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.iphonemicrosites.com/?p=17#comment-29</guid>
		<description>Worked perfectly the first time! Thanks.</description>
		<content:encoded><![CDATA[<p>Worked perfectly the first time! Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
