<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Robby on Rails: Tag rss</title>
    <link>http://www.robbyonrails.com/articles/tag/rss</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>thoughts.sort_by{|t| t[:topic]}.collect </description>
    <item>
      <title>Putting Tumblr to work for you</title>
      <description>&lt;p&gt;I&amp;#8217;ve been using &lt;a href="http://tumblr.com"&gt;Tumblr&lt;/a&gt; off and on since early April. I tend to neglect it because I&amp;#8217;ve found the interface a bit clumsy. The recent redesign hasn&amp;#8217;t improved on the things that I consider obstacles in getting things quickly added to my tumblr. Since the concept behind the tumblr is to quickly share things with people, the interface doesn&amp;#8217;t facilitate this workflow as quickly as I think it could.&lt;/p&gt;


	&lt;p&gt;In any event, I tend to not login to my dashboard very often (few times a week?), which means that I don&amp;#8217;t post as often as I&amp;#8217;d like.&lt;/p&gt;


	&lt;p&gt;A few months ago, I finally started to use the Feeds feature in tumblr, which will automatically add things to your tumblr from an &lt;span class="caps"&gt;RSS&lt;/span&gt; feed.&lt;/p&gt;


&lt;div class="thumbnail"&gt;&lt;a href="http://myskitch.com/robbyrussell/tumblr-20071219-120651/"&gt;&lt;img src="http://myskitch.com/robbyrussell/tumblr-20071219-120651.jpg/preview.jpg" alt="Tumblr" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a style="font-family: Lucida Grande, Trebuchet, sans-serif, Helvetica, Arial; font-size: 10px; color: #808080" href="http://plasq.com/skitch"&gt;Uploaded with Skitch!&lt;/a&gt;&lt;/div&gt;

	&lt;p&gt;The first feed that I started to use was &lt;a href="http://flickr.com/photos/robbyrussell"&gt;my Flickr account&lt;/a&gt;.&lt;/p&gt;


	&lt;h2&gt;Flickr to Tumblr&lt;/h2&gt;


	&lt;p&gt;This solution for this was to tag photos that I want Tumblr to automatically with &lt;strong&gt;&amp;#8216;to:tumblr&amp;#8217;&lt;/strong&gt;.&lt;/p&gt;


&lt;div class="thumbnail"&gt;&lt;a href="http://myskitch.com/robbyrussell/flickr_to_tumblr-20071219-123647/"&gt;&lt;img src="http://myskitch.com/robbyrussell/flickr_to_tumblr-20071219-123647.jpg/preview.jpg" alt="flickr to tumblr" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a style="font-family: Lucida Grande, Trebuchet, sans-serif, Helvetica, Arial; font-size: 10px; color: #808080" href="http://plasq.com/skitch"&gt;Uploaded with Skitch!&lt;/a&gt;&lt;/div&gt;

	&lt;p&gt;Next, you just need to grab the &lt;span class="caps"&gt;URL&lt;/span&gt; for the Flickr &lt;span class="caps"&gt;RSS&lt;/span&gt; feed for photos tagged with to:tumblr.&lt;/p&gt;


&lt;div class="thumbnail"&gt;&lt;a href="http://myskitch.com/robbyrussell/totumblr-20071219-121021/"&gt;&lt;img src="http://myskitch.com/robbyrussell/totumblr-20071219-121021.jpg/preview.jpg" alt="totumblr" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a style="font-family: Lucida Grande, Trebuchet, sans-serif, Helvetica, Arial; font-size: 10px; color: #808080" href="http://plasq.com/skitch"&gt;Uploaded with Skitch!&lt;/a&gt;&lt;/div&gt;

	&lt;p&gt;Next, you&amp;#8217;ll want to add this feed to Tumblr.&lt;/p&gt;


&lt;div class="thumbnail"&gt;&lt;a href="http://myskitch.com/robbyrussell/tumblr-20071219-121210/"&gt;&lt;img src="http://myskitch.com/robbyrussell/tumblr-20071219-121210.jpg/preview.jpg" alt="Tumblr" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a style="font-family: Lucida Grande, Trebuchet, sans-serif, Helvetica, Arial; font-size: 10px; color: #808080" href="http://plasq.com/skitch"&gt;Uploaded with Skitch!&lt;/a&gt;&lt;/div&gt;

	&lt;p&gt;Voila&amp;#8230; in a little while, your photos tagged with to:tumblr will start to show up on your Tumblr.&lt;/p&gt;


	&lt;h2&gt;Del.icio.us to Tumblr&lt;/h2&gt;


	&lt;p&gt;Links to blog articles, web sites, etc&amp;#8230; are things that I generally use Deli.cio.us for&amp;#8230; so doing it once for each was taking too much. So, I&amp;#8217;m now using the same tagging formula with Del.icio.us to get Tumblr to automatically add links to my Tumblr.&lt;/p&gt;


