<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>mitkok at www.sharesnippets.com</title>
    <link>http://www.sharesnippets.com/rss/user/mitkok</link>
    <pubDate>Tue, 21 Apr 2009 09:26:56 GMT</pubDate>
    <description>mitkok at www.sharesnippets.com</description>
    <item>
      <title>bgUrl API - example with RestClient</title>
      <link>http://www.sharesnippets.com/posts/bgurl-api-example-with-restclient</link>
      <description>In this example I use RestClient by Adam Wiggins : http://github.com/adamwiggins/rest-client/tree&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;require 'rubygems'&lt;br /&gt;require 'rest_client'&lt;br /&gt;&lt;br /&gt;def shorten (url)&lt;br /&gt;  response = RestClient.post 'http://bgurl.org/api/links', :website_url =&gt; url&lt;br /&gt;  response[/permalink&gt;(.*)&lt;\/permalink&gt;/,1]  &lt;br /&gt;end&lt;br /&gt;&lt;br /&gt;</description>
      <pubDate>Tue, 21 Apr 2009 09:26:56 GMT</pubDate>
      <guid>http://www.sharesnippets.com/posts/bgurl-api-example-with-restclient</guid>
      <author>mitkok</author>
    </item>
  </channel>
</rss>
