<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: uri code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Sun, 27 Jul 2008 03:02:38 GMT</pubDate>
    <description>DZone Snippets: uri code</description>
    <item>
      <title>Using Rio from Ruby to easily save a Web page to file</title>
      <link>http://snippets.dzone.com/posts/show/2432</link>
      <description>Found at &lt;a href="http://www.juretta.com/log/2006/08/13/ruby_net_http_and_open-uri/"&gt;http://www.juretta.com/log/2006/08/13/ruby_net_http_and_open-uri/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# (sudo) gem install rio&lt;br /&gt;require 'rubygems'&lt;br /&gt;require 'rio'&lt;br /&gt;# open an URI an copy the content into a file&lt;br /&gt;rio('http://www.juretta.com/') &gt; rio('juretta_index.html')&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Cool syntax!</description>
      <pubDate>Wed, 16 Aug 2006 21:38:21 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/2432</guid>
      <author>jswizard (JavaScript Wizard)</author>
    </item>
  </channel>
</rss>