&lt;div class="thumbnail"&gt;&lt;a href="http://myskitch.com/robbyrussell/add_bookmark-20071219-121603/"&gt;&lt;img src="http://myskitch.com/robbyrussell/add_bookmark-20071219-121603.jpg/preview.jpg" alt="Add Bookmark" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a style="font-family: Lucida Grande, Trebuchet, sans-serif, Helvetica, Arial; font-size: 10px; color: #808080" href="http://plasq.com/skitch"&gt;Uploaded with Skitch!&lt;/a&gt;&lt;/div&gt;

	&lt;p&gt;Now, I can use the &lt;span class="caps"&gt;RSS&lt;/span&gt; feed for items tagged with &lt;strong&gt;to:tumblr&lt;/strong&gt; on my del.icio.us account with Tumblr.&lt;/p&gt;


&lt;div class="thumbnail"&gt;&lt;a href="http://myskitch.com/robbyrussell/tumblr-20071219-121859/"&gt;&lt;img src="http://myskitch.com/robbyrussell/tumblr-20071219-121859.jpg/preview.jpg" alt="Tumblr" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a style="font-family: Lucida Grande, Trebuchet, sans-serif, Helvetica, Arial; font-size: 10px; color: #808080" href="http://plasq.com/skitch"&gt;Uploaded with Skitch!&lt;/a&gt;&lt;/div&gt;

	&lt;p&gt;Pretty simple. :-)&lt;/p&gt;


	&lt;h2&gt;Google Reader to Tumblr&lt;/h2&gt;


	&lt;p&gt;Another place that I find myself wanting to post to Tumblr is from within &lt;a href="http://google.com/reader"&gt;Google Reader&lt;/a&gt;. Well, it&amp;#8217;s actually really easy to do this by taking advantage of the &lt;span class="caps"&gt;RSS&lt;/span&gt; feed that Google Reader provides for your Shared Items.&lt;/p&gt;


	&lt;p&gt;&lt;img src="http://myskitch.com/robbyrussell/google_reader_shared-20071219-122208.jpg" alt="google reader shared"/&gt;&lt;/p&gt;


	&lt;p&gt;Just grab the &lt;span class="caps"&gt;RSS&lt;/span&gt; feed from here&amp;#8230;&lt;/p&gt;


&lt;div class="thumbnail"&gt;&lt;a href="http://myskitch.com/robbyrussell/shared_rss_link-20071219-122432/"&gt;&lt;img src="http://myskitch.com/robbyrussell/shared_rss_link-20071219-122432.jpg/preview.jpg" alt="shared rss link" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a style="font-family: Lucida Grande, Trebuchet, sans-serif, Helvetica, Arial; font-size: 10px; color: #808080" href="http://plasq.com/skitch"&gt;Uploaded with Skitch!&lt;/a&gt;&lt;/div&gt;

	&lt;p&gt;Then add this &lt;span class="caps"&gt;RSS&lt;/span&gt; feed to Tumblr like the examples above.&lt;/p&gt;


	&lt;h2&gt;Putting Tumblr to work for You!&lt;/h2&gt;


	&lt;p&gt;I&amp;#8217;m hoping to continue using this pattern with other sites as well. I&amp;#8217;d be interested in hearing how other people are using Tumblr to aggregate focused content in an easy to browse way.&lt;/p&gt;


	&lt;h3&gt;Update&lt;/h3&gt;


	&lt;p&gt;It appears that Tumblr currently only allows you to use five feeds to import. Until they upgrade this limit, you can use &lt;a href="http://pipes.yahoo.com"&gt;Yahoo! Pipes&lt;/a&gt; to do some of the heavy lifting.&lt;/p&gt;
