<?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>Dave PC Guy &#187; HTML/CSS</title>
	<atom:link href="http://www.davepcguy.com/archive/tag/coding/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.davepcguy.com</link>
	<description>Computers and Technology</description>
	<lastBuildDate>Fri, 08 Apr 2011 15:01:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>RainyMood.com &#8211; A design breakdown</title>
		<link>http://www.davepcguy.com/archive/rainymood-com-a-design-breakdown/</link>
		<comments>http://www.davepcguy.com/archive/rainymood-com-a-design-breakdown/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 05:45:38 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[General Articles]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://www.davepcguy.com/?p=1131</guid>
		<description><![CDATA[RainyMood.com. Rainy Mood is a great, and relaxing website. What does it do? It plays a fifteen minute loop of rain OVER and OVER again. That&#8217;s it! How simple. Why am I even bringing this page up? DESIGN! Let&#8217;s look at this page. It has a great background that fits into the 500kb category, a]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Frainymood-com-a-design-breakdown%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif&amp;source=clrkmck&amp;style=normal&amp;service_api=clrkmck%3AR_a73f58a91ed3515157df75ab6c37730f&amp;hashtags=Design,HTML%2FCSS,review&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="http://www.rainymood.com/">RainyMood.com</a>.</p>
<p style="text-align: center;"><a href="http://www.rainymood.com/"><img class="aligncenter" src="http://www.davepcguy.com/wp-content/uploads/2010/02/rainymood-top.png" alt="" width="503" height="173" /></a></p>
<p>Rainy Mood is a great, and relaxing website. What does it do? It plays a fifteen minute loop of rain OVER and OVER again. That&#8217;s it! How simple.</p>
<p>Why am I even bringing this page up? DESIGN!</p>
<p><span id="more-1131"></span></p>
<p>Let&#8217;s look at this page. It has a great background that fits into the 500kb category, a simple image header that tells you exactly what the site is about, and then a BIG play button with sharing capabilities on the left and right.</p>
<p>If you scroll down, you&#8217;ll find a single add and some other stuff.</p>
<p><strong>What I see</strong></p>
<p>The beauty of the design here is simplicity. Just the background of a wet window gives the user the feel of really being there when it rains. The simple interface is amazing, because you know what? It doesn&#8217;t give you a million extra options that you wouldn&#8217;t use anyways, plus it auto-plays so that whenever you get on the sight, it&#8217;ll start up automatically.</p>
<p>It has a facebook fanpage on the left, great for PR, advertising, and all around marketing of the site. Facebook allowed the website to get 6000+ fans that visit the site regularly plus more as people try the site out. On the right is the &#8220;tweet&#8221; button, that will tell all your followers what a great site it is. I did that.</p>
<p>The big button has only one problem, its hover effect. It has an annoying greenish glow, I wish they would have soften that up and created more stylish buttons. It takes away from the all around &#8220;blue&#8221; experience.</p>
<p><strong>Under the Hood</strong></p>
<p>I took a look at the source code, the music is played through a javascript player made by voormedia.com and it has been hash encoded so that the ordinary users can&#8217;t just look through the code (it looks so illegible!). Of course, you can easily decode it but that&#8217;s not the point.</p>
<p>Next, the site uses no DIVs at all, nor a stylesheet. It&#8217;s all built into one file (except for the images) and uses tables. Now, people warn against using tables in webdesign but it does not matter too much here, it works well.</p>
<p>PROBLEMS: It&#8217;s not XHTML compliant. It has no true &lt;html&gt; header that specifies the usual stuff. It is also not SEO optimized, it has a couple of keywords, no description (other than &#8220;rainymood.com&#8221;) and it does not have really descriptive alt tags.</p>
<p><strong>The Point</strong></p>
<p>It&#8217;s an easily navigatable website that has one simple feature that makes me go back to it over and over again. It has simple coding, though non-compliant, and it seems to work out quite well.</p>
<p>Visit it!</p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Frainymood-com-a-design-breakdown%2F&amp;partner=sociable" title="Print"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Frainymood-com-a-design-breakdown%2F&amp;title=RainyMood.com%20-%20A%20design%20breakdown&amp;bodytext=RainyMood.com.%0D%0A%0D%0ARainy%20Mood%20is%20a%20great%2C%20and%20relaxing%20website.%20What%20does%20it%20do%3F%20It%20plays%20a%20fifteen%20minute%20loop%20of%20rain%20OVER%20and%20OVER%20again.%20That%27s%20it%21%20How%20simple.%0D%0A%0D%0AWhy%20am%20I%20even%20bringing%20this%20page%20up%3F%20DESIGN%21%0D%0A%0D%0A%0A%0ALet%27s%20look%20at%20this%20page.%20It%20has%20a%20" title="Digg"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Frainymood-com-a-design-breakdown%2F&amp;title=RainyMood.com%20-%20A%20design%20breakdown&amp;notes=RainyMood.com.%0D%0A%0D%0ARainy%20Mood%20is%20a%20great%2C%20and%20relaxing%20website.%20What%20does%20it%20do%3F%20It%20plays%20a%20fifteen%20minute%20loop%20of%20rain%20OVER%20and%20OVER%20again.%20That%27s%20it%21%20How%20simple.%0D%0A%0D%0AWhy%20am%20I%20even%20bringing%20this%20page%20up%3F%20DESIGN%21%0D%0A%0D%0A%0A%0ALet%27s%20look%20at%20this%20page.%20It%20has%20a%20" title="del.icio.us"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Frainymood-com-a-design-breakdown%2F&amp;t=RainyMood.com%20-%20A%20design%20breakdown" title="Facebook"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Frainymood-com-a-design-breakdown%2F&amp;title=RainyMood.com%20-%20A%20design%20breakdown&amp;annotation=RainyMood.com.%0D%0A%0D%0ARainy%20Mood%20is%20a%20great%2C%20and%20relaxing%20website.%20What%20does%20it%20do%3F%20It%20plays%20a%20fifteen%20minute%20loop%20of%20rain%20OVER%20and%20OVER%20again.%20That%27s%20it%21%20How%20simple.%0D%0A%0D%0AWhy%20am%20I%20even%20bringing%20this%20page%20up%3F%20DESIGN%21%0D%0A%0D%0A%0A%0ALet%27s%20look%20at%20this%20page.%20It%20has%20a%20" title="Google Bookmarks"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Frainymood-com-a-design-breakdown%2F&amp;title=RainyMood.com%20-%20A%20design%20breakdown&amp;source=Dave+PC+Guy+Computers+and+Technology&amp;summary=RainyMood.com.%0D%0A%0D%0ARainy%20Mood%20is%20a%20great%2C%20and%20relaxing%20website.%20What%20does%20it%20do%3F%20It%20plays%20a%20fifteen%20minute%20loop%20of%20rain%20OVER%20and%20OVER%20again.%20That%27s%20it%21%20How%20simple.%0D%0A%0D%0AWhy%20am%20I%20even%20bringing%20this%20page%20up%3F%20DESIGN%21%0D%0A%0D%0A%0A%0ALet%27s%20look%20at%20this%20page.%20It%20has%20a%20" title="LinkedIn"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Frainymood-com-a-design-breakdown%2F&amp;title=RainyMood.com%20-%20A%20design%20breakdown" title="Reddit"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Frainymood-com-a-design-breakdown%2F&amp;t=RainyMood.com%20-%20A%20design%20breakdown&amp;s=RainyMood.com.%0D%0A%0D%0ARainy%20Mood%20is%20a%20great%2C%20and%20relaxing%20website.%20What%20does%20it%20do%3F%20It%20plays%20a%20fifteen%20minute%20loop%20of%20rain%20OVER%20and%20OVER%20again.%20That%27s%20it%21%20How%20simple.%0D%0A%0D%0AWhy%20am%20I%20even%20bringing%20this%20page%20up%3F%20DESIGN%21%0D%0A%0D%0A%0A%0ALet%27s%20look%20at%20this%20page.%20It%20has%20a%20" title="Tumblr"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=RainyMood.com%20-%20A%20design%20breakdown%20-%20http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Frainymood-com-a-design-breakdown%2F" title="Twitter"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=RainyMood.com%20-%20A%20design%20breakdown&amp;body=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Frainymood-com-a-design-breakdown%2F" title="email"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=RainyMood.com%20-%20A%20design%20breakdown&amp;url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Frainymood-com-a-design-breakdown%2F" title="Slashdot"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Frainymood-com-a-design-breakdown%2F&amp;title=RainyMood.com%20-%20A%20design%20breakdown" title="StumbleUpon"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.davepcguy.com/archive/rainymood-com-a-design-breakdown/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Creating a Blogging system (part 1)</title>
		<link>http://www.davepcguy.com/archive/creating-a-blogging-system-part-1/</link>
		<comments>http://www.davepcguy.com/archive/creating-a-blogging-system-part-1/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 02:26:53 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[PHP and Scripting]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.davepcguy.com/?p=1070</guid>
		<description><![CDATA[Some time ago (a couple weeks), I created my own blogging system. No one told me how to do it and I didn&#8217;t read any tutorials on how to do it either so there were a few things I learned the hard way. As you know, Blogs are database-based, they&#8217;re all entries in a table.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fcreating-a-blogging-system-part-1%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif&amp;source=clrkmck&amp;style=normal&amp;service_api=clrkmck%3AR_a73f58a91ed3515157df75ab6c37730f&amp;hashtags=blog,functions,HTML%2FCSS,mysql,php,server&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Some time ago (a couple weeks), I created my own blogging system. No one told me how to do it and I didn&#8217;t read any tutorials on how to do it either so there were a few things I learned the hard way. As you know, Blogs are database-based, they&#8217;re all entries in a table.</p>
<p>You have an entry for the id, date, the content, and miscellaneous other information such as tags, and description. In this tutorial, I&#8217;d like to teach you how to do all that.</p>
<pre class="brush: php; title: ;">
/* LET'S GET STARTED!*/
</pre>
<p><span id="more-1070"></span><br />
</p>
<h1>Creating The Table</h1>
<p>For this tutorial, you&#8217;ll have to have your own database, and username. Set up a <a title="Setting up Part 1" href="http://www.davepcguy.com/archive/setting-up-part-1/">home server</a>, with WAMP, XAMPP or whatever else. Once you have that done, create that database, I&#8217;ll call mine &#8220;blog&#8221;.</p>
<p>I&#8217;m not going to get into how to do that, because if you&#8217;re doing this on a server online, you&#8217;ll need special instructions. Google it and set it up.</p>
<p>So, let&#8217;s create an INSTALL script. Make sure that when you use this script, delete it right after:</p>
<pre class="brush: php; title: ;">
&lt;?php

if (!isset($_POST['submit'])) {
?&gt;
&lt;form method=&quot;post&quot; action=&quot;&lt;?php echo $_SERVER['PHP_SELF']; ?&gt;&quot;&gt;
&lt;input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;Install&quot;&gt;
&lt;/form&gt;

&lt;?php
}
</pre>
<p>This creates an installing button. This is only for convenience. I don&#8217;t like scripts that automatically add new tables and such without control.</p>
<pre class="brush: php; title: ;">
else {
include ('connection.php');
</pre>
<p>This little bit will connect you to the database. Here&#8217;s what my connection.php looks like:</p>
<pre class="brush: php; title: ;">
&lt;?php
// MySQL variables
$host = 'localhost';
$user = 'username';
$pass = 'password';
$db = 'blog';

//connect
$connection = mysql_connect($host, $user, $pass) or die (&quot;Unable to connect!&quot;);
//database select
mysql_select_db($db) or die (&quot;Unable to select database!&quot;);
?&gt;
</pre>
<p>Great, now you&#8217;re in the system (btw, you&#8217;ll have to make your own username, password, database, and all that, just like I said you&#8217;d have to do. Let&#8217;s move on to creating your administration for your site:</p>
<pre class="brush: php; title: ;">
//creating a user table
$query = &quot;CREATE TABLE users
(
name varchar(15),
pass varchar(255)
)&quot;;

$result = mysql_query($query) or die (&quot;Error in query: $query. &quot;.mysql_error());

//making the user name
$password = md5('password you want to use');
$query=&quot;INSERT INTO users (name, pass)
VALUES
('admin', '$password')&quot;;

//query
$result = mysql_query($query) or die (&quot;Error in query: $query. &quot;.mysql_error());
</pre>
<p>Great, now you have a database entry for your user (that&#8217;s you!), I won&#8217;t get into having multiple users, right now. So bear with me. I&#8217;m using a md5 hash to make the password a bit harder to crack. Also, I&#8217;m using the usual &#8220;admin&#8221; for username. Let&#8217;s move on to the blog table:</p>
<pre class="brush: php; title: ;">
//creating a blog table
 $query = &quot;CREATE TABLE blog
(
id int NOT NULL auto_increment primary key,
title blob NOT NULL,
date blob NOT NULL ,
content text NOT NULL
)&quot;;
    // execute query
    $result = mysql_query($query) or die (&quot;Error in query: $query. &quot;.mysql_error());

$query = &quot;INSERT INTO blog (title, date, content) VALUES ('Welcome', 'May 5th', 'First blog entry! Aren\'t you excited?');
&quot;;
	// execute query
    $result = mysql_query($query) or die (&quot;Error in query: $query. &quot;.mysql_error());

mysql_close($connection);
echo &quot;Done&quot;;

}
</pre>
<p>With this, we just created a simple blog table that will have a specific id, date, title, and content. We&#8217;ve also added a dummy entry (with a date format I won&#8217;t be using by the way).<br />
If you&#8217;re wondering about the backslash in the word &#8220;Aren&#8217;t&#8221;, don&#8217;t wonder anymore. A backslash is used to &#8220;escape&#8221; characters that may hold a different meaning in the world of programming languages.<br />
For example, if I did not escape that character, I would probably get an error where the MySQL wonders what the &#8220;t you excited?&#8221; is about since the entry ended at &#8220;aren&#8217;&#8221;.</p>
<p>Before we go on, I would like to seriously address this. The best way to avoid an error is to use a well-known php function <strong>mysql_real_escape_string()</strong>. This function will automatically add backslashes to all potentially problematic characters. Also, if you use this function, don&#8217;t add extra backslashes because the function will escape those as well. There&#8217;s only one problem with that function but I&#8217;ll show you the solution later on.</p>
<h1>Coding the Entry</h1>
<p>Now, you&#8217;ll notice that while coding the entry, I&#8217;m leaving the system open to vulnerabilities, but that&#8217;s okay. Why is it okay? Well, unless you&#8217;re logged in, you won&#8217;t be able to get into the system. So you should be the only one who gets in there and adds entries.</p>
<p>You can screw up your entries by dropping tables and whatnot if you want to, but I&#8217;ll assume you won&#8217;t be making any crazy MySQL stuff. Also, you&#8217;ll have the above-mentioned function to protect you from any unfortunate mistakes.</p>
<p>First add the connection.php file using the <strong>include()</strong> function. Second, let&#8217;s create the form:</p>
<pre class="brush: xml; title: ;">
&lt;h2&gt;Add Blog Post&lt;/h2&gt;
     &lt;form method=&quot;post&quot; action=&quot;&lt;?php echo $_SERVER['PHP_SELF'];?&gt;&quot;&gt;
    &lt;input type=&quot;text&quot; name=&quot;title&quot; size=&quot;50&quot; / &gt;&lt;br /&gt;
    &lt;textarea name=&quot;content&quot; cols=&quot;150&quot; rows=&quot;20&quot;&gt;&lt;/textarea&gt;
    &lt;br /&gt;
    &lt;input type=&quot;submit&quot; name=&quot;addpost&quot; value=&quot;Add Post!&quot; /&gt;
    &lt;/form&gt;
</pre>
<p>Place this in the body of your html file, I know it sounds redundant and you should know about this stuff but I&#8217;m just making sure. What this form will do is send some information using the &#8220;post&#8221; method (ie. no URL mumbo jumbo like this: ?dkjw=fsjklwe&amp;fjskl=ewjk) No one wants a three thousand character URL up there (what browser would support that anyways?). You have two separate pieces of information: textarea (where your content goes) and input type=&#8221;text&#8221; (that&#8217;s the title). Anyways, put the next piece of code inside the &lt;head&gt; tag, or at least above the form.</p>
<pre class="brush: php; title: ;">if (isset($_POST['addpost'])) {
		$title = mysql_real_escape_string($_POST['title']);
		$content = mysql_real_escape_string($_POST['content']);
		$date = mysql_real_escape_string(date('m-d-Y'));
		$sql = &quot;INSERT INTO blog (title, date, content) VALUES ('$title', '$date', '$content')&quot;;
		$result = mysql_query($sql) or die (&quot;Error in query: $query. &quot;.mysql_error());

		if ($result) {
			echo &quot;Blog id = &quot;.$id.&quot; updated&quot;;
		}

}
</pre>
<p>Well, that&#8217;s some good stuff. The submit button in the form sent the post variable name &#8220;addpost&#8221; with the value &#8220;Add Post!&#8221;. The loop above goes into motion right when that post variable is submitted. I escaped all the strings just in case. Oh, if you didn&#8217;t know, you can use html, css, and all that other stuff in your posts. It won&#8217;t screw up anything, I promise <img src='http://www.davepcguy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Anyways, you can see I used a date function to specify the date the blog was submitted. <a title="date function PHP manual" href="http://php.net/manual/en/function.date.php">Read </a>up more about it if you want to use a different time stamp. This one looks like this &#8220;1-13-2010&#8243;. We then added all the values we needed into the database. And voila, we just added our first entry!</p>
<h1>What&#8217;s next?</h1>
<p>In my next tutorial, I&#8217;ll show you how to correctly show all that data! I&#8217;ll also get into how to protect your administration sites and how to create the login site too.</p>
<h1>STUFF TO REMEMBER</h1>
<ul>
<li>MySQL uses a lot of special characters. To avoid an error use the<strong> mysql_real_escape_string() </strong>which will sanitize your entries to some extent. There&#8217;s one small problem with the function, but I&#8217;ll address that in the next tutorial</li>
<li>Use the <strong>include()</strong> function for your connection.php file for each site that connects to the MySQL database. It&#8217;s easier than rewriting the code numerous times (especially if you decide to change the user name and all that)</li>
<li>Delete the <strong>install.php </strong>installation script after you&#8217;re done. You don&#8217;t want anyone messing with your scripts. It also creates a vulnerability if you leave it on the server. If you think you&#8217;ll forget, get on PHPmyAdmin and do all the querying manually.</li>
<li>HAVE FUN!</li>
</ul>




Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fcreating-a-blogging-system-part-1%2F&amp;partner=sociable" title="Print"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fcreating-a-blogging-system-part-1%2F&amp;title=Creating%20a%20Blogging%20system%20%28part%201%29&amp;bodytext=Some%20time%20ago%20%28a%20couple%20weeks%29%2C%20I%20created%20my%20own%20blogging%20system.%20No%20one%20told%20me%20how%20to%20do%20it%20and%20I%20didn%27t%20read%20any%20tutorials%20on%20how%20to%20do%20it%20either%20so%20there%20were%20a%20few%20things%20I%20learned%20the%20hard%20way.%20As%20you%20know%2C%20Blogs%20are%20database-based%2C%20they%27re%20all" title="Digg"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fcreating-a-blogging-system-part-1%2F&amp;title=Creating%20a%20Blogging%20system%20%28part%201%29&amp;notes=Some%20time%20ago%20%28a%20couple%20weeks%29%2C%20I%20created%20my%20own%20blogging%20system.%20No%20one%20told%20me%20how%20to%20do%20it%20and%20I%20didn%27t%20read%20any%20tutorials%20on%20how%20to%20do%20it%20either%20so%20there%20were%20a%20few%20things%20I%20learned%20the%20hard%20way.%20As%20you%20know%2C%20Blogs%20are%20database-based%2C%20they%27re%20all" title="del.icio.us"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fcreating-a-blogging-system-part-1%2F&amp;t=Creating%20a%20Blogging%20system%20%28part%201%29" title="Facebook"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fcreating-a-blogging-system-part-1%2F&amp;title=Creating%20a%20Blogging%20system%20%28part%201%29&amp;annotation=Some%20time%20ago%20%28a%20couple%20weeks%29%2C%20I%20created%20my%20own%20blogging%20system.%20No%20one%20told%20me%20how%20to%20do%20it%20and%20I%20didn%27t%20read%20any%20tutorials%20on%20how%20to%20do%20it%20either%20so%20there%20were%20a%20few%20things%20I%20learned%20the%20hard%20way.%20As%20you%20know%2C%20Blogs%20are%20database-based%2C%20they%27re%20all" title="Google Bookmarks"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fcreating-a-blogging-system-part-1%2F&amp;title=Creating%20a%20Blogging%20system%20%28part%201%29&amp;source=Dave+PC+Guy+Computers+and+Technology&amp;summary=Some%20time%20ago%20%28a%20couple%20weeks%29%2C%20I%20created%20my%20own%20blogging%20system.%20No%20one%20told%20me%20how%20to%20do%20it%20and%20I%20didn%27t%20read%20any%20tutorials%20on%20how%20to%20do%20it%20either%20so%20there%20were%20a%20few%20things%20I%20learned%20the%20hard%20way.%20As%20you%20know%2C%20Blogs%20are%20database-based%2C%20they%27re%20all" title="LinkedIn"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fcreating-a-blogging-system-part-1%2F&amp;title=Creating%20a%20Blogging%20system%20%28part%201%29" title="Reddit"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fcreating-a-blogging-system-part-1%2F&amp;t=Creating%20a%20Blogging%20system%20%28part%201%29&amp;s=Some%20time%20ago%20%28a%20couple%20weeks%29%2C%20I%20created%20my%20own%20blogging%20system.%20No%20one%20told%20me%20how%20to%20do%20it%20and%20I%20didn%27t%20read%20any%20tutorials%20on%20how%20to%20do%20it%20either%20so%20there%20were%20a%20few%20things%20I%20learned%20the%20hard%20way.%20As%20you%20know%2C%20Blogs%20are%20database-based%2C%20they%27re%20all" title="Tumblr"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Creating%20a%20Blogging%20system%20%28part%201%29%20-%20http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fcreating-a-blogging-system-part-1%2F" title="Twitter"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Creating%20a%20Blogging%20system%20%28part%201%29&amp;body=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fcreating-a-blogging-system-part-1%2F" title="email"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Creating%20a%20Blogging%20system%20%28part%201%29&amp;url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fcreating-a-blogging-system-part-1%2F" title="Slashdot"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fcreating-a-blogging-system-part-1%2F&amp;title=Creating%20a%20Blogging%20system%20%28part%201%29" title="StumbleUpon"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.davepcguy.com/archive/creating-a-blogging-system-part-1/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Mobile Websites (tips)</title>
		<link>http://www.davepcguy.com/archive/mobile-websites-tips/</link>
		<comments>http://www.davepcguy.com/archive/mobile-websites-tips/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 23:28:37 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[HTML/CSS]]></category>
		<category><![CDATA[PHP and Scripting]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[webpage]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://www.davepcguy.com/?p=1051</guid>
		<description><![CDATA[I&#8217;ve recently started working on some mobile websites. You&#8217;ll notice that davepcguy.com has its own mobile alternative as do some other sites. Mobile devices are growing in number and gone are those days when internet was viewed only on the computer screen. WAP is not even used either so that old school coding is gone]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fmobile-websites-tips%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif&amp;source=clrkmck&amp;style=normal&amp;service_api=clrkmck%3AR_a73f58a91ed3515157df75ab6c37730f&amp;hashtags=css,Design,HTML%2FCSS,mobile,php,webpage,website&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I&#8217;ve recently started working on some mobile websites. You&#8217;ll notice that davepcguy.com has its own mobile alternative as do some other sites. Mobile devices are growing in number and gone are those days when internet was viewed only on the computer screen. WAP is not even used either so that old school coding is gone too.</p>
<p>These days, almost everyone has an iPhone or a BlackBerry, or a Palm device. Some of us even have other devices like PSPs, tablets, and others that require quite a bit different formatting. Here&#8217;s how to go about making your mobile website.<br />
<span id="more-1051"></span><br />
</p>
<h1>Step 1 &#8211; The Vision</h1>
<p>First, you gotta have a vision of what you want. The best way to get a good vision is by picking up your phone and browsing the internet, looking through some popular websites such as <a title="Youtube" href="http://www.youtube.com">youtube</a>, <a title="Flickr" href="http://www.flickr.com">flickr</a>, <a title="Facebook" href="http://www.facebook.com">facebook</a>, <a title="Myspace" href="http://www.myspace.com">myspace</a>, and other sites that you know get a lot of traffic and are likely to have their own mobile version.</p>
<p>I recently saw a really nice blog <a title="Woorkup" href="http://woorkup.com/2010/01/10/best-practices-to-develop-perfect-websites-for-iphone-and-mobile-devices/">post</a> detailing some of the nicer mobile sites. The theme there is common:</p>
<p><a rel="attachment wp-att-1052" href="http://www.davepcguy.com/archive/mobile-websites-tips/mobile1/"><img class="aligncenter size-full wp-image-1052" title="mobile1" src="http://www.davepcguy.com/wp-content/uploads/2010/01/mobile1.png" alt="" width="380" height="448" /></a>Everything is single column. There are no side-bars, there are no fancy tabs. Everything is in a single column. Think of it as a letter. There are no columns in a letter, you have a header, the body, and the footer.</p>
<ol>
<li>Header: Generally, you&#8217;ll use the header of the page to announce the website&#8217;s name and to show menu links. You may also place a commercial in this area (Google Adsense uses commercials). Here&#8217;s what I used on my <a title="Mobile Only A Quote" href="http://m.onlyaquote.com">Only A Quote</a> mobile site: <a rel="attachment wp-att-1053" href="http://www.davepcguy.com/archive/mobile-websites-tips/mobile2/"><img class="aligncenter size-full wp-image-1053" title="mobile2" src="http://www.davepcguy.com/wp-content/uploads/2010/01/mobile2.png" alt="" width="298" height="62" /></a>It&#8217;s a simple banner that effectively tells the user what&#8217;s going on.</li>
<li>Body: This is pretty self-explanatory, you put the meet of your site here. Try to use well organized information. Don&#8217;t just slap stuff there. Mobile users are more likely to leave your site than regular computer users. Also, keep the graphics swift! Not too much.</li>
<li>Footer: Use the footer for copyright info and other blah blah stuff but don&#8217;t over do it! I know huge footers are fashionable but not for mobile users!</li>
</ol>
<p>Keep it all simple!</p>
<h1>Step 2 &#8211; Design</h1>
<p>Here are a few tools that will help you with your design:</p>
<ul>
<li><a title="iPhone tester" href="http://iphonetester.com/">iPhone tester</a></li>
<li><a title="mobile emulators" href="http://mobiforge.com/emulators/page/mobile-emulators">Mobile Emulators</a></li>
<li>more <a title="mobile emulators" href="http://www.klauskomenda.com/archives/2008/03/17/testing-on-mobile-devices-using-emulators/">mobile emulators</a></li>
</ul>
<p>Keep in mind that different phones will render your page differently so try to make it as simple as possible. To catch the widest possible audience, focus on the big three: iPhones, BlackBerries, and Palm phones. Samsung and Nokias are common too, especially outside of the US but BBs and iPhones capture most of the market. Android is coming up too, so watch out for them too.</p>
<p>A few simple rules:</p>
<ul>
<li>Keep the site less then 400px wide.</li>
<li>Cross-browsing is a bitch on Computers, it&#8217;s worse on phones, render for Safari and Opera Mobile</li>
<li>Graphics should not exceed 20kbs</li>
<li>Keep the layout basic</li>
</ul>
<p>There are tons  more rules but those are the basics.</p>
<h1>Step 3 &#8211; Coding</h1>
<p>First of all, DON&#8217;T USE JAVASCRIPT! It works on a lot of phones, it&#8217;s gaining support, but it&#8217;s really bothersome (I know, I use my phone to browse the net a lot). There&#8217;s no need for it. Hover and other pretty stuff is useless too. Many phones don&#8217;t support it.</p>
<p>Use as little mark-up code as you can. If your original site has thirty divs, make it three in this one. There&#8217;s no need for all that on phones. If your CSS screws up, so will your divs.</p>
<p>Use the following doctype:</p>
<pre class="brush: xml; title: ;">
&lt;!DOCTYPE html PUBLIC &quot;-//WAPFORUM//DTD XHTML Mobile 1.2//EN&quot;&quot;http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd&quot;&gt;
</pre>
<p>This will tell the browser that it&#8217;s meant for phones. It&#8217;ll help rendering and it&#8217;s the RIGHT thing to do haha. Once you start coding, again, keep in mind that your website should be the smallest possible.</p>
<p>Here are a couple of rules to keep in mind:</p>
<ol>
<li>Don&#8217;t use px/em sizes, do everything in percentages, you never know what kind of a phone the user will use.</li>
<li>Keep all files as small as possible.</li>
<li>If your .PNG graphics do not use transparency, convert them to JPGs with smaller quality</li>
<li>If you use .PNG graphics WITH transparency, consider remaking them into JPGs or GIFs (for transparency) if at all possible</li>
<li>Keep all graphics less than 400px wide. I suggest 350px tops.</li>
<li>Use &#8220;ALT&#8221; for images, some phones may not render the text and it&#8217;s standard .mobi rule</li>
<li>Try not to use tables or javascript</li>
<li>Don&#8217;t use external resources (ie pictures from other sites, scripts from other sites, etc)</li>
<li>Define sizes for images with the width = &#8220;&#8221; and height = &#8220;&#8221; html tags</li>
<li>NO POP UPS!</li>
</ol>
<p>That&#8217;s about it.</p>
<h1>Step 4 &#8211; Testing</h1>
<p>You&#8217;ll need to test your site, so use the resources mentioned in the emulator part. Use your phone as well!</p>
<p>Here&#8217;s another resource that will catch ALL of your mistakes:</p>
<p><a title="ready mobi" href="http://ready.mobi/">Ready.mobi</a></p>
<p>This site checks your markup, the size of your site, and many other features. It will tell you if you did something wrong and will usually tell you what you can fix on your site. It also features five different phone emulators on the spot. It also ranks the speed of your site. Here are my stats:</p>
<p><a rel="attachment wp-att-1054" href="http://www.davepcguy.com/archive/mobile-websites-tips/mobile3/"><img class="aligncenter size-medium wp-image-1054" title="mobile3" src="http://www.davepcguy.com/wp-content/uploads/2010/01/mobile3-300x255.png" alt="" width="300" height="255" /></a>Oh yeah, that&#8217;s a bad rating. It&#8217;s mostly because of all the graphics on my site, the CSS involved and inter-linking on my blog. It happens but it does pretty well on my BlackBerry so try to look at your rating positively especially after you do your own tests. As you can see, it tells you the different speeds with GPRS, 3G, and Wi-fi.</p>
<h1>Step 5 &#8211; Implementation</h1>
<p>Let me save you a few hours of searching. In implementation, you&#8217;ll have to figure out how exactly you&#8217;re going to redirect your traffic to the mobile version whence they use their phones. It took some time for me to figure out but here are a few options:</p>
<ol>
<li><a title="detect mobile browsers" href="http://detectmobilebrowsers.mobi/">DetectMobileBrowsers</a> &#8211; This is almost a fullproof method of redirecting your traffic. The problem? You can&#8217;t use it unless your site is COMPLETELY non-profit. Nope, not even ads are allowed. If you want the commercial version, it will cost you $50 a year to use it</li>
<li><a title="Light Weight Device Detection" href="http://mobiforge.com/developing/story/lightweight-device-detection-php">LightWeight Device Detection</a> &#8211; This is probably one of the simplest scripts you&#8217;ll find and it works really well. It also doesn&#8217;t have any restrictions as far as I&#8217;m aware.</li>
<li><a title="Mobile Detect" href="http://www.jooria.com/scripts/Wireless-and-Mobile-156/Mobile-Detect-923/index.html">Mobile Detect</a> &#8211; This is a slightly more functional version of the above-mentioned Device Detection. They&#8217;re not related but work in a similar way</li>
</ol>
<p>Let&#8217;s move on to actually using these scripts. I haven&#8217;t used number one but I&#8217;ll tell you how you can incorporate number 2 and 3.</p>
<ol>
<li>Decide whether you want a separate site for the mobile version. I recommend creating a sub-domain such as m.onlyaquote.com (whence using sub-domains, remember that m.onlyaquote.com = onlyaquote.com/m )</li>
<li>If you did not create a separate sub-domain, you can place the whole thing in a loop but don&#8217;t forget to create a backdoor so that the user can switch between the desktop and mobile version.</li>
<li>Put all the script messy stuff into a separate file (so as not to clutter up your index.php file) except for the if/else statement found in number 2. If you&#8217;re using number 3, don&#8217;t worry about that at all.</li>
<li>Use <strong>include(script file ); </strong>to put the script back into your index.php file. Put all of your PHP before the &lt;html&gt; tag</li>
</ol>
<p>If you&#8217;re using Number 2, here&#8217;s what you do:</p>
<pre class="brush: php; title: ;">
include ('scriptfile.php');
if($mobile_browser&gt;0) {
   // do something
header( 'Location: mobilesite.com' ) ;
}
</pre>
<p>If you&#8217;re not using a different site do this:</p>
<pre class="brush: php; title: ;">
include('scriptfile.php');
if($mobile_browser&gt;0) {
 // place your mobile site here.
}
else {
   // place your desktop version here
}
</pre>
<p>You can also simply switch out CSS files with this method (make sure to put the loop inside the &lt;head&gt; tag then). I don&#8217;t suggest you use the default CSS method of switching styling according to the device (ie. &lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text/css&#8221; href=&#8221;css/quotestyles.css&#8221; media=&#8221;handheld&#8221; /&gt;) because it doesn&#8217;t work that well and most devices will try to read BOTH stylesheets.</p>
<p>For number 3, again place the following loop before the &lt;html&gt; tag:</p>
<pre class="brush: php; title: ;">
include(&quot;Mobile_Detect.php&quot;);
$detect = new Mobile_Detect();
if ($detect-&gt;isMobile()) {
    // any mobile platform
header( 'Location: mobilesite.com' ) ;
}
</pre>
<p>With the number 3 method (ie. <a title="mobile detect" href="http://www.jooria.com/scripts/Wireless-and-Mobile-156/Mobile-Detect-923/index.html">Mobile Detect</a>) you can also specify which mobile device you want to do what. You can choose a separate site for an iPhone and Blackberry or separate CSS files. Well, whatever, you can do it all.</p>
<p>CAUTION: The detection system is NOT perfect. With newer phones, newer browsers, and newer software, the detection script may become obsolete. Be always on the look out for better versions!</p>
<h1>Conclusion</h1>
<p>That&#8217;s it, with these few tricks, you should be able to easily make your own mobile site. Here&#8217;s what mine looks like (I still have a TON of work to do!):</p>
<p><a rel="attachment wp-att-1055" href="http://www.davepcguy.com/archive/mobile-websites-tips/mobile4/"><img class="aligncenter size-medium wp-image-1055" title="mobile4" src="http://www.davepcguy.com/wp-content/uploads/2010/01/mobile4-228x300.png" alt="" width="228" height="300" /></a><br />
</p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fmobile-websites-tips%2F&amp;partner=sociable" title="Print"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fmobile-websites-tips%2F&amp;title=Mobile%20Websites%20%28tips%29&amp;bodytext=I%27ve%20recently%20started%20working%20on%20some%20mobile%20websites.%20You%27ll%20notice%20that%20davepcguy.com%20has%20its%20own%20mobile%20alternative%20as%20do%20some%20other%20sites.%20Mobile%20devices%20are%20growing%20in%20number%20and%20gone%20are%20those%20days%20when%20internet%20was%20viewed%20only%20on%20the%20computer%20" title="Digg"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fmobile-websites-tips%2F&amp;title=Mobile%20Websites%20%28tips%29&amp;notes=I%27ve%20recently%20started%20working%20on%20some%20mobile%20websites.%20You%27ll%20notice%20that%20davepcguy.com%20has%20its%20own%20mobile%20alternative%20as%20do%20some%20other%20sites.%20Mobile%20devices%20are%20growing%20in%20number%20and%20gone%20are%20those%20days%20when%20internet%20was%20viewed%20only%20on%20the%20computer%20" title="del.icio.us"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fmobile-websites-tips%2F&amp;t=Mobile%20Websites%20%28tips%29" title="Facebook"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fmobile-websites-tips%2F&amp;title=Mobile%20Websites%20%28tips%29&amp;annotation=I%27ve%20recently%20started%20working%20on%20some%20mobile%20websites.%20You%27ll%20notice%20that%20davepcguy.com%20has%20its%20own%20mobile%20alternative%20as%20do%20some%20other%20sites.%20Mobile%20devices%20are%20growing%20in%20number%20and%20gone%20are%20those%20days%20when%20internet%20was%20viewed%20only%20on%20the%20computer%20" title="Google Bookmarks"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fmobile-websites-tips%2F&amp;title=Mobile%20Websites%20%28tips%29&amp;source=Dave+PC+Guy+Computers+and+Technology&amp;summary=I%27ve%20recently%20started%20working%20on%20some%20mobile%20websites.%20You%27ll%20notice%20that%20davepcguy.com%20has%20its%20own%20mobile%20alternative%20as%20do%20some%20other%20sites.%20Mobile%20devices%20are%20growing%20in%20number%20and%20gone%20are%20those%20days%20when%20internet%20was%20viewed%20only%20on%20the%20computer%20" title="LinkedIn"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fmobile-websites-tips%2F&amp;title=Mobile%20Websites%20%28tips%29" title="Reddit"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fmobile-websites-tips%2F&amp;t=Mobile%20Websites%20%28tips%29&amp;s=I%27ve%20recently%20started%20working%20on%20some%20mobile%20websites.%20You%27ll%20notice%20that%20davepcguy.com%20has%20its%20own%20mobile%20alternative%20as%20do%20some%20other%20sites.%20Mobile%20devices%20are%20growing%20in%20number%20and%20gone%20are%20those%20days%20when%20internet%20was%20viewed%20only%20on%20the%20computer%20" title="Tumblr"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Mobile%20Websites%20%28tips%29%20-%20http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fmobile-websites-tips%2F" title="Twitter"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Mobile%20Websites%20%28tips%29&amp;body=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fmobile-websites-tips%2F" title="email"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Mobile%20Websites%20%28tips%29&amp;url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fmobile-websites-tips%2F" title="Slashdot"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.davepcguy.com%2Farchive%2Fmobile-websites-tips%2F&amp;title=Mobile%20Websites%20%28tips%29" title="StumbleUpon"><img src="http://www.davepcguy.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.davepcguy.com/archive/mobile-websites-tips/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

