<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>All Geekness Great and Small &#187; json</title>
	<atom:link href="http://www.danrumney.co.uk/tag/json/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.danrumney.co.uk</link>
	<description>Technology from work and home</description>
	<lastBuildDate>Mon, 26 Jul 2010 03:00:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Build your own TwitterFeed</title>
		<link>http://www.danrumney.co.uk/2009/02/03/build-your-own-twitterfeed/</link>
		<comments>http://www.danrumney.co.uk/2009/02/03/build-your-own-twitterfeed/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 08:04:14 +0000</pubDate>
		<dc:creator>dancrumb</dc:creator>
				<category><![CDATA[Home]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[preDevCamp]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.danrumney.co.uk/?p=58</guid>
		<description><![CDATA[As part of the preDevCamp 2009 site, I created a JavaScript TwitterFeed today. A sample can be seen here. If you leave this page open, it will constantly update with all Twitter tweets that contain the word &#8216;twitter&#8217;. It will update once every 5 seconds and will contain no more than the 25 most recent [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="Twitter Whale" src="http://static.twitter.com/images/whale.png" alt="" width="424" height="318" /></p>
<p>As part of the <a href="http://predevcamp.org">preDevCamp 2009</a> site, I created a JavaScript TwitterFeed today.</p>
<p>A sample <a href="/twitterTest.html">can be seen here</a>. If you leave this page open, it will constantly update with all Twitter tweets that contain the word &#8216;twitter&#8217;. It will update once every 5 seconds and will contain no more than the 25 most recent tweets.</p>
<p>Installing this code into a page of your own is very simple. You will need the following:</p>
<ul>
<li>jQuery must be installed and you must include it in your webpage</li>
<li>tweetFeed.js must be included in your webpage</li>
<li>tweetFeed.css should be included, although the function <strong>will</strong> work without this file</li>
<li>A &lt;div&gt; with an id of &#8216;tweets&#8217; somewhere on the page</li>
</ul>
<p>With all of those in place, it&#8217;s a simple case of instantiating the feed:</p>
<p><code>var tf = new TweetFeed(searchString,feedPeriod,feedLength);</code></p>
<dl>
<dt>searchString</dt>
<dd>This is the string that is used to generate the feed. The feed will contain all tweets containing this word</dd>
<dt>feedPeriod</dt>
<dd>Number of seconds between each refresh of the feed</dd>
<dt>feedLength</dt>
<dd>Maximum number of tweets to show. At the moment, this must be &gt; 15 or else the feed doesn&#8217;t work properly.</dd>
</dl>
<p>All of the relevant code can be found by looking at the example, linked to above. Feel free to use this in any way you like. Comments are welcome</p>
]]></content:encoded>
			<wfw:commentRss>http://www.danrumney.co.uk/2009/02/03/build-your-own-twitterfeed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
