onestylecomua (onestylecomua) wrote in mydrupalcoua,

Модуль: Smart IP

Smart IP identify visitor's geographical location (longitude/latitude), country, region, city and postal code based on the IP address of the user. These information will be stored at Drupal $user->data object with array key 'geoip_location' upon login of the user but optionally it can be disabled at Smart IP admin page. Other modules can use the function smart_ip_get_location($ip_address) that returns an array containing the visitor's ISO 3166 2-character country code, longitude, latitude, region code (FIPS), city and postal code. It provides a feature for you to perform your own IP lookup and admin spoofing of an arbitrary IP for testing purposes.

Maxmind's database is the source of Smart IP database that makes the association between IP address and geographical location (longitude/latitude), region, city and postal code. It can be found at it has two versions: a very accurate and up to date payable version and a not quite accurate free lite version. Smart IP downloads and process the CSV files (GeoLiteCity-Location.csv and GeoLiteCity-Blocks.csv) to store to Smart IP database. An optional once a month (Maxmind updates its database every first day of a month) automatic update of the Smart IP database is provided or it can be manually updated at Smart IP admin page. The database of Maxmind is very huge, the two CSV files size is about 150MB and the size when stored to SQL database is about 320MB with almost 5 million rows. The process of downloading the archived CSV files from Maxmind's server, extracting the downloaded zip file, parsing the CSV files and storing to the database will took more or less five hours. It uses the batch system process. If interrupted by an unexpected error, the administrator can manually continue and recover from where it stopped at Smart IP admin page.

Find out more · Bugs and feature requestsLinked DataBy febbraro on the 17th of September, 2010

This is an integration module for bringing Linked Open Data into a Drupal site. It provides a basic facility to create Linked Data queries and provides a variety of ways to theme the results of those queries. What this means is that now you can dynamically include curated content from sites like DBpedia, Freebase,,, CrunchBase, GeoNames, MusicBrainz, BBC Programmes and Music (to name a few) into your site.

The module currently supports SPARQL and MQL queries. These queries can either be static for specific resources or allow for variable substitution to create dynamic queries. It is also integrates with CTools Export UI so it can provide exportable queries.

This project is sponsored by Phase2 Technology


...скачать или полностью прочитать статью можно на

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded