<?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>Earthman Web &#38; Media &#187; google</title>
	<atom:link href="http://web.earthman.ca/tag/google/feed" rel="self" type="application/rss+xml" />
	<link>http://web.earthman.ca</link>
	<description>Web Design in BC - Nelson, Vancouver, Kelowna</description>
	<lastBuildDate>Sun, 05 Feb 2012 20:30:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Join the Nettuts+ Community on Google+</title>
		<link>http://feedproxy.google.com/~r/nettuts/~3/0QohP2uyphk/</link>
		<comments>http://feedproxy.google.com/~r/nettuts/~3/0QohP2uyphk/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 16:39:06 +0000</pubDate>
		<dc:creator>David Appleyard</dc:creator>
				<category><![CDATA[googleplus]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://net.tutsplus.com/?p=22809</guid>
		<description><![CDATA[<a href="http://rss.buysellads.com/click.php?z=1260013&#38;k=d754f1e9ba63a736ba8ff5ece958f7dd&#38;a=22809&#38;c=1484695033" target="_blank"><img src="http://rss.buysellads.com/img.php?z=1260013&#38;k=d754f1e9ba63a736ba8ff5ece958f7dd&#38;a=22809&#38;c=1484695033" border="0" alt="" /></a><p>We&#8217;re excited to let you know that now, in addition to <a href="http://twitter.com/envatowebdev">Twitter</a> and <a href="http://www.facebook.com/nettutsplus">Facebook</a>, you can get involved with the Nettuts+ community over at <a href="https://plus.google.com/100395074731712398322">Google+</a>! We&#8217;ll be using Google+ to let you know about our latest tutorials, competitions, and Tuts+ news. Read on to find out more&#8230;</p>
<p><span></span></p>
<hr />
<h2>What to Expect on Google+</h2>
<div><a href="https://plus.google.com/100395074731712398322"><img src="http://tutsplus.s3.amazonaws.com/googleplus/nettuts.png" alt="Nettuts+ on Google+" /></a></div>
<p>Through Google+, we&#8217;ll be publishing links to our new tutorials and articles, industry news, graphics and examples from our community, and lots more! It&#8217;s going to be an extension of the Nettuts+ site and community, in the same way we treat Twitter and Facebook.</p>
<p>Don&#8217;t have a Google+ account? You can head over and <a href="https://plus.google.com/">create one here</a>, or find out a little more about how it works.</p>
<hr />
<h2>Add Nettuts+ to Your Circles</h2>
</p>
<p></p>
<p>Just use the button above to add Nettuts+ to your circles, so you don&#8217;t miss out on any of our new content. We look forward to seeing you on <a href="https://plus.google.com/100395074731712398322">Google+</a>!</p>
<hr />
<p><a href="http://feedads.g.doubleclick.net/~a/olSagsVSBXZV4rPCafWTJU0JuRU/0/da"><img src="http://feedads.g.doubleclick.net/~a/olSagsVSBXZV4rPCafWTJU0JuRU/0/di" border="0"></img></a><br />
<a href="http://feedads.g.doubleclick.net/~a/olSagsVSBXZV4rPCafWTJU0JuRU/1/da"><img src="http://feedads.g.doubleclick.net/~a/olSagsVSBXZV4rPCafWTJU0JuRU/1/di" border="0"></img></a></p><div>
<a href="http://feeds.feedburner.com/~ff/nettuts?a=0QohP2uyphk:uk949Q8KzcI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/nettuts?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=0QohP2uyphk:uk949Q8KzcI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/nettuts?i=0QohP2uyphk:uk949Q8KzcI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=0QohP2uyphk:uk949Q8KzcI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/nettuts?i=0QohP2uyphk:uk949Q8KzcI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=0QohP2uyphk:uk949Q8KzcI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/nettuts?i=0QohP2uyphk:uk949Q8KzcI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=0QohP2uyphk:uk949Q8KzcI:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/nettuts?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/nettuts/~4/0QohP2uyphk" height="1" width="1" />]]></description>
			<content:encoded><![CDATA[<a href='http://rss.buysellads.com/click.php?z=1260013&k=d754f1e9ba63a736ba8ff5ece958f7dd&a=22809&c=1484695033' ><img src='http://rss.buysellads.com/img.php?z=1260013&k=d754f1e9ba63a736ba8ff5ece958f7dd&a=22809&c=1484695033' border='0' alt='' /></a><p>We&#8217;re excited to let you know that now, in addition to <a href="http://twitter.com/envatowebdev">Twitter</a> and <a href="http://www.facebook.com/nettutsplus">Facebook</a>, you can get involved with the Nettuts+ community over at <a href="https://plus.google.com/100395074731712398322">Google+</a>! We&#8217;ll be using Google+ to let you know about our latest tutorials, competitions, and Tuts+ news. Read on to find out more&#8230;</p>
<p><span id="more-22809"></span></p>
<hr />
<h2>What to Expect on Google+</h2>
<div class="tutorial_image"><a href="https://plus.google.com/100395074731712398322"><img src="http://tutsplus.s3.amazonaws.com/googleplus/nettuts.png" alt="Nettuts+ on Google+" /></a></div>
<p>Through Google+, we&#8217;ll be publishing links to our new tutorials and articles, industry news, graphics and examples from our community, and lots more! It&#8217;s going to be an extension of the Nettuts+ site and community, in the same way we treat Twitter and Facebook.</p>
<p>Don&#8217;t have a Google+ account? You can head over and <a href="https://plus.google.com/">create one here</a>, or find out a little more about how it works.</p>
<hr />
<h2>Add Nettuts+ to Your Circles</h2>
<link href="https://plus.google.com/100395074731712398322" rel="publisher" /><script type="text/javascript">
(function() 
{var po = document.createElement("script");
po.type = "text/javascript"; po.async = true;po.src = "https://apis.google.com/js/plusone.js";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(po, s);
})();</script></p>
<p><g:plus href="https://plus.google.com/100395074731712398322" size="badge"></g:plus></p>
<p>Just use the button above to add Nettuts+ to your circles, so you don&#8217;t miss out on any of our new content. We look forward to seeing you on <a href="https://plus.google.com/100395074731712398322">Google+</a>!</p>
<hr />
<p><a href="http://feedads.g.doubleclick.net/~a/olSagsVSBXZV4rPCafWTJU0JuRU/0/da"><img src="http://feedads.g.doubleclick.net/~a/olSagsVSBXZV4rPCafWTJU0JuRU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/olSagsVSBXZV4rPCafWTJU0JuRU/1/da"><img src="http://feedads.g.doubleclick.net/~a/olSagsVSBXZV4rPCafWTJU0JuRU/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/nettuts?a=0QohP2uyphk:uk949Q8KzcI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/nettuts?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=0QohP2uyphk:uk949Q8KzcI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/nettuts?i=0QohP2uyphk:uk949Q8KzcI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=0QohP2uyphk:uk949Q8KzcI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/nettuts?i=0QohP2uyphk:uk949Q8KzcI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=0QohP2uyphk:uk949Q8KzcI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/nettuts?i=0QohP2uyphk:uk949Q8KzcI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=0QohP2uyphk:uk949Q8KzcI:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/nettuts?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/nettuts/~4/0QohP2uyphk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://net.tutsplus.com/articles/news/join-the-nettuts-community-on-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Join the Nettuts+ Community on Google+</title>
		<link>http://feedproxy.google.com/~r/nettuts/~3/0QohP2uyphk/</link>
		<comments>http://feedproxy.google.com/~r/nettuts/~3/0QohP2uyphk/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 16:39:06 +0000</pubDate>
		<dc:creator>David Appleyard</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[social]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://net.tutsplus.com/?p=22809</guid>
		<description><![CDATA[<a href="http://rss.buysellads.com/click.php?z=1260013&#38;k=d754f1e9ba63a736ba8ff5ece958f7dd&#38;a=22809&#38;c=726838834" target="_blank"><img src="http://rss.buysellads.com/img.php?z=1260013&#38;k=d754f1e9ba63a736ba8ff5ece958f7dd&#38;a=22809&#38;c=726838834" border="0" alt="" /></a><p>We&#8217;re excited to let you know that now, in addition to <a href="http://twitter.com/envatowebdev">Twitter</a> and <a href="http://www.facebook.com/nettutsplus">Facebook</a>, you can get involved with the Nettuts+ community over at <a href="https://plus.google.com/100395074731712398322">Google+</a>! We&#8217;ll be using Google+ to let you know about our latest tutorials, competitions, and Tuts+ news. Read on to find out more&#8230;</p>
<p><span></span></p>
<hr />
<h2>What to Expect on Google+</h2>
<div><a href="https://plus.google.com/100395074731712398322"><img src="http://tutsplus.s3.amazonaws.com/googleplus/nettuts.png" alt="Nettuts+ on Google+" /></a></div>
<p>Through Google+, we&#8217;ll be publishing links to our new tutorials and articles, industry news, graphics and examples from our community, and lots more! It&#8217;s going to be an extension of the Nettuts+ site and community, in the same way we treat Twitter and Facebook.</p>
<p>Don&#8217;t have a Google+ account? You can head over and <a href="https://plus.google.com/">create one here</a>, or find out a little more about how it works.</p>
<hr />
<h2>Add Nettuts+ to Your Circles</h2>
</p>
<p></p>
<p>Just use the button above to add Nettuts+ to your circles, so you don&#8217;t miss out on any of our new content. We look forward to seeing you on <a href="https://plus.google.com/100395074731712398322">Google+</a>!</p>
<hr />
<p><a href="http://feedads.g.doubleclick.net/~a/ko4ulKotVau73hx_CXAfFTwqu-A/0/da"><img src="http://feedads.g.doubleclick.net/~a/ko4ulKotVau73hx_CXAfFTwqu-A/0/di" border="0"></img></a><br />
<a href="http://feedads.g.doubleclick.net/~a/ko4ulKotVau73hx_CXAfFTwqu-A/1/da"><img src="http://feedads.g.doubleclick.net/~a/ko4ulKotVau73hx_CXAfFTwqu-A/1/di" border="0"></img></a></p><div>
<a href="http://feeds.feedburner.com/~ff/nettuts?a=0QohP2uyphk:uk949Q8KzcI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/nettuts?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=0QohP2uyphk:uk949Q8KzcI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/nettuts?i=0QohP2uyphk:uk949Q8KzcI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=0QohP2uyphk:uk949Q8KzcI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/nettuts?i=0QohP2uyphk:uk949Q8KzcI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=0QohP2uyphk:uk949Q8KzcI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/nettuts?i=0QohP2uyphk:uk949Q8KzcI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=0QohP2uyphk:uk949Q8KzcI:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/nettuts?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/nettuts/~4/0QohP2uyphk" height="1" width="1" />]]></description>
			<content:encoded><![CDATA[<a href='http://rss.buysellads.com/click.php?z=1260013&k=d754f1e9ba63a736ba8ff5ece958f7dd&a=22809&c=726838834' ><img src='http://rss.buysellads.com/img.php?z=1260013&k=d754f1e9ba63a736ba8ff5ece958f7dd&a=22809&c=726838834' border='0' alt='' /></a><p>We&#8217;re excited to let you know that now, in addition to <a href="http://twitter.com/envatowebdev">Twitter</a> and <a href="http://www.facebook.com/nettutsplus">Facebook</a>, you can get involved with the Nettuts+ community over at <a href="https://plus.google.com/100395074731712398322">Google+</a>! We&#8217;ll be using Google+ to let you know about our latest tutorials, competitions, and Tuts+ news. Read on to find out more&#8230;</p>
<p><span id="more-22809"></span></p>
<hr />
<h2>What to Expect on Google+</h2>
<div class="tutorial_image"><a href="https://plus.google.com/100395074731712398322"><img src="http://tutsplus.s3.amazonaws.com/googleplus/nettuts.png" alt="Nettuts+ on Google+" /></a></div>
<p>Through Google+, we&#8217;ll be publishing links to our new tutorials and articles, industry news, graphics and examples from our community, and lots more! It&#8217;s going to be an extension of the Nettuts+ site and community, in the same way we treat Twitter and Facebook.</p>
<p>Don&#8217;t have a Google+ account? You can head over and <a href="https://plus.google.com/">create one here</a>, or find out a little more about how it works.</p>
<hr />
<h2>Add Nettuts+ to Your Circles</h2>
<link href="https://plus.google.com/100395074731712398322" rel="publisher" /><script type="text/javascript">
(function() 
{var po = document.createElement("script");
po.type = "text/javascript"; po.async = true;po.src = "https://apis.google.com/js/plusone.js";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(po, s);
})();</script></p>
<p><g:plus href="https://plus.google.com/100395074731712398322" size="badge"></g:plus></p>
<p>Just use the button above to add Nettuts+ to your circles, so you don&#8217;t miss out on any of our new content. We look forward to seeing you on <a href="https://plus.google.com/100395074731712398322">Google+</a>!</p>
<hr />
<p><a href="http://feedads.g.doubleclick.net/~a/ko4ulKotVau73hx_CXAfFTwqu-A/0/da"><img src="http://feedads.g.doubleclick.net/~a/ko4ulKotVau73hx_CXAfFTwqu-A/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ko4ulKotVau73hx_CXAfFTwqu-A/1/da"><img src="http://feedads.g.doubleclick.net/~a/ko4ulKotVau73hx_CXAfFTwqu-A/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/nettuts?a=0QohP2uyphk:uk949Q8KzcI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/nettuts?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=0QohP2uyphk:uk949Q8KzcI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/nettuts?i=0QohP2uyphk:uk949Q8KzcI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=0QohP2uyphk:uk949Q8KzcI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/nettuts?i=0QohP2uyphk:uk949Q8KzcI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=0QohP2uyphk:uk949Q8KzcI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/nettuts?i=0QohP2uyphk:uk949Q8KzcI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=0QohP2uyphk:uk949Q8KzcI:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/nettuts?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/nettuts/~4/0QohP2uyphk" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://net.tutsplus.com/articles/news/join-the-nettuts-community-on-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Tip: How to Add Syntax Highlighting to Any Project</title>
		<link>http://feedproxy.google.com/~r/nettuts/~3/Ic0yJ4MdN1U/</link>
		<comments>http://feedproxy.google.com/~r/nettuts/~3/Ic0yJ4MdN1U/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 23:17:53 +0000</pubDate>
		<dc:creator>Jeffrey Way</dc:creator>
				<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[JavaScript & AJAX]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://net.tutsplus.com/?p=21099</guid>
		<description><![CDATA[In this lesson, we&#8217;ll use a JavaScript based syntax highlighter to quickly add a syntax highlighting functionality to any web project &#8212; even on a simple HTML page!


    


 Step 1 &#8212; Download the Source Code 
You can download the synt...]]></description>
			<content:encoded><![CDATA[<a href='http://rss.buysellads.com/click.php?z=1260013&k=d754f1e9ba63a736ba8ff5ece958f7dd&a=21099&c=283096491' ><img src='http://rss.buysellads.com/img.php?z=1260013&k=d754f1e9ba63a736ba8ff5ece958f7dd&a=21099&c=283096491' border='0' alt='' /></a><p>In this lesson, we&#8217;ll use a JavaScript based <a href="http://code.google.com/p/google-code-prettify/">syntax highlighter</a> to quickly add a syntax highlighting functionality to any web project &mdash; even on a simple HTML page!</p>
<p><span id="more-21099"></span></p>
<div class="tutorial_image">
    <object width="600" height="338"><param name="movie" value="http://www.youtube.com/v/_ggWarwhv9M?version=3&amp;hl=en_US&amp;hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/_ggWarwhv9M?version=3&amp;hl=en_US&amp;hd=1" type="application/x-shockwave-flash" width="600" height="338" allowscriptaccess="always" allowfullscreen="true"></embed></object>
</div>
<hr />
<h2> <span>Step 1 &mdash; </span>Download the Source Code </h2>
<p>You can download the syntax highlighter source files <a href="http://code.google.com/p/google-code-prettify/">here.</a></p>
<hr />
<h2> <span>Step 2 &mdash; </span>Drag the <code>src</code> Directory into your Project </h2>
<p> I generally rename this folder to <code>highlighter</code>. Don&#8217;t delete anything within here, unless you don&#8217;t anticipate using some of the language specific JavaScript files.
</p>
<hr />
<h2> <span>Step 3 &mdash; </span>Import the Necessary Files </h2>
<p> Within your HTML file (or whichever page is responsible for displaying your view), import both the <code>prettify.css</code> and <code>prettify.js</code> files.
</p>
<pre class="brush: xml; title: ; notranslate">
&lt;!DOCTYPE html&gt;

&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
   &lt;meta charset=&quot;utf&amp;mdash;8&quot;&gt;
   &lt;title&gt;untitled&lt;/title&gt;
   &lt;link rel=&quot;stylesheet&quot; href=&quot;highlighter/prettify.css&quot; /&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;script src=&quot;highlighter/prettify.js&quot;&gt;&lt;/script&gt;

&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Notice how we&#8217;ve placed our script at the bottom of the page, just before the closing <code>body</code> tag. This is always a smart move, as it improves performance. </p>
<p> Next, we need something to work with! The syntax highlighter will search for either a <code>pre</code> or <code>code</code> element that has a class of <code>prettyprint</code>. Let&#8217;s add that now. </p>
</p>
<pre class="brush: xml; title: ; notranslate">
&lt;pre class=&quot;prettyprint&quot;&gt;
(function() {
   var jsSyntaxHighlighting = 'rocks';
})();
&lt;/pre&gt;
</pre>
<hr />
<h2> <span>Step 4 &mdash; </span>Calling the <code>prettyPrint()</code> Function</h2>
<p>The last step is to execute the <code>prettyPrint()</code> function. We can place this bit of code at the bottom of the page as well. </p>
<pre class="brush: xml; highlight: [17]; title: ; notranslate">
&lt;!DOCTYPE html&gt;

&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
   &lt;meta charset=&quot;utf-8&quot;&gt;
   &lt;title&gt;untitled&lt;/title&gt;
   &lt;link rel=&quot;stylesheet&quot; href=&quot;highlighter/prettify.css&quot; /&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;pre class=&quot;prettyprint&quot;&gt;
(function() {
   var jsSyntaxHighlighting = 'rocks';
})();
&lt;/pre&gt;
&lt;script src=&quot;highlighter/prettify.js&quot;&gt;&lt;/script&gt;
&lt;script&gt;prettyPrint();&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>If we now view the page in the browser&#8230;</p>
<div class="tutorial_image">
   <img src="http://d2o0t5hpnwv4c1.cloudfront.net/1022_syntax/highlight.jpg" alt="final product" />
</div>
<p>Well that was easy! But, as a final bonus step, what if we want to change the highlighter theme? In that case, it all comes down to editing the stylesheet how you see fit. Even better, there are a handful of stylesheets in the <a href="http://google&mdash;code&mdash;prettify.googlecode.com/svn/trunk/styles/index.html">theme gallery</a> that you&#8217;re free to use. I personally like the <a href="http://code.google.com/p/google&mdash;code&mdash;prettify/source/browse/trunk/styles/desert.css">Desert</a> theme. To apply it, copy the CSS from the link above, create a new stylesheet in your project, and paste the CSS into it. Next, update the stylesheet include from within the <code>head</code> section of your document. </p>
<pre class="brush: xml; highlight: [4]; title: ; notranslate">
&lt;head&gt;
   &lt;meta charset=&quot;utf&amp;mdash;8&quot;&gt;
   &lt;title&gt;untitled&lt;/title&gt;
   &lt;link rel=&quot;stylesheet&quot; href=&quot;highlighter/dessert.css&quot; /&gt;
&lt;/head&gt;
</pre>
<div class="tutorial_image">
   <img src="http://d2o0t5hpnwv4c1.cloudfront.net/1022_syntax/desert-theme.jpg" alt="Desert Theme Applied" />
</div>
<p>Seriously &mdash; can it get any simpler than that?</p>
<p><a href="http://feedads.g.doubleclick.net/~a/HEIKyeBcJ-w_lHAOFNuwqWpcqwA/0/da"><img src="http://feedads.g.doubleclick.net/~a/HEIKyeBcJ-w_lHAOFNuwqWpcqwA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/HEIKyeBcJ-w_lHAOFNuwqWpcqwA/1/da"><img src="http://feedads.g.doubleclick.net/~a/HEIKyeBcJ-w_lHAOFNuwqWpcqwA/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/nettuts?a=Ic0yJ4MdN1U:4RUjGWbdTok:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/nettuts?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=Ic0yJ4MdN1U:4RUjGWbdTok:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/nettuts?i=Ic0yJ4MdN1U:4RUjGWbdTok:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=Ic0yJ4MdN1U:4RUjGWbdTok:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/nettuts?i=Ic0yJ4MdN1U:4RUjGWbdTok:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=Ic0yJ4MdN1U:4RUjGWbdTok:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/nettuts?i=Ic0yJ4MdN1U:4RUjGWbdTok:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=Ic0yJ4MdN1U:4RUjGWbdTok:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/nettuts?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/nettuts/~4/Ic0yJ4MdN1U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-how-to-add-syntax-highlighting-to-any-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Tip: How to Add Syntax Highlighting to Any Project</title>
		<link>http://feedproxy.google.com/~r/nettuts/~3/Ic0yJ4MdN1U/</link>
		<comments>http://feedproxy.google.com/~r/nettuts/~3/Ic0yJ4MdN1U/#comments</comments>
		<pubDate>Tue, 26 Jul 2011 23:17:53 +0000</pubDate>
		<dc:creator>Jeffrey Way</dc:creator>
				<category><![CDATA[HTML & CSS]]></category>
		<category><![CDATA[JavaScript & AJAX]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[Videos]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://net.tutsplus.com/?p=21099</guid>
		<description><![CDATA[In this lesson, we&#8217;ll use a JavaScript based syntax highlighter to quickly add a syntax highlighting functionality to any web project &#8212; even on a simple HTML page!


    


 Step 1 &#8212; Download the Source Code 
You can download the synt...]]></description>
			<content:encoded><![CDATA[<a href='http://rss.buysellads.com/click.php?z=1260013&k=d754f1e9ba63a736ba8ff5ece958f7dd&a=21099&c=1732506834' ><img src='http://rss.buysellads.com/img.php?z=1260013&k=d754f1e9ba63a736ba8ff5ece958f7dd&a=21099&c=1732506834' border='0' alt='' /></a><p>In this lesson, we&#8217;ll use a JavaScript based <a href="http://code.google.com/p/google-code-prettify/">syntax highlighter</a> to quickly add a syntax highlighting functionality to any web project &mdash; even on a simple HTML page!</p>
<p><span id="more-21099"></span></p>
<div class="tutorial_image">
    <object width="600" height="338"><param name="movie" value="http://www.youtube.com/v/_ggWarwhv9M?version=3&amp;hl=en_US&amp;hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/_ggWarwhv9M?version=3&amp;hl=en_US&amp;hd=1" type="application/x-shockwave-flash" width="600" height="338" allowscriptaccess="always" allowfullscreen="true"></embed></object>
</div>
<hr />
<h2> <span>Step 1 &mdash; </span>Download the Source Code </h2>
<p>You can download the syntax highlighter source files <a href="http://code.google.com/p/google-code-prettify/">here.</a></p>
<hr />
<h2> <span>Step 2 &mdash; </span>Drag the <code>src</code> Directory into your Project </h2>
<p> I generally rename this folder to <code>highlighter</code>. Don&#8217;t delete anything within here, unless you don&#8217;t anticipate using some of the language specific JavaScript files.
</p>
<hr />
<h2> <span>Step 3 &mdash; </span>Import the Necessary Files </h2>
<p> Within your HTML file (or whichever page is responsible for displaying your view), import both the <code>prettify.css</code> and <code>prettify.js</code> files.
</p>
<pre class="brush: xml; title: ; notranslate">
&lt;!DOCTYPE html&gt;

&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
   &lt;meta charset=&quot;utf&amp;mdash;8&quot;&gt;
   &lt;title&gt;untitled&lt;/title&gt;
   &lt;link rel=&quot;stylesheet&quot; href=&quot;highlighter/prettify.css&quot; /&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;script src=&quot;highlighter/prettify.js&quot;&gt;&lt;/script&gt;

&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Notice how we&#8217;ve placed our script at the bottom of the page, just before the closing <code>body</code> tag. This is always a smart move, as it improves performance. </p>
<p> Next, we need something to work with! The syntax highlighter will search for either a <code>pre</code> or <code>code</code> element that has a class of <code>prettyprint</code>. Let&#8217;s add that now. </p>
</p>
<pre class="brush: xml; title: ; notranslate">
&lt;pre class=&quot;prettyprint&quot;&gt;
(function() {
   var jsSyntaxHighlighting = 'rocks';
})();
&lt;/pre&gt;
</pre>
<hr />
<h2> <span>Step 4 &mdash; </span>Calling the <code>prettyPrint()</code> Function</h2>
<p>The last step is to execute the <code>prettyPrint()</code> function. We can place this bit of code at the bottom of the page as well. </p>
<pre class="brush: xml; highlight: [17]; title: ; notranslate">
&lt;!DOCTYPE html&gt;

&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
   &lt;meta charset=&quot;utf-8&quot;&gt;
   &lt;title&gt;untitled&lt;/title&gt;
   &lt;link rel=&quot;stylesheet&quot; href=&quot;highlighter/prettify.css&quot; /&gt;
&lt;/head&gt;
&lt;body&gt;

&lt;pre class=&quot;prettyprint&quot;&gt;
(function() {
   var jsSyntaxHighlighting = 'rocks';
})();
&lt;/pre&gt;
&lt;script src=&quot;highlighter/prettify.js&quot;&gt;&lt;/script&gt;
&lt;script&gt;prettyPrint();&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>If we now view the page in the browser&#8230;</p>
<div class="tutorial_image">
   <img src="http://d2o0t5hpnwv4c1.cloudfront.net/1022_syntax/highlight.jpg" alt="final product" />
</div>
<p>Well that was easy! But, as a final bonus step, what if we want to change the highlighter theme? In that case, it all comes down to editing the stylesheet how you see fit. Even better, there are a handful of stylesheets in the <a href="http://google&mdash;code&mdash;prettify.googlecode.com/svn/trunk/styles/index.html">theme gallery</a> that you&#8217;re free to use. I personally like the <a href="http://code.google.com/p/google&mdash;code&mdash;prettify/source/browse/trunk/styles/desert.css">Desert</a> theme. To apply it, copy the CSS from the link above, create a new stylesheet in your project, and paste the CSS into it. Next, update the stylesheet include from within the <code>head</code> section of your document. </p>
<pre class="brush: xml; highlight: [4]; title: ; notranslate">
&lt;head&gt;
   &lt;meta charset=&quot;utf&amp;mdash;8&quot;&gt;
   &lt;title&gt;untitled&lt;/title&gt;
   &lt;link rel=&quot;stylesheet&quot; href=&quot;highlighter/dessert.css&quot; /&gt;
&lt;/head&gt;
</pre>
<div class="tutorial_image">
   <img src="http://d2o0t5hpnwv4c1.cloudfront.net/1022_syntax/desert-theme.jpg" alt="Desert Theme Applied" />
</div>
<p>Seriously &mdash; can it get any simpler than that?</p>
<p><a href="http://feedads.g.doubleclick.net/~a/W9NRlkQi9VZGzhQ7ukxs6nypKqM/0/da"><img src="http://feedads.g.doubleclick.net/~a/W9NRlkQi9VZGzhQ7ukxs6nypKqM/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/W9NRlkQi9VZGzhQ7ukxs6nypKqM/1/da"><img src="http://feedads.g.doubleclick.net/~a/W9NRlkQi9VZGzhQ7ukxs6nypKqM/1/di" border="0" ismap="true"></img></a></p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/nettuts?a=Ic0yJ4MdN1U:4RUjGWbdTok:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/nettuts?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=Ic0yJ4MdN1U:4RUjGWbdTok:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/nettuts?i=Ic0yJ4MdN1U:4RUjGWbdTok:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=Ic0yJ4MdN1U:4RUjGWbdTok:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/nettuts?i=Ic0yJ4MdN1U:4RUjGWbdTok:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=Ic0yJ4MdN1U:4RUjGWbdTok:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/nettuts?i=Ic0yJ4MdN1U:4RUjGWbdTok:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/nettuts?a=Ic0yJ4MdN1U:4RUjGWbdTok:TzevzKxY174"><img src="http://feeds.feedburner.com/~ff/nettuts?d=TzevzKxY174" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/nettuts/~4/Ic0yJ4MdN1U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://net.tutsplus.com/tutorials/html-css-techniques/quick-tip-how-to-add-syntax-highlighting-to-any-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BBC News &#8211; China condemns decision by Google to lift censorship</title>
		<link>http://web.earthman.ca/bbc-news-china-condemns-decision-by-google-to-lift-censorship</link>
		<comments>http://web.earthman.ca/bbc-news-china-condemns-decision-by-google-to-lift-censorship#comments</comments>
		<pubDate>Thu, 25 Mar 2010 21:19:41 +0000</pubDate>
		<dc:creator>Earthman</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[china]]></category>
		<category><![CDATA[free internet]]></category>
		<category><![CDATA[freedom of speech]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[net neutrality]]></category>

		<guid isPermaLink="false">http://web.earthman.ca/?p=688</guid>
		<description><![CDATA[China condemns decision by Google to lift censorship A computer screen in a Beijing internet cafe shows the new Chinese-language Google search home page, 23 March Chinese users are being redirected to the google.com.hk site China has said Google&#8217;s move to stop censoring search results is &#8220;totally wrong&#8221; and accused it of breaking a promise [...]]]></description>
			<content:encoded><![CDATA[<p>China condemns decision by Google to lift censorship</p>
<p>A computer screen in a Beijing internet cafe shows the new Chinese-language Google search home page, 23 March</p>
<p>Chinese users are being redirected to the google.com.hk site</p>
<p>China has said Google&#8217;s move to stop censoring search results is &#8220;totally wrong&#8221; and accused it of breaking a promise made when it launched in China.</p>
<p><strong>Source:  <a href="http://news.bbc.co.uk/2/hi/8582233.stm">BBC News &#8211; China condemns decision by Google to lift censorship</a>.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://web.earthman.ca/bbc-news-china-condemns-decision-by-google-to-lift-censorship/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