</description>
      <pubDate>Wed, 19 Dec 2007 14:27:00 -0600</pubDate>
      <guid isPermaLink="false">urn:uuid:ed388dbf-9202-4b11-9bb3-f5b41f1ff6f1</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2007/12/19/putting-tumblr-to-work-for-you</link>
      <category>tumblr</category>
      <category>skitch</category>
      <category>delicious</category>
      <category>flickr</category>
      <category>google</category>
      <category>reader</category>
      <category>rss</category>
      <category>xml</category>
      <category>feeds</category>
      <category>hacks</category>
    </item>
    <item>
      <title>Subscribe to Basecamp RSS Feeds in Google Reader</title>
      <description>&lt;p&gt;Yesterday afternoon, we were helping our newest employee, Paige Saez, get setup with new accounts across all of our applications. She uses &lt;a href="http://google.com/reader"&gt;Google Reader&lt;/a&gt; and couldn&amp;#8217;t understand why her Basecamp &lt;span class="caps"&gt;RSS&lt;/span&gt; wasn&amp;#8217;t working in it. We explained that Google doesn&amp;#8217;t provide any way to subscribe to authenticated feeds (yet)... so it wasn&amp;#8217;t something she could do. (I still use NetNewsWire because of this problem&amp;#8230;)&lt;/p&gt;


	&lt;p&gt;During the discussion, I said that it probably wouldn&amp;#8217;t take much effort to build a proxy for an authenticated feed&amp;#8230; and Andy said he&amp;#8217;d give it a shot.&lt;/p&gt;


	&lt;p&gt;10 minutes later&amp;#8230; he had &lt;a href="http://andy.delcambre.com/2007/8/17/authenticated-rss-proxy"&gt;an initial version of a &lt;span class="caps"&gt;RSS&lt;/span&gt; proxy application&lt;/a&gt;, written in Ruby.&lt;/p&gt;


	&lt;p&gt;15 minutes after that, we had it up and running on a private server for all of us at &lt;a href="http://planetargon.com"&gt;&lt;span class="caps"&gt;PLANET ARGON&lt;/span&gt;&lt;/a&gt; to begin using.&lt;/p&gt;


	&lt;p&gt;...and here is the proof!&lt;/p&gt;


	&lt;p&gt;&lt;img src="http://myskitch.com/robbyrussell/basecamp_google_reader-20070817-133108.jpg" alt="" /&gt;&lt;/p&gt;


	&lt;p&gt;Wee! Authenticated Basecamp &lt;span class="caps"&gt;RSS&lt;/span&gt; feeds in Google reader. It even works with the openid authentication.&lt;/p&gt;


	&lt;p&gt;You can &lt;a href="http://andy.delcambre.com/2007/8/17/authenticated-rss-proxy"&gt;grab the code from Andy&amp;#8217;s blog post&lt;/a&gt; and finally make the switch off of desktop &lt;span class="caps"&gt;RSS&lt;/span&gt; readers to Google Reader, because you know you want to. ;-)&lt;/p&gt;


	&lt;p&gt;Thanks Andy!&lt;/p&gt;
</description>
      <pubDate>Fri, 17 Aug 2007 15:42:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:027be2ac-f2fa-4ad5-83d8-329ab333c3d6</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2007/08/17/subscribe-to-basecamp-rss-feeds-in-google-reader</link>
      <category>Ruby</category>
      <category>Programming</category>
      <category>PLANET ARGON</category>
      <category>basecamp</category>
      <category>rss</category>
      <category>mongrel</category>
      <category>google</category>
      <category>reader</category>
      <category>subscription</category>
      <category>authentication</category>
    </item>
    <item>
      <title>Parsing a RSS Feed</title>
      <description>&lt;p&gt;A friend was asking me how they could easily read a &lt;span class="caps"&gt;&lt;span class="caps"&gt;RSS&lt;/span&gt;&lt;/span&gt; feed and display the last x items in their rails project. This was my quick and dirty response.&lt;/p&gt;


&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_ruby "&gt;
&lt;span class="ident"&gt;require&lt;/span&gt; &lt;span class="punct"&gt;'&lt;/span&gt;&lt;span class="string"&gt;rss/2.0&lt;/span&gt;&lt;span class="punct"&gt;'&lt;/span&gt;
&lt;span class="ident"&gt;require&lt;/span&gt; &lt;span class="punct"&gt;'&lt;/span&gt;&lt;span class="string"&gt;open-uri&lt;/span&gt;&lt;span class="punct"&gt;'&lt;/span&gt;

