<?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>Andrea Trasatti&#039;s tech notes and more &#187; WordPress</title>
	<atom:link href="http://blog.trasatti.it/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.trasatti.it</link>
	<description></description>
	<lastBuildDate>Sun, 29 May 2011 16:36:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Responsive images and tinySrc</title>
		<link>http://blog.trasatti.it/2011/05/responsive-images-and-tinysrc.html</link>
		<comments>http://blog.trasatti.it/2011/05/responsive-images-and-tinysrc.html#comments</comments>
		<pubDate>Sun, 29 May 2011 16:36:29 +0000</pubDate>
		<dc:creator>Andrea</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[Mobile Web]]></category>
		<category><![CDATA[Responsive design]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Mobile]]></category>

		<guid isPermaLink="false">http://blog.trasatti.it/?p=603</guid>
		<description><![CDATA[Producing images of the perfect size, when you create a Web site that targets multiple device classes with very different screen sizes is always a problem. There are a number of solutions out there, but they all require some kind &#8230; <a href="http://blog.trasatti.it/2011/05/responsive-images-and-tinysrc.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Producing images of the perfect size, when you create a Web site that targets multiple device classes with very different screen sizes is always a problem. There are a number of solutions out there, but they all require some kind of server-side detection and image wrangling. <a title="tinySrc" href="http://tinysrc.net/">tinySrc</a> is a nice and simple solution that takes away most if not all of the legwork. Possibly the only downside of tinySrc is that it relies on server-side detection itself. A lot of developers that worked with browsers like Chrome, Firefox and Opera advocate for client-side detection where it&#8217;s the browser that tells you about its capabilities instead of relying on a static database. I will not go into the details of why and when one is better than the other, let&#8217;s just say that tinySrc already gives you the power of the server-side, with my little software you can also benefit from the power of the client.<span id="more-603"></span><span style="line-height: 35px; font-size: 23px; color: #000000;">Just give me the solution</span></p>
<p>If all you care is a super-simple solution that gets the job done, I recommend that you use tinySrc in its basic configuration. tinySrc does a lot of legwork for you and the resulting images are in 90% of the cases or more just great. Check out the <a title="tinySrc" href="http://tinysrc.net/">tinySrc</a> home and you already have all you need.</p>
<h2>So why mix tinySrc with a JavaScript?</h2>
<p>At <a href="http://mobilism.nl/2011">mobilism</a> I met <a href="http://www.scottjehl.com/">Scott Jehl</a> for the first time and he mentioned working on a JavaScript that would take care of providing the right images based on client-side detection. It sounded quite interesting to me because most of the times, in order to create a decent <a href="http://www.alistapart.com/articles/responsive-web-design/">responsive design</a>, you have to create all the media files in advance.</p>
<p>I started looking at his <a href="https://github.com/filamentgroup/Responsive-Images">Responsive Images</a> library and liked the idea. We exchanged a few messages and it seemed easy enough. What it does not do is what I know is very often the real issue: generate the images. So it taps into the power of the client-side detection to understand what the browser and device can do, but then relies on media files generated in advance. In Filament&#8217;s online <a href="http://filamentgroup.com/examples/responsive-images/">demo</a> you can see that Scott generated 2 images, small and big and that&#8217;s all you get. Of course you can extend the JavaScript to manage more sizes, but every time you add a format you will have to edit your JavaScript. This is a good start, but not exactly what I was looking for.</p>
<p>I also thought about <a href="http://wordpress.org/extend/plugins/wordpress-mobile-pack/">WordPress Mobile Pack</a> and users that are on simple hosting plans or maybe don&#8217;t have the time and skills to generate all the images in the right formats. tinySrc seemed a perfect match.</p>
<h2>How it works</h2>
<p>The changes I made to Scott&#8217;s JavaScript and Rewrite rules are very limited, but I think they open the door to some substantial benefits. The JavaScript now reads the available width and height of the screen and passes those values to tinySrc so that an image of the perfect size will be generated (I padded the image of 20px for safety). You still need to have a small image (for fallback purposes) and a full-size image so that tinySrc has a high resolution image to work from (of course the bigger the better).</p>
<p><a href="http://ri.logme.mobi">See it</a> in action.</p>
<h2>Why use it?</h2>
<p>If you want to apply responsive design you must create the correct media files for each target device or family. This little script allows you to do that with near-zero effort. If you want to support device families tinySrc supports that, but you will have to change the JavaScript. What&#8217;s not to love?</p>
<h2>Why NOT use it?</h2>
<p>The JavaScript works so that it parses your HTML and replaces all image URLs with a dummy URL on your Apache server (at the time of writing the script requires Apache, nginx in the works). When the client requests that URL your Apache server will redirect the client to tinySrc. This is at least 1 HTTP request for every image that we might avoid. tinySrc on its own already does a great job, so this really is a step further toward responsive design. The only one that knows which approach is best is probably you.</p>
<h2>What next?</h2>
<p>I am looking at a couple more improvements, one idea is to use tinySrc&#8217;s dataURI API call and use that to replace all image URLs. That should save all the requests to your Apache server that are then redirected to tinySrc. Depending on how many images you have this might or might not make a difference. The problem is browser support, I am looking for some data. If you have any, please contact me.</p>
<h2>The source code</h2>
<p>If you like what you saw you can get the code on <a href="https://github.com/atrasatti/Responsive-Images/commit/30ebc7a82f4e49ac95dee50b00cf9dc645e8bfbb">github</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.trasatti.it/2011/05/responsive-images-and-tinysrc.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Google Analytics for WordPress for Mobile</title>
		<link>http://blog.trasatti.it/2010/08/google-analytics-for-wordpress-for-mobile.html</link>
		<comments>http://blog.trasatti.it/2010/08/google-analytics-for-wordpress-for-mobile.html#comments</comments>
		<pubDate>Mon, 23 Aug 2010 09:18:31 +0000</pubDate>
		<dc:creator>Andrea</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[Mobile Web]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Mobile]]></category>

		<guid isPermaLink="false">http://blog.trasatti.it/?p=505</guid>
		<description><![CDATA[Get Google Analytics for WordPress to work for all mobile devices with WordPress Mobile Pack <a href="http://blog.trasatti.it/2010/08/google-analytics-for-wordpress-for-mobile.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Joost de Valk, a.k.a. Yoast, has created the great Google Analytics for WordPress plugin. The plugin does exactly what you would expect, add the Google Analytics JavaScript to your blog. On top of that it also allows you to define a lot of little tweaks specific to WordPress such as tracking authors, tags, categories and more.</p>
<p>All this is great, but what about mobile devices?</p>
<p><span id="more-505"></span></p>
<p>Well, if your visitor is using a device with a good browser such as Mobile Safari (iOS devices), Android, WebOS and Nokia&#8217;s Symbian devices all should be good, but what about all the others? I am not talking about WML phones that are today a rarity more than anything, I am talking about all those low and mid-end devices that sell like hot-cakes. Think about all the Samsung, Sony Ericsson, LG and (reasonably-priced) Nokia that people get for free from their operator, or buy for about 50-100 Euro. It is true that heavy users will likely buy a high-end device with a big screen and a good browser, but that does not mean we should suddenly forget the long-tail.</p>
<p>With this in mind, and knowing the <a href="http://wordpress.org/extend/plugins/wordpress-mobile-pack/">WordPress Mobile Pack</a> (WPMP for short), I made a few small changes to Yoast&#8217;s script. The theory is very simple, based on the device groups defined by WPMP provide the standard JavaScript for the high-end and  use the Google&#8217;s official ga.php file for the rest. The changes are quite simple and are all applied to googleanalytics.php, plus you will need Google&#8217;s <a href="http://code.google.com/intl/en-GB/mobile/analytics/download.html#Download_the_Google_Analytics_server_side_package">ga.php</a>. Also, this system plays on the safe side as if the device is not correctly recognised, in the worst case the 1px image is server, which means that it should really work with anything, even the WML devices.</p>
<p><strong>REQUIREMENTS</strong></p>
<ul>
<li><a href="http://wordpress.org/extend/plugins/wordpress-mobile-pack/">WordPress Mobile Pack</a> version 1.2.3 or higher</li>
<li><a href="http://wordpress.org/extend/plugins/google-analytics-for-wordpress/">Google Analytics for WordPress</a> by <a href="http://yoast.com">Yoast</a></li>
<li>Download the script adaptation based on Google Analytics for WordPress 4.0.8, a.k.a Google Analytics for WordPress for Mobile</li>
</ul>
<p><strong> </strong></p>
<p><strong>INSTALLATION</strong></p>
<ol>
<li><span style="color: #000000;">Both WPMP and Google Analytics plugins should be enabled and correctly functioning (of course!)</span></li>
<li><span style="color: #000000;">Make sure in the &#8220;Mobile Theme&#8221; menu you have enabled the Nokia templates (this is needed to activate the device group recognition)</span></li>
<li><span style="color: #000000;">Save a backup copy of your existing <em>googleanalytics.php</em></span></li>
<li><span style="color: #000000;">Upload the files <em>ga.php</em> and <em>googleanalytics.php</em> in your <em>google-analytics-for-wordpress</em> directory on your server (normally in <em>wp-content/plugins/google-analytics-for-wordpress</em>)</span></li>
</ol>
<p><strong>KNOWN LIMITATIONS</strong></p>
<p>Although in theory the custom segmentation is implemented, it is a bit of a hack and needs review with Yoast.</p>
<p><strong>UPDATE</strong></p>
<p>Small bug fixed, see <a href="http://blog.trasatti.it/2010/08/google-analytics-for-wordpress-for-mobile-update.html">Google Analytics for WordPress for Mobile update</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.trasatti.it/2010/08/google-analytics-for-wordpress-for-mobile.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Getting W3 Total Cache and a mobile plugin to work in WordPress</title>
		<link>http://blog.trasatti.it/2010/07/getting-w3-total-cache-and-a-mobile-plugin-to-work-in-wordpress.html</link>
		<comments>http://blog.trasatti.it/2010/07/getting-w3-total-cache-and-a-mobile-plugin-to-work-in-wordpress.html#comments</comments>
		<pubDate>Fri, 23 Jul 2010 08:44:45 +0000</pubDate>
		<dc:creator>Andrea</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[Mobile Web]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Mobile]]></category>

		<guid isPermaLink="false">http://blog.trasatti.it/?p=485</guid>
		<description><![CDATA[W3 Total Cache and WordPress Mobile Pack configuration <a href="http://blog.trasatti.it/2010/07/getting-w3-total-cache-and-a-mobile-plugin-to-work-in-wordpress.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Since release 0.9.0 <a href="http://wordpress.org/extend/plugins/w3-total-cache/">W3 Total Cache</a> has an excellent mobile support. The author has done a great job with this update and now it works smoothly. Different mobile plugins or themes might require some slightly settings, but the default should work for most cases.</p>
<p><strong>Configuring WordPress Mobile Pack</strong><br />
<span id="more-485"></span><br />
Configuring the WordPress Mobile Pack with W3 Total Cache 0.9 and above is a breeze, in fact, you have to do nothing! Just to make sure things are enabled, go to the &#8220;User Agent Groups Settings&#8221; section of the W3 Total Cache settings, make sure there are two groups enabled (high and low) and leave the default settings. Save. Clear Cache. If you have &#8220;Preview mode&#8221; enabled, deploy. That&#8217;s it.</p>
<p><strong>How fast will this be?</strong></p>
<p>W3 Total Cache generates nice cache files for the mobile version and then uses Apache to serve the files, this means that it will be AS FAST AS IT CAN BE! Enjoy speed and low resources consumption with full mobile support.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.trasatti.it/2010/07/getting-w3-total-cache-and-a-mobile-plugin-to-work-in-wordpress.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Off to a good start with the new blog</title>
		<link>http://blog.trasatti.it/2010/07/off-to-a-good-start-with-the-new-blog.html</link>
		<comments>http://blog.trasatti.it/2010/07/off-to-a-good-start-with-the-new-blog.html#comments</comments>
		<pubDate>Mon, 05 Jul 2010 05:44:58 +0000</pubDate>
		<dc:creator>Andrea</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[blogger]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.trasatti.it/?p=458</guid>
		<description><![CDATA[Yesterday I switched the blog server from Blogger to WordPress. Everything still seems already. Yesterday, just a few hours after the switch I had already received 4 or 5 spam-comments. Not a great start from that perspective, but luckily moderation &#8230; <a href="http://blog.trasatti.it/2010/07/off-to-a-good-start-with-the-new-blog.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Yesterday I switched the blog server from Blogger to WordPress. Everything still seems already. Yesterday, just a few hours after the switch I had already received 4 or 5 spam-comments. Not a great start from that perspective, but luckily moderation is turned on and I quickly marked them as spam. I might consider adding some CAPTCHA or similar, let&#8217;s see how the trend goes.<br />
<span id="more-458"></span><br />
Also, I edited the settings of Feedburner, so if you are one of the few lost souls that have subscribed to my feed, it should work as usual. Apologies if you get some duplicates. Next I&#8217;ll have to fix twitterfeed that I had temporarily disabled to multiple posts to twitter or anything like that.</p>
<p>Now all that&#8217;s left to do is write something interesting <img src='http://blog.trasatti.it/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.trasatti.it/2010/07/off-to-a-good-start-with-the-new-blog.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>From Blogger to WordPress, finally!</title>
		<link>http://blog.trasatti.it/2010/07/from-blogger-to-wordpress-finally.html</link>
		<comments>http://blog.trasatti.it/2010/07/from-blogger-to-wordpress-finally.html#comments</comments>
		<pubDate>Sun, 04 Jul 2010 13:33:13 +0000</pubDate>
		<dc:creator>Andrea</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[blogger]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.trasatti.it/?p=456</guid>
		<description><![CDATA[Welcome to my new, old blog. After using Blogger for more than 5 years and after developing WordPress plugins and sites for others, I thought it was time for me to jump on board. A lot of people are leaving &#8230; <a href="http://blog.trasatti.it/2010/07/from-blogger-to-wordpress-finally.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Welcome to my new, old blog.</p>
<p>After using Blogger for more than 5 years and after developing WordPress plugins and sites for others, I thought it was time for me to jump on board. A lot of people are leaving WordPress, focusing on Twitter, or using new tools like Posterous and Tumblr. I like to be old school sometimes, and I like this blog and the history it holds.</p>
<p>So welcome to the same old thing. <img src='http://blog.trasatti.it/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.trasatti.it/2010/07/from-blogger-to-wordpress-finally.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Go mobile with WP Super Cache and the Mobile Pack</title>
		<link>http://blog.trasatti.it/2010/05/go-mobile-with-wp-super-cache-and.html</link>
		<comments>http://blog.trasatti.it/2010/05/go-mobile-with-wp-super-cache-and.html#comments</comments>
		<pubDate>Wed, 05 May 2010 13:26:00 +0000</pubDate>
		<dc:creator>Andrea</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[Mobile Web]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Mobile]]></category>

		<guid isPermaLink="false">http://blog.trasatti.it/?p=439</guid>
		<description><![CDATA[If you want your blog to stay as fast as possible and you want to support mobile users you will have to reach some compromise. This was true until today. With the WordPress Mobile Pack version 1.2.1 you now can &#8230; <a href="http://blog.trasatti.it/2010/05/go-mobile-with-wp-super-cache-and.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you want your blog to stay as fast as possible and you want to support mobile users you will have to reach some compromise.</p>
<p>This was true until today. With the <a href="http://wordpress.org/extend/plugins/wordpress-mobile-pack/">WordPress Mobile Pack</a> version 1.2.1 you now can get the best of both worlds. Here is a quick guide on how to achieve it. I am assuming you have installed the latest version of <a href="http://wordpress.org/extend/plugins/wp-super-cache">WP Super Cache</a>, already.<br /><span id="more-439"></span><br /><b>1. Activate WP Super Cache</b><br /><b>2. Go to the WP Super Cache options</b><br />In your admin -&gt; Settings -&gt; WP Super Cache<br /><b>3. Turn WP Super Cache ON and mobile support</b>
<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/_Yph16QzcM8U/S9q_Fs3hnDI/AAAAAAAAATE/QWQNssEYiMA/s1600/Schermata+2010-04-30+a+12.22.34.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="150" src="http://4.bp.blogspot.com/_Yph16QzcM8U/S9q_Fs3hnDI/AAAAAAAAATE/QWQNssEYiMA/s320/Schermata+2010-04-30+a+12.22.34.png" width="320" /></a></div>
<p><b><br /></b><br /><b>4. Click on Update Status</b><br /><b>5. Scroll down and click on Update Mod_Rewrite Rules</b>
<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/_Yph16QzcM8U/S9q_Ou715FI/AAAAAAAAATM/uDvU1xuq5tA/s1600/Schermata+2010-04-30+a+12.23.40.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="144" src="http://4.bp.blogspot.com/_Yph16QzcM8U/S9q_Ou715FI/AAAAAAAAATM/uDvU1xuq5tA/s320/Schermata+2010-04-30+a+12.23.40.png" width="320" /></a></div>
<p><b>6. Make sure WPMP is active</b><br />Go to Plugins -&gt; Installed and activate WPMP if not yet active<br /><b>7. Enjoy speed and mobile content at the same time!</b><br /><b><br /></b><br /><b>Notes for the geeks</b><br />Setting up WordPress this way will generate some extra cache files because you will have a cached version for your desktop versions and up to 3 versions of your mobile site depending on the devices that visit your site. Don&#8217;t worry about this too much as Super Cache will clean up old files anyway and if most of your visitors are in the same device class you will not get the other cache files generated.<br />The integration works in a way that WPMP gives to Super Cache a new key to cache files, so that desktop and mobile pages are separate. Super Cache will be only partial (i.e. like the HALF ON setting) for your mobile content, but and send static HTML files for desktop (i.e. the ON setting). This is currently the best we can get, but soon it might be different, so stay tuned.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.trasatti.it/2010/05/go-mobile-with-wp-super-cache-and.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Getting W3 Total cache to work with WordPress Mobile Pack</title>
		<link>http://blog.trasatti.it/2010/04/getting-w3-total-cache-to-work-with.html</link>
		<comments>http://blog.trasatti.it/2010/04/getting-w3-total-cache-to-work-with.html#comments</comments>
		<pubDate>Thu, 29 Apr 2010 16:03:00 +0000</pubDate>
		<dc:creator>Andrea</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[Mobile Web]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Mobile]]></category>

		<guid isPermaLink="false">http://blog.trasatti.it/?p=438</guid>
		<description><![CDATA[If your WordPress site has enough traffic you have been considering a cache plugin. Most people download WP Super Cache, plainly said the most popular plugin for WordPress. W3 Total Cache is a different plugin that aims to achieve about &#8230; <a href="http://blog.trasatti.it/2010/04/getting-w3-total-cache-to-work-with.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If your WordPress site has enough traffic you have been considering a cache plugin. Most people download <a href="http://wordpress.org/extend/plugins/wp-super-cache/">WP Super Cache</a>, plainly said the most popular plugin for WordPress. <a href="http://wordpress.org/extend/plugins/w3-total-cache/">W3 Total Cache</a> is a different plugin that aims to achieve about the same, but has a number of advantages such as support CDN, minifying CSS and JS and more. From a quick look at the code it looks much lighter and more in general it has a different approach to cache.<br /><span id="more-438"></span><br />While W3 Total Cache is a great plugin and certainly serves a large community, its support for mobile plugins falls short and the main reason is that mobile plugins normally try to change the content of a page dramatically, something W3 Total Cache was not designed for. The plugin comes with a simple &#8220;switcher&#8221; to redirect mobile devices to a different domain that HAS to be hosted in a different place. This is, of course, not ideal if you want to have your mobile plugin installed on your WordPress blog and want to host your content in one place. I have started the conversation with Frederick on the WordPress support forums and hopefully this will bring to something good.</p>
<p>In the meantime, do not despair, you <b>CAN</b> get W3 Total Cache to work with the <a href="http://wordpress.org/extend/plugins/wordpress-mobile-pack/">WordPress Mobile Pack</a> and with other mobile plugins. If you know about mobile user-agents, the solution is to add keywords to the list of rejected user-agent strings. This will stop the cache to work completely on mobile, but at least it will produce content that is mobile friendly and all your PC visitors will still get the cached content. If you need a step-by-step manual, here is a very good one with images and examples, <a href="http://nimopress.com/pressed/blog-building-how-to-configure-w3-total-cache-to-work-with-wptouch-for-wordpress/">Blog Building: How to Configure W3 Total Cache to Work with WPtouch for WordPress</a>.</p>
<p>For now, this is the best you can do. Stay tuned for more updates.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.trasatti.it/2010/04/getting-w3-total-cache-to-work-with.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making Super Cache and mobile work well</title>
		<link>http://blog.trasatti.it/2010/04/making-super-cache-and-mobile-work-well.html</link>
		<comments>http://blog.trasatti.it/2010/04/making-super-cache-and-mobile-work-well.html#comments</comments>
		<pubDate>Tue, 27 Apr 2010 16:02:00 +0000</pubDate>
		<dc:creator>Andrea</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[Mobile Web]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.trasatti.it/?p=437</guid>
		<description><![CDATA[If you are using WordPress for anything critical beyond your local football team, then you know that the use of a cache plugin is a must. WP Super Cache is the best known cache plugin, if not the most famous &#8230; <a href="http://blog.trasatti.it/2010/04/making-super-cache-and-mobile-work-well.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you are using WordPress for anything critical beyond your local football team, then you know that the use of a cache plugin is a must.</p>
<p>WP Super Cache is the best known cache plugin, if not the most famous plugin of all. Initially it did not play well with admins that also wanted a mobile presence and it is very simple to explain, the whole purpose of the cache is to generate the file&nbsp;dynamically&nbsp;once, store it and then serve it again without any further computation. As the years went by, mobile became more important and WP Super Cache integrated a basic mobile support. Recently donncha introduced a fundamental new feature, the ability for other plugins to define actions. I will not go into the details of how this works and what you can do, you can read all of it on the <a href="http://codex.wordpress.org/Plugin_API/Action_Reference">WordPress</a> site.<br /><span id="more-437"></span><br />The addition of actions is great for us, because we can finally determine how WP Super Cache detects mobile devices and we can extend it. As a matter of fact, this is what I just did and you can see the <a href="http://plugins.trac.wordpress.org/changeset/234095">changeset</a> in SVN. Expect a release very soon and all you will have to do is simply install the <a href="http://wordpress.org/extend/plugins/wordpress-mobile-pack/">WordPress Mobile Pack</a>. Once you will have installed the WPMP you don&#8217;t even need to enable the switch for mobile in WP Super Cache as the WPMP integrates with it automatically. With this combination you will get the WP Super Cache to work as usual for normal browsers and robots (including the Super Cache mode<a href="http://www.blogger.com/post-edit.g?blogID=13399316&amp;postID=2605680289372662895#note">*</a>) and then with the standard WP-Cache implementation for mobile. All this works just fine even enabling the cool Nokia extensions that we have released a couple of months ago.</p>
<p>Go enjoy WordPress with mobile support at lightning speed (<b>UPDATE: </b>we have released a new version of WPMP, read how to configure it at&nbsp;<a href="http://blog.trasatti.it/2010/05/go-mobile-with-wp-super-cache-and.html">Go mobile with WP Super Cache and the Mobile Pack</a>).</p>
<p><a href="http://www.blogger.com/post-edit.g?blogID=13399316&amp;postID=2605680289372662895" name="note">* Note</a>: in order to use the full Super Cache and mobile you will still have to use the rewrite rules for mobile</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.trasatti.it/2010/04/making-super-cache-and-mobile-work-well.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress on Mobile at WordCamp Ireland</title>
		<link>http://blog.trasatti.it/2010/03/wordpress-on-mobile-at-wordcamp-ireland.html</link>
		<comments>http://blog.trasatti.it/2010/03/wordpress-on-mobile-at-wordcamp-ireland.html#comments</comments>
		<pubDate>Mon, 08 Mar 2010 12:39:00 +0000</pubDate>
		<dc:creator>Andrea</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[Mobile Web]]></category>
		<category><![CDATA[wordcamp]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.trasatti.it/?p=434</guid>
		<description><![CDATA[This weekend I traveled to the beautiful Kilkenny to talk with developers and designers about mobile. Of course mobile is my bread and butter, but I thought it would be a good challenge to talk about it to people that &#8230; <a href="http://blog.trasatti.it/2010/03/wordpress-on-mobile-at-wordcamp-ireland.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This weekend I traveled to the beautiful Kilkenny to talk with developers and designers about mobile. Of course mobile is my bread and butter, but I thought it would be a good challenge to talk about it to people that have never worked on it or maybe still see it as a niche and something that is not SO interesting. <br /><span id="more-434"></span>It took me quite a bit of time to collect all the information I needed and I wanted to be sure I was prepared to the questions that would come up. The event was about blogging and WordPress, so I thought some metrics about mobile in general and then some specific about blogs would help (thank you to <a href="http://www.percentmobile.com/">PercentMobile</a>!) me set the stage and then I dived into WordPress and plugins. In a nutshell there are a number of good plugins to create basic mobile blogs, but there is still way too little good design and there is a lot of space for innovation. Check out my presentation embedded here or on <a href="http://www.slideshare.net/AndreaTrasatti/wordpress-on-mobile">slideshare</a> and let me know what you think.</p>
<div id="__ss_3363595" style="width: 425px;"><strong style="display: block; margin: 12px 0 4px;"><a href="http://www.slideshare.net/AndreaTrasatti/wordpress-on-mobile" title="WordPress on Mobile">WordPress on Mobile</a></strong><object height="355" width="425"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=wordcamp20100307-100308044815-phpapp02&#038;rel=0&#038;stripped_title=wordpress-on-mobile" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=wordcamp20100307-100308044815-phpapp02&#038;rel=0&#038;stripped_title=wordpress-on-mobile" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object></div>
<p>Don&#8217;t forget to check out the <a href="http://wordpress.org/extend/plugins/wordpress-mobile-pack/">WordPress Mobile Pack</a>, of course!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.trasatti.it/2010/03/wordpress-on-mobile-at-wordcamp-ireland.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordCamp Ireland report</title>
		<link>http://blog.trasatti.it/2010/03/wordcamp-ireland-report.html</link>
		<comments>http://blog.trasatti.it/2010/03/wordcamp-ireland-report.html#comments</comments>
		<pubDate>Sun, 07 Mar 2010 18:32:00 +0000</pubDate>
		<dc:creator>Andrea</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[wordcamp]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Mobile]]></category>

		<guid isPermaLink="false">http://blog.trasatti.it/?p=433</guid>
		<description><![CDATA[I am just back from WordCamp Ireland, a two-day conference about WordPress and blogging in general. Have you ever been to a WordCamp? Are you interested in blogging, or more in general about writing content on Internet? Then you SHOULD &#8230; <a href="http://blog.trasatti.it/2010/03/wordcamp-ireland-report.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I am just back from <a href="http://www.wordcampireland.com/">WordCamp Ireland</a>, a two-day conference about <a href="http://wordpress.org">WordPress</a> and blogging in general. Have you ever been to a <a href="http://central.wordcamp.org/">WordCamp</a>? Are you interested in blogging, or more in general about writing content on Internet? Then you SHOULD be going to a WordCamp!</p>
<p>I don&#8217;t know if it was this one that was particularly good, but there are so many positive things that I&#8217;ve experienced at this event, that I strongly recommend you to go as soon as you can. You have gone already? Then go again! <img src='http://blog.trasatti.it/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>If you don&#8217;t know what happens in a WordCamp, then here&#8217;s a quick list of things you can expect. To start off, it&#8217;s not a conference for geeks only, it&#8217;s about blogging and writing good content to publish on Internet. I admit you will likely meet a bunch of geeks, but you will also meet a lot of &#8220;normal people&#8221; that are passionate about Internet and want to get their ideas online. The general attire is very relaxed and equally the socialization is very easy going.</p>
<p>I have been to a number of conferences and this was easily one of the best and I&#8217;m saying so because I have a long list of things I have learnt and things I&#8217;ve heard and that now I was to learn better. This is probably the best outcome that you can get from a conference.</p>
<p>Small disclaimer: I was one of the speaker and not surprisingly I was talking about mobile, but for once, not to mobile nerds. Presentation coming to the Internet very soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.trasatti.it/2010/03/wordcamp-ireland-report.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

