<?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>Wapple Blog &#187; Mobile Web Coding Tutorials</title>
	<atom:link href="http://blog.wapple.net/category/mobile-web-coding-tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.wapple.net</link>
	<description>Addicted to Mobile Web</description>
	<lastBuildDate>Wed, 25 Jan 2012 20:51:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>&#8216;K-Ching&#8217;!  Mobile Web Training Program Webinar</title>
		<link>http://blog.wapple.net/k-ching-mobile-web-training-program-webinar/</link>
		<comments>http://blog.wapple.net/k-ching-mobile-web-training-program-webinar/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 23:36:38 +0000</pubDate>
		<dc:creator>Anne Thomas</dc:creator>
				<category><![CDATA[Mobile Web Coding Tutorials]]></category>
		<category><![CDATA[Mobile Web Design]]></category>
		<category><![CDATA[Mobile Web Development]]></category>
		<category><![CDATA[Mobile Websites]]></category>
		<category><![CDATA[Wapple Architect]]></category>
		<category><![CDATA[Wapple Canvas]]></category>
		<category><![CDATA[Wapple Training]]></category>
		<category><![CDATA[Webinars]]></category>
		<category><![CDATA[Architect]]></category>
		<category><![CDATA[Canvas]]></category>
		<category><![CDATA[Coding Mobile Web Pages]]></category>
		<category><![CDATA[Mobile Development Platform]]></category>
		<category><![CDATA[Mobile Site Builder]]></category>
		<category><![CDATA[Mobile Site Builders]]></category>
		<category><![CDATA[Mobile Web]]></category>
		<category><![CDATA[Mobile Website Development]]></category>
		<category><![CDATA[WAPL]]></category>

		<guid isPermaLink="false">http://blog.wapple.net/?p=2865</guid>
		<description><![CDATA[Looking to create your own mobile website? Want the ability to create high class intelligent sites for yourself or your clients? Not sure where to begin? Need a little guidance to add more shine to your existing site? This is for you! We&#8217;ve created a fantastic 10 Session Webinar Training Program to aid you in [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://dashboard.wapple.net/webinars/signup"><img class="alignleft size-full wp-image-2867" title="FREE Mobile Web Development Webinar Training Program" src="http://blog.wapple.net/wp-content/uploads/2011/10/kching_phone.png" alt="Wapple Mobile Web Development Webinar Training Program" width="192" height="368" /></a>Looking to create your own mobile website? Want the ability to create high class intelligent sites for yourself or your clients? Not sure where to begin? Need a little guidance to add more shine to your existing site? This is for you!</p>
<p>We&#8217;ve created a fantastic 10 Session Webinar Training Program to aid you in becoming a master mobile web design expert and we&#8217;re including an additional 11th session focusing on mobile marketing.</p>
<p>This webinar-based Program starts November 1st and is absolutely FREE and we&#8217;re offering it exclusively to registered Wapple users. (not registered yet&#8230;<a title="sign up quick" href="http://wapple.net/signup/developer"><strong>click here quick</strong></a>!)</p>
<p>During the course you will learn how to build a mobile site yourself using our fictitous car services site &#8216;K-Ching&#8217; as the focal point whilst learning some of the exciting key design, marketing &amp; technical features of our intelligent Mobile Publishing Platform.</p>
<p>Once registered you&#8217;ll be able to download the Training Pack which will include the Program Schedule, the K-Ching Mobile Site content (graphics, csvs ) and all relevant training preperation.</p>
<p>Be quick though, places are limited and<strong> registration closes THIS Friday</strong> 28th October.</p>
<p><a title="Register Now" href="http://dashboard.wapple.net/webinars/signup"><strong>Register Now</strong></a> for the K-Ching Training Webinar! (or <a title="sign up" href="http://wapple.net/signup/developer">sign up</a> with Wapple first)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wapple.net/k-ching-mobile-web-training-program-webinar/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>How HowToMakeMyBlog.com was mobilized</title>
		<link>http://blog.wapple.net/how-howtomakemyblog-com-was-mobilized/</link>
		<comments>http://blog.wapple.net/how-howtomakemyblog-com-was-mobilized/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 14:07:15 +0000</pubDate>
		<dc:creator>Rich Gubby</dc:creator>
				<category><![CDATA[Mobile Web Coding Tutorials]]></category>
		<category><![CDATA[Mobile Web Development]]></category>
		<category><![CDATA[Mobile Websites]]></category>
		<category><![CDATA[Wordpress Mobile]]></category>
		<category><![CDATA[Mobile Friendly Websites]]></category>
		<category><![CDATA[Mobile Phone Detection]]></category>
		<category><![CDATA[Mobile Plugins]]></category>
		<category><![CDATA[Wordpress Mobile Plugin]]></category>
		<category><![CDATA[Wordpress Mobile Theme]]></category>

		<guid isPermaLink="false">http://mobilewebjunkie.com/?p=1445</guid>
		<description><![CDATA[Just before Christmas, we mobilized HowToMakeMyBlog.com by installing and configuring the Wapple Architect Mobile Plugin for WordPress. I&#8217;ve written a much more in-depth article over there about how we did it, but here&#8217;s a bite-sized version that you can cut out and put in your wallet: Install the Wapple Architect Mobile Plugin Grab a free [...]]]></description>
			<content:encoded><![CDATA[<p>Just before Christmas, we mobilized <a href="http://howtomakemyblog.com">HowToMakeMyBlog.com</a> by installing and configuring the <a href="http://wordpress.org/extend/plugins/wapple-architect/">Wapple Architect Mobile Plugin for WordPress</a>.</p>
<p>I&#8217;ve written a much more in-depth article over there about how we did it, but here&#8217;s a bite-sized version that you can cut out and put in your wallet:<br />
<span id="more-1445"></span></p>
<ol>
<li>Install the Wapple Architect Mobile Plugin</li>
<li>Grab a free dev key from <a href="http://wapple.net/register/plugins-signup.htm">http://wapple.net/register/plugins-signup.htm</a></li>
<li>Activate the plugin and enter your dev key in the Basic settings area</li>
<li>Upload a mobile logo</li>
<li>Tailor settings so that the mobile version matches the web</li>
<li>Style the mobile version so that you retain your brand identity</li>
</ol>
<p>If you want to read the full article, you can check it out <a href="http://www.howtomakemyblog.com/mobile-blogging/how-to-setup-your-mobile-blog-design-step-by-step-guide/">here</a>.</p>
<p>And finally, here is a screenshot of the mobile and web site that shows you how good your mobile blog can look!</p>
<p><img class="aligncenter size-full wp-image-1450" title="howtomakemyblog" src="http://mobilewebjunkie.com/wp-content/uploads/2009/12/howtomakemyblog.jpg" alt="howtomakemyblog" width="500" height="469" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wapple.net/how-howtomakemyblog-com-was-mobilized/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<custom_fields><aktt_notify_twitter>no</aktt_notify_twitter></custom_fields>	</item>
		<item>
		<title>Why Joomla site authors need to Mobilize their Websites</title>
		<link>http://blog.wapple.net/wapple-architect-mobile-plugin-for-joomla/</link>
		<comments>http://blog.wapple.net/wapple-architect-mobile-plugin-for-joomla/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 09:20:37 +0000</pubDate>
		<dc:creator>Rich Gubby</dc:creator>
				<category><![CDATA[Joomla]]></category>
		<category><![CDATA[Joomla Mobile]]></category>
		<category><![CDATA[Mobile Device and Browser Detection]]></category>
		<category><![CDATA[Mobile Internet]]></category>
		<category><![CDATA[Mobile Plugins]]></category>
		<category><![CDATA[Mobile Web Coding Tutorials]]></category>
		<category><![CDATA[Mobile Web Design]]></category>
		<category><![CDATA[Mobile Websites]]></category>
		<category><![CDATA[Buzz Aldrin]]></category>
		<category><![CDATA[Coding Mobile Web Pages]]></category>
		<category><![CDATA[Joomla Developers]]></category>
		<category><![CDATA[Joomla Mobile Plugin]]></category>
		<category><![CDATA[Mobile Friendly Websites]]></category>
		<category><![CDATA[Mobilize Joomla website]]></category>
		<category><![CDATA[Mobilize Websites and Blogs]]></category>
		<category><![CDATA[NASA]]></category>
		<category><![CDATA[SEF]]></category>

		<guid isPermaLink="false">http://mobilewebjunkie.com/?p=30</guid>
		<description><![CDATA[Content Management Systems &#8211; it seems as though they are the in-vogue tool at the moment with every man and his dog developing one or using it to power their website. If you do a search in a well known popular search engine for &#8220;CMS&#8221; (and assuming you aren&#8217;t searching for the Church Mission Society), [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-1227 postheader" title="joomla" src="http://mobilewebjunkie.com/wp-content/uploads/2009/08/joomla.jpg" alt="joomla" width="498" height="203" /></p>
<p>Content Management Systems &#8211; it seems as though they are the in-vogue tool at the moment with every man and his dog developing one or using it to power their website.</p>
<p>If you do a search in a well known popular search engine for &#8220;<a href="http://www.google.co.uk/search?q=CMS">CMS</a>&#8221; (and assuming you aren&#8217;t searching for the Church Mission Society), you&#8217;ll find Joomla at #3. With 139 million returned results that&#8217;s not bad by anyone&#8217;s standards.</p>
<p><span id="more-30"></span>As well as that, anyone publishing a list of the top five or ten CMS&#8217;s can&#8217;t fail to include Joomla. It&#8217;s had over 10 million downloads and is used on websites from travel companies in Hawaii, hotel reservation systems in Belgium to everything in between. I&#8217;m sure at one point NASA has used it for various sites so if it&#8217;s good enough for Buzz Aldrin and his chums it&#8217;s good enough for me.</p>
<h3>Joomla on mobile?</h3>
<div id="attachment_608" class="wp-caption alignleft" style="width: 310px"><img class="size-medium wp-image-608" title="Joomla Demo Site on Mobile" src="http://mobilewebjunkie.com/wp-content/uploads/2009/06/joomla_comparison-300x267.jpg" alt="joomla_comparison" width="300" height="267" /><p class="wp-caption-text">Joomla Demo Site on Mobile</p></div>
<p>But what does Joomla provide out of the box for your mobile visitors?</p>
<p>Not a great deal is the short answer. I tried to access the Joomla demo site on a couple of handsets &#8211; you can see the results on the screenshots to the left.</p>
<p>It&#8217;s the usual story of having to view web pages in your tiny mobile window, painfully slow downloads and an awful user experience. You&#8217;ll remember that this is the same sorry tale faced by millions of WordPress bloggers until I released a mobile plugin for it, so to even things up a bit in the battle of the CMS&#8217;s, I&#8217;ve written a mobile plugin for Joomla. WordPress 1 &#8211; 1 Joomla (Drupal 0 but more on that later!). Learn more about the reasons why you need to optimize to mobile devices <a href="/coding-for-mobile-web-automatically-adapting-to-every-device-and-browser/">here</a>.</p>
<p>The usual rules apply &#8211; it&#8217;s free for non-commercial (plus &#8216;free to try&#8217; for commercial) and you need to <a href="http://wapple.net/register/free-developer-program-for-coding-mobile-web.htm">sign up for a Wapple dev key</a> to use it. But once installed, you won&#8217;t ever have to worry about your mobile visitors again as the plugin takes care of everything for you.</p>
<h4>Joomla Mobile Plugin Options</h4>
<p>Graphics are resized dynamically to suit the handset, menu&#8217;s are configurable as are a whole bunch of image options &#8211; there&#8217;s even somewhere to input your newly acquired dev key!</p>
<p>Worried about your site being Search Engine Friendly? You should be and you&#8217;ve probably installed a plugin to help you out. But what about mobile &#8211; you don&#8217;t want to have to go through the whole process again. Fear not as my plugin retains all URLs from web to mobile allowing you to promote one single domain and have Google spider a single set of website addresses.</p>
<p>Older phones are catered for as much as newer ones &#8211; it&#8217;ll look as good as is humanly possible on an old WML browser and will look stunning on a swanky new iPhone. With regards to styles, the plugin tries to replicate the look and feel of the selected website theme so you&#8217;ll only need a little bit of CSS tinkering to achieve fantastic results.</p>
<div id="attachment_1260" class="wp-caption alignright" style="width: 310px"><a href="http://mobilewebjunkie.com/wp-content/uploads/2009/08/themda1.jpg"><img class="size-medium wp-image-1260" title="The MDA" src="http://mobilewebjunkie.com/wp-content/uploads/2009/08/themda1-300x256.jpg" alt="themda1" width="300" height="256" /></a><p class="wp-caption-text">The MDA</p></div>
<p>I&#8217;ll write a post at a later date that describes in infinite detail the nitty gritty of how it all comes together, but if you want to see it in action, head over to <a href="http://www.themda.org">www.themda.org</a> -  it&#8217;s already being powered by our Joomla plugin! There is a screenshot to the right too of how it looks on mobile.</p>
<h4>Get the Joomla Mobile Web Plugin!</h4>
<p>If you&#8217;ve got a Joomla powered website and fancy getting a copy of my plugin and template, check out the <a href="/plugins/">plugins</a> section of our site and download it for yourself!</p>
<p>Here&#8217;s a quick reminder of why you would want to mobilize your Joomla site:</p>
<ul>
<li>Will fit perfectly to every screen</li>
<li>Future proof for bigger or more obscure displays</li>
<li>5% of website traffic now gets hit by mobile devices (<a href="http://www.wirelessandmobilenews.com/2008/11/3-10_of_web_traffic_mobile_analytics_needed_says_bango.html">read more</a>)</li>
<li>Retains SEO for mobile and keeps your URLs SEF</li>
<li>Single domain promotion for both web and mobile (<a href="/importance-of-single-domains-for-web-and-mobile/">read more</a>)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.wapple.net/wapple-architect-mobile-plugin-for-joomla/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	<custom_fields><aktt_notify_twitter>no</aktt_notify_twitter></custom_fields>	</item>
		<item>
		<title>REST assured &#8211; you don&#8217;t need SOAP</title>
		<link>http://blog.wapple.net/rest-assured-you-dont-need-soap/</link>
		<comments>http://blog.wapple.net/rest-assured-you-dont-need-soap/#comments</comments>
		<pubDate>Thu, 20 Aug 2009 09:52:35 +0000</pubDate>
		<dc:creator>Rich Gubby</dc:creator>
				<category><![CDATA[Architect Changelog]]></category>
		<category><![CDATA[Changelog]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Mobile Web Coding Tutorials]]></category>
		<category><![CDATA[Mobile Web Development]]></category>
		<category><![CDATA[Architect]]></category>
		<category><![CDATA[Coding Mobile Web Pages]]></category>
		<category><![CDATA[Mobile Device Detection]]></category>
		<category><![CDATA[Mobile Phone Detection]]></category>
		<category><![CDATA[Mobile Website Development]]></category>
		<category><![CDATA[REST]]></category>
		<category><![CDATA[SOAP]]></category>
		<category><![CDATA[WAPL]]></category>
		<category><![CDATA[Wapple]]></category>
		<category><![CDATA[web services]]></category>

		<guid isPermaLink="false">http://mobilewebjunkie.com/?p=1174</guid>
		<description><![CDATA[Overcoming the barriers of mobile web design and development &#8211; it&#8217;s the tagline of our blog and something that we strive towards each and every day. We&#8217;ve given the development community some amazing tools that allow you to create some fantastic mobile sites and we&#8217;ve created plugins, components and classes that help you at every [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-1255" title="soaprest1" src="http://mobilewebjunkie.com/wp-content/uploads/2009/08/soaprest1.jpg" alt="soaprest1" width="498" height="203" /></p>
<p>Overcoming the barriers of mobile web design and development &#8211; it&#8217;s the tagline of our blog and something that we strive towards each and every day.</p>
<p>We&#8217;ve given the development community some amazing tools that allow you to create some fantastic mobile sites and we&#8217;ve created <a href="http://wordpress.org/extend/plugins/wapple-architect//">plugins</a>, <a href="http://bakery.cakephp.org/articles/view/universal-mobilization-with-wapl">components</a> and <a href="http://www.phpclasses.org/browse/package/5491.html">classes </a>that help you at every step.</p>
<p><span id="more-1174"></span>But one thing every Wapple Architect application has in common, is that in order to use it, it must be done via <a href="http://en.wikipedia.org/wiki/SOAP">SOAP</a>.</p>
<p>Or should I say, used to have in common, because this week we&#8217;ve created and released a REST web service for every SOAP call you can make.</p>
<h4>Using Wapple Architect with CURL</h4>
<p>What this means as a developer is that you can choose whichever method you want to communicate with Wapple Architect. If you want to use SOAP, carry on doing what you&#8217;ve always done, but if you want to use REST, use it. And to show how easy that can be, here&#8217;s how you would check if a visitor to your site is mobile or not using PHP and CURL:</p>
<pre class="brush:php">&lt;?php
$headers = '';
foreach($_SERVER as $key =&gt; $val)
{
 $headers .= $key.':'.$val.'|';
}
$postfields = array(
 'devKey' =&gt; 'YOUR_DEV_KEY',
 'headers' =&gt; $headers
);
$c = curl_init();
curl_setopt($c, CURLOPT_URL, 'http://webservices.wapple.net/isMobileDevice.php');
curl_setopt($c, CURLOPT_POST, 1);
curl_setopt($c, CURLOPT_POSTFIELDS, $postfields);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
$result = curl_exec($c);
curl_close($c);
if($result)
{
 // We're a mobile device! Generate some WAPL and use getMarkupFromWapl.php service!
} else
{
 // Not a mobile device - generate HTML and output to screen.
}
?&gt;</pre>
<p>Once you&#8217;ve established that your visitor is a mobile visitor, you can use the <strong>getMarkupFromUrl.php</strong> or <strong>getMarkupFromWapl.php</strong> services and amend your $postfields array to include the &#8216;url&#8217; or &#8216;wapl&#8217; keys respectively.</p>
<h4>Architect with SOAP or REST</h4>
<p>So if you&#8217;ve looked at using <a href="http://">Wapple Architect</a> before but for one reason or another couldn&#8217;t or wouldn&#8217;t install SOAP, you&#8217;ve now got another option that allows you to mobilize your site or app!</p>
<p>We&#8217;ve already integrated these new services into our <a href="http://">Wapple Architect Mobile Plugin for WordPress</a> so that if you don&#8217;t have SOAP installed on your server, you automatically fall back to using REST. And lets face it, if you&#8217;re on a shared host, getting SOAP installed is not a task to be taken lightly and can be tricky.</p>
<p>What do you think of these new REST services, does it mean you&#8217;ll use Wapple Architect? Do we need even more coverage of web services &#8211; XMLRPC for example? Get in touch and let us know!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wapple.net/rest-assured-you-dont-need-soap/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<custom_fields><aktt_notify_twitter>no</aktt_notify_twitter></custom_fields>	</item>
		<item>
		<title>IE6 Must Die, Mobile Browsers Must Live</title>
		<link>http://blog.wapple.net/ie6-must-die-mobile-browsers-must-live/</link>
		<comments>http://blog.wapple.net/ie6-must-die-mobile-browsers-must-live/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 16:22:44 +0000</pubDate>
		<dc:creator>Paul Rhodes</dc:creator>
				<category><![CDATA[Mobile Device and Browser Detection]]></category>
		<category><![CDATA[Mobile Internet]]></category>
		<category><![CDATA[Mobile SEO]]></category>
		<category><![CDATA[Mobile Web Coding Tutorials]]></category>
		<category><![CDATA[Mobile Web Design]]></category>
		<category><![CDATA[Mobile Web Development]]></category>
		<category><![CDATA[Mobile Websites]]></category>
		<category><![CDATA[Mobile Browser Detection]]></category>
		<category><![CDATA[Mobile Device Detection]]></category>
		<category><![CDATA[Mobile Friendly Websites]]></category>
		<category><![CDATA[Mobile Publishing Platform]]></category>
		<category><![CDATA[Mobilize Websites and Blogs]]></category>
		<category><![CDATA[Single Domain]]></category>

		<guid isPermaLink="false">http://mobilewebjunkie.com/?p=961</guid>
		<description><![CDATA[IE6 Must Die is a trending topic on Twitter right now. The world is demanding that IE6 support is dropped, effectively forcing the hand of anyone still using the browser and hopefully freeing the internet from the hell that is substandard browser support. In June 09 IE6 accounted for 14.9% of web access. Browser Stats [...]]]></description>
			<content:encoded><![CDATA[<p>IE6 Must Die is a trending topic on Twitter right now. The world is demanding that IE6 support is dropped, effectively forcing the hand of anyone still using the browser and hopefully freeing the internet from the hell that is substandard browser support.</p>
<p><span id="more-961"></span></p>
<p>In June 09 IE6 accounted for 14.9% of web access.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-962" title="Browser access in June 09" src="http://mobilewebjunkie.com/wp-content/uploads/2009/07/chart-1.jpg" alt="Browser access in June 09" width="544" height="414" /></p>
<address style="text-align: center;">Browser Stats June 09 </address>
<p>Take a look for yourself <a title="Browser stats" href="http://www.w3schools.com/browsers/browsers_stats.asp">here</a>.</p>
<p>Access from mobile devices to web sites is on the increase. It is approximated at about 5% for the same month.</p>
<p>That&#8217;s an interesting figure because IE6 is on a downward slide, yet the world is scared of not supporting it.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-963" title="IE6 decline up to June 09" src="http://mobilewebjunkie.com/wp-content/uploads/2009/07/chart2.jpg" alt="IE6 decline up to June 09" width="560" height="411" /></p>
<address style="text-align: center;">IE6 Decline until June 09<br />
</address>
<p>Let&#8217;s get this straight.  Mobile access to popular websites exceeded IE8, Chrome, Safari and Opera. We&#8217;re clearly on our way to mobile browsers overtaking IE6.</p>
<p>This is a big deal for anyone who wonders if they should be properly serving mobile content to mobile browsers. The answer is a resounding &#8220;YES&#8221; and <a title="One domain for web and mobile" href="importance-of-single-domains-for-web-and-mobile" target="_self">this is how you can do it.</a></p>
<p>In fact, if you&#8217;re not supporting mobile properly, I&#8217;d be worried. More worried than I&#8217;d be about iE6. The twitter crowd will be bringing that to its knees on your behalf.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-964" title="How much you should care about IE6 and Mobile Browsers" src="http://mobilewebjunkie.com/wp-content/uploads/2009/07/chart-3.jpg" alt="How much you should care about IE6 and Mobile Browsers" width="536" height="403" /></p>
<p>How much you should care about IE6 and Mobile Browsers</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wapple.net/ie6-must-die-mobile-browsers-must-live/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<custom_fields><aktt_notify_twitter>no</aktt_notify_twitter></custom_fields>	</item>
		<item>
		<title>Removing Problems with Scrollbars on Mobile Browsers</title>
		<link>http://blog.wapple.net/scrollbars-on-mobile-browsers/</link>
		<comments>http://blog.wapple.net/scrollbars-on-mobile-browsers/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 15:13:50 +0000</pubDate>
		<dc:creator>Rich Holdsworth</dc:creator>
				<category><![CDATA[Mobile Device and Browser Detection]]></category>
		<category><![CDATA[Mobile Internet]]></category>
		<category><![CDATA[Mobile SEO]]></category>
		<category><![CDATA[Mobile Web Coding Tutorials]]></category>
		<category><![CDATA[Mobile Web Design]]></category>
		<category><![CDATA[Mobile Websites]]></category>
		<category><![CDATA[Canvas]]></category>
		<category><![CDATA[Exhibit]]></category>
		<category><![CDATA[Mobile Browser Detection]]></category>
		<category><![CDATA[Mobile Device Detection]]></category>
		<category><![CDATA[Mobile Devices]]></category>
		<category><![CDATA[Mobile Site Builder]]></category>

		<guid isPermaLink="false">http://mobilewebjunkie.com/?p=891</guid>
		<description><![CDATA[Scrollbars are a pain on web and they are even more of a pain on mobile. If you&#8217;ve ever had to develop a website that does anything imaginative with it&#8217;s width then you will have encountered the inclusive / exclusive discrepancy amongst browsers. For example, should your page length exceed the vertical size of a [...]]]></description>
			<content:encoded><![CDATA[<p>Scrollbars are a pain on web and they are even more of a pain on mobile.</p>
<p>If you&#8217;ve ever had to develop a website that does anything imaginative with it&#8217;s width then you will have encountered the inclusive / exclusive discrepancy amongst browsers. For example, should your page length exceed the vertical size of a browser window, a vertical scrollbar appears &#8211; trouble is some browsers feel the need to subtract the width of the scrollbar from the width of the page &#8211; causing horizontal scroll on the page.<span id="more-891"></span>Of course, on a mobile phone you can&#8217;t change the size of <em>your </em>viewport but because every phone can be different problems arise when trying to create a mobile website that works across all devices. Because mobile devices tend to lack the JavaScript support that we all enjoy in big web browsers and therefore it is not simply a case of denying the bars so that everything works.</p>
<p><a href="http://wapple.net/mobile-web-site-builder-and-mobile-marketing-tools.htm" target="_self"><img class="alignleft size-medium wp-image-900" title="ice_age_3_scroll" src="http://mobilewebjunkie.com/wp-content/uploads/2009/07/ice_age_3_scroll-167x300.jpg" alt="ice_age_3_scroll" width="167" height="300" />Wapple Canvas</a> allows you to build mobile websites in a &#8216;build-once / publish-many&#8217; manner. The Exhibit engine takes care of making the site work across all devices.</p>
<p>Until Wapple solved the problem scrollbars had been a problem &#8211; in fact they remain a problem for those not using Wapple. In the past, to get a consistent look across all devices (as in no horizontal scroll), we suggested to customers that they never size graphics to 100% width. We advised that they change the graphic width to 97% (a feature within <a href="http://wapple.net/mobile-web-site-builder-and-mobile-marketing-tools.htm" target="_self">Canvas</a> that allows complete control of all graphic sizes on a site) so that devices never experience horizontal scroll. The trouble was that on the &#8216;better devices&#8217; sites ended up with some blank space on the right.</p>
<p>We decided that this was simply not good enough. So we put a stack of effort into sorting this out once and for all.</p>
<p>Over the course of a week we implemented a new Browser singleton. Previously we had been using our Device object to perform a lot of screen related functionality. Separating it into a Browser class means that we can separate the logic for browser screen decisions from the values that need to be based on the actual device sizes.</p>
<p>Upon instantiation, the Browser class deconstructs the screen into viewport and scrollbar values. These are stored in both pixels and percentages. Everything stems from here.</p>
<p>From then on, all screen calculations are handled by this class. Older phones usually have quite large scrollbar widths. Newer devices often overlay the scrollbar onto the screen when necessary. These phone have a determined scrollbar size of zero, creating 100% viewport, 0% scrollbars in the process.</p>
<p>From then on it&#8217;s the same calculations working on every device to handle the screen every time it is required.</p>
<p>We have also put on a few min-height things. This keeps things tidy on certain devices.</p>
<p>Obviously, this new system is optional to our users. A site built with 97% width graphics should not have it turned on until sizes have been adjusted accordingly. Otherwise, graphics will be 97% of a viewport width, which might be 95% of the screen. Easily adjusted, though so no worries.</p>
<p>I think that this week we&#8217;ll probably roll this out as an option to <a href="http://wapple.net/develop-mobile-friendly-websites-with-single-domain-for-web-and-mobile.htm" target="_self">Architect</a> users.</p>
<p>Of course in order to do any of the clever stuff above you&#8217;d need a dyanamic and intelligent mobile browser and device handling system like <a href="http://wapple.net/optimized-delivery-of-mobile-sites-to-mobile-handsets-browsers-and-devices.htm" target="_self">Exhibit</a> there in the first place. The conversations we had on this topic have lead us to discuss some very interesting community-based tools. More of that to come in the future&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wapple.net/scrollbars-on-mobile-browsers/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	<custom_fields><aktt_notify_twitter>no</aktt_notify_twitter></custom_fields>	</item>
		<item>
		<title>Step by Step Guide to Enhancing your WordPress Mobile Blog</title>
		<link>http://blog.wapple.net/step-by-step-guide-to-enhancing-your-wordpress-mobile-blog/</link>
		<comments>http://blog.wapple.net/step-by-step-guide-to-enhancing-your-wordpress-mobile-blog/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 20:36:38 +0000</pubDate>
		<dc:creator>Rich Gubby</dc:creator>
				<category><![CDATA[Mobile Internet]]></category>
		<category><![CDATA[Mobile Web Coding Tutorials]]></category>
		<category><![CDATA[Mobile Web Development]]></category>
		<category><![CDATA[Wordpress Mobile]]></category>
		<category><![CDATA[mobile blog gallery]]></category>
		<category><![CDATA[mobile css]]></category>
		<category><![CDATA[Mobile Friendly Websites]]></category>
		<category><![CDATA[Mobile Plugins]]></category>
		<category><![CDATA[Mobile Website Development]]></category>
		<category><![CDATA[Wordpress Mobile Plugin]]></category>
		<category><![CDATA[WordPress mobile plugin for 2.8]]></category>

		<guid isPermaLink="false">http://mobilewebjunkie.com/?p=1046</guid>
		<description><![CDATA[You&#8217;ve installed my Wapple Architect Mobile Plugin for WordPress and entered your Dev Key only to find that although your mobile blog looks great, it doesn&#8217;t look as awesome as some of the other blogs that are using the plugin. So what can you do about it? Luckily for you I&#8217;ve compiled a list of [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-1236 postheader" title="wordpressenhance" src="http://mobilewebjunkie.com/wp-content/uploads/2009/06/wordpressenhance.jpg" alt="wordpressenhance" width="498" height="203" /></p>
<p>You&#8217;ve installed my Wapple Architect Mobile Plugin for WordPress and entered your Dev Key only to find that although your mobile blog looks great, it doesn&#8217;t look as awesome as some of the other blogs that are using the plugin.</p>
<p>So what can you do about it? Luckily for you I&#8217;ve compiled a list of some of the top tips to make your blog look awesome on mobile, just follow it and by the end of it you&#8217;ll have a great looking mobile site.<br />
<span id="more-1046"></span></p>
<h4>Step by Step Guide</h4>
<ol>
<li> Upload a header image into the Basic Settings section of the Wapple Architect settings page. The best logos that work on mobile are ones that have solid colours in the background and are as big as possible &#8211; the image will be dynamically resized on the fly to fit a visitors mobile phone so anything over 500 pixels in width is good.</li>
<li>Don&#8217;t forget that once you&#8217;ve selected an image, change the &#8220;Use Mobile header Image&#8221; option to be &#8220;Yes&#8221;!</li>
<li>Turn on commenting on posts. In the &#8220;Posts Settings&#8221; area, change the &#8220;Allow comments on posts&#8221; to &#8220;Yes&#8221;.</li>
<li>If you have lots of really long posts, turn on &#8220;Do Pagination&#8221; under &#8220;Posts Settings&#8221; – it&#8217;ll dynamically chop up your posts into mobile friendly pages. If you want even more control over pagination, change the &#8220;Post length&#8221; setting to something suitable &#8211; around 2000 is what we&#8217;ve found to be the magic number.</li>
<li>Turn on the &#8220;Show home link&#8221; and &#8220;Show next/previous links&#8221; in &#8220;Posts Settings&#8221;. This will put some handy navigation links at the top and bottom of the page back to the homepage and to the next and previous posts – remember, it&#8217;s harder for mobile users to navigate so they need all the help you can give them.</li>
<li>Check for any wide elements. Sometimes your web theme may have specified the exact width of elements to be quite wide and as the style is carried across from web to mobile, it may cause horizontal scroll. Have a look at what elements may be wide and reset them in your mobile stylesheet.</li>
<li>If you want a bit more control over the various areas of your mobile site, try switch the layout mode from &#8220;table&#8221; to &#8220;div&#8221;. If you go to the &#8220;Advanced&#8221; settings, it&#8217;s an option in there.</li>
<li>Get styling! There&#8217;s 2 mobile stylesheets for you to tinker with and they&#8217;re both in the &#8220;Mobile Theme Settings&#8221; &#8211; the first one is a more generic stylesheet that clears a few things down ready for mobile, the second is there for you to make your changes in. You might have installed a completely customized web theme for your blog so you&#8217;ll have a little bit of work to do to make it look amazing on mobile!</li>
</ol>
<p>Here&#8217;s a few screenshots of some of the best mobile blogs out there that have followed the guide above: (click on the image to get a bigger version)</p>
<div class="clearleft">
<div id="attachment_1047" class="wp-caption alignleft" style="width: 160px"><a href="http://mobilewebjunkie.com/wp-content/uploads/2009/07/screenshot-1.jpg"><img class="size-thumbnail wp-image-1047 " title="WordPress Showcase - Mobile Web Junkie" src="http://mobilewebjunkie.com/wp-content/uploads/2009/07/screenshot-1-150x150.jpg" alt="WordPress Showcase - Mobile Web Junkie" width="150" height="150" /></a><p class="wp-caption-text">WordPress Showcase - Mobile Web Junkie</p></div>
<div id="attachment_1048" class="wp-caption alignleft" style="width: 160px"><a href="http://mobilewebjunkie.com/wp-content/uploads/2009/07/screenshot-2.jpg"><img class="size-thumbnail wp-image-1048 " title="WordPress Showcase - Red Yellow" src="http://mobilewebjunkie.com/wp-content/uploads/2009/07/screenshot-2-150x150.jpg" alt="WordPress Showcase - Red Yellow" width="150" height="150" /></a><p class="wp-caption-text">WordPress Showcase - Red Yellow</p></div>
<div id="attachment_1049" class="wp-caption alignleft" style="width: 160px"><a href="http://mobilewebjunkie.com/wp-content/uploads/2009/07/screenshot-3.jpg"><img class="size-thumbnail wp-image-1049 " title="WordPress Showcase - The Notebook World" src="http://mobilewebjunkie.com/wp-content/uploads/2009/07/screenshot-3-150x150.jpg" alt="WordPress Showcase - The Notebook World" width="150" height="150" /></a><p class="wp-caption-text">WordPress Showcase - The Notebook World</p></div>
</div>
<div class="clearleft">
<div id="attachment_1050" class="wp-caption alignleft" style="width: 160px"><a href="http://mobilewebjunkie.com/wp-content/uploads/2009/07/screenshot-4.jpg"><img class="size-thumbnail wp-image-1050 " title="WordPress Showcase - Ben90" src="http://mobilewebjunkie.com/wp-content/uploads/2009/07/screenshot-4-150x150.jpg" alt="WordPress Showcase - Ben90" width="150" height="150" /></a><p class="wp-caption-text">WordPress Showcase - Ben90</p></div>
<div id="attachment_1051" class="wp-caption alignleft" style="width: 160px"><a href="http://mobilewebjunkie.com/wp-content/uploads/2009/07/screenshot-5.jpg"><img class="size-thumbnail wp-image-1051 " title="WordPress Showcase - The MDA" src="http://mobilewebjunkie.com/wp-content/uploads/2009/07/screenshot-5-150x150.jpg" alt="WordPress Showcase - The MDA" width="150" height="150" /></a><p class="wp-caption-text">WordPress Showcase - The MDA</p></div>
<div id="attachment_1052" class="wp-caption alignleft" style="width: 160px"><a href="http://mobilewebjunkie.com/wp-content/uploads/2009/07/screenshot-6.jpg"><img class="size-thumbnail wp-image-1052 " title="WordPress Showcase - David Harrell" src="http://mobilewebjunkie.com/wp-content/uploads/2009/07/screenshot-6-150x150.jpg" alt="WordPress Showcase - David Harrell" width="150" height="150" /></a><p class="wp-caption-text">WordPress Showcase - David Harrell</p></div>
</div>
<p>Hopefully you&#8217;ve now got a mobile site to be proud of &#8211; if so, let me know! Send over a URL and I&#8217;ll feature your blog in the gallery above.</p>
<p>Finally, a few people have asked if they can see the mobile CSS used to style one of the sites in the showcase &#8211; as this site was one of them, here is the custom mobile stylesheet used to style Mobile Web Junkie &#8211; just drop something similar into your custom stylesheet and tweak it to suit:</p>
<pre class="brush:css">body{padding:0;margin:0;}
.main{background:#ffffff;padding:0;}
a, .navigation a{color:#BF362A; margin-bottom:5px; text-align:center;}
a:hover, .navigation a:hover{color:#ffffff;background:#bf362a;}
.homeCategoryHeader, .homeCategories, .author, .search_row, #header, #switchToDesktop, .entry_row, .entry_row_row td, .entry_row_row div,.post-date_row, .post-date, .postTitle, .navigation, .postmetadata, .postmetadata.alt, .spacemaker, .commentTitle_row td, .commentTitle_row div, .nav, .description{background:#f2f2f4;padding-left:2px;}
.entry_row.h2 a{color:#2C343F;font-weight:bold;font-size:1.2em;background:#f2f2f4;border:none; text-decoration:underline; padding-left:5px;}
.entry_row.h2 a:hover{text-decoration:underline;}
.nav{text-align:center; padding:9px 0px 14px 0px; font-size:115%;}
.author{padding-bottom:12px; padding-left:5px;}</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.wapple.net/step-by-step-guide-to-enhancing-your-wordpress-mobile-blog/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	<custom_fields><aktt_notify_twitter>no</aktt_notify_twitter></custom_fields>	</item>
		<item>
		<title>How I Mobilized WordPress &#8211; the Technical Howto for Devs, Coders, Web Geeks and Wizards</title>
		<link>http://blog.wapple.net/how-i-mobilized-wordpress-the-technical-howto-for-devs-coders-web-geeks-and-wizards/</link>
		<comments>http://blog.wapple.net/how-i-mobilized-wordpress-the-technical-howto-for-devs-coders-web-geeks-and-wizards/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 16:57:56 +0000</pubDate>
		<dc:creator>Rich Gubby</dc:creator>
				<category><![CDATA[Mobile Internet]]></category>
		<category><![CDATA[Mobile Plugins]]></category>
		<category><![CDATA[Mobile Web Coding Tutorials]]></category>
		<category><![CDATA[Mobile Web Development]]></category>
		<category><![CDATA[Wordpress Mobile]]></category>
		<category><![CDATA[Architect]]></category>
		<category><![CDATA[Coding Mobile Web Pages]]></category>
		<category><![CDATA[Mobile Friendly Websites]]></category>
		<category><![CDATA[Mobilize Websites and Blogs]]></category>
		<category><![CDATA[Single Domain]]></category>
		<category><![CDATA[Wordpress Mobile Plugin]]></category>
		<category><![CDATA[Wordpress Mobile Theme]]></category>

		<guid isPermaLink="false">http://mobilewebjunkie.com/?p=390</guid>
		<description><![CDATA[So you&#8217;ve got your WordPress site running, you&#8217;ve installed a load of plugins to do fancy things and there&#8217;s a large subscriber base following your every post. However, without realising it, you&#8217;re giving a poor user experience to anyone reading your blog on their mobile phone. Have a read of &#8220;Why Millions of WordPress Bloggers [...]]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;ve got your WordPress site running, you&#8217;ve installed a load of plugins to do fancy things and there&#8217;s a large subscriber base following your every post. However, without realising it, you&#8217;re giving a poor user experience to anyone reading your blog on their mobile phone. Have a read of &#8220;<a href="/why-millions-of-wordpress-bloggers-need-to-get-mobile-friendly/">Why Millions of WordPress Bloggers Need to get Mobile Friendly</a>&#8221; to see why this is such a big problem.</p>
<p>To help the community at large, I&#8217;ve created a WordPress mobile plugin and theme that provides a perfect WordPress experience to mobile web users and here&#8217;s how and why I did it.<br />
<span id="more-390"></span></p>
<h4>Plugins &#8230; but not one that truly understands mobile web</h4>
<p>If you want to do anything slightly out of the ordinary with WordPress you have to use a plugin. If you want to edit your content in a weird and wonderful way then there&#8217;s a plugin to do it. Want better search capabilities? Someone&#8217;s already written something to do it. Simply put, plugins are little chunks of code that you install on your site to add extra functionality to the basic set.</p>
<p>Yet I searched high and low for a plugin that would properly mobilize an existing WordPress site, and my definition of properly is:</p>
<ul>
<li>Being able to use the same one single domain for web and mobile</li>
<li>Maintain URLs across platforms</li>
<li>Retain SEO for mobile search</li>
<li>Carry through the same look and feel of the website on every single mobile device and browser</li>
</ul>
<p>I did find one that renders your site for iPhone only, but that&#8217;s no good if you&#8217;re one of the 90% of mobile users who don&#8217;t actually have one. There&#8217;s another for PDA&#8217;s and a third that renders XHTML only, there were also other plugins that forwarded you round to an alternative mobile URL.</p>
<h4>Themes &#8230; even fewer mobile options</h4>
<p>The other extendable aspect of WordPress are themes, allowing designers to create great looking sites by modifying a relatively small number of files containing chunks of PHP code and HTML. Whilst this is great for web, it&#8217;s bad news for mobile because phones that require anything other than XHTML will never be given it.</p>
<p>At the time of writing, there&#8217;s only one single, solitary mobile WordPress theme available out of a total of 797 so the cupboard looks a little bit bare when looking for something to mobilize your blog.</p>
<p>So as I couldn&#8217;t find a plugin or a theme to fulfill my criteria, I set myself the challenge of writing one that caters for every mobile device and creates an enjoyable user experience for every visitor. As Mobile Web Junkie is one of the many millions of sites using WordPress, it made sense to make it the guinea pig.</p>
<h4>How I did it</h4>
<p>At a very high level, the plugin works by dynamically switching themes dependant on what platform the user is visiting on. By using the add_action function in WordPress to trigger my own functions at certain points, I made sure that device detection took place early on in the script in order to control what happened, here&#8217;s a snippet of code from my plugin.</p>
<pre class="brush:php">function deviceDetection()
{
	if(__testForMobile())
	{
		// Load the correct file depending on the URL (copied from template-loader.php)
		$template = __templateLoader();
		$file = WP_PLUGIN_DIR.'/architect/theme/'.$template;
		if(file_exists($file))
		{
			include($file);
			exit(0);
		}
	}
}
...
add_action('template_redirect', 'deviceDetection');</pre>
<p>Template_redirect is an action that is triggered immediately before loading a theme &#8211; the posts have been created but nothing has been echoed out to the browser. By hooking the &#8216;deviceDetection&#8217; function into it, I dynamically switched to my Architect theme depending on whether the visitor was on a mobile device or not. There&#8217;s a couple of functions missing in the above example, one to get the correct template file (from the &#8216;__templateLoader&#8217; function) and one to actually do the test for mobile (__testForMobile()). If you get the code for yourself, you can take a look at what they do.</p>
<p>If at this point the visitor was detected as being on a desktop browser, none of the code to switch themes was executed and the code carried on as if nothing had happened.</p>
<p>However, if a mobile was detected, the plugin loaded in the correct template file &#8211; if the home page was being viewed, it&#8217;d be index.php but if it was an actual post, single.php was the file it tried to load. Here&#8217;s a few chunks of my index.php to see what it does:</p>
<pre class="brush:php">
include_once('functions.php');
$waplString = get_wapl_header();
$wapl = new WordPressWapl;
if(have_posts())
{
	while(have_posts())
	{
		the_post();

		$waplString .= $wapl->link(array('rowClass' => 'entry_row', 'display_as' => 'h2', 'label' => get_the_title(), 'url' => apply_filters('the_permalink', get_permalink())));
		$waplString .= $wapl->chunk('words', array('class' => 'post-date', 'quick_text' => apply_filters('the_time', get_the_time('F jS, Y'), 'F jS, Y')));

		if(get_option('architect_home_showexcerpt'))
		{
			...
			$content = $wapl->format_text(get_the_content(), $homepagescale, $homepagequality, 'entry_row');
			$waplString .= $wapl->chunk('words', array('class' => 'entry_row', 'quick_text' => $content));
			...
		}
	}
} else
{
	$waplString .= $wapl->chunk('words', array('display_as' => 'h2', 'quick_text' => 'Not Found'));
	$waplString .= $wapl->chunk('words', array('quick_text' => 'Sorry, but you are looking for something that isn\'t here.'));
}
...
$waplString .= get_wapl_footer();
process_wapl($waplString);
?></pre>
<p>Instead of having a get_header() function (which is the norm for most WordPress themes), I created a get_wapl_header() function that returned markup from header.php file instead of echoing the contents to screen. I then looped through the posts in the same way as other themes and built up a WAPL string along the way.<br />
At the end of the example, the WAPL string is sent through the &#8216;process_wapl&#8217; function, here&#8217;s what that function looks like in its simplest form:</p>
<pre class="brush:php">
function process_wapl($waplString)
{
	global $waplHeaders;
	global $waplSoapClient;

	$params = array('devKey' => get_option('architect_devkey'), 'wapl' => utf8_encode($waplString), 'deviceHeaders' => $waplHeaders);

	// Send markup to API and parse through simplexml
	$xml = simplexml_load_string($waplSoapClient->getMarkupFromWapl($params));

	foreach($xml->header->item as $val)
	{
	    header($val);
	}
	echo trim($xml->markup);
}
?></pre>
<p>This function is very similar to some I&#8217;ve used in other projects, it takes the WAPL string and sends it through the <a href="http://wapl.info/coding-for-the-mobile-web-with-WAPL/chapter/getMarkupFromWapl/">getMarkupFromWapl</a> SOAP service. You can see how it&#8217;s used in my <a href="/intro-to-architect-mobile-web-development/">Intro to Architect Mobile Web Development</a> and <a href="http://bakery.cakephp.org/articles/view/mobilize-your-cake-app-in-minutes">mobilize your cake app in minutes</a> article on the Cake Bakery. Infact, the whole process of doing device detection in one area and the building of WAPL in another is a pattern that could be applied to any other CMS or framework &#8211; I&#8217;ve already started work on a <a href="http://joomla.org">Joomla </a>plugin and you could also use the same logic for <a href="http://drupal.org">Drupal</a>.</p>
<p>There are a whole load of builder classes and functions included in my theme that will turn WordPress markup (mostly HTML with other bits thrown in) into plain text and <a href="http://wapl.info/coding-for-the-mobile-web-with-WAPL/chapter/Text-Formatting/">Wapple Text Formatting</a>. The WordPressWapl class also allows you to build WAPL markup that will always be valid and conform to the <a href="http://wapl.info/xml-based-mobile-markup-language/">schema</a>.</p>
<h4>Get the plugin</h4>
<p>Now I&#8217;ve created a plugin and theme that not only makes sure that my blog works for every single device, but will do the same for anyone else with a WordPress blog who wants to mobilize it.</p>
<p>If you want to take a look at my plugin, head over to <a href="http://wordpress.org/extend/plugins/wapple-architect/">http://wordpress.org/extend/plugins/wapple-architect/</a> and check it out for yourself! There are extensive instructions on there with regards to installing as well as a few screenshots so you can see what you could accomplish.</p>
<h4>Plugin Features</h4>
<ul>
<li>Create mobile specific page header and page footer images</li>
<li>Customize your blog for mobile by configuring options in the control panel</li>
<li>Make sure long posts get split up into manageable pages</li>
<li>Dynamically resize your uploaded images</li>
<li>Pull through the look and feel of the website theme</li>
<li>Fully customizable mobile CSS</li>
<li>Extendable for other WordPress plugins</li>
<li>Works for every single device</li>
<li>Correct markup is delivered to the right handset</li>
<li>Retain one single domain</li>
<li>Maintain SEO friendly URLs</li>
</ul>
<h4>How to Install</h4>
<p>The installation process is simple. Upload the contents of the architect.zip file into the /wp-content/plugins directory, activate the Wapple Architect plugin and enter a valid dev key. From start to finish, you should be able to mobilize your blog in under 2 minutes!</p>
<h4>The Result</h4>
<p>Here&#8217;s a screenshot of what my plugin has done for this blog, but if you want to see the results for yourself, visit Mobile Web Junkie on your mobile phone.</p>
<div id="attachment_467" class="wp-caption aligncenter" style="width: 590px"><img class="size-full wp-image-467" title="mwj" src="http://mobilewebjunkie.com/wp-content/uploads/2009/06/mwj.jpg" alt="Mobile Web Junkie" width="580" height="495" /><p class="wp-caption-text">Mobile Web Junkie</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.wapple.net/how-i-mobilized-wordpress-the-technical-howto-for-devs-coders-web-geeks-and-wizards/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	<custom_fields><aktt_notify_twitter>no</aktt_notify_twitter></custom_fields>	</item>
		<item>
		<title>You Can Have Your Cake and Mobilize It</title>
		<link>http://blog.wapple.net/you-can-have-you-cake-and-mobilize-it/</link>
		<comments>http://blog.wapple.net/you-can-have-you-cake-and-mobilize-it/#comments</comments>
		<pubDate>Sun, 03 May 2009 17:00:54 +0000</pubDate>
		<dc:creator>Rich Gubby</dc:creator>
				<category><![CDATA[Mobile Plugins]]></category>
		<category><![CDATA[Mobile Web Coding Tutorials]]></category>
		<category><![CDATA[Mobile Web Development]]></category>
		<category><![CDATA[CakePHP]]></category>
		<category><![CDATA[Coding Mobile Web Pages]]></category>
		<category><![CDATA[Framework]]></category>
		<category><![CDATA[Mobile Friendly Websites]]></category>
		<category><![CDATA[Mobile Website Development]]></category>
		<category><![CDATA[Mobilize Websites and Blogs]]></category>

		<guid isPermaLink="false">http://mobilewebjunkie.com/?p=280</guid>
		<description><![CDATA[I mentioned in a previous post that I&#8217;d written an article on the cake bakery about how to mobilize an existing website or application by just downloading the code, signing up for a dev key and following the instructions. But whilst my plugin works perfectly, it&#8217;s missing a helper to actually build the WAPL for [...]]]></description>
			<content:encoded><![CDATA[<p>I mentioned in a <a href="/mobilizing-wapple/">previous post</a> that I&#8217;d written an article on the cake bakery about <a href="http://bakery.cakephp.org/articles/view/mobilize-your-cake-app-in-minutes">how to mobilize an existing website or application</a> by just downloading the code, signing up for a dev key and following the instructions.</p>
<p>But whilst my plugin works perfectly, it&#8217;s missing a helper to actually build the WAPL for you. So I was really impressed when I saw that <a href="http://bakery.cakephp.org/profiles/view/petteyg">Gordon Pettey</a> had written his own article on the bakery using mine for a bit of inspiration that not only did everything my plugin did but included a helper!</p>
<p>I&#8217;ve tested the code and it works just as expected, so if you&#8217;re using CakePHP and want to mobilize your website or app, you should check out his <a href="http://bakery.cakephp.org/articles/view/universal-mobilization-with-wapl">Universal Mobilization with WAPL article</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wapple.net/you-can-have-you-cake-and-mobilize-it/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Mobilizing Wapple Website</title>
		<link>http://blog.wapple.net/mobilizing-wapple-website/</link>
		<comments>http://blog.wapple.net/mobilizing-wapple-website/#comments</comments>
		<pubDate>Fri, 01 May 2009 10:08:03 +0000</pubDate>
		<dc:creator>Rich Gubby</dc:creator>
				<category><![CDATA[Mobile Internet]]></category>
		<category><![CDATA[Mobile SEO]]></category>
		<category><![CDATA[Mobile Web Coding Tutorials]]></category>
		<category><![CDATA[Mobile Web Design]]></category>
		<category><![CDATA[Mobile Web Development]]></category>
		<category><![CDATA[Mobile Websites]]></category>
		<category><![CDATA[Architect]]></category>
		<category><![CDATA[Canvas]]></category>
		<category><![CDATA[Mobile Advertising]]></category>
		<category><![CDATA[Mobile Friendly Websites]]></category>
		<category><![CDATA[Mobile Marketing]]></category>
		<category><![CDATA[Mobile Publishing Platform]]></category>
		<category><![CDATA[Mobile Site Builders]]></category>
		<category><![CDATA[Mobile Web Domain]]></category>
		<category><![CDATA[Mobile Website Development]]></category>
		<category><![CDATA[Mobilize Websites and Blogs]]></category>
		<category><![CDATA[Single Domain]]></category>
		<category><![CDATA[WAPL]]></category>
		<category><![CDATA[Wapple]]></category>

		<guid isPermaLink="false">http://mobilewebjunkie.com/?p=3</guid>
		<description><![CDATA[Last week something exciting happened inside the colourful walls of Wapple &#8211; the latest version of the mobile site was launched. Below are the obligatory before and after screenshots and at first glance you&#8217;ll probably notice that they look pretty similar. However, all is not as it seems because underneath the bonnet &#8211; everything has [...]]]></description>
			<content:encoded><![CDATA[<p>Last week something exciting happened inside the colourful walls of <a href="http://wapple.net">Wapple</a> &#8211; the latest version of the mobile site was launched. Below are the obligatory before and after screenshots and at first glance you&#8217;ll probably notice that they look pretty similar. However, all is not as it seems because underneath the bonnet &#8211; everything has changed.</p>
<div id="attachment_40" class="wp-caption alignleft" style="width: 178px"><img class="size-medium wp-image-40" title="Wapple.net built with Canvas" src="http://mobilewebjunkie.com/wp-content/uploads/2009/05/wapple_canvas-168x300.jpg" alt="Wapple.net built with Canvas" width="168" height="300" /><p class="wp-caption-text">Built with Canvas</p></div>
<div id="attachment_41" class="wp-caption alignleft" style="width: 178px"><img class="size-medium wp-image-41" title="Wapple.net built with Architect" src="http://mobilewebjunkie.com/wp-content/uploads/2009/05/wapple_wapl-168x300.jpg" alt="Wapple.net built with Architect" width="168" height="300" /><p class="wp-caption-text">Built with Architect</p></div>
<p style="clear:left;"><span id="more-3"></span></p>
<p style="clear:left;">Since its conception a number of months ago, we&#8217;ve been telling anyone who will listen how good Architect is, how you can use one domain, use the same URLs on mobile as on web, retain SEO from web to mobile and centralize all underlying business logic no matter which platform you are browsing on.</p>
<h4>Now we&#8217;re practicing what we preach</h4>
<p>The previous site was built with Wapple Canvas, a superb tool with full drag and drop functionality perfect for creating mobile marketing campaigns. There are some awesome mobile sites built with Canvas that look amazing and convey the exact message they&#8217;re designed for, here are just a couple of them:</p>
<div id="attachment_42" class="wp-caption alignleft" style="width: 186px"><img class="size-medium wp-image-42" title="Watchmen" src="http://mobilewebjunkie.com/wp-content/uploads/2009/05/watchmen-176x300.jpg" alt="Watchmen" width="176" height="300" /><p class="wp-caption-text">Watchmen</p></div>
<div id="attachment_51" class="wp-caption alignleft" style="width: 186px"><img class="size-medium wp-image-51" title="alfamito" src="http://mobilewebjunkie.com/wp-content/uploads/2009/05/alfamito-176x300.jpg" alt="Alfa Mito" width="176" height="300" /><p class="wp-caption-text">Alfa Mito</p></div>
<p style="clear:both">
<p style="clear:both">The above sites work better in Canvas as they&#8217;re designed specifically for mobile advertising campaigns, there&#8217;s no corresponding website and they can be targetted at a mobile audience. You&#8217;ll find more detail on Wapple Canvas <a href="http://wapple.net/mobile-website-publishing-platform.htm">here</a>.</p>
<p style="clear:both">
<div id="attachment_110" class="wp-caption alignleft" style="width: 310px"><img class="size-medium wp-image-110" title="One domain" src="http://mobilewebjunkie.com/wp-content/uploads/2009/05/one_domain_wapple-300x298.jpg" alt="One domain" width="300" height="298" /><p class="wp-caption-text">One domain</p></div>
<p>For websites like Wapple&#8217;s, it&#8217;s essential that if you&#8217;re on a mobile device and hit the wesite url (http://wapple.net in this case), you get something that looks perfect on your handset no matter what screensize or capabilities your phone may or may not have. It is essential to use Architect to deliver the mobile site with pages written in WAPL if you want to provide a great user experience to everyone.</p>
<p style="clear:both">
<p>During the week I read a tweet from <a href="http://twitter.com/fling">Brian Fling</a> about a one-day mobile workshop, and in the spirit of &#8220;if you can do it so can we&#8221;, we thought we&#8217;d have a go at building wapple.net with Architect &#038; WAPL in one day.</p>
<p>We already had a mobile site built in Canvas with all graphics already saved out and we&#8217;d used our experience on mobile to make intelligent decisions over what was to be displayed on mobile rather than the website. For example, the big slider the sprawls across the home page of the website could be turned into a smaller  and simpler version for smartphones such as the iPhone but wouldn&#8217;t really be appropriate for a tiny phone with no javascript capability.</p>
<h4>This is where the magic happens</h4>
<div id="attachment_57" class="wp-caption alignright" style="width: 160px"><img class="size-thumbnail wp-image-57" title="Mobile Shopping Review" src="http://mobilewebjunkie.com/wp-content/uploads/2009/05/mobileshoppingreview-150x150.jpg" alt="Mobile Shopping Review" width="150" height="150" /><p class="wp-caption-text">Mobile Shopping Review</p></div>
<p>The Wapple website is built with <a href="http://cakephp.org">CakePHP</a>, an MVC framework that gives us flexibility and speed of development. We&#8217;d previously mobilized plenty of other cake apps such as <a href="http://mobileshoppingreview.com">mobileshoppingreview.com</a> plus I&#8217;d already written a plugin and article for the cake community about how to <a href="http://bakery.cakephp.org/articles/view/mobilize-your-cake-app-in-minutes">mobilize a cake app</a> which, incidentally, we used to mobilize <a href="http://wapl.info">wapl.info</a>. Development was going to be easier with the plugin already available :-</p>
<p>Once the Cake plugin was in place, it was just a case of writing WAPL for every page we wanted to mobilize.</p>
<ul></ul>
<p>Within half an hour we had the component in place that did device detection and altered the view and layout path accordingly if the visitor is on mobile, a layout that would take the WAPL code inside the view files, wrap it in a bit of header and footer WAPL and send it through a SOAP web service, and placeholder view files for the pages we wanted to mobilize.</p>
<ul></ul>
<p>Another half an hour and all of the ready made graphics were in place, the header and footer of the mobile site looked smart, the main menu was sorted (which actually looked better than the Canvas version) and we&#8217;d implemented a new bit of functionality that displayed the latest <a href="http://twitter.com/wapldevs">wapldevs</a> tweet. And because we&#8217;re using cake and all business logic is centralized, latest tweets from <a href="http://twitter.com/wapplemobileweb">wapplemobileweb</a> are also available on the website!</p>
<ul></ul>
<p>After a quick break for lunch, a game of pool and a much needed cup of tea, we pressed on with creating view files for the pages. The home page was sorted first, shortly followed by the rest of the top level menu, the other product pages and lastly the contact form and latest news. By mid afternoon we were ready to send the site to QA for testing.</p>
<ul></ul>
<p>We noticed at this point that the quality of the images generated through Architect didn&#8217;t match that in Canvas. A short investigation ensued which resulted in a quick fix going up to the live WAPL server which fixed all of the image quality issues. After another short round of testing, the code came back with zero bugs so we were ready to launch.</p>
<h4>Or so we thought</h4>
<p>When deploying the code to a test live box, a number of elements on the website were being displayed twice or in some cases, three times and seeing as some of these elements were only referenced once in the code, it was a little confusing (it worked fine on the local dev server). The problem was an issue with cakephp, rsync and windows / linux file formatting and after running a touch command over all .php and .ctp files it resolved itself, however, this little setback meant we were near to 5.30pm and no-one wants to deploy anywhere near going home time.</p>
<ul></ul>
<h4>We did build the site in a day</h4>
<p>We did build the site in a day and although it would have been nice to launch on the same day, common sense meant it was launched first thing the next morning, however, it does prove how quick and easy it is to mobilize a website. We now have URLs that work both on mobile and web, we&#8217;re using just 1 domain for every browsing platform and we&#8217;re retaining all of our website SEO giving us the ability to promote our sole domain and not resort to m. or /mobile or a .mobi.</p>
<p>We&#8217;d been seeking a solution for a long time that will mobilize existing web content so it was a really significant step for us to employ Architect as the technology behind our mobile wesite. Inventing WAPL was very much an epoch defining moment in Wapple&#8217;s history!</p>
<h4>So in summary</h4>
<p>Developing properly for mobile is now an easy process, especially if you&#8217;re using a framework that does all of the heavy lifting for you. Gone are all the barriers for web developers which I&#8217;ve written about in my <a href="/intro-to-architect">intro to architect</a> article &#8211; you should be able to mobilize an entire site in a single day with Architect.</p>
<p><img class="alignleft" title="Wapple.net QR code" src="http://qrcode.kaywa.com/img.php?s=5&#038;d=http%3A%2F%2Fwapple.net" alt="" width="135" height="135" />To see how we got on and view the site on your mobile, visit wapple.net or scan the QR code to take you directly to the site.</p>
<p>If you want to make a truly mobile friendly version of your own website just like we did, <a href="http://wapple.net/register/unlimited-free-trial-developer.htm">sign up</a> to our Developer program for free usage and a dev key.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wapple.net/mobilizing-wapple-website/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	<custom_fields><aktt_notify_twitter>no</aktt_notify_twitter></custom_fields>	</item>
	</channel>
</rss>

