<?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 Mobile</title>
	<atom:link href="http://blog.trasatti.it/tag/wordpress-mobile/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>Techcrunch and WPTouch: design optimised for mobile, data usage optimised for long wait</title>
		<link>http://blog.trasatti.it/2010/10/techcrunch-and-wptouch-design-optimised-for-mobile-data-usage-optimised-for-long-wait.html</link>
		<comments>http://blog.trasatti.it/2010/10/techcrunch-and-wptouch-design-optimised-for-mobile-data-usage-optimised-for-long-wait.html#comments</comments>
		<pubDate>Tue, 12 Oct 2010 15:54:06 +0000</pubDate>
		<dc:creator>Andrea</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[Mobile Web]]></category>
		<category><![CDATA[WordPress Mobile]]></category>

		<guid isPermaLink="false">http://blog.trasatti.it/?p=562</guid>
		<description><![CDATA[Techcrunch, the very well known news site about startups, Web 2.0, mobile and buzz words, has launched a mobile version of their site in March 2010: You Asked For It: TechCrunch, The Mobile Version. There are some little technical details that aren&#8217;t &#8230; <a href="http://blog.trasatti.it/2010/10/techcrunch-and-wptouch-design-optimised-for-mobile-data-usage-optimised-for-long-wait.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Techcrunch, the very well known news site about startups, Web 2.0, mobile and buzz words, has launched a mobile version of their site in March 2010: <a title="You Asked For It: TechCrunch, The Mobile Version" rel="bookmark" href="http://techcrunch.com/2010/03/17/techcrunch-mobile/">You Asked For It: TechCrunch, The Mobile Version</a>. There are some little technical details that aren&#8217;t quite perfect for mobiles, though.</p>
<p><span id="more-562"></span></p>
<p>You might or might not know that the service is hosted by wordpress.com and they use <a href="http://wordpress.org/extend/plugins/wptouch/">WPTouch</a> as a mobile theme. WPTouch is normally known as the best WordPress plugin if you want to give an iPhone-like look to your mobile site and we all know how cool is the iPhone nowadays.</p>
<p>This is all good, too bad that while the site looks very good, it is not exactly optimised for performance. I was pleased to notice that WordPress serves the WPTouch theme to Symbian devices like the Nokia N8, less pleased to see the KB downloaded goes up to the stars. The iPhone does not show the data usage in real time, so most of us, including myself, have never noticed this. When I tested this morning the size of the homepage alone was about 1.5MB, yes, 1.5 megabytes!<br />
I tested again this evening on my Mac, emulating the iPhone user-agent and this is what I got</p>
<p><a href="http://blog.trasatti.it/wp-content/uploads/2010/10/TechCrunchWPTouch_resources.png"><img class="alignnone size-medium wp-image-563" title="TechCrunch WPTouch resources" src="http://blog.trasatti.it/wp-content/uploads/2010/10/TechCrunchWPTouch_resources-300x135.png" alt="" width="300" height="135" /></a></p>
<p>As you can see there is a single image using 544KB and then a bunch of other images eating up a lot of memory and bandwidth. The most annoying part is that that image is not even visible! It is hidden in one of the posts and if you don&#8217;t click that post&#8230; Well, you will never see that big, fat image. If you look at the other files, the HTML is just 60KB and all you need is probably in the range of 200KB (CSS, JS, and some basic images). In short, we are wasting 1.3MB &#8211; every time we visit the homepage.</p>
<p>Since this theme is served only to high-end devices why not use a little javascript to load the images when needed? Of course, the way it is now is snappier to open each item on the homepage, but wow, I have to pay for those 1.5MB. Most iPhone users have a nice data flat rate, but a) not all have an iPhone with a contract, b) I still have to wait even if it&#8217;s free and c) this is why operators are getting tired of giving us flat rates.</p>
<p>If you are curious, this is how the TechCrunch homepage looked when I tested, the OneRiot image is a little over 10KB.</p>
<p><a href="http://blog.trasatti.it/wp-content/uploads/2010/10/TechCrunchWPTouch_home.png"><img class="alignnone size-medium wp-image-564" title="TechCrunch WPTouch homepage" src="http://blog.trasatti.it/wp-content/uploads/2010/10/TechCrunchWPTouch_home-300x286.png" alt="" width="300" height="286" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.trasatti.it/2010/10/techcrunch-and-wptouch-design-optimised-for-mobile-data-usage-optimised-for-long-wait.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Google Analytics for WordPress for Mobile update</title>
		<link>http://blog.trasatti.it/2010/08/google-analytics-for-wordpress-for-mobile-update.html</link>
		<comments>http://blog.trasatti.it/2010/08/google-analytics-for-wordpress-for-mobile-update.html#comments</comments>
		<pubDate>Tue, 24 Aug 2010 20:51:37 +0000</pubDate>
		<dc:creator>Andrea</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[Mobile Web]]></category>
		<category><![CDATA[WordPress Mobile]]></category>

		<guid isPermaLink="false">http://blog.trasatti.it/?p=534</guid>
		<description><![CDATA[I thought about a possible issue where a low-end mobile device would have gotten the img tag in the head tag. Not good. While I was editing the code I also improved the code segmentation part that in some cases &#8230; <a href="http://blog.trasatti.it/2010/08/google-analytics-for-wordpress-for-mobile-update.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I thought about a possible issue where a low-end mobile device would have gotten the img tag in the head tag. Not good.</p>
<p>While I was editing the code I also improved the code segmentation part that in some cases might have sent incomplete data.</p>
<p>I have written an update, should be much better.<span id="more-534"></span></p>
<p>Still to do is the AdSense integration and managing the manual placing of the javascript/img.</p>
<p>If you were testing the previous version of the script, please <a href="http://blog.trasatti.it/wp-content/uploads/2010/08/google-analytics-for-wordpress-mobile.4.0.8-1.zip">upgrade</a> now!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.trasatti.it/2010/08/google-analytics-for-wordpress-for-mobile-update.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>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>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>
		<item>
		<title>WordPress Mobile Plugin by Andy Moore does dirty things</title>
		<link>http://blog.trasatti.it/2009/01/wordpress-mobile-plugin-by-andy-moore.html</link>
		<comments>http://blog.trasatti.it/2009/01/wordpress-mobile-plugin-by-andy-moore.html#comments</comments>
		<pubDate>Sun, 25 Jan 2009 18:58: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=413</guid>
		<description><![CDATA[Last week I wanted to take a look at the recently released WordPress 2.7 and of course wanted to give it a go on a mobile. As you might have noticed I&#8217;m on Google&#8217;s blogger and there is, unfortunately, no &#8230; <a href="http://blog.trasatti.it/2009/01/wordpress-mobile-plugin-by-andy-moore.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Last week I wanted to take a look at the recently released <a href="http://codex.wordpress.org/Version_2.7">WordPress 2.7</a> and of course wanted to give it a go on a mobile. As you might have noticed I&#8217;m on Google&#8217;s blogger and there is, unfortunately, no mobile version, so a proper mobile plugin would be a big plus for me and a good reason to move away.</p>
<p>I download the tiny zip from the official site, opened the <span style="font-family:courier new;">readme.txt</span> file. The file itself did not tell much if not that it would make my blog mobile. Fair enough, I took the php file and copied it in <span style="font-family:courier new;">wp-content/plugins</span>. That is all that was apparently required to install and in fact in the admin interface I had a new plugin available, I selected it and enabled on my Mac. The site URL was a local one, of course, <span style="font-family:courier new;">wordpress.local</span> (and added to my hosts file to access it).</p>
<p>Looking for some further information I went back to the official site (that I won&#8217;t link) and notice that in homepage there&#8217;s a nice link mentioning that my wordpress.local is the latest site which installed the plugin! A bit surprised I opened the small PHP file and noticed that there are two calls, one on plugin activation and one on deactivation. Being PHP it was not so hard to find  what it does and I was very disappointed with the discovery. On both events the plugin calls a remote API <strong>AND</strong> send an e-mail to Andy Moore mentioning the site name, URL, and the admin&#8217;t email, <span style="font-weight: bold;">YES, YOUR E-MAIL address</span>.<br />In my case, the SMTP server was down, so the e-mail did not get delivered, but to my great disappointment the API was reached and that is why my local install was mentioned on the website.</p>
<p>Nothing wrong has happened, in fact I&#8217;m pretty sure if Andy wanted to contact me he would definitely find a way, but it was very disturbing to discover that this happens without letting the user know. If I had been a bit smarter I would have looked at the code and I would have discovered it, the problem is that the average wordpress user will not bother to look at the code and will probably not even be capable of understanding what&#8217;s going on. We are not all developers and my impression is that Andy is relying exactly on the inability of his users to disable the feature. The software is GPL and everyone is welcome to look at and change it and that is exactly why I did not even bother to look at it, I took it granted that nothing bad would happen.</p>
<p>In case you wanted to disable this functionality (but it&#8217;s probably too late now, I admit), what you should do is open <span style="font-family:courier new;">wordpress-mobile.php</span>, find the function <span style="font-family:courier new;">wordpress_mobile_plugin_activate</span> (it&#8217;s at line 1664 in version 1.3), go to the first line of the function and just add the following line:<br /><span style="font-family:courier new;">return true;</span></p>
<p>Do the same for the function <span style="font-family:courier new;">wordpress_mobile_plugin_deactivate</span> (line 1673 in version 1.3).</p>
<p>Andy has definitely spent time to get this plugin working and maintaing it and I think it&#8217;s perfectly fair for him to ask for money and <span style="font-weight: bold;">ask</span> his users to provide usage details, but asking and taking are different operations, I my opinion.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.trasatti.it/2009/01/wordpress-mobile-plugin-by-andy-moore.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

