You are looking at historical revision 4746 of this page. It may differ significantly from its current revision.
The egg's documentation can presently be found at at:
#;1> (use geoip) #;1> (geoip:database-edition) #\x1 #;2> (geoip:database-info) "GEO-106FREE 20070101 Build 1 Copyright (c) 2006 MaxMind LLC All Rights Reserved" #;3> (geoip:country-code-by-name "www.call-with-current-continuation.org") "DE" #;4> (geoip:country-code-by-addr "126.96.36.199") "DE" #;5> (geoip:country-code3-by-name "www.google.com") "USA" #;6> (geoip:country-name-by-name "www.bbc.co.uk") "United Kingdom"
To build this extension, you will need a current version of the GeoIP C API library installed. The egg has most recently been tested with version 1.4.1.
Copyright (c) 2006-2007 Arto Bendiken. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. This product includes GeoLite data created by [[http://www.maxmind.com/|MaxMind]].
- Minor general cleanup of the egg.
- Initial release of the geoip egg.