<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments for Daniel Linn's Blog</title>
	<link>http://dmlinn.com/blog</link>
	<description>Hello, real world.</description>
	<pubDate>Thu, 09 Sep 2010 02:05:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>Comment on Detecting specific browsers with JavaScript by Paul</title>
		<link>http://dmlinn.com/blog/?p=7#comment-109</link>
		<author>Paul</author>
		<pubDate>Fri, 14 Nov 2008 19:48:32 +0000</pubDate>
		<guid>http://dmlinn.com/blog/?p=7#comment-109</guid>
		<description>I definitely agree with @brian. Safari has given me problems all times, almost nothing works with it if you use javascript.

Regards</description>
		<content:encoded><![CDATA[<p>I definitely agree with @brian. Safari has given me problems all times, almost nothing works with it if you use javascript.</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SIMPLE: Detect Browser with PHP (And Automatically Switch CSS Files!) by Chris</title>
		<link>http://dmlinn.com/blog/?p=16#comment-106</link>
		<author>Chris</author>
		<pubDate>Tue, 04 Nov 2008 22:03:18 +0000</pubDate>
		<guid>http://dmlinn.com/blog/?p=16#comment-106</guid>
		<description>Hey Daniel:

here is a encapsulated way to determine the browser: http://chrisschuld.com/projects/browser-php-detecting-a-users-browser-from-php/

Cheers!</description>
		<content:encoded><![CDATA[<p>Hey Daniel:</p>
<p>here is a encapsulated way to determine the browser: <a href="http://chrisschuld.com/projects/browser-php-detecting-a-users-browser-from-php/" rel="nofollow">http://chrisschuld.com/projects/browser-php-detecting-a-users-browser-from-php/</a></p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Detecting specific browsers with JavaScript by Daniel</title>
		<link>http://dmlinn.com/blog/?p=7#comment-83</link>
		<author>Daniel</author>
		<pubDate>Sun, 28 Sep 2008 03:08:43 +0000</pubDate>
		<guid>http://dmlinn.com/blog/?p=7#comment-83</guid>
		<description>@brian

Once you start getting involved with a lot of JavaScript and frameworks you'll find lots of holes in CSS that at the very least will make the site non-compliant with W3C standards.  At worst they'll work in all but one browser.  In this case, it was Safari.</description>
		<content:encoded><![CDATA[<p>@brian</p>
<p>Once you start getting involved with a lot of JavaScript and frameworks you&#8217;ll find lots of holes in CSS that at the very least will make the site non-compliant with W3C standards.  At worst they&#8217;ll work in all but one browser.  In this case, it was Safari.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Detecting specific browsers with JavaScript by Daniel</title>
		<link>http://dmlinn.com/blog/?p=7#comment-82</link>
		<author>Daniel</author>
		<pubDate>Sun, 28 Sep 2008 02:56:24 +0000</pubDate>
		<guid>http://dmlinn.com/blog/?p=7#comment-82</guid>
		<description>Thanks for the comment.  I've been looking into other options with PHP, which I hope will work for everything.  I find it strange that it recognizes Chrome when using the Safari keyword.  I wonder if this is related in any way to WebKit.

As far as IE, you may want to try some different keywords, such as "ie 5"  I find this works in some cases.  I'll post a PHP solution in a bit; it might work a bit better than this option.

**EDIT**

Here is your answer.  In the user agent string a lot of browsers identify themselves with the engine you use and the browser they're like.  Here is Chrome:

&lt;code&gt;Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.2.149.27 Safari/525.13&lt;/code&gt;

You'll see that Safari is part of the string.  A possible solution may be to find something specific to the Safari string and go with that.  UA strings can be found &lt;a href="http://www.zytrax.com/tech/web/browser_ids.htm" rel="nofollow"&gt;here.&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Thanks for the comment.  I&#8217;ve been looking into other options with PHP, which I hope will work for everything.  I find it strange that it recognizes Chrome when using the Safari keyword.  I wonder if this is related in any way to WebKit.</p>
<p>As far as IE, you may want to try some different keywords, such as &#8220;ie 5&#8243;  I find this works in some cases.  I&#8217;ll post a PHP solution in a bit; it might work a bit better than this option.</p>
<p>**EDIT**</p>
<p>Here is your answer.  In the user agent string a lot of browsers identify themselves with the engine you use and the browser they&#8217;re like.  Here is Chrome:</p>
<p><code>Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/525.13 (KHTML, like Gecko) Chrome/0.2.149.27 Safari/525.13</code></p>
<p>You&#8217;ll see that Safari is part of the string.  A possible solution may be to find something specific to the Safari string and go with that.  UA strings can be found <a href="http://www.zytrax.com/tech/web/browser_ids.htm" rel="nofollow">here.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Detecting specific browsers with JavaScript by Puneet</title>
		<link>http://dmlinn.com/blog/?p=7#comment-81</link>
		<author>Puneet</author>
		<pubDate>Sat, 27 Sep 2008 00:22:47 +0000</pubDate>
		<guid>http://dmlinn.com/blog/?p=7#comment-81</guid>
		<description>Thanks a lot..this works.. but i couldn't use it for IE. Infact when u use this from Chrome it takes the safari keyword, instead of chrome</description>
		<content:encoded><![CDATA[<p>Thanks a lot..this works.. but i couldn&#8217;t use it for IE. Infact when u use this from Chrome it takes the safari keyword, instead of chrome</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Detecting specific browsers with JavaScript by brian</title>
		<link>http://dmlinn.com/blog/?p=7#comment-76</link>
		<author>brian</author>
		<pubDate>Sat, 30 Aug 2008 23:57:01 +0000</pubDate>
		<guid>http://dmlinn.com/blog/?p=7#comment-76</guid>
		<description>you are going about this backwards btw.  what the hell would ever program a site to look good in IE first and then move to safari.</description>
		<content:encoded><![CDATA[<p>you are going about this backwards btw.  what the hell would ever program a site to look good in IE first and then move to safari.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Combine and compress your CSS and Java by How To Minimize Your Javascript and CSS Files for Faster Page Loads &#124; Internet Articles &#124; Updates &#124; Tips &#38; Tricks</title>
		<link>http://dmlinn.com/blog/?p=4#comment-34</link>
		<author>How To Minimize Your Javascript and CSS Files for Faster Page Loads &#124; Internet Articles &#124; Updates &#124; Tips &#38; Tricks</author>
		<pubDate>Sun, 06 Jan 2008 09:47:21 +0000</pubDate>
		<guid>http://dmlinn.com/blog/?p=4#comment-34</guid>
		<description>[...] Combine and compress your CSS and Java &#8220;So you have your site running on the latest and greatest Java libraries, but your supporting CSS and JavaScript files are really starting to slow things down. You&#8217;re no JavaScript expert, so what do you do? Lucky for us some other people have already encountered this problem and have a great solution.&#8221; [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Combine and compress your CSS and Java &#8220;So you have your site running on the latest and greatest Java libraries, but your supporting CSS and JavaScript files are really starting to slow things down. You&#8217;re no JavaScript expert, so what do you do? Lucky for us some other people have already encountered this problem and have a great solution.&#8221; [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Combine and compress your CSS and Java by How To Minimize Your Javascript and CSS Files for Faster Page Loads at Internet Articles &#124; Updates &#124; Tips &#38; Tricks</title>
		<link>http://dmlinn.com/blog/?p=4#comment-33</link>
		<author>How To Minimize Your Javascript and CSS Files for Faster Page Loads at Internet Articles &#124; Updates &#124; Tips &#38; Tricks</author>
		<pubDate>Thu, 03 Jan 2008 07:36:02 +0000</pubDate>
		<guid>http://dmlinn.com/blog/?p=4#comment-33</guid>
		<description>[...] Combine and compress your CSS and Java &#8220;So you have your site running on the latest and greatest Java libraries, but your supporting CSS and JavaScript files are really starting to slow things down. You&#8217;re no JavaScript expert, so what do you do? Lucky for us some other people have already encountered this problem and have a great solution.&#8221; [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Combine and compress your CSS and Java &#8220;So you have your site running on the latest and greatest Java libraries, but your supporting CSS and JavaScript files are really starting to slow things down. You&#8217;re no JavaScript expert, so what do you do? Lucky for us some other people have already encountered this problem and have a great solution.&#8221; [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Combine and compress your CSS and Java by Idetrorce</title>
		<link>http://dmlinn.com/blog/?p=4#comment-31</link>
		<author>Idetrorce</author>
		<pubDate>Sat, 15 Dec 2007 23:16:42 +0000</pubDate>
		<guid>http://dmlinn.com/blog/?p=4#comment-31</guid>
		<description>very interesting, but I don't agree with you 
Idetrorce</description>
		<content:encoded><![CDATA[<p>very interesting, but I don&#8217;t agree with you<br />
Idetrorce</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Combine and compress your CSS and Java by 最小化 Javascript 和 CSS 文件 &#171; Ross Wan&#8217;s World!</title>
		<link>http://dmlinn.com/blog/?p=4#comment-22</link>
		<author>最小化 Javascript 和 CSS 文件 &#171; Ross Wan&#8217;s World!</author>
		<pubDate>Thu, 29 Nov 2007 15:09:35 +0000</pubDate>
		<guid>http://dmlinn.com/blog/?p=4#comment-22</guid>
		<description>[...] Combine and compress your CSS and Java [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Combine and compress your CSS and Java [&#8230;]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
