website/index.html in roo-0.8.5 vs website/index.html in roo-0.9.0

- old
+ new

@@ -31,11 +31,11 @@ <div id="main"> <h1>roo</h1> <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/roo"; return false'> Get Version - <a href="http://rubyforge.org/projects/roo" class="numbers">0.8.5</a> + <a href="http://rubyforge.org/projects/roo" class="numbers">0.9.0</a> </div> <h2>What</h2> <p>This gem allows you to access the content of</p> @@ -376,27 +376,26 @@ <p>You can even access your spreadsheet data from a remote machine via <span class="caps">SOAP</span>. The examples directory shows a little example how to do this. If you like, you can extend these functions or restrict the access to certain cells. Remote access with <span class="caps">SOAP</span> is nothing specific to roo, you can do this with every Rub object, but i thought it would nice to give an example what could be done with roo.</p> - <h3>With Ruby on Rails</h3> + <h3>Excel spreadsheets / Openoffice spreadsheets / Google spreadsheets with Ruby on Rails</h3> - <p>You can even use roo within your web application. On the project page there is an example named roorails.tgz, which shows a short example how you can display a spreadsheet table on a web page (see files app/controllers/spreadsheet_controller.rb and app/views/spreadsheet/index.rhtml).</p> + <p>There is a simple helper method to display a spreadsheet at your application page:</p> - <p>To display this example:</p> - - <ul> - <li>unpack in any directory</li> - <li>cd roorails</li> - <li>ruby script/server</li> - <li>point your browser to http://localhost:3000/spreadsheet/</li> + <li>in your controller, add &#8220;require &#8216;roo&#8217;&#8221; and &#8221;@rspreadsheet = Openoffice.new(&#8220;numbers1.ods&#8221;)&#8221; or + &#8221;@rspreadsheet = Openoffice.new(&#8220;http://www.somehost.com/data/numbers1.od s&#8221;)&#8221; to get access to your spreadsheet file</li> + <li>use it in any view of your application with &#8221;&lt;%= spreadsheet @rspreadsheet, [&#8220;Tabelle&#8221;] %&gt;<br/>&#8221; or one of the following formats</li> </ul> + <p><img src="Roo_Spreadsheets_Rails.png"></p> + + <h2>Where is it used?</h2> <p>How do you use roo? What are you doing with roo?</p> @@ -481,10 +480,10 @@ <li><a href="http://rubyforge.org/users/nicwilliams/">Dr Nic Williams</a> for his wonderful gem &#8216;<a href="http://rubyforge.org/projects/newgem/">newgem</a>&#8217; which makes it very convenient to create, manage and publish Ruby gems</li> <li>for the Excel-part the <a href="http://rubyforge.org/projects/spreadsheet/">spreadsheet</a> gem is used. My functions are a convenient wrapper around the functions of this gem</li> <li>Dirk Huth f&uuml;rs Testen unter Windows</li> </ul> <p class="coda"> - <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 16th December 2007<br> + <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 24th January 2008<br> Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a> </p> </div> <!-- insert site tracking codes here, like Google Urchin -->