<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Making your blog friendly to mobile devices</title>
	<atom:link href="http://www.librarywebchic.net/wordpress/stories-tutorials-and-code-demonstrations/making-your-blog-friendly-to-mobile-devices/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.librarywebchic.net/wordpress</link>
	<description>Resources for librarians who are interested in the application of web design and technologies in libraries</description>
	<pubDate>Thu, 08 Jan 2009 21:10:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Paul S</title>
		<link>http://www.librarywebchic.net/wordpress/stories-tutorials-and-code-demonstrations/making-your-blog-friendly-to-mobile-devices/comment-page-1/#comment-63491</link>
		<dc:creator>Paul S</dc:creator>
		<pubDate>Tue, 04 Nov 2008 10:13:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.librarywebchic.net/wordpress/stories-tutorials-and-code-demonstrations/making-your-blog-friendly-to-mobile-devices/#comment-63491</guid>
		<description>This is a pretty tricky topic. There are a few options when it comes to automatically detecting mobile devices and redirecting accordingly. Using .htaccess you sniff the user agent and compare it with a huge list of known (and ever increasing) user agents that correspond with various models of mobile phones, I personally don't like this approach because of the need to keep it up to date. 

I went for the "if accepts wml" approach:
RewriteCond %{HTTP_ACCEPT} text/vnd.wap.wml
RewriteCond %{REQUEST_URI} !^/mobile 
RewriteRule ^/?(.*)$ /mobile/ [L] 

I couldn't get your complex regular expression to work for me so just typed it out as text/vnd.wap.wml and it worked. Not sure what the implications are.</description>
		<content:encoded><![CDATA[<p>This is a pretty tricky topic. There are a few options when it comes to automatically detecting mobile devices and redirecting accordingly. Using .htaccess you sniff the user agent and compare it with a huge list of known (and ever increasing) user agents that correspond with various models of mobile phones, I personally don&#8217;t like this approach because of the need to keep it up to date. </p>
<p>I went for the &#8220;if accepts wml&#8221; approach:<br />
RewriteCond %{HTTP_ACCEPT} text/vnd.wap.wml<br />
RewriteCond %{REQUEST_URI} !^/mobile<br />
RewriteRule ^/?(.*)$ /mobile/ [L] </p>
<p>I couldn&#8217;t get your complex regular expression to work for me so just typed it out as text/vnd.wap.wml and it worked. Not sure what the implications are.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aman</title>
		<link>http://www.librarywebchic.net/wordpress/stories-tutorials-and-code-demonstrations/making-your-blog-friendly-to-mobile-devices/comment-page-1/#comment-63340</link>
		<dc:creator>Aman</dc:creator>
		<pubDate>Sun, 05 Oct 2008 11:24:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.librarywebchic.net/wordpress/stories-tutorials-and-code-demonstrations/making-your-blog-friendly-to-mobile-devices/#comment-63340</guid>
		<description>Hey very nice post. Well i hope this code works for me and makes my blog better for mobile devices. Thanks in advance :)</description>
		<content:encoded><![CDATA[<p>Hey very nice post. Well i hope this code works for me and makes my blog better for mobile devices. Thanks in advance :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
