<?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>Papermashup.com &#187; Iphone</title>
	<atom:link href="http://papermashup.com/category/iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://papermashup.com</link>
	<description>Ashley Ford :: CSS &#124; PHP &#124; JavaScript</description>
	<lastBuildDate>Wed, 07 Jul 2010 09:39:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Give your site an iPhone bookmark icon</title>
		<link>http://papermashup.com/give-your-site-an-iphone-bookmark-icon/</link>
		<comments>http://papermashup.com/give-your-site-an-iphone-bookmark-icon/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 14:47:31 +0000</pubDate>
		<dc:creator>Ashley</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[Iphone]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Social Media]]></category>
		<category><![CDATA[thumbnails]]></category>

		<guid isPermaLink="false">http://papermashup.com/?p=1731</guid>
		<description><![CDATA[I recently configured my site for mobile consumption, by using the WordPress Mobile Edition plugin along with the Carrington Mobile 1.0.2 theme. I noticed when I bookmarked my site using the iPhone that the home screen icon as missing. Today I&#8217;m going to run through how to create and setup the home icon for your website.
Create the icon
You will need to produce an image in PNG format that:

Measures 57 x 57 pixels, with square corners the  (if the image measures other than this size, ...]]></description>
			<content:encoded><![CDATA[<p>I recently configured my site for mobile consumption, by using the <a href="http://wordpress.org/extend/plugins/wordpress-mobile-edition/">WordPress Mobile Edition plugin</a> along with the Carrington Mobile 1.0.2 theme. I noticed when I bookmarked my site using the iPhone that the home screen icon as missing. Today I&#8217;m going to run through how to create and setup the home icon for your website.</p>
<h3>Create the icon</h3>
<p>You will need to produce an image in PNG format that:</p>
<ul>
<li>Measures 57 x 57 pixels, with square corners the  (if the image measures other than this size, iPhone OS scales it)</li>
<li>Does not use alpha transparency</li>
<li>Does not have any shine or gloss</li>
</ul>
<p><img class="alignnone size-full wp-image-1735" title="ipod" src="http://papermashup.com/wp-content/uploads/2010/03/ipod.jpg" alt="" width="583" height="500" /></p>
<h3>The Code</h3>
<p>This part is extremely easy. there are two options, if you have access to your root directory (usually where your index.html file is kept) you can save your icon as <em>apple-touch-icon-precomposed.png</em> and the iphone or ipod will do the rest.</p>
<p>Or you can add a line of meta code to the head of your page which specifies the link to your icon.</p>
<p><strong>Glossy icon:</strong></p>
<pre class="brush: xml;">
&lt;link rel=&quot;apple-touch-icon&quot; href=&quot;/images/iphone_icon.png&quot; /&gt;
</pre>
<p><strong>Non glossy icon:</strong></p>
<pre class="brush: xml;">
&lt;link rel=&quot;apple-touch-icon-precomposed&quot; href=&quot;/images/iphone_icon.png&quot; /&gt;
</pre>
<p><img class="alignnone size-full wp-image-1739" title="youricon" src="http://papermashup.com/wp-content/uploads/2010/03/youricon.jpg" alt="" width="583" height="203" /> </p>
]]></content:encoded>
			<wfw:commentRss>http://papermashup.com/give-your-site-an-iphone-bookmark-icon/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Key web development skills</title>
		<link>http://papermashup.com/key-web-development-skills/</link>
		<comments>http://papermashup.com/key-web-development-skills/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 10:53:11 +0000</pubDate>
		<dc:creator>Ashley</dc:creator>
				<category><![CDATA[API's]]></category>
		<category><![CDATA[Blogging]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Iphone]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[MooTools]]></category>
		<category><![CDATA[MySpace]]></category>
		<category><![CDATA[OAuth]]></category>
		<category><![CDATA[OpenID]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Social Media]]></category>
		<category><![CDATA[Social Networks]]></category>
		<category><![CDATA[Trends]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Twitter]]></category>
		<category><![CDATA[Web Tools]]></category>
		<category><![CDATA[Widgets]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[headline]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[2009]]></category>
		<category><![CDATA[Advertising]]></category>
		<category><![CDATA[APIs]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Data Portability]]></category>
		<category><![CDATA[Del.icio.us]]></category>
		<category><![CDATA[Digg]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://papermashup.com/?p=1198</guid>
		<description><![CDATA[API Knowledge
A key tool for any budding web developer is API knowledge. It&#8217;s good to familiarise yourself with a variety of application interfaces. I started out using the Twitter REST API with PHP and CURL when twitter first launched the API to basically get a users tweets, pretty simple now I look back, but at the time it was the first time i&#8217;d done such a thing. As the development of social media continues this will increasingly open up opportunities to develop more and more ...]]></description>
			<content:encoded><![CDATA[<h3>API Knowledge</h3>
<p>A key tool for any budding web developer is API knowledge. It&#8217;s good to familiarise yourself with a variety of application interfaces. I started out using the Twitter REST API with PHP and CURL when twitter first launched the API to basically get a users tweets, pretty simple now I look back, but at the time it was the first time i&#8217;d done such a thing. As the development of social media continues this will increasingly open up opportunities to develop more and more applications that interact with one another and and make our daily chores more eventful.</p>
<p><img src="http://papermashup.com/wp-content/uploads/2009/11/api.jpg" alt="api" title="api" width="582" height="200" /></p>
<h3>Frameworks</h3>
<p>There&#8217;s generally a framework for just about every programming language out there. Whether you decide to learn the jQuery framework for JavaScript or Cake for PHP each one will help you succeed as a freelancer and further your career as a web developer. Frameworks in many respects take out the arduous repetitive tasks we face daily and give us more time to focus on developing cutting edge products or applications. </p>
<p><img src="http://papermashup.com/wp-content/uploads/2009/11/ruby.jpg" alt="ruby" title="ruby" width="582" height="200" /></p>
<h3>iPhone Applications</h3>
<p>Companies are Increasingly seeing the massive potential that there is in the mobile platform. Applications that are approved and make it into the Apple app store have the opportunity to be downloaded thousands of times and can potentially make a lot of money. Having a specific skill to be able to develop for this market can be very lucrative, especially in the current economic climate when companies are turning to social media to plug holes where they&#8217;re not seeing return on investment from other advertising sectors.</p>
<p><img src="http://papermashup.com/wp-content/uploads/2009/11/iphone.jpg" alt="iphone" title="iphone" width="582" height="200" /></p>
<h3>CMS Customisation</h3>
<p>A handy skill to have is a general knowledge of how to use content management systems. For example building themes and plugins for WordPress, or modules and components for Joomla and Mambo.  As a developer its important to have an idea of the structure of a variety of CMS&#8217;s. If you have a wordpress blog/site, that&#8217;s an easy way to familiarise yourself with the platform. Remember it&#8217;s always easier to learn something by immersing yourself in the technology.</p>
<p><img src="http://papermashup.com/wp-content/uploads/2009/11/wordpress.jpg" alt="wordpress" title="wordpress" width="582" height="200" /></p>
<h3>Online Payments</h3>
<p>Businesses are always going to need payment solutions online. Having the skills to take a site and integrate  paypal or google checkout will allow you to go far. We&#8217;re starting to see many 3rd party software companies setting up and selling software at more affordable prices, take <a href="http://www.panic.com/">Panic</a> for example. They are a relatively small company that develop a selection of web development software for the mac. Many new startups are settling for a product based revenue stream rather than making money purely through ads, revenue share, or partnership deals. This opens up the demand for skilled developers to be able to build payment solutions.</p>
<p><img src="http://papermashup.com/wp-content/uploads/2009/11/google-checkout.png" alt="google-checkout" title="google-checkout" width="582" height="200"/></p>
]]></content:encoded>
			<wfw:commentRss>http://papermashup.com/key-web-development-skills/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>jQuery Iphone Style Ajax Switch</title>
		<link>http://papermashup.com/jquery-iphone-style-ajax-switch/</link>
		<comments>http://papermashup.com/jquery-iphone-style-ajax-switch/#comments</comments>
		<pubDate>Fri, 03 Jul 2009 12:43:06 +0000</pubDate>
		<dc:creator>Ashley</dc:creator>
				<category><![CDATA[Iphone]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://papermashup.com/?p=806</guid>
		<description><![CDATA[I&#8217;ve been looking for a while at how to mimic the iPhone on / off switch with Jquery and stumbled across this post By Daniel LaBare over at elctech.com which is a great start to base an ajax tutorial on. In this tutorial I&#8217;ll purely be looking at making a simple ajax request using the functionality of the iPhone buttons to trigger a script to return a string based on whether the switch is on or off. You need to include the &#8216;jquery.iphone-switch.js&#8217; file along ...]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been looking for a while at how to mimic the iPhone on / off switch with Jquery and stumbled across <a target="_blank" href="http://www.elctech.com/core/mimicking-iphone-switch-with-jquery">this post By Daniel LaBare over at elctech.com</a> which is a great start to base an ajax tutorial on. In this tutorial I&#8217;ll purely be looking at making a simple ajax request using the functionality of the iPhone buttons to trigger a script to return a string based on whether the switch is on or off. You need to include the &#8216;jquery.iphone-switch.js&#8217; file along with jquery which is in the download.</p>
<p>The Code:</p>
<pre class="brush: jscript;">

&lt;div id=&quot;ajax&quot;&gt;&lt;/div&gt;
&lt;div id=&quot;1&quot;&gt;&lt;/div&gt;

&lt;script type=&quot;text/javascript&quot;&gt;

$('#1').iphoneSwitch(&quot;on&quot;,
function() {
$('#ajax').load('on.html');
},
function() {
$('#ajax').load('off.html');
},
{
switch_on_container_path: 'iphone_switch_container_off.png'
});
&lt;/script&gt;
</pre>
<p>So to run through whats happening when the iphoneSwitch() function is called we run an ajax call to return the contents of the pages on.html and off.html. You could make this more dynamic by calling a php page which authenticates a user with a session id which would then update data in a database depending on the switches current status.</p>
<h3>looking at jQuery .load:</h3>
<p>Another way of using the .load function is to pass POST variables through to a script for example below we are passing the POST variable &#8216;limit&#8217; with a value of &#8217;10&#8242; to the file rss.php and asking it to load the results into the div #rss, once the ajax request has completed it will alert &#8216;The last 10 entries in the rss feed have been loaded&#8217;:</p>
<pre class="brush: jscript;">
$(&quot;#rss&quot;).load(&quot;rss.php&quot;, {limit: 10}, function(){
alert(&quot;The last 10 entries in the rss feed have been loaded&quot;);
});
</pre>
<p><a href="../demos/ajax-switch/"><img title="demo" src="../wp-content/uploads/2009/01/demo.png" alt="demo" /></a><a href="http://papermashup.com/demos/ajax-switch/ajax-switch.zip"><img title="download" src="http://papermashup.com/wp-content/uploads/2009/01/download.png" alt="download" /></a> </p>
]]></content:encoded>
			<wfw:commentRss>http://papermashup.com/jquery-iphone-style-ajax-switch/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Ipod and Iphone PHP detection</title>
		<link>http://papermashup.com/ipod-and-iphone-php-detection/</link>
		<comments>http://papermashup.com/ipod-and-iphone-php-detection/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 10:43:47 +0000</pubDate>
		<dc:creator>Ashley</dc:creator>
				<category><![CDATA[Iphone]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://papermashup.com/?p=636</guid>
		<description><![CDATA[This is a useful script to re-direct Iphone and Ipod users to a specific page. You could use this if your getting a lot of mobile traffic and your current site isn&#8217;t optimised for it. Or for branching out and developing a mobile site for your visitors!
There&#8217;s a bad point to using this right?
Sure thing. As a developer you may find it logical to re-direct your users to a stripped down mobile version of your site, however there are times when they may not want ...]]></description>
			<content:encoded><![CDATA[<p>This is a useful script to re-direct Iphone and Ipod users to a specific page. You could use this if your getting a lot of mobile traffic and your current site isn&#8217;t optimised for it. Or for branching out and developing a mobile site for your visitors!</p>
<p><strong>There&#8217;s a bad point to using this right?</strong></p>
<p>Sure thing. As a developer you may find it logical to re-direct your users to a stripped down mobile version of your site, however there are times when they may not want to view this, and just want to see the normal site. Its worth keeping in mind before you implement if across your whole platform! </p>
<div class="clear"></div>
<blockquote><p>Remember as the code is sending header information it needs to go right at the top of the page before any HTML code</p></blockquote>
<p><strong>The code:</strong></p>
<pre>
<pre class="brush: php;">

if(strstr($_SERVER['HTTP_USER_AGENT'],'iPod') || strstr($_SERVER['HTTP_USER_AGENT'],'iPhone'))
{
	header('Location: http://example.com/iphoneSpecificPage');
	exit();
}
</pre>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://papermashup.com/ipod-and-iphone-php-detection/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
