<?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>John Yerhot - Weblog &#187; digg.com</title>
	<atom:link href="http://www.johnyerhot.com/tag/diggcom/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.johnyerhot.com</link>
	<description>moof</description>
	<lastBuildDate>Mon, 16 Aug 2010 22:11:50 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>rDigg &#8211; Ruby on Rails Digg API plugin</title>
		<link>http://www.johnyerhot.com/2008/08/14/rdigg-ruby-on-rails-digg-api-plugin/</link>
		<comments>http://www.johnyerhot.com/2008/08/14/rdigg-ruby-on-rails-digg-api-plugin/#comments</comments>
		<pubDate>Thu, 14 Aug 2008 20:09:01 +0000</pubDate>
		<dc:creator>John</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby On Rails]]></category>
		<category><![CDATA[digg.com]]></category>
		<category><![CDATA[rDigg]]></category>

		<guid isPermaLink="false">http://www.johnyerhot.com/?p=85</guid>
		<description><![CDATA[I&#8217;ve sort of finished up rDigg today.  It&#8217;s to the point I&#8217;m comfortable letting other people start to play with it anyways.
As you&#8217;d expect, rDigg is a Digg API wrapper in the form of a Ruby on Rails plugin.   It still needs some work, but works pretty well.
For example:
#create new Rdigg object
digg [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve sort of finished up rDigg today.  It&#8217;s to the point I&#8217;m comfortable letting other people start to play with it anyways.</p>
<p>As you&#8217;d expect, rDigg is a <a href="http://digg.com">Digg</a> API wrapper in the form of a Ruby on Rails plugin.   It still needs some work, but works pretty well.</p>
<p>For example:</p>
<pre>#create new Rdigg object
digg = Rdigg.new

# find the 3 newest submissions from Kevin Rose
stories = digg.user.find_submissions("kevinrose", :count =&gt; 3)

# stories is now an array with a hash for each story
stories.first[:story] #=&gt; the story's text
stories.first[:href] #=&gt; the story's url
stories.first[:diggs] #=&gt; number of diggs the story has</pre>
<p>Grab it  at: <a href="http://github.com/johnyerhot/rdigg/tree/master">http://github.com/johnyerhot/rdigg/tree/master</a>.  <del datetime="2008-08-15T01:20:18+00:00">I&#8217;ll have the Rdoc up at rdigg.yerhot.org later tonight</del> You can peruse the documentation at <a href="http://rdigg.yerhot.org">rdigg.yerhot.org</a>. I highly recommend you check out all methods that are available to you.</p>
<p>If you want to really dig in (sorry couldn&#8217;t resist) I&#8217;d go over the <a href="http://apidoc.digg.com/">Digg API wiki</a> to see what arguments you can pass.</p>
<p>I hope you enjoy the plugin!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.johnyerhot.com/2008/08/14/rdigg-ruby-on-rails-digg-api-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
