<?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>has_many :thoughts: Tag sinatra</title>
    <link>http://blog.kineticweb.com/articles/tag/sinatra</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Musings from a Ruby on Rails development team</description>
    <item>
      <title>Another Sinatra app: RadioPlaying.com</title>
      <description>&lt;p&gt;I made this last night and early this morning in about an hour and a half:&lt;/p&gt;


	&lt;p&gt;&lt;a href="http://radioplaying.com/1045"&gt;http://radioplaying.com/&lt;/a&gt;&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;ve been listening to Philadelphia&amp;#8217;s Radio 104.5 of late. And since I can never remember song titles, I thought it was nice that they have a page on their web site that lists the last 10 songs played. Unfortunately, it&amp;#8217;s not very mobile-friendly. So when I&amp;#8217;m stuck in traffic, and want to check what just played, I can use this little site.&lt;/p&gt;


	&lt;p&gt;All it does is scrape their site with Net/HTTP and Hpricot and outputs the results in an extremely bare-bones version.&lt;/p&gt;


	&lt;p&gt;Andy likes it, too, and wants to add more stations so who knows what will become of this little app. But, for now, it&amp;#8217;s a handy tool I&amp;#8217;ll use myself.&lt;/p&gt;</description>
      <pubDate>Wed, 24 Sep 2008 09:34:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:7496e197-4d1e-4fe8-9bc8-7f623b0341c2</guid>
      <author>Colin A. Bartlett</author>
      <link>http://blog.kineticweb.com/articles/2008/09/24/another-sinatra-app-radioplaying-com</link>
      <category>sinatra</category>
      <category>ruby</category>
      <category>radioplaying</category>
    </item>
    <item>
      <title>My first Sinatra app</title>
      <description>&lt;p&gt;While playing with &lt;a href="http://www.sinatrarb.com"&gt;Sinatra&lt;/a&gt; a bunch as part of the prep for my &lt;a href="http://blog.kineticweb.com/articles/2008/07/31/sinatra-talk-at-philly-on-rails"&gt;Philly on Rails talk&lt;/a&gt;, I came up with a few ideas for microapps that I thought would be perfect for Sinatra.&lt;/p&gt;


	&lt;p&gt;The first of these I call &lt;a href="http://attributr.com/"&gt;Attributr&lt;/a&gt;. It&amp;#8217;s a very simple app that accepts the &lt;span class="caps"&gt;URL&lt;/span&gt; of a &lt;a href="http://flickr.com"&gt;Flickr&lt;/a&gt; photo and returns that photo with proper attribution overlayed in the lower right corner. I often use photos from Flickr that are &lt;a href="http://www.flickr.com/creativecommons/"&gt;Creative Commons&lt;/a&gt; licensed. And I&amp;#8217;ve often thought it would be handy to get the image with attribution right from Flickr so it&amp;#8217;s ready to just drag into my presentation or whatever.&lt;/p&gt;


	&lt;p&gt;I used &lt;a href="http://www.graphicsmagick.org/"&gt;GraphicsMagick&lt;/a&gt; to add the text. In the past, I&amp;#8217;ve used &lt;a href="http://www.imagemagick.org"&gt;ImageMagick&lt;/a&gt; for such things, but I heard GM was easier to get installed. Indeed, it was pretty simple. On Ubuntu, it&amp;#8217;s as easy as apt-get.&lt;/p&gt;


	&lt;p&gt;This is running on our newest production server under &lt;a href="http://www.modrails.com/"&gt;Passenger&lt;/a&gt;. I couldn&amp;#8217;t believe how easy &lt;a href="http://rack.rubyforge.org/"&gt;Rack&lt;/a&gt; and Passenger together make deploying tiny apps like this a breeze.&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;d love some feedback on &lt;a href="http://attributr.com/"&gt;Attributr&lt;/a&gt; if you ever have occasion to use it.&lt;/p&gt;</description>
      <pubDate>Sat, 02 Aug 2008 12:07:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:21249994-d65c-4f5e-aea2-e3cf1ede5044</guid>
      <author>Colin A. Bartlett</author>
      <link>http://blog.kineticweb.com/articles/2008/08/02/my-first-sinatra-app</link>
      <category>flickr</category>
      <category>attributr</category>
      <category>microapp</category>
      <category>sinatra</category>
      <category>ruby</category>
      <category>graphicsmagick</category>
    </item>
    <item>
      <title>Sinatra talk at Philly on Rails</title>
      <description>&lt;p&gt;Last evening, I presented a short talk about Sinatra, the Ruby microframework at &lt;a href="http://www.phillyonrails.org"&gt;Philly on Rails&lt;/a&gt;, the Philadelphia Ruby user group. Overall, I like it and think it has a good place on the shelf of microapp tools. As with most tiny projects that begin as someone&amp;#8217;s itch-scratching, documentation is lacking. I hope that I can contribute in that regard as I use it more.&lt;/p&gt;


	&lt;p&gt;Here are my &lt;a href="http://blog.kineticweb.com/files/sinatra_slides.pdf"&gt;slides&lt;/a&gt; and &lt;a href="http://blog.kineticweb.com/files/sinatra_examples.zip"&gt;example files&lt;/a&gt;.&lt;/p&gt;


	&lt;p&gt;Thanks to all who came out last night!&lt;/p&gt;</description>
      <pubDate>Thu, 31 Jul 2008 06:38:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:ba263520-244e-48ee-964b-0e0dda65050e</guid>
      <author>Colin A. Bartlett</author>
      <link>http://blog.kineticweb.com/articles/2008/07/31/sinatra-talk-at-philly-on-rails</link>
      <category>microapp</category>
      <category>framework</category>
      <category>ruby</category>
      <category>phillyonrails</category>
      <category>sinatra</category>
    </item>
  </channel>
</rss>
