website/index.html in geoip-0.8.0 vs website/index.html in geoip-0.8.1

- old
+ new

@@ -31,72 +31,40 @@ <div id="main"> <h1>geoip</h1> <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/geoip"; return false'> <p>Get Version</p> - <a href="http://rubyforge.org/projects/geoip" class="numbers">0.8.0</a> + <a href="http://rubyforge.org/projects/geoip" class="numbers">0.8.1</a> </div> - <h2>&#x2192; &#8216;Geographic info for an IP address&#8217;</h2> - - - <h2>What</h2> - - - <p>GeoIP searches a GeoIP database for a given host or IP address, and + <h2>&amp;#x2192; &#8216;Geographic info for an IP address&#8217;</h2> +<h2>What</h2> +<p>GeoIP searches a GeoIP database for a given host or IP address, and<br /> returns information about the country where the IP address is allocated.</p> - - - <h2>Installing</h2> - - - <p><pre class='syntax'><span class="ident">sudo</span> <span class="ident">gem</span> <span class="ident">install</span> <span class="ident">geoip</span></pre></p> - - - <h2>Prerequisites</h2> - - - <p>You need at least the free GeoIP.dat, for which the last known download -location is <a href="http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz">http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz</a> -This <span class="caps">API</span> requires the file to be decompressed for searching. Other versions -of this database are available for purchase which contain more detailed -information, but this information is not returned by this implementation. +<h2>Installing</h2> +<p><pre class='syntax'><span class="ident">sudo</span> <span class="ident">gem</span> <span class="ident">install</span> <span class="ident">geoip</span></pre></p> +<h2>Prerequisites</h2> +<p>You need at least the free GeoIP.dat, for which the last known download<br /> +location is <a href="http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz">http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz</a><br /> +This <span class="caps">API</span> requires the file to be decompressed for searching. Other versions<br /> +of this database are available for purchase which contain more detailed<br /> +information, but this information is not returned by this implementation.<br /> See www.maxmind.com for more information.</p> - - - <h2>Example</h2> - - - <pre><code>require 'geoip' -GeoIP.new('GeoIP.dat').country("www.netscape.sk") -=&gt; ["www.netscape.sk", "217.67.16.35", 196, "SK", "SVK", "Slovakia", "EU"]</code></pre> - - - <h2>How to submit patches</h2> - - - <p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people&#8217;s code</a> and for section <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8z-email">8z: Submit patch</a>, email me on the link below.</p> - - - <p>The trunk repository is <code>svn://rubyforge.org/var/svn/geoip/trunk</code> for anonymous access.</p> - - - <p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people&#8217;s code</a> and for section <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups">8b: Submit patch to Google Groups</a>, use the Google Group above.</p> - - - <h2>License</h2> - - - <p>This code is free to use under the terms of the <span class="caps">GPL</span> license. -I don&#8217;t normally use the <span class="caps">GPL</span> license, but this one is derived +<h2>Example</h2> +require &#8216;geoip&#8217; +GeoIP.new(&#8216;GeoIP.dat&#8217;).country(&#8220;www.netscape.sk&#8221;) +=&gt; [&#8220;www.netscape.sk&#8221;, &#8220;217.67.16.35&#8221;, 196, &#8220;SK&#8221;, &#8220;<span class="caps">SVK</span>&#8221;, &#8220;Slovakia&#8221;, &#8220;EU&#8221;] +<h2>How to submit patches</h2> +<p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people&#8217;s code</a> and for section <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8z-email">8z: Submit patch</a>, email me on the link below.</p> +<p>The trunk repository is <code>svn://rubyforge.org/var/svn/geoip/trunk</code> for anonymous access.</p> +<p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people&#8217;s code</a> and for section <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups">8b: Submit patch to Google Groups</a>, use the Google Group above.</p> +<h2>License</h2> +<p>This code is free to use under the terms of the <span class="caps">GPL</span> license.<br /> +I don&#8217;t normally use the <span class="caps">GPL</span> license, but this one is derived<br /> from Maxmind&#8217;s code, so I use the license they use.</p> - - - <h2>Contact</h2> - - - <p>Comments are welcome. Send an email to <a href="mailto:cjheath@rubyforge.org">Clifford Heath</a> .</p> +<h2>Contact</h2> +<p>Comments are welcome. Send an email to <a href="mailto:cjheath@rubyforge.org">Clifford Heath</a> .</p> <p class="coda"> - <a href="cjheath@rubyforge.org">Clifford Heath</a>, 24th October 2007<br> + <a href="cjheath@rubyforge.org">Clifford Heath</a>, 25th May 2009<br> Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a> </p> </div> <!-- insert site tracking codes here, like Google Urchin -->