<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Think2Loud</title> <link>http://think2loud.com</link> <description /> <lastBuildDate>Tue, 29 Dec 2009 23:11:05 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Think2loud" /><feedburner:info uri="think2loud" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>Think2loud</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item><title>JSON vs. XML: What Should You Use?</title><link>http://feedproxy.google.com/~r/Think2loud/~3/8bzBFDmNlIM/</link> <comments>http://think2loud.com/json-xml/#comments</comments> <pubDate>Sun, 27 Dec 2009 21:02:54 +0000</pubDate> <dc:creator>Jared</dc:creator> <category><![CDATA[JavaScript]]></category> <category><![CDATA[json]]></category> <category><![CDATA[XML]]></category><guid isPermaLink="false">http://think2loud.com/?p=680</guid> <description><![CDATA[Lots of people have asked me this question: which is better when loading data via an ajax request?  JSON is my favorite. I'm going to try and explain the benefits of JSON over XML.Related posts:<ol><li><a
href='http://think2loud.com/reading-xml-with-jquery/' rel='bookmark' title='Permanent Link: Reading XML with jQuery'>Reading XML with jQuery</a> <small>Welcome to my first of many articles for Think2Loud! Today...</small></li><li><a
href='http://think2loud.com/adding-twitter-to-your-site-with-jquery-part-1/' rel='bookmark' title='Permanent Link: Adding Twitter to your site with jQuery Part 1'>Adding Twitter to your site with jQuery Part 1</a> <small>This series of articles will explain how to retrieve information...</small></li><li><a
href='http://think2loud.com/start-jquery-selectors/' rel='bookmark' title='Permanent Link: Where to Start with jQuery Selectors'>Where to Start with jQuery Selectors</a> <small>With jQuery there are many ways to select elements. We...</small></li></ol>Related posts brought to you by <a
href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description> <content:encoded><![CDATA[<p>From the start, JSON is already has a leg up on XML for one reason: it&#8217;s faster. To read XML you need to parse it, read the nodes, attributes, and child nodes in the XML document, and then use the data that you&#8217;ve found.</p><p>In jQuery the easiest way to do that is to use the built-in ajax functions to call the XML and use the each function to loop through all the nodes. The each function is nice, but is much much slower than a for loop. Just imagine what happens when we have an XML document with multiple levels of nested nodes you need to get at. You end up with multiple nested $.each functions and without much trying, you end up with a script that crawls. With JSON it&#8217;s easy to get at the data since its already native javascript. No parsers or proxies necessary&#8211;all you need to do is loop through the data, fast and simple. That&#8217;s one point for JSON.</p><p>There are aspects of XML that people point to as reasons to use it.  First, XML is both human and machine readable. It is nice to see what data is being returned just by viewing the source, but that problem is solved by having good documentation, including an example of the JSON that will be returned. Also, being a front-end developer, I spend a lot of my time reading javascript anyway.  I find it just as easy to read as XML, it&#8217;s just different.</p><p>Another good reason to use XML is that it&#8217;s widely available.  Lots of websites offer APIs to get at their public (and sometimes private) data, and I usually find the returned format of these APIs are often either XML or JSON.  However since XML has been around longer than JSON, there is simply more XML out there.</p><p>Sometimes you might find yourself in a situation where you don&#8217;t have JSON as an option.  So do you submit to the API gods and slow down your site and just use the XML?  Why do that when you can write the API yourself!  This is where some server side skills come in handy.  It&#8217;s super easy to load an XML document via PHP and print out the data in whatever format you need it to be in.</p><p>So in conclusion, you should be using JSON every chance you get.</p><p>Related posts:<ol><li><a
href='http://think2loud.com/reading-xml-with-jquery/' rel='bookmark' title='Permanent Link: Reading XML with jQuery'>Reading XML with jQuery</a> <small>Welcome to my first of many articles for Think2Loud! Today...</small></li><li><a
href='http://think2loud.com/adding-twitter-to-your-site-with-jquery-part-1/' rel='bookmark' title='Permanent Link: Adding Twitter to your site with jQuery Part 1'>Adding Twitter to your site with jQuery Part 1</a> <small>This series of articles will explain how to retrieve information...</small></li><li><a
href='http://think2loud.com/start-jquery-selectors/' rel='bookmark' title='Permanent Link: Where to Start with jQuery Selectors'>Where to Start with jQuery Selectors</a> <small>With jQuery there are many ways to select elements. We...</small></li></ol></p><p>Related posts brought to you by <a
href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>
<p><a href="http://feedads.g.doubleclick.net/~a/JcKQzIeGAUlhRR58iTcZjZM5NeI/0/da"><img src="http://feedads.g.doubleclick.net/~a/JcKQzIeGAUlhRR58iTcZjZM5NeI/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/JcKQzIeGAUlhRR58iTcZjZM5NeI/1/da"><img src="http://feedads.g.doubleclick.net/~a/JcKQzIeGAUlhRR58iTcZjZM5NeI/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://think2loud.com/json-xml/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://think2loud.com/json-xml/</feedburner:origLink></item> <item><title>Where to Start with jQuery Selectors</title><link>http://feedproxy.google.com/~r/Think2loud/~3/ZnInU0AWTxo/</link> <comments>http://think2loud.com/start-jquery-selectors/#comments</comments> <pubDate>Wed, 09 Sep 2009 12:42:11 +0000</pubDate> <dc:creator>Josh</dc:creator> <category><![CDATA[Code 101]]></category> <category><![CDATA[jQuery]]></category><guid isPermaLink="false">http://think2loud.com/?p=633</guid> <description><![CDATA[With jQuery there are many ways to select elements. We are going to cover two of the  most popular selectors id and class.Related posts:<ol><li><a
href='http://think2loud.com/use-jquery-with-google-analytics-to-track-clicks-on-outgoing-links-from-your-site/' rel='bookmark' title='Permanent Link: Use jQuery with Google Analytics to Track Clicks on Outgoing Links From Your Site.'>Use jQuery with Google Analytics to Track Clicks on Outgoing Links From Your Site.</a> <small>So you have a nice site or blog with lots...</small></li><li><a
href='http://think2loud.com/adding-twitter-to-your-site-with-jquery-part-1/' rel='bookmark' title='Permanent Link: Adding Twitter to your site with jQuery Part 1'>Adding Twitter to your site with jQuery Part 1</a> <small>This series of articles will explain how to retrieve information...</small></li><li><a
href='http://think2loud.com/using-jquery-and-xml-to-populate-a-drop-down-box/' rel='bookmark' title='Permanent Link: Using jQuery and XML to Populate a Drop-Down Box'>Using jQuery and XML to Populate a Drop-Down Box</a> <small>Building on the post Reading XML with jQuery, I have...</small></li></ol>Related posts brought to you by <a
href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description> <content:encoded><![CDATA[<p>jQuery uses the same selectors as CSS. This makes it very easy to select the elements you want to work with. The two most commonly used selectors are id and class. So before we start make sure you have your <a
href="http://think2loud.com/jquery-101-adding-jquery-to-your-website/">jQuery setup</a> and the <a
href="http://think2loud.com/jquery-document-ready-howto/">$(document).ready()</a> function on the page.</p><h3>Selecting by ID</h3><p>This is best used when you want to target one specific element. The selector is exactly the same as what you would use to set styles for the particular element in CSS.</p><p>Selecting element with CSS and setting some styles.</p><div
class="wp_syntax"><div
class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#youridhere</span> <span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div><p>Now selecting the same element with jQuery and adding CSS styles.</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;#youridhere&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;display&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;none&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><h3>Selecting by Class</h3><p>With the class selector you can select multiple elements at once. jQuery deals with multiple elements in a very simple manor. It returns an array of jQuery objects. With the way jQuery is designed it will automaticaly apply anything you do to your selection to all elements without having to loop threw the results.</p><p>Lets take a simples example of hiding all elements with a class of hide. To do this with CSS we would create the class in our style sheet like so:</p><div
class="wp_syntax"><div
class="code"><pre class="css" style="font-family:monospace;"><span style="color: #6666ff;">.hide</span> <span style="color: #00AA00;">&#123;</span> 
	<span style="color: #000000; font-weight: bold;">display</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div><p>To do this same thing to all the elements with the class of hide in jQuery. You would use the following statement:</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;.hide&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">css</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;display&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;none&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p>This should get you started on the path of using jQuery in your projects. To read more about the selectors your can use in jQuery check out the <a
href="http://docs.jquery.com/Selectors" target="_blank">documentation</a>.</p><p>Related posts:<ol><li><a
href='http://think2loud.com/use-jquery-with-google-analytics-to-track-clicks-on-outgoing-links-from-your-site/' rel='bookmark' title='Permanent Link: Use jQuery with Google Analytics to Track Clicks on Outgoing Links From Your Site.'>Use jQuery with Google Analytics to Track Clicks on Outgoing Links From Your Site.</a> <small>So you have a nice site or blog with lots...</small></li><li><a
href='http://think2loud.com/adding-twitter-to-your-site-with-jquery-part-1/' rel='bookmark' title='Permanent Link: Adding Twitter to your site with jQuery Part 1'>Adding Twitter to your site with jQuery Part 1</a> <small>This series of articles will explain how to retrieve information...</small></li><li><a
href='http://think2loud.com/using-jquery-and-xml-to-populate-a-drop-down-box/' rel='bookmark' title='Permanent Link: Using jQuery and XML to Populate a Drop-Down Box'>Using jQuery and XML to Populate a Drop-Down Box</a> <small>Building on the post Reading XML with jQuery, I have...</small></li></ol></p><p>Related posts brought to you by <a
href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>
<p><a href="http://feedads.g.doubleclick.net/~a/QOTRYlL2DmeYRcaVgHGcLLJ7dUw/0/da"><img src="http://feedads.g.doubleclick.net/~a/QOTRYlL2DmeYRcaVgHGcLLJ7dUw/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/QOTRYlL2DmeYRcaVgHGcLLJ7dUw/1/da"><img src="http://feedads.g.doubleclick.net/~a/QOTRYlL2DmeYRcaVgHGcLLJ7dUw/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://think2loud.com/start-jquery-selectors/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://think2loud.com/start-jquery-selectors/</feedburner:origLink></item> <item><title>jQuery’s document.ready(), What is it and Why is it Useful?</title><link>http://feedproxy.google.com/~r/Think2loud/~3/Tg36aFrRP0E/</link> <comments>http://think2loud.com/jquery-document-ready-howto/#comments</comments> <pubDate>Mon, 31 Aug 2009 14:13:28 +0000</pubDate> <dc:creator>Jared</dc:creator> <category><![CDATA[Code 101]]></category> <category><![CDATA[jQuery]]></category><guid isPermaLink="false">http://think2loud.com/?p=653</guid> <description><![CDATA[The document.ready() function is the first thing anyone should learn about jQuery.  This function will allow you to take all that ugly behavioral javascript out of your markup.Related posts:<ol><li><a
href='http://think2loud.com/use-jquery-with-google-analytics-to-track-clicks-on-outgoing-links-from-your-site/' rel='bookmark' title='Permanent Link: Use jQuery with Google Analytics to Track Clicks on Outgoing Links From Your Site.'>Use jQuery with Google Analytics to Track Clicks on Outgoing Links From Your Site.</a> <small>So you have a nice site or blog with lots...</small></li><li><a
href='http://think2loud.com/adding-twitter-to-your-site-with-jquery-part-1/' rel='bookmark' title='Permanent Link: Adding Twitter to your site with jQuery Part 1'>Adding Twitter to your site with jQuery Part 1</a> <small>This series of articles will explain how to retrieve information...</small></li><li><a
href='http://think2loud.com/start-jquery-selectors/' rel='bookmark' title='Permanent Link: Where to Start with jQuery Selectors'>Where to Start with jQuery Selectors</a> <small>With jQuery there are many ways to select elements. We...</small></li></ol>Related posts brought to you by <a
href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description> <content:encoded><![CDATA[<p>Lets face it, nobody likes all those javascript:void(0); in the anchors href.  As for that body &#8220;onload&#8221; function call, can that too, its no good.  All that ugly code in the markup is just plain bad news.</p><p>With jQuery and document.ready() you can put all your event driven javascript in one file, making it easy to maintain and upgrade later.  The document.ready() function works just as the name implies.  Document refers to the DOM, or Document Object Model, while in this case &#8220;ready&#8221; refers to when the DOM is registered by the browser.</p><p>Before we start, make sure you have jQuery included on your page.  For a quick refresh on how that&#8217;s done, <a
href="http://think2loud.com/jquery-101-adding-jquery-to-your-website/">click here</a>.</p><p>Using the document.ready() function is really easy.  Check out this example:</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">	$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #006600; font-style: italic;">//insert code here</span>
		<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;this will flre when the DOM is loaded.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p>As with most code, there is a shorthand version of the document.ready() function.  In jQuery, any function passed to the jQuery object will be bound to the document.ready() function, as seen below.</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">	$<span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #006600; font-style: italic;">//insert code here</span>
		<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;this will work the same as the code above.&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p>This is how you would add a click event to all the anchor tags on your page using the document.ready() function.</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">	$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		$<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'a'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">click</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			<span style="color: #000066;">alert</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;you clicked me!&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p>That&#8217;s all there is to it.  Are you having an issue with jQuery, or any code you need some help on?  Have an idea for an article you&#8217;d like to see?  Feel free to leave a comment with any questions or suggestions.</p><p>Related posts:<ol><li><a
href='http://think2loud.com/use-jquery-with-google-analytics-to-track-clicks-on-outgoing-links-from-your-site/' rel='bookmark' title='Permanent Link: Use jQuery with Google Analytics to Track Clicks on Outgoing Links From Your Site.'>Use jQuery with Google Analytics to Track Clicks on Outgoing Links From Your Site.</a> <small>So you have a nice site or blog with lots...</small></li><li><a
href='http://think2loud.com/adding-twitter-to-your-site-with-jquery-part-1/' rel='bookmark' title='Permanent Link: Adding Twitter to your site with jQuery Part 1'>Adding Twitter to your site with jQuery Part 1</a> <small>This series of articles will explain how to retrieve information...</small></li><li><a
href='http://think2loud.com/start-jquery-selectors/' rel='bookmark' title='Permanent Link: Where to Start with jQuery Selectors'>Where to Start with jQuery Selectors</a> <small>With jQuery there are many ways to select elements. We...</small></li></ol></p><p>Related posts brought to you by <a
href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>
<p><a href="http://feedads.g.doubleclick.net/~a/cHEUe5CmoTs6oFL7lijSLQIMVBc/0/da"><img src="http://feedads.g.doubleclick.net/~a/cHEUe5CmoTs6oFL7lijSLQIMVBc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/cHEUe5CmoTs6oFL7lijSLQIMVBc/1/da"><img src="http://feedads.g.doubleclick.net/~a/cHEUe5CmoTs6oFL7lijSLQIMVBc/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://think2loud.com/jquery-document-ready-howto/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://think2loud.com/jquery-document-ready-howto/</feedburner:origLink></item> <item><title>Adding Twitter to your site with jQuery Part 2</title><link>http://feedproxy.google.com/~r/Think2loud/~3/gLiURf-3m6Q/</link> <comments>http://think2loud.com/adding-twitter-site-jquery-part-2/#comments</comments> <pubDate>Sun, 23 Aug 2009 02:41:53 +0000</pubDate> <dc:creator>Jared</dc:creator> <category><![CDATA[jQuery]]></category><guid isPermaLink="false">http://think2loud.com/?p=565</guid> <description><![CDATA[This series of articles will explain how to retrieve information from Twitter using their API, and ways you can display it on your website in an attractive way. In Part 2 we will add some simple CSS to the tweet to make it look nice, and display all the data the twitter API returns.Related posts:<ol><li><a
href='http://think2loud.com/adding-twitter-to-your-site-with-jquery-part-1/' rel='bookmark' title='Permanent Link: Adding Twitter to your site with jQuery Part 1'>Adding Twitter to your site with jQuery Part 1</a> <small>This series of articles will explain how to retrieve information...</small></li><li><a
href='http://think2loud.com/adding-twitter-to-your-website-with-javascript/' rel='bookmark' title='Permanent Link: Adding Twitter to Your Web Site with JavaScript'>Adding Twitter to Your Web Site with JavaScript</a> <small>Today at work we needed to pull our Twitter feed...</small></li><li><a
href='http://think2loud.com/using-jquery-and-xml-to-populate-a-drop-down-box/' rel='bookmark' title='Permanent Link: Using jQuery and XML to Populate a Drop-Down Box'>Using jQuery and XML to Populate a Drop-Down Box</a> <small>Building on the post Reading XML with jQuery, I have...</small></li></ol>Related posts brought to you by <a
href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description> <content:encoded><![CDATA[<p>As a special bonus for all four of you who will read this post, i&#8217;ve also built this into a jQuery plugin.  First we will start by changing what we did in the last post a bit by creating a unordered list to hold the tweets.</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">	<span style="color: #003366; font-weight: bold;">var</span> $tweetContainer <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;ul&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
                                         .<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;id&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;tweet-cont&quot;</span><span style="color: #009900;">&#41;</span>
       					.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;tweet-cont&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	base.$el.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span>$tweetContainer<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p>We will use each list item to hold the tweet data. I added an if statement that will add a class to easily style even and odd tweets, and then we add the code to include the users Twitter avatar and the tweet text.</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">	<span style="color: #003366; font-weight: bold;">var</span> tweetClass <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;odd&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>i<span style="color: #339933;">%</span>2 <span style="color: #339933;">==</span> <span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		tweetClass <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;even&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span>
&nbsp;
     <span style="color: #003366; font-weight: bold;">var</span> $tweet <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;li&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
                  .<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;id&quot;</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;tweet_&quot;</span><span style="color: #339933;">+</span>tweets<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">id</span><span style="color: #009900;">&#41;</span>
                  .<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span>tweetClass<span style="color: #009900;">&#41;</span>
                  .<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;tweet&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
     $tweetContainer.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span>$tweet<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
     <span style="color: #003366; font-weight: bold;">var</span> $tweetPhoto <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;img&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
                  	 	.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;avatar&quot;</span><span style="color: #009900;">&#41;</span>
                  	 	.<span style="color: #660066;">attr</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;src&quot;</span><span style="color: #339933;">,</span>tweets<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">profile_image_url</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
     $tweet.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span>$tweetPhoto<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
     <span style="color: #003366; font-weight: bold;">var</span> $tweetDesc <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
                  	 	.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;text&quot;</span><span style="color: #009900;">&#41;</span>
                  	 	.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&lt;a href='http://www.twitter.com/&quot;</span><span style="color: #339933;">+</span>tweets<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">from_user</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;' target='_blank'&gt;&quot;</span><span style="color: #339933;">+</span>tweets<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">from_user</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;&lt;/a&gt;: &quot;</span> <span style="color: #339933;">+</span> base.<span style="color: #660066;">replaceURLs</span><span style="color: #009900;">&#40;</span>tweets<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">text</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>		
     $tweet.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span>$tweetDesc<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p>You&#8217;ll notice there&#8217;s a function in there called replaceURLs:</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">	base.<span style="color: #660066;">replaceURLs</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>text<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		text <span style="color: #339933;">=</span> text.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span>base.<span style="color: #660066;">options</span>.<span style="color: #660066;">aTagRegexp</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;&lt;a href='$1' target='_blank'&gt;$1&lt;/a&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		text <span style="color: #339933;">=</span> text.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span>base.<span style="color: #660066;">options</span>.<span style="color: #660066;">userRegexp</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;$1&lt;a class='user' href='http://www.twitter.com/$2' target='_blank'&gt;@$2&lt;/a&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		text <span style="color: #339933;">=</span> text.<span style="color: #660066;">replace</span><span style="color: #009900;">&#40;</span>base.<span style="color: #660066;">options</span>.<span style="color: #660066;">hashtagRegexp</span><span style="color: #339933;">,</span><span style="color: #3366CC;">&quot;$1&lt;a class='hashtag' href='http://search.twitter.com/search?q=%23$2' target='_blank'&gt;#$2&lt;/a&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">return</span> text<span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span></pre></div></div><p>This function will search through the text of the tweet and take urls and make them clickable, as well as finding twitter users and hash tags and linking those correctly as well.</p><p>Now we need to display when the tweet was created.  That should be too bad right, we just create an element and use it to display the date.  Normally when working with dates i&#8217;d say that was OK, except twitter is all about instant gratification.  We want to know what&#8217;s happening and how long ago it was when it happened.  Its for this reason we need a little extra code so we can display when a tweet was created in relation to the current time.</p><p>First we need to get some values to compare the tweets created date against:</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">	<span style="color: #003366; font-weight: bold;">var</span> minDiff <span style="color: #339933;">=</span> Math.<span style="color: #660066;">ceil</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>today.<span style="color: #660066;">getTime</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-</span>tweetDate.<span style="color: #660066;">getTime</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">/</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">60</span><span style="color: #339933;">*</span><span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	<span style="color: #003366; font-weight: bold;">var</span> hourDiff <span style="color: #339933;">=</span> Math.<span style="color: #660066;">ceil</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>today.<span style="color: #660066;">getTime</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-</span>tweetDate.<span style="color: #660066;">getTime</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">/</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">60</span><span style="color: #339933;">*</span><span style="color: #CC0000;">60</span><span style="color: #339933;">*</span><span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    	<span style="color: #003366; font-weight: bold;">var</span> dayDiff <span style="color: #339933;">=</span> Math.<span style="color: #660066;">ceil</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>today.<span style="color: #660066;">getTime</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-</span>tweetDate.<span style="color: #660066;">getTime</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">/</span><span style="color: #009900;">&#40;</span><span style="color: #CC0000;">24</span><span style="color: #339933;">*</span><span style="color: #CC0000;">60</span><span style="color: #339933;">*</span><span style="color: #CC0000;">60</span><span style="color: #339933;">*</span><span style="color: #CC0000;">1000</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p>Then all we need to do is write our compare logic.  The seconds and minutes are obvious choices, but choosing when to stop displaying a message like &#8220;2 days ago&#8221; vs displaying the tweet date is up to you.  For the plugin I went with 5 days.  We will also be providing a link to the app used to post the tweet, very helpful considering there are about 800,000 different apps out there.</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">	<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>minDiff <span style="color: #339933;">&lt;</span> <span style="color: #CC0000;">59</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		timeDiff <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;&lt;div class='time'&gt;about &quot;</span><span style="color: #339933;">+</span>minDiff<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot; minutes ago from &quot;</span><span style="color: #339933;">+</span>base.<span style="color: #660066;">fixEncHTML</span><span style="color: #009900;">&#40;</span>tweets<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">source</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span>
     <span style="color: #009900;">&#125;</span><span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>hourDiff <span style="color: #339933;">&lt;</span> <span style="color: #CC0000;">24</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
         timeDiff <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;&lt;div class='time'&gt;about &quot;</span><span style="color: #339933;">+</span>hourDiff<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot; hours ago from &quot;</span><span style="color: #339933;">+</span>base.<span style="color: #660066;">fixEncHTML</span><span style="color: #009900;">&#40;</span>tweets<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">source</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span>
     <span style="color: #009900;">&#125;</span><span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>dayDiff <span style="color: #339933;">&lt;</span> <span style="color: #CC0000;">5</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
         timeDiff <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;&lt;div class='time'&gt;&quot;</span><span style="color: #339933;">+</span>dayDiff<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot; days ago from &quot;</span><span style="color: #339933;">+</span>base.<span style="color: #660066;">fixEncHTML</span><span style="color: #009900;">&#40;</span>tweets<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">source</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span>
     <span style="color: #009900;">&#125;</span><span style="color: #000066; font-weight: bold;">else</span><span style="color: #009900;">&#123;</span>
         <span style="color: #003366; font-weight: bold;">var</span> AMPM <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;PM&quot;</span><span style="color: #339933;">;</span>
         <span style="color: #003366; font-weight: bold;">var</span> myHours<span style="color: #339933;">;</span>
         <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>tweetDate.<span style="color: #660066;">getHours</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&lt;</span> <span style="color: #CC0000;">12</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
         		AMPM <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;AM&quot;</span><span style="color: #339933;">;</span>
          	<span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>tweetDate.<span style="color: #660066;">getHours</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #CC0000;">0</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
                  	 myHours <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;12&quot;</span><span style="color: #339933;">;</span>
              <span style="color: #009900;">&#125;</span><span style="color: #000066; font-weight: bold;">else</span><span style="color: #009900;">&#123;</span>
              	myHours <span style="color: #339933;">=</span> tweetDate.<span style="color: #660066;">getHours</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
              <span style="color: #009900;">&#125;</span>
         <span style="color: #009900;">&#125;</span><span style="color: #000066; font-weight: bold;">else</span><span style="color: #009900;">&#123;</span>
         		myHours <span style="color: #339933;">=</span> tweetDate.<span style="color: #660066;">getHours</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-</span><span style="color: #CC0000;">12</span><span style="color: #339933;">;</span>
         <span style="color: #009900;">&#125;</span>
&nbsp;
         <span style="color: #003366; font-weight: bold;">var</span> myDate <span style="color: #339933;">=</span> tweetDate.<span style="color: #660066;">getDate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;th&quot;</span><span style="color: #339933;">;</span>
         <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>tweetDate.<span style="color: #660066;">getDate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #CC0000;">1</span> <span style="color: #339933;">||</span> tweetDate.<span style="color: #660066;">getDate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #CC0000;">21</span> <span style="color: #339933;">||</span> tweetDate.<span style="color: #660066;">getDate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #CC0000;">31</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
         		myDate <span style="color: #339933;">=</span> tweetDate.<span style="color: #660066;">getDate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;st&quot;</span><span style="color: #339933;">;</span>
         <span style="color: #009900;">&#125;</span><span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>tweetDate.<span style="color: #660066;">getDate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #CC0000;">2</span> <span style="color: #339933;">||</span> tweetDate.<span style="color: #660066;">getDate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #CC0000;">22</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
         		myDate <span style="color: #339933;">=</span> tweetDate.<span style="color: #660066;">getDate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;nd&quot;</span><span style="color: #339933;">;</span>
         <span style="color: #009900;">&#125;</span><span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>tweetDate.<span style="color: #660066;">getDate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #CC0000;">3</span> <span style="color: #339933;">||</span> tweetDate.<span style="color: #660066;">getDate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #CC0000;">23</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
         		myDate <span style="color: #339933;">=</span> tweetDate.<span style="color: #660066;">getDate</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;rd&quot;</span><span style="color: #339933;">;</span>
  		<span style="color: #009900;">&#125;</span>
         timeDiff <span style="color: #339933;">=</span> <span style="color: #3366CC;">&quot;&lt;div class='time'&gt;&quot;</span><span style="color: #339933;">+</span>myHours<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;:&quot;</span><span style="color: #339933;">+</span>tweetDate.<span style="color: #660066;">getMinutes</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot; &quot;</span><span style="color: #339933;">+</span>AMPM<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot; &quot;</span><span style="color: #339933;">+</span>base.<span style="color: #660066;">months</span><span style="color: #009900;">&#91;</span>tweetDate.<span style="color: #660066;">getMonth</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot; &quot;</span><span style="color: #339933;">+</span>myDate<span style="color: #339933;">+</span><span style="color: #3366CC;">&quot; from &quot;</span><span style="color: #339933;">+</span>base.<span style="color: #660066;">fixEncHTML</span><span style="color: #009900;">&#40;</span>tweets<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">source</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;&lt;/div&gt;&quot;</span><span style="color: #339933;">;</span>
	<span style="color: #009900;">&#125;</span></pre></div></div><p>Finally, we can add a couple useful links that will help users view and reply to the tweets:</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">	<span style="color: #003366; font-weight: bold;">var</span> $tweetLinks <span style="color: #339933;">=</span> $<span style="color: #009900;">&#40;</span>document.<span style="color: #660066;">createElement</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;div&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span>
					.<span style="color: #660066;">addClass</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;links&quot;</span><span style="color: #009900;">&#41;</span>
                  	 	.<span style="color: #660066;">html</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&lt;a href='http://www.twitter.com/home?status=@&quot;</span><span style="color: #339933;">+</span>tweets<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">from_user</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;' target='_blank'&gt;Reply&lt;/a&gt;&amp;nbsp;&amp;middot;&amp;nbsp;&lt;a href='http://www.twitter.com/&quot;</span><span style="color: #339933;">+</span>tweets<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">from_user</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;/statuses/&quot;</span><span style="color: #339933;">+</span>tweets<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">id</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;' target='_blank'&gt;View Tweet&lt;/a&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	$tweet.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span>$tweetLinks<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p>Thats all it takes to write out a tweet, al this code will get you something that looks like this (i know, the colors are awful):</p><p><img
src="http://think2loud.com/wp-content/uploads/2009/08/tweets-example.png" alt="tweets example.png" border="0" width="417" height="442" /></p><p>That was a bunch of code.  I hope you enjoyed this series of posts, and I promise if I ever do a series of posts again i&#8217;ll write them all first before posting <img
src='http://think2loud.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p><p>Check out this quick <a
href="http://jaredharbour.com/tweet/">demo</a> and of course, the <a
href="http://jaredharbour.com/tweet/script/jquery.tweets.js">plugin source code</a>.</p><p>Related posts:<ol><li><a
href='http://think2loud.com/adding-twitter-to-your-site-with-jquery-part-1/' rel='bookmark' title='Permanent Link: Adding Twitter to your site with jQuery Part 1'>Adding Twitter to your site with jQuery Part 1</a> <small>This series of articles will explain how to retrieve information...</small></li><li><a
href='http://think2loud.com/adding-twitter-to-your-website-with-javascript/' rel='bookmark' title='Permanent Link: Adding Twitter to Your Web Site with JavaScript'>Adding Twitter to Your Web Site with JavaScript</a> <small>Today at work we needed to pull our Twitter feed...</small></li><li><a
href='http://think2loud.com/using-jquery-and-xml-to-populate-a-drop-down-box/' rel='bookmark' title='Permanent Link: Using jQuery and XML to Populate a Drop-Down Box'>Using jQuery and XML to Populate a Drop-Down Box</a> <small>Building on the post Reading XML with jQuery, I have...</small></li></ol></p><p>Related posts brought to you by <a
href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>
<p><a href="http://feedads.g.doubleclick.net/~a/31COZxJz7wJxhNGFeuN0xxzVWNY/0/da"><img src="http://feedads.g.doubleclick.net/~a/31COZxJz7wJxhNGFeuN0xxzVWNY/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/31COZxJz7wJxhNGFeuN0xxzVWNY/1/da"><img src="http://feedads.g.doubleclick.net/~a/31COZxJz7wJxhNGFeuN0xxzVWNY/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://think2loud.com/adding-twitter-site-jquery-part-2/feed/</wfw:commentRss> <slash:comments>4</slash:comments> <feedburner:origLink>http://think2loud.com/adding-twitter-site-jquery-part-2/</feedburner:origLink></item> <item><title>jQuery 101: Adding jQuery to Your Website</title><link>http://feedproxy.google.com/~r/Think2loud/~3/oh_AGRymUYE/</link> <comments>http://think2loud.com/jquery-101-adding-jquery-to-your-website/#comments</comments> <pubDate>Thu, 20 Aug 2009 15:54:10 +0000</pubDate> <dc:creator>Josh</dc:creator> <category><![CDATA[Code 101]]></category> <category><![CDATA[jQuery]]></category> <category><![CDATA[Basics]]></category> <category><![CDATA[JavaScript]]></category><guid isPermaLink="false">http://think2loud.com/?p=576</guid> <description><![CDATA[Everyone has to start somewhere. So lets get you setup to begin learning jQuery. The first thing you will need to do is get jQuery setup and running on your site. Now let's get started.Related posts:<ol><li><a
href='http://think2loud.com/using-jquery-and-xml-to-populate-a-drop-down-box/' rel='bookmark' title='Permanent Link: Using jQuery and XML to Populate a Drop-Down Box'>Using jQuery and XML to Populate a Drop-Down Box</a> <small>Building on the post Reading XML with jQuery, I have...</small></li><li><a
href='http://think2loud.com/use-jquery-with-google-analytics-to-track-clicks-on-outgoing-links-from-your-site/' rel='bookmark' title='Permanent Link: Use jQuery with Google Analytics to Track Clicks on Outgoing Links From Your Site.'>Use jQuery with Google Analytics to Track Clicks on Outgoing Links From Your Site.</a> <small>So you have a nice site or blog with lots...</small></li><li><a
href='http://think2loud.com/reading-xml-with-jquery/' rel='bookmark' title='Permanent Link: Reading XML with jQuery'>Reading XML with jQuery</a> <small>Welcome to my first of many articles for Think2Loud! Today...</small></li></ol>Related posts brought to you by <a
href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description> <content:encoded><![CDATA[<h2>The traditional jQuery Setup</h2><h3>1. Download the files</h3><p>Make a trip over to the jQuery site and download the latest version or follow this <a
rel="external code jquery">link to the download page</a>. You will want to grab the minified version of the code to save on bandwidth.</p><h3>2. Add the script to your site</h3><p>In the root folder of your site make a new folder called js. Then add the freshly downloaded jQuery script file to this folder. With the files in place you will need to add the script to your pages.</p><p>Open up one of you pages on your site and make you way to the head section of the page. Now copy the script tag below and paste in the head area of your files.</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;/js/jquery-1.3.2.min.jss&quot;</span> type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div><p>Once your script tag is in place you are ready to start using jQuery.</p><h2>Using hosted files from Google</h2><p>Google offers a great service. They host several of the most popular javascript library&#8217;s. This works well for sites that want to save on bandwidth or always have to latest code. Google offers several different ways to link to the script files. We are just going to use the direct link method. For more on the options of linking to these files check out the <a
href="http://code.google.com/apis/ajaxlibs/documentation/" rel="external google">Google AJAX Libraries API</a>.</p><h3>1. Choose your version</h3><p>There are a few options you have for choosing what version of jQuery you would like to link to. You can link to the main version of 1. This will keep your code updated to any subversions of 1. You could link to 1.3 this would keep your site running on the latest subversion of 1.3. Lastly you can link directly to the version you want to use.</p><h4>Link to current subversion of version 1</h4><p> <a
href="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" rel="external">http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js</a></p><p><h4>Link to current subversion of version 1.3</h4><p> <a
href="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" rel="external">http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js</a></p><p><h4>Link to current version 1.3.2</h4><p> <a
href="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" rel="external">http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js</a></p><p><h4>Link to older version 1.3.1</h4><p> <a
href="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js" rel="external">http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js</a></p><p><h3>2. Add the script to your site</h3><p>I recommend you link to the current version that you know works with all of your code. So below is the script tag that you can place in the head section of your site. The script tag loads the current version as of this posting jQuery 1.3.2.</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span> src<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js&quot;</span><span style="color: #339933;">&gt;&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div><p>This will get you started on your path to learning jQuery. Look for more jQuery basics to come and also check out some of the resources listed below.</p><ul><li><a
href="http://docs.jquery.com/Main_Page" rel="external">The jQuery Docs</a></li><li><a
href="http://www.learningjquery.com/" rel="external">Learning jQuery</a></li><li><a
href="http://jqueryfordesigners.com" rel="external">jQuery for Designers</a></li><li><a
href="http://www.webdesignerwall.com/tutorials/jquery-tutorials-for-designers/">jQuery Tutorials for Designers</a></li></ul><p>Related posts:<ol><li><a
href='http://think2loud.com/using-jquery-and-xml-to-populate-a-drop-down-box/' rel='bookmark' title='Permanent Link: Using jQuery and XML to Populate a Drop-Down Box'>Using jQuery and XML to Populate a Drop-Down Box</a> <small>Building on the post Reading XML with jQuery, I have...</small></li><li><a
href='http://think2loud.com/use-jquery-with-google-analytics-to-track-clicks-on-outgoing-links-from-your-site/' rel='bookmark' title='Permanent Link: Use jQuery with Google Analytics to Track Clicks on Outgoing Links From Your Site.'>Use jQuery with Google Analytics to Track Clicks on Outgoing Links From Your Site.</a> <small>So you have a nice site or blog with lots...</small></li><li><a
href='http://think2loud.com/reading-xml-with-jquery/' rel='bookmark' title='Permanent Link: Reading XML with jQuery'>Reading XML with jQuery</a> <small>Welcome to my first of many articles for Think2Loud! Today...</small></li></ol></p><p>Related posts brought to you by <a
href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>
<p><a href="http://feedads.g.doubleclick.net/~a/lD1-D8fCsDljaI40bJllcYKq3sU/0/da"><img src="http://feedads.g.doubleclick.net/~a/lD1-D8fCsDljaI40bJllcYKq3sU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/lD1-D8fCsDljaI40bJllcYKq3sU/1/da"><img src="http://feedads.g.doubleclick.net/~a/lD1-D8fCsDljaI40bJllcYKq3sU/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://think2loud.com/jquery-101-adding-jquery-to-your-website/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://think2loud.com/jquery-101-adding-jquery-to-your-website/</feedburner:origLink></item> <item><title>Harness the Power of the WordPress Post Class Function and Style Those Sticky Posts</title><link>http://feedproxy.google.com/~r/Think2loud/~3/KR49w6yPB_g/</link> <comments>http://think2loud.com/harness-the-power-of-the-wordpress-post-class-function-and-style-those-sticky-posts/#comments</comments> <pubDate>Wed, 12 Aug 2009 02:22:24 +0000</pubDate> <dc:creator>Josh</dc:creator> <category><![CDATA[WordPress]]></category><guid isPermaLink="false">http://think2loud.com/?p=512</guid> <description><![CDATA[The sticky post functionality in WordPress uses the post class function introduced in WordPress 2.7 to style your sticky post with css. In order to have your sticky posts styled different than your regular posts, you need to have the post class function in your theme within the post loop.Related posts:<ol><li><a
href='http://think2loud.com/flash-tween-classes/' rel='bookmark' title='Permanent Link: A List of Tweening Classes for Flash'>A List of Tweening Classes for Flash</a> <small>There are a lot of great options for tweening in...</small></li><li><a
href='http://think2loud.com/8-must-have-wordpress-plugins-to-improve-seo-speed-and-security/' rel='bookmark' title='Permanent Link: 8 Must-Have WordPress Plugins to Improve SEO, Speed, and Security'>8 Must-Have WordPress Plugins to Improve SEO, Speed, and Security</a> <small>Plugins are one of the things that make WordPress great....</small></li><li><a
href='http://think2loud.com/using-jquery-and-xml-to-populate-a-drop-down-box/' rel='bookmark' title='Permanent Link: Using jQuery and XML to Populate a Drop-Down Box'>Using jQuery and XML to Populate a Drop-Down Box</a> <small>Building on the post Reading XML with jQuery, I have...</small></li></ol>Related posts brought to you by <a
href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description> <content:encoded><![CDATA[<h2>What is a sticky post and why would I use it?</h2><p>A sticky post is a post that is plucked out from its publish date and moved to the front of your blog. This will keep the post on your homepage so you can increase the visibility of that post. Sticky posts have many uses&#8211;one would be if you were having a giveaway. You could stick that post to your homepage so everyone would see it when they visit your blog. Then, once the contest is over, you remove the sticky post option and the post falls back in line to when it was published.</p><h2>Adding the post class function to your theme</h2><p>Within the post loop there should be some code that looks something like what is below:</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;">&lt;div id=&quot;post-<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; class=&quot;post&quot;&gt;
	Rest of loop here	
&lt;div&gt;</pre></div></div><p>Now some themes use more than one class to style their posts. You could have a setup like the following where you have not only a post class but also a box class. Thankfully for you they have made it very easy to add that class into the post_class function.</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;">&lt;div id=&quot;post-<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; class=&quot;post box&quot;&gt;
	Rest of loop here	
&lt;div&gt;</pre></div></div><p>To update the theme all we need to do is replace class=&#8221;post&#8221; with our function call. Your updated post loop will now look like.</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;">&lt;div id=&quot;post-<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; <span style="color: #000000; font-weight: bold;">&lt;?php</span> post_class<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&gt;
	Rest of loop here	
&lt;div&gt;</pre></div></div><p>If you need that extra class like the second example that also uses the box class. All you need to do is pass that class name into the post class function.</p><div
class="wp_syntax"><div
class="code"><pre class="php" style="font-family:monospace;">&lt;div id=&quot;post-<span style="color: #000000; font-weight: bold;">&lt;?php</span> the_ID<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; <span style="color: #000000; font-weight: bold;">&lt;?php</span> post_class<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'box'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&gt;
	Rest of loop here	
&lt;div&gt;</pre></div></div><p>That is it for updating the code within your theme.</p><h2>Adding style to your sticky post</h2><p>The post class function will automatically add a class of sticky to any post marked as such in the post admin screen. So in your style sheet you will need to add some styles for this new class. Here we just added a different background color to our sticky posts.</p><div
class="wp_syntax"><div
class="code"><pre class="css" style="font-family:monospace;">.sticky<span style="color: #00AA00;">&#123;</span>
	<span style="color: #000000; font-weight: bold;">background-color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#c2c2c2</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div><h2>Marking a post as sticky</h2><div
class="fl pic2"><img
src="http://think2loud.com/wp-content/uploads/2009/08/stick-post-edit-window1.png" alt="stick-post-edit-window.png" border="0" width="280" height="306" /></div><p>In WordPress 2.8, make your way to the edit screen for the post you would like to make sticky. You&#8217;ll then see a box like the one to the left with the visibilty section closed. Click the edit link and you will now see the checkbox. That&#8217;s all it takes to take advantage of sticky posts in WordPress.</p><p
class="clear">Be sure to check out the <a
href="http://codex.wordpress.org/Main_Page" target="_blank">WordPress Codex</a> to find more info on all the functions available in WordPress.</p><p>Related posts:<ol><li><a
href='http://think2loud.com/flash-tween-classes/' rel='bookmark' title='Permanent Link: A List of Tweening Classes for Flash'>A List of Tweening Classes for Flash</a> <small>There are a lot of great options for tweening in...</small></li><li><a
href='http://think2loud.com/8-must-have-wordpress-plugins-to-improve-seo-speed-and-security/' rel='bookmark' title='Permanent Link: 8 Must-Have WordPress Plugins to Improve SEO, Speed, and Security'>8 Must-Have WordPress Plugins to Improve SEO, Speed, and Security</a> <small>Plugins are one of the things that make WordPress great....</small></li><li><a
href='http://think2loud.com/using-jquery-and-xml-to-populate-a-drop-down-box/' rel='bookmark' title='Permanent Link: Using jQuery and XML to Populate a Drop-Down Box'>Using jQuery and XML to Populate a Drop-Down Box</a> <small>Building on the post Reading XML with jQuery, I have...</small></li></ol></p><p>Related posts brought to you by <a
href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>
<p><a href="http://feedads.g.doubleclick.net/~a/k_HXr8TOTjVITOAvrIXghjX8Up4/0/da"><img src="http://feedads.g.doubleclick.net/~a/k_HXr8TOTjVITOAvrIXghjX8Up4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/k_HXr8TOTjVITOAvrIXghjX8Up4/1/da"><img src="http://feedads.g.doubleclick.net/~a/k_HXr8TOTjVITOAvrIXghjX8Up4/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://think2loud.com/harness-the-power-of-the-wordpress-post-class-function-and-style-those-sticky-posts/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://think2loud.com/harness-the-power-of-the-wordpress-post-class-function-and-style-those-sticky-posts/</feedburner:origLink></item> <item><title>8 Must-Have WordPress Plugins to Improve SEO, Speed, and Security</title><link>http://feedproxy.google.com/~r/Think2loud/~3/IVQCicx3sww/</link> <comments>http://think2loud.com/8-must-have-wordpress-plugins-to-improve-seo-speed-and-security/#comments</comments> <pubDate>Thu, 06 Aug 2009 02:01:10 +0000</pubDate> <dc:creator>Josh</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Plugins]]></category> <category><![CDATA[SEO]]></category><guid isPermaLink="false">http://think2loud.com/?p=492</guid> <description><![CDATA[Plugins are one of the things that make WordPress great. You can easily extend the functionality of WordPress without having to know much about PHP.Related posts:<ol><li><a
href='http://think2loud.com/harness-the-power-of-the-wordpress-post-class-function-and-style-those-sticky-posts/' rel='bookmark' title='Permanent Link: Harness the Power of the WordPress Post Class Function and Style Those Sticky Posts'>Harness the Power of the WordPress Post Class Function and Style Those Sticky Posts</a> <small>The sticky post functionality in WordPress uses the post class...</small></li><li><a
href='http://think2loud.com/add-scroll-bars-to-full-browser-flash-with-a-simple-jquery-plugin/' rel='bookmark' title='Permanent Link: Add Scroll Bars to Full Browser Flash with a Simple jQuery Plugin'>Add Scroll Bars to Full Browser Flash with a Simple jQuery Plugin</a> <small>Got a great Flash site? Can it be used by...</small></li><li><a
href='http://think2loud.com/adding-twitter-to-your-website-with-javascript/' rel='bookmark' title='Permanent Link: Adding Twitter to Your Web Site with JavaScript'>Adding Twitter to Your Web Site with JavaScript</a> <small>Today at work we needed to pull our Twitter feed...</small></li></ol>Related posts brought to you by <a
href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description> <content:encoded><![CDATA[<p>These &#8220;Must-Have&#8221; plugins are ones that I find myself using over and over again. The base installation of WordPress is an impressive piece of software and with these plugins, you can take it to the next level. Get your WordPress site running faster, backed up, secure, and search engine optimized with these 8 plugins in minutes. Just a little effort on your part to set up these plugins will go along way to improving your blog&#8217;s traffic.</p><h3>All-in-One SEO Pack</h3><div><a
href="http://wordpress.org/extend/plugins/all-in-one-seo-pack/" class="out" rel="external" >http://wordpress.org/extend/plugins/all-in-one-seo-pack/</a></div><p>Whether or not you are an SEO expert, this is a simple-to-use plugin. The All-in-One SEO Pack plugin optimizes your WordPress blog to help you get the most out of your content.</p><h3>DB Backup</h3><div><a
href="http://wordpress.org/extend/plugins/wp-db-backup/" class="out" rel="external">http://wordpress.org/extend/plugins/wp-db-backup/</a></div><p>Download or email your backup with ease. You can backup and restore almost anything stored in your WordPress database.</p><h3>Google Analyticator</h3><div><a
href="http://wordpress.org/extend/plugins/google-analyticator/" class="out" rel="external">http://wordpress.org/extend/plugins/google-analyticator/</a></div><p>With the ability to add your Google Analytics stats right to your WordPress Dashboard, this plugin is an easy way to track and view all those stats you like to see.</p><h3>Google XML Sitemaps</h3><div><a
href="http://wordpress.org/extend/plugins/google-sitemap-generator/" class="out" rel="external">http://wordpress.org/extend/plugins/google-sitemap-generator/</a></div><p>It doesn&#8217;t get much easier than this to help Google and other search engines find all of your content. Simply install this plugin and generator your XML-sitemap. The plugin will generate a new sitemap every time you add new content.</p><h3>WP-PageNavi</h3><div><a
href="http://wordpress.org/extend/plugins/wp-pagenavi/" class="out" rel="external">http://wordpress.org/extend/plugins/wp-pagenavi/</a></div><p>Add more advanced paging to your WordPress blog without having to know PHP.</p><h3>WP Security Scan</h3><div><a
href="http://wordpress.org/extend/plugins/wp-security-scan/" class="out" rel="external">http://wordpress.org/extend/plugins/wp-security-scan/</a></div><p>Scans your WordPress installation for security risks and makes recommendations on how to fix them.</p><h3>WP Super Cache</h3><div><a
href="http://wordpress.org/extend/plugins/wp-super-cache/" class="out" rel="external">http://wordpress.org/extend/plugins/wp-super-cache/</a></div><p>Speed kills&#8211;well, a lack of speed does anyway. This plugin generates static html files of your WordPress pages and can greatly improve load times.</p><h3>Yet Another Related Posts Plugin</h3><div><a
href="http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/" class="out" rel="external">http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/</a></div><p>Helping you increase those page views. This plugin gives you the ability to show your readers related content on your site.</p><p>Something I missed? Let me know&#8211;I am always on the lookout for a good plugin.</p><p>Related posts:<ol><li><a
href='http://think2loud.com/harness-the-power-of-the-wordpress-post-class-function-and-style-those-sticky-posts/' rel='bookmark' title='Permanent Link: Harness the Power of the WordPress Post Class Function and Style Those Sticky Posts'>Harness the Power of the WordPress Post Class Function and Style Those Sticky Posts</a> <small>The sticky post functionality in WordPress uses the post class...</small></li><li><a
href='http://think2loud.com/add-scroll-bars-to-full-browser-flash-with-a-simple-jquery-plugin/' rel='bookmark' title='Permanent Link: Add Scroll Bars to Full Browser Flash with a Simple jQuery Plugin'>Add Scroll Bars to Full Browser Flash with a Simple jQuery Plugin</a> <small>Got a great Flash site? Can it be used by...</small></li><li><a
href='http://think2loud.com/adding-twitter-to-your-website-with-javascript/' rel='bookmark' title='Permanent Link: Adding Twitter to Your Web Site with JavaScript'>Adding Twitter to Your Web Site with JavaScript</a> <small>Today at work we needed to pull our Twitter feed...</small></li></ol></p><p>Related posts brought to you by <a
href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>
<p><a href="http://feedads.g.doubleclick.net/~a/fx1Y2TtSJ-73d1tgahLhDJCRQIo/0/da"><img src="http://feedads.g.doubleclick.net/~a/fx1Y2TtSJ-73d1tgahLhDJCRQIo/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/fx1Y2TtSJ-73d1tgahLhDJCRQIo/1/da"><img src="http://feedads.g.doubleclick.net/~a/fx1Y2TtSJ-73d1tgahLhDJCRQIo/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://think2loud.com/8-must-have-wordpress-plugins-to-improve-seo-speed-and-security/feed/</wfw:commentRss> <slash:comments>6</slash:comments> <feedburner:origLink>http://think2loud.com/8-must-have-wordpress-plugins-to-improve-seo-speed-and-security/</feedburner:origLink></item> <item><title>Adding Twitter to your site with jQuery Part 1</title><link>http://feedproxy.google.com/~r/Think2loud/~3/GAtFc3dCjrI/</link> <comments>http://think2loud.com/adding-twitter-to-your-site-with-jquery-part-1/#comments</comments> <pubDate>Wed, 22 Jul 2009 23:17:59 +0000</pubDate> <dc:creator>Jared</dc:creator> <category><![CDATA[jQuery]]></category> <category><![CDATA[social media]]></category> <category><![CDATA[Twitter]]></category><guid isPermaLink="false">http://think2loud.com/?p=399</guid> <description><![CDATA[This series of articles will explain how to retrieve information from Twitter using their API, and ways you can display it on your website in an attractive way.  Part one we will go over the basic of the Twitter API and look at some simple code that will print out a list of tweets.Related posts:<ol><li><a
href='http://think2loud.com/json-xml/' rel='bookmark' title='Permanent Link: JSON vs. XML: What Should You Use?'>JSON vs. XML: What Should You Use?</a> <small>Lots of people have asked me this question: which is...</small></li><li><a
href='http://think2loud.com/adding-twitter-site-jquery-part-2/' rel='bookmark' title='Permanent Link: Adding Twitter to your site with jQuery Part 2'>Adding Twitter to your site with jQuery Part 2</a> <small>This series of articles will explain how to retrieve information...</small></li><li><a
href='http://think2loud.com/adding-twitter-to-your-website-with-javascript/' rel='bookmark' title='Permanent Link: Adding Twitter to Your Web Site with JavaScript'>Adding Twitter to Your Web Site with JavaScript</a> <small>Today at work we needed to pull our Twitter feed...</small></li></ol>Related posts brought to you by <a
href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description> <content:encoded><![CDATA[<p>For this example I will use my own tweets, feel free to follow me <a
href="http://www.twitter.com/jaredharbour" target="_blank">@jaredharbour</a>.</p><p><strong>What is Twitter?</strong></p><p>In recent years, social media has become a huge part of peoples lives.  Sites like MySpace, Facebook and LinkedIn (which I sometimes refer to as ‘The Big Three’) allow people from all over the world connect and share their lives and ideas instantly.  Recently Twitter has become the next big addition to the global conversation.  Twitter is unique among the others in that its only function is to accept and display 140 character “micro-blogs”.  Let me get one thing out of the way before we continue, micro-blogging doesn’t mean every message has to be about taking out the trash and mowing the lawn.  There are 5 million+ Twitter users in the world today, and that number will only get bigger.  Now lets get into some code.</p><p><strong>The Twitter API</strong></p><p>The Twitter API attempts to conform to the principals of <a
href="http://en.wikipedia.org/wiki/Representational_State_Transfer" target="_blank">Representational State Transfer</a> or REST.  I&#8217;ll leave it to you to read up on what that means, simply put it means that with the Twitter API you simply need to change the extension to get your results in a different format.</p><div
class="wp_syntax"><div
class="code"><pre class="html" style="font-family:monospace;">http://search.twitter.com/search.format</pre></div></div><p>Since we just want to print out a list of tweets, we will start by using the search function.  The search function will return its results in two formats, XML and JSON.  We will use JSON because in my experience it&#8217;s faster and easier to use than XML.</p><div
class="wp_syntax"><div
class="code"><pre class="html" style="font-family:monospace;">http://search.twitter.com/search.json</pre></div></div><p>For a more in depth look at the search function take a look at the Twitter <a
href="http://apiwiki.twitter.com/Twitter-Search-API-Method%3A-search" target="_blank">documentation</a>.  Now lets get to the jQuery part.  We get to use one of my favorite methods jQuery gives us, <a
href="http://docs.jquery.com/Ajax/jQuery.getJSON" target="_blank">jquery.getJSON</a>.  This handy function will return the JSON via a GET HTTP request, just what the doctor ordered.</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">getJSON</span><span style="color: #009900;">&#40;</span>
    <span style="color: #3366CC;">'http://search.twitter.com/search.json?callback=?&amp;rpp=25&amp;q=from:jaredharbour'</span><span style="color: #339933;">,</span>
    <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>data<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #006600; font-style: italic;">// our code to handle the data here</span>
    <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p>That&#8217;s not all though, we need to get at our data.  jQuery makes it easy with the each function.  This will let us loop through the JSON object with ease. In this case, &#8220;tweets&#8221; becomes our array of data. Then we need to check a few things to make sure we are in the section of the object we want.  This logic isn&#8217;t perfect, but it will work for all the major browsers.  The first and second if statements are to check if there are tweets to look at.  I needed them both because it seems IE was unhappy with accessing the first element, because in some cases there isn&#8217;t one.  The third if statement makes sure that what we&#8217;re looking at is in fact a tweet, and not some random piece of data.</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;">$.<span style="color: #660066;">each</span><span style="color: #009900;">&#40;</span>data<span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>i<span style="color: #339933;">,</span> tweets<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>tweets.<span style="color: #660066;">length</span> <span style="color: #339933;">!=</span> undefined<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
		<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>tweets<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">!=</span> undefined<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
			<span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>tweets<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">created_at</span> <span style="color: #339933;">!=</span> undefined<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
&nbsp;
			<span style="color: #009900;">&#125;</span>
		<span style="color: #009900;">&#125;</span>
	<span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div><p>Now we just need to print out some data.  Just a simple for loop and a document.write and we&#8217;re all set.</p><div
class="wp_syntax"><div
class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">for</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">var</span> i <span style="color: #339933;">=</span> <span style="color: #CC0000;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> tweets.<span style="color: #660066;">length</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    document.<span style="color: #000066; font-weight: bold;">write</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;&lt;div class='tweet'&gt;&quot;</span><span style="color: #339933;">+</span>tweets<span style="color: #009900;">&#91;</span>i<span style="color: #009900;">&#93;</span>.<span style="color: #660066;">text</span><span style="color: #339933;">+</span><span style="color: #3366CC;">&quot;&lt;/div&gt;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div><p>That&#8217;s all there is to it!  In the next post I will get into formatting the tweets to add more functionality.  Here are some of the topics I will cover later in the series.</p><ul><li>Hyperlinking hash tags and users</li><li>Formatting tweet time and date</li><li>Linking to the Twitter app</li></ul><p>Have a question? Looking for something specific?  Leave a comment and I&#8217;ll get back to you!</p><p>Related posts:<ol><li><a
href='http://think2loud.com/json-xml/' rel='bookmark' title='Permanent Link: JSON vs. XML: What Should You Use?'>JSON vs. XML: What Should You Use?</a> <small>Lots of people have asked me this question: which is...</small></li><li><a
href='http://think2loud.com/adding-twitter-site-jquery-part-2/' rel='bookmark' title='Permanent Link: Adding Twitter to your site with jQuery Part 2'>Adding Twitter to your site with jQuery Part 2</a> <small>This series of articles will explain how to retrieve information...</small></li><li><a
href='http://think2loud.com/adding-twitter-to-your-website-with-javascript/' rel='bookmark' title='Permanent Link: Adding Twitter to Your Web Site with JavaScript'>Adding Twitter to Your Web Site with JavaScript</a> <small>Today at work we needed to pull our Twitter feed...</small></li></ol></p><p>Related posts brought to you by <a
href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>
<p><a href="http://feedads.g.doubleclick.net/~a/ej5jnE3D6WSEfWvZsXS2sHWWti4/0/da"><img src="http://feedads.g.doubleclick.net/~a/ej5jnE3D6WSEfWvZsXS2sHWWti4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/ej5jnE3D6WSEfWvZsXS2sHWWti4/1/da"><img src="http://feedads.g.doubleclick.net/~a/ej5jnE3D6WSEfWvZsXS2sHWWti4/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://think2loud.com/adding-twitter-to-your-site-with-jquery-part-1/feed/</wfw:commentRss> <slash:comments>7</slash:comments> <feedburner:origLink>http://think2loud.com/adding-twitter-to-your-site-with-jquery-part-1/</feedburner:origLink></item> <item><title>We're attending the jQuery Conference!</title><link>http://feedproxy.google.com/~r/Think2loud/~3/-y_YMJzglyo/</link> <comments>http://think2loud.com/were-attending-the-jquery-conference/#comments</comments> <pubDate>Wed, 22 Jul 2009 18:15:27 +0000</pubDate> <dc:creator>Jared</dc:creator> <category><![CDATA[jQuery]]></category><guid isPermaLink="false">http://think2loud.com/?p=451</guid> <description><![CDATA[That's Right!  We are signed up to join 298 other web professionals in Cambridge for this years jQuery Conference. The conference will be held September 12th and 13th at <a
href="http://microsoftcambridge.com/Default.aspx" target="_blank">Microsoft New England Research and Development Center</a> in Boston, MA.Related posts:<ol><li><a
href='http://think2loud.com/adding-twitter-to-your-website-with-javascript/' rel='bookmark' title='Permanent Link: Adding Twitter to Your Web Site with JavaScript'>Adding Twitter to Your Web Site with JavaScript</a> <small>Today at work we needed to pull our Twitter feed...</small></li><li><a
href='http://think2loud.com/adding-twitter-to-your-site-with-jquery-part-1/' rel='bookmark' title='Permanent Link: Adding Twitter to your site with jQuery Part 1'>Adding Twitter to your site with jQuery Part 1</a> <small>This series of articles will explain how to retrieve information...</small></li><li><a
href='http://think2loud.com/build-an-unsupported-browser-warning-with-jquery/' rel='bookmark' title='Permanent Link: Build an Unsupported Browser Warning with jQuery'>Build an Unsupported Browser Warning with jQuery</a> <small>Over at CSS-tricks there's an article about blocking Internet Explorer...</small></li></ol>Related posts brought to you by <a
href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description> <content:encoded><![CDATA[<p>We are really excited.  We are waiting to see what topics are going to be covered, but we know there will be a 3 hour seminar for jQuery beginners that at least one of us will check out.  We are also looking forward to meeting other people in the area who use jQuery, maybe exchange some ideas about jQuery or even the web in general.</p><p>If you want some information about this years jQuery conference, check out some of the links i&#8217;ve listed below.  Also check back here for more updates, as we will be posting any new information when we get it.  We will also be posting our live feedback while at the conference via Twitter.  Follow <a
href="http://www/twitter.com/think2loud" target="_blank">@think2loud</a> for all the updates.</p><div><a
href="http://blog.jquery.com/">jQuery Blog</a></div><div><a
href="http://microsoftcambridge.com/Default.aspx" target="_blank">Microsoft New England Research and Development Center</a></div><h4 style="margin-top:10px;">UPDATE!</h4><p>Keep up with the details of the jQuery Conference <a
href="http://events.jquery.com/jquery-conference-2009/" target="_blank">here</a>.  Only a month to go!</p><p>Related posts:<ol><li><a
href='http://think2loud.com/adding-twitter-to-your-website-with-javascript/' rel='bookmark' title='Permanent Link: Adding Twitter to Your Web Site with JavaScript'>Adding Twitter to Your Web Site with JavaScript</a> <small>Today at work we needed to pull our Twitter feed...</small></li><li><a
href='http://think2loud.com/adding-twitter-to-your-site-with-jquery-part-1/' rel='bookmark' title='Permanent Link: Adding Twitter to your site with jQuery Part 1'>Adding Twitter to your site with jQuery Part 1</a> <small>This series of articles will explain how to retrieve information...</small></li><li><a
href='http://think2loud.com/build-an-unsupported-browser-warning-with-jquery/' rel='bookmark' title='Permanent Link: Build an Unsupported Browser Warning with jQuery'>Build an Unsupported Browser Warning with jQuery</a> <small>Over at CSS-tricks there's an article about blocking Internet Explorer...</small></li></ol></p><p>Related posts brought to you by <a
href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>
<p><a href="http://feedads.g.doubleclick.net/~a/AGPQHz1-XiAzPjMuojXa9GiLdj4/0/da"><img src="http://feedads.g.doubleclick.net/~a/AGPQHz1-XiAzPjMuojXa9GiLdj4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/AGPQHz1-XiAzPjMuojXa9GiLdj4/1/da"><img src="http://feedads.g.doubleclick.net/~a/AGPQHz1-XiAzPjMuojXa9GiLdj4/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://think2loud.com/were-attending-the-jquery-conference/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://think2loud.com/were-attending-the-jquery-conference/</feedburner:origLink></item> <item><title>Using Advanced Segments in Google Analytics to Separate Outgoing Links and Downloads from Pageviews</title><link>http://feedproxy.google.com/~r/Think2loud/~3/XGsFweS1Czg/</link> <comments>http://think2loud.com/using-advanced-segments-in-google-analytics-to-separate-outgoing-links-and-downloads-from-pageviews/#comments</comments> <pubDate>Fri, 10 Apr 2009 03:28:40 +0000</pubDate> <dc:creator>Josh</dc:creator> <category><![CDATA[JavaScript]]></category><guid isPermaLink="false">http://think2loud.com/?p=365</guid> <description><![CDATA[If you're like me, you installed the <a
href="http://plugins.spiralwebconsulting.com/analyticator.html">Google Analyticator</a> plugin for your blog or added some other javascript so you could track what outgoing links where clicked. You will have extra pageviews showing in your <a
href="http://www.google.com/analytics/">Google Analytics</a> account that are what I call "ghost pages." These pages don't really exist--they are just place holders for the clicks to other sites or your downloads. To get a more accurate number of pageviews, you can use Advanced Segments to create a new segment that will remove these ghost pages. So go log into your <a
href="http://www.google.com/analytics/">Google Analytics</a> account and let's get started.Related posts:<ol><li><a
href='http://think2loud.com/use-jquery-with-google-analytics-to-track-clicks-on-outgoing-links-from-your-site/' rel='bookmark' title='Permanent Link: Use jQuery with Google Analytics to Track Clicks on Outgoing Links From Your Site.'>Use jQuery with Google Analytics to Track Clicks on Outgoing Links From Your Site.</a> <small>So you have a nice site or blog with lots...</small></li><li><a
href='http://think2loud.com/using-jquery-and-xml-to-populate-a-drop-down-box/' rel='bookmark' title='Permanent Link: Using jQuery and XML to Populate a Drop-Down Box'>Using jQuery and XML to Populate a Drop-Down Box</a> <small>Building on the post Reading XML with jQuery, I have...</small></li><li><a
href='http://think2loud.com/flash-tween-classes/' rel='bookmark' title='Permanent Link: A List of Tweening Classes for Flash'>A List of Tweening Classes for Flash</a> <small>There are a lot of great options for tweening in...</small></li></ol>Related posts brought to you by <a
href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description> <content:encoded><![CDATA[<h2>Creating the Segment</h2><ol><li>Make your way to the dashboard for the site you are tracking.</li><li><p>When you reach the dashboard, you will see a settings section on the left. Click the Advanced Segment(beta) link.</p><p><img
src="http://think2loud.com/wp-content/uploads/2009/04/picture-15.png" alt="Dashboard" title="Dashboard" width="437" height="394" class="alignnone size-full wp-image-372" /></li><li><p>There will now be a link in the upper right that says &#8220;Create new custom segment.&#8221; Click that to start your new segment. You should now be on a page that looks like the one below.</p><p><img
src="http://think2loud.com/wp-content/uploads/2009/04/picture-16.png" alt="Create Segment" title="Create Segment" width="490" height="328" class="alignnone size-full wp-image-368" /></li><li>Under the Dimensions header on the left it&#8217;s probably green. There is a section for content. Pop that open to reveal a list of options.</li><li>Drag the Page box onto the box on the right that says &#8220;dimension or metric.&#8221; Then select &#8220;Does not start with&#8221; from the drop down that appears under the Condition header. Put &#8220;/outgoing&#8221; in the Value text area. This gives you a filter that will get all pages that do not start with &#8220;/outgoing&#8221;</li><li>Now you&#8217;ll need to make another filter in this same segment that also removes the downloads. Click the &#8216;Add &#8220;and&#8221; statement&#8217; link.</li><li>You will now have another &#8220;dimension or metric&#8221; box. You will want to repeat step 5 but change &#8220;/outgoing&#8221; to &#8220;/download&#8221; or whatever you use to mark your downloads.</li><li>Test your segment with the test segment button on the bottom right side of the page.</li><li>Now give your segment a name and hit &#8220;Create.&#8221; I used &#8220;- outgoing/download&#8221; as a name.</li></ol><p>The finished segment should look like this before you hit create.</p><p><a
href="http://think2loud.com/wp-content/uploads/2009/04/picture-18.png"><img
src="http://think2loud.com/wp-content/uploads/2009/04/picture-18-300x215.png" alt="Finished Segment" title="Finished Segment" width="300" height="215" class="alignnone size-medium wp-image-374" /></a></p><h2>Using the Segment</h2><ol><li>Make your way back to the dashboard for your site.</li><li><p>Directly above the date picker on the right in the gray menu box there is a drop down labeled Advanced Segments. Click the drop down to open the Advanced Segments options.</p><p><img
src="http://think2loud.com/wp-content/uploads/2009/04/picture-19.png" alt="Select Segment" title="Select Segment" width="318" height="245" class="alignnone size-full wp-image-377" /></li><li><p>Under custom segments, click the check box next to your new segment you just created. Also leave the all visits default segment checked if you would like to see your unfiltered results.</p><p><img
src="http://think2loud.com/wp-content/uploads/2009/04/picture-23-300x144.png" alt="Segment Options" title="Segment Options" width="300" height="144" class="alignnone size-medium wp-image-379" /></li><li>Hit &#8220;Apply&#8221; and that is it.</li></ol><p>Once all this is done you will be able to quickly find a more accurate count of pageviews.</p><p><img
src="http://think2loud.com/wp-content/uploads/2009/04/picture-24.png" alt="Site Usage" title="Site Usage" width="308" height="235" class="alignnone size-full wp-image-381" /></p><p>Related posts:<ol><li><a
href='http://think2loud.com/use-jquery-with-google-analytics-to-track-clicks-on-outgoing-links-from-your-site/' rel='bookmark' title='Permanent Link: Use jQuery with Google Analytics to Track Clicks on Outgoing Links From Your Site.'>Use jQuery with Google Analytics to Track Clicks on Outgoing Links From Your Site.</a> <small>So you have a nice site or blog with lots...</small></li><li><a
href='http://think2loud.com/using-jquery-and-xml-to-populate-a-drop-down-box/' rel='bookmark' title='Permanent Link: Using jQuery and XML to Populate a Drop-Down Box'>Using jQuery and XML to Populate a Drop-Down Box</a> <small>Building on the post Reading XML with jQuery, I have...</small></li><li><a
href='http://think2loud.com/flash-tween-classes/' rel='bookmark' title='Permanent Link: A List of Tweening Classes for Flash'>A List of Tweening Classes for Flash</a> <small>There are a lot of great options for tweening in...</small></li></ol></p><p>Related posts brought to you by <a
href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>
<p><a href="http://feedads.g.doubleclick.net/~a/DPxsZA1SA8JFT-LDSSI_MMjeUHE/0/da"><img src="http://feedads.g.doubleclick.net/~a/DPxsZA1SA8JFT-LDSSI_MMjeUHE/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/DPxsZA1SA8JFT-LDSSI_MMjeUHE/1/da"><img src="http://feedads.g.doubleclick.net/~a/DPxsZA1SA8JFT-LDSSI_MMjeUHE/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://think2loud.com/using-advanced-segments-in-google-analytics-to-separate-outgoing-links-and-downloads-from-pageviews/feed/</wfw:commentRss> <slash:comments>3</slash:comments> <feedburner:origLink>http://think2loud.com/using-advanced-segments-in-google-analytics-to-separate-outgoing-links-and-downloads-from-pageviews/</feedburner:origLink></item> </channel> </rss><!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk

Served from: think2loud.com @ 2010-03-10 17:10:37 -->
