<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
    <channel>
        <title>journal</title>
        <link>http://www.20seven.org/journal/</link>
        <description>...not so private reflections of greg.newman</description>
        <language>en</language>
        <copyright>Copyright 2010</copyright>
        <lastBuildDate>Tue, 04 Mar 2008 21:03:06 -0500</lastBuildDate>
        <generator>http://www.sixapart.com/movabletype/</generator>
        <docs>http://www.rssboard.org/rss-specification</docs>
        
        <item>
            <title>Flickr-style tag splitting in Ruby</title>
            <description><![CDATA[<p><a href="http://henrik.nyh.se/2008/03/flickr-style-tag-splitting-in-ruby">The Pug Automatic: Flickr Style Tagging in Rails</a></p>

<blockquote>
Someone asked on <span class="caps">IRC </span>for Ruby code to split tags <a href="http://flickr.com">Flickr</a> style, e.g. getting the tags from <code>tag1 tag2 'tag 3 has spaces' tag4</code>.

<p>I came up with this:</p>




<pre  name="code" class="rails">
def parse_tags(string)
&amp;#xA0;&amp;#xA0;string.split(/&quot;(.+?)&quot;|\s+/).reject {|s| s.empty? }
end
</pre>



It even preserves tag order, which you wouldn't get if you'd first <code>gsub</code> out (and store) quoted tags and then <code>split</code> the rest."<br />
</blockquote>

<p>I haven't tried it yet but looking at it looks like a fine implementation.  Very simple.</p>

<p>[Via <a href="http://henrik.nyh.se/2008/03/flickr-style-tag-splitting-in-ruby">Pug Automatic</a>.] </p>]]></description>
            <link>http://www.20seven.org/journal/2008/03/flickr-style-tag-splitting-in-ruby.html</link>
            <guid>http://www.20seven.org/journal/2008/03/flickr-style-tag-splitting-in-ruby.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Ruby</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">Ruby on Rails</category>
            
            
            <pubDate>Tue, 04 Mar 2008 21:03:06 -0500</pubDate>
        </item>
        
        <item>
            <title>Starling: Twitter&apos;s Persistent Queue Released</title>
            <description><![CDATA[<p><a href="http://rubyforge.org/projects/starling/">Starling</a> is a light-weight persistent queue server that speaks the MemCache protocol. It was built to drive <a href="http://www.twitter.com">Twitter's</a> backend, and is in production across Twitter's cluster.</p>]]></description>
            <link>http://www.20seven.org/journal/2008/01/starling-twitters-persistent-queue-released.html</link>
            <guid>http://www.20seven.org/journal/2008/01/starling-twitters-persistent-queue-released.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Ruby</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">Ruby on Rails</category>
            
            
            <pubDate>Fri, 11 Jan 2008 07:02:09 -0500</pubDate>
        </item>
        
        <item>
            <title>Safari microformats plugin</title>
            <description><![CDATA[<p> <a href="http://dctanner.tumblr.com/"><img src="http://data.tumblr.com/csfCMJqnb1yr8vjjFP5WoOHf_500.png"/></a></p>

<p>(Via <a href="http://dctanner.tumblr.com/">I am rice</a>.)</p>

<p>I installed it on Safari 3.0.4 (Leopard) and it works great.  You can find out more about Microformats at <a href="http://microformats.org">Microformats.org</a>, and while you're at it, check out <a href="http://mofo.rubyforge.org/">Mofo</a>, a rails plugin to work microformats into your project.</p>]]></description>
            <link>http://www.20seven.org/journal/2007/11/safari-microformats-plugin.html</link>
            <guid>http://www.20seven.org/journal/2007/11/safari-microformats-plugin.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Apple</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">Mac</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">Ruby</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">Ruby on Rails</category>
            
            
            <pubDate>Mon, 19 Nov 2007 12:39:09 -0500</pubDate>
        </item>
        
        <item>
            <title>Log your iPhone calls in iCal</title>
            <description><![CDATA[<p>If you like to keep track of your calls for billing purposes or just because you're anal retentive then <a href="http://code.google.com/p/iphonelogd/">iPhonelogd</a> is for you.  It's a little ruby script that when run from the command line will log your calls into iCal.  Give it some extra parameters and it will put them into a particular calendar.</p>]]></description>
            <link>http://www.20seven.org/journal/2007/11/log-your-iphone-calls-in-ical.html</link>
            <guid>http://www.20seven.org/journal/2007/11/log-your-iphone-calls-in-ical.html</guid>
            
                <category domain="http://www.sixapart.com/ns/types#category">Apple</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">Hacks</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">Mac</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">Ruby</category>
            
                <category domain="http://www.sixapart.com/ns/types#category">iPhone</category>
            
            
            <pubDate>Fri, 09 Nov 2007 09:25:46 -0500</pubDate>
        </item>
        
    </channel>
</rss>