&lt;span class="keyword"&gt;class &lt;/span&gt;&lt;span class="class"&gt;RssfeedController&lt;/span&gt; &lt;span class="punct"&gt;&amp;amp;&lt;/span&gt;&lt;span class="ident"&gt;lt&lt;/span&gt;&lt;span class="punct"&gt;;&lt;/span&gt; &lt;span class="constant"&gt;ApplicationController&lt;/span&gt;

  &lt;span class="keyword"&gt;def &lt;/span&gt;&lt;span class="method"&gt;index&lt;/span&gt;
    &lt;span class="ident"&gt;feed_url&lt;/span&gt; &lt;span class="punct"&gt;=&lt;/span&gt; &lt;span class="punct"&gt;'&lt;/span&gt;&lt;span class="string"&gt;http://www.planetrubyonrails.org/xml/rss&lt;/span&gt;&lt;span class="punct"&gt;'&lt;/span&gt;
    &lt;span class="ident"&gt;output&lt;/span&gt; &lt;span class="punct"&gt;=&lt;/span&gt; &lt;span class="punct"&gt;&amp;quot;&lt;/span&gt;&lt;span class="string"&gt;&amp;lt;h1&amp;gt;My RSS Reader&amp;lt;/h1&amp;gt;&lt;/span&gt;&lt;span class="punct"&gt;&amp;quot;&lt;/span&gt; 
    &lt;span class="ident"&gt;open&lt;/span&gt;&lt;span class="punct"&gt;(&lt;/span&gt;&lt;span class="ident"&gt;feed_url&lt;/span&gt;&lt;span class="punct"&gt;)&lt;/span&gt; &lt;span class="keyword"&gt;do&lt;/span&gt; &lt;span class="punct"&gt;|&lt;/span&gt;&lt;span class="ident"&gt;http&lt;/span&gt;&lt;span class="punct"&gt;|&lt;/span&gt;
      &lt;span class="ident"&gt;response&lt;/span&gt; &lt;span class="punct"&gt;=&lt;/span&gt; &lt;span class="ident"&gt;http&lt;/span&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;read&lt;/span&gt;
      &lt;span class="ident"&gt;result&lt;/span&gt; &lt;span class="punct"&gt;=&lt;/span&gt; &lt;span class="constant"&gt;RSS&lt;/span&gt;&lt;span class="punct"&gt;::&lt;/span&gt;&lt;span class="constant"&gt;Parser&lt;/span&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;parse&lt;/span&gt;&lt;span class="punct"&gt;(&lt;/span&gt;&lt;span class="ident"&gt;response&lt;/span&gt;&lt;span class="punct"&gt;,&lt;/span&gt; &lt;span class="constant"&gt;false&lt;/span&gt;&lt;span class="punct"&gt;)&lt;/span&gt;
      &lt;span class="ident"&gt;output&lt;/span&gt; &lt;span class="punct"&gt;+=&lt;/span&gt; &lt;span class="punct"&gt;&amp;quot;&lt;/span&gt;&lt;span class="string"&gt;Feed Title: &lt;span class="expr"&gt;#{result.channel.title}&lt;/span&gt;&amp;lt;br /&amp;gt;&lt;/span&gt;&lt;span class="punct"&gt;&amp;quot;&lt;/span&gt; 
      &lt;span class="ident"&gt;result&lt;/span&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;items&lt;/span&gt;&lt;span class="punct"&gt;.&lt;/span&gt;&lt;span class="ident"&gt;each_with_index&lt;/span&gt; &lt;span class="keyword"&gt;do&lt;/span&gt; &lt;span class="punct"&gt;|&lt;/span&gt;&lt;span class="ident"&gt;item&lt;/span&gt;&lt;span class="punct"&gt;,&lt;/span&gt; &lt;span class="ident"&gt;i&lt;/span&gt;&lt;span class="punct"&gt;|&lt;/span&gt;
        &lt;span class="ident"&gt;output&lt;/span&gt; &lt;span class="punct"&gt;+=&lt;/span&gt; &lt;span class="punct"&gt;&amp;quot;&lt;/span&gt;&lt;span class="string"&gt;&lt;span class="expr"&gt;#{i+1}&lt;/span&gt;. &lt;span class="expr"&gt;#{item.title}&lt;/span&gt;&amp;lt;br /&amp;gt;&lt;/span&gt;&lt;span class="punct"&gt;&amp;quot;&lt;/span&gt; &lt;span class="keyword"&gt;if&lt;/span&gt; &lt;span class="ident"&gt;i&lt;/span&gt; &lt;span class="punct"&gt;&amp;amp;&lt;/span&gt;&lt;span class="ident"&gt;lt&lt;/span&gt;&lt;span class="punct"&gt;;&lt;/span&gt; &lt;span class="number"&gt;10&lt;/span&gt;  
      &lt;span class="keyword"&gt;end&lt;/span&gt;  
    &lt;span class="keyword"&gt;end&lt;/span&gt;
    &lt;span class="ident"&gt;render_text&lt;/span&gt; &lt;span class="ident"&gt;output&lt;/span&gt;
  &lt;span class="keyword"&gt;end&lt;/span&gt;

&lt;span class="keyword"&gt;end&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

	&lt;p&gt;Is there an easier way to do this with another &lt;span class="caps"&gt;&lt;span class="caps"&gt;RSS&lt;/span&gt;&lt;/span&gt; library? I figured that the simplest method would be to just use the standard library that comes with Ruby.&lt;/p&gt;
</description>
      <pubDate>Wed, 11 May 2005 16:44:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:357ac3d901b4c877d619929bd89bbe47</guid>
      <author>Robby Russell</author>
      <link>http://www.robbyonrails.com/articles/2005/05/11/parsing-a-rss-feed</link>
      <category>Ruby on Rails</category>
      <category>rss</category>
      <category>rails</category>
    </item>
  </channel>
</rss>
