GeoIP locator add-on tools ... ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • dbee

    #1

    GeoIP locator add-on tools ... ?

    Does anyone know any tools/plugins for the free geoip service that
    would enable me to show country flags instead of just text ?

    Or even better - that would enable me to output the values on a map ?

    Can't find anything myself at the moment. I did manage to find a list
    of flags though, so if there is nothing pre-rolled out there I can hack
    away on it myself. Geoip has been around for so long that I can't
    imagine that no-one has already built add-ons ...

  • Erwin Moller

    #2
    Re: GeoIP locator add-on tools ... ?

    dbee wrote:
    [color=blue]
    > Does anyone know any tools/plugins for the free geoip service that
    > would enable me to show country flags instead of just text ?
    >
    > Or even better - that would enable me to output the values on a map ?
    >
    > Can't find anything myself at the moment. I did manage to find a list
    > of flags though, so if there is nothing pre-rolled out there I can hack
    > away on it myself. Geoip has been around for so long that I can't
    > imagine that no-one has already built add-ons ...[/color]

    Hi,

    Did you check this?


    It is an opensource solution. They claim it is less accurate then their
    other solution (for which you may pay).

    They say they have api's for:
    * C Library
    * Perl Module
    * PHP Module
    * Apache Module (mod_geoip)
    * Java Class
    * Python Class
    * C# Class
    * Ruby Module
    * MS COM Object (includes sample ASP, ColdFusion, Pascal, PHP, Perl,
    Python, and Visual Basic code)
    * VB.NET
    * Pascal

    Take your pick. :P

    Regards,
    Erwin Moller

    Comment

    • dbee

      #3
      Re: GeoIP locator add-on tools ... ?


      Erwin Moller wrote:[color=blue]
      > dbee wrote:
      >[color=green]
      > > Does anyone know any tools/plugins for the free geoip service that
      > > would enable me to show country flags instead of just text ?
      > >
      > > Or even better - that would enable me to output the values on a map ?
      > >
      > > Can't find anything myself at the moment. I did manage to find a list
      > > of flags though, so if there is nothing pre-rolled out there I can hack
      > > away on it myself. Geoip has been around for so long that I can't
      > > imagine that no-one has already built add-ons ...[/color]
      >
      > Hi,
      >
      > Did you check this?
      > http://www.maxmind.com/app/geoip_country
      >
      > It is an opensource solution. They claim it is less accurate then their
      > other solution (for which you may pay).
      >
      > They say they have api's for:
      > * C Library
      > * Perl Module
      > * PHP Module
      > * Apache Module (mod_geoip)
      > * Java Class
      > * Python Class
      > * C# Class
      > * Ruby Module
      > * MS COM Object (includes sample ASP, ColdFusion, Pascal, PHP, Perl,
      > Python, and Visual Basic code)
      > * VB.NET
      > * Pascal
      >
      > Take your pick. :P
      >
      > Regards,
      > Erwin Moller[/color]

      Hi Erwin,

      Thanks. That was the bit I have installed already actually. It works
      well and gives me a text descriptor of the IP's likely address.

      But what I was wondering was whether anyone had built an add-on, that
      would output points on a map or country flags instead of just text ?

      Cheers,

      dbee

      Comment

      • Erwin Moller

        #4
        Re: GeoIP locator add-on tools ... ?

        dbee wrote:
        [color=blue]
        >
        > Erwin Moller wrote:[color=green]
        >> dbee wrote:
        >>[color=darkred]
        >> > Does anyone know any tools/plugins for the free geoip service that
        >> > would enable me to show country flags instead of just text ?
        >> >
        >> > Or even better - that would enable me to output the values on a map ?
        >> >
        >> > Can't find anything myself at the moment. I did manage to find a list
        >> > of flags though, so if there is nothing pre-rolled out there I can hack
        >> > away on it myself. Geoip has been around for so long that I can't
        >> > imagine that no-one has already built add-ons ...[/color]
        >>
        >> Hi,
        >>
        >> Did you check this?
        >> http://www.maxmind.com/app/geoip_country
        >>
        >> It is an opensource solution. They claim it is less accurate then their
        >> other solution (for which you may pay).
        >>
        >> They say they have api's for:
        >> * C Library
        >> * Perl Module
        >> * PHP Module
        >> * Apache Module (mod_geoip)
        >> * Java Class
        >> * Python Class
        >> * C# Class
        >> * Ruby Module
        >> * MS COM Object (includes sample ASP, ColdFusion, Pascal, PHP, Perl,
        >> Python, and Visual Basic code)
        >> * VB.NET
        >> * Pascal
        >>
        >> Take your pick. :P
        >>
        >> Regards,
        >> Erwin Moller[/color]
        >
        > Hi Erwin,
        >
        > Thanks. That was the bit I have installed already actually. It works
        > well and gives me a text descriptor of the IP's likely address.
        >
        > But what I was wondering was whether anyone had built an add-on, that
        > would output points on a map or country flags instead of just text ?[/color]

        Ah, yes, you wrote that indeed. :P
        Me sloppy. Sorry.

        Well, I do not know.
        I think renaming all your flags to the textoutput is not that much work.
        so if output is netherlands, you point to netherlands.gif .

        But you probably thought of that solution too. :-)

        I would just rename all flags. Probably faster done than searching for
        software that performs the action.

        Steal here. ;-)
        Flags,World,Fact,Book,Geography, China, Flag, Map, Economy, Geography, Climate, Natural; Resources, Current; Issues, Agreements, Population, Ethnic; Divisions, Politics, Constitution, Legal, Social; Statistics, Political; System, Law; Flags of Afganistan Albania Algeria; Andorra Angola; flag Antigua and Barbuda Argentina; Armenia Austalia; Austria flags Azerbaijan The Bahamas Bahrain; Bangladesh Barbados Belarus Belgium Belize Benin Bhutan; Bolivia Bosnia and Herzegovina Botswana Brazil Brunei; Bulgaria Burkina Faso Burundi Cambodia Cameroon; Canada Cape Verde Central African Republic Chad; Chile China Colombia Comoros Congo COsta Rica; Cote D'Ivoire Croatia Cuba Cyprus Check Republic Denmark; Djibouti Dominica Dominican Republick Equador; Egypt El Salvador Equatorial Guinea Eritrea; Estonia Ethiopia Jiji Finland France Gabon Gambia Georgia; Germany Ghana Greece Grenada Guatemala Guinea; Guinea Bissau Guyana Haiti Honduras Hungary Iceland; India Indonesia Iran Iraq Ireland Israel Italy Jamaica; Japan Jordan Kazakhstan Kenya Kiribati North Korea; South Korea Kuwait Kyrgyzstan Laos Latvia Lebanon; Lesotho Liberia Libya Liechtenstein Lithuania ;Luxembourg Former Yugoslav Republic of Macedonia ;Madagascar Malawi Malaysia Maldives Mali Malta; Marshall Islands Mauritania Mauritius Mexico; Federated States of Micronesia Moldova Monaco Mongolia; Morocco Mozanbique Myanmar Burma Namibia Nauru Nepal; Netherlands New Zealand Nicaragua Niger Nigeria Norway; Oman Pakistan Palau Panama Papua New Guinea Paraguay Peru; Philippines Poland Portugal Qatar Romania Russia Rwanda; Saint Kitts and Nevis Saint Lucia St. Vincent and the Grenadines; San Marino Sao Tome and Principe Saudi Arabia Senegal; Seychelles Sierra Leone Singapore Slovakia Slovenia; Solomon Islands Somalia South Africa Spain; Sri Lanka Sudan Suriname Swaziland Sweden Switzerland; Syria Taiwan Pajikistan Tanzania Thailand Togo Tonga; Trinidad and Tobago Tunisia Turkey Turkmenistan Tuvalu; Uganda Ukraine United Arab Emirates United Kingdom; U.K. England Wales Scotland Northern Ireland; United States of America USA U.S. Uruguay Uzbekistan; Vanuatu Vatican City Venezuela Vietnam Western Samoa; Yemen Yugoslavia Zaire Zambia Zimbawe


        Regards,
        Erwin Moller[color=blue]
        >
        > Cheers,
        >
        > dbee[/color]

        Comment

        • Juan José Gutiérrez de QuevedoPérez

          #5
          Re: GeoIP locator add-on tools ... ?

          El 21 Feb 2006 02:48:00 -0800
          dbee escribió:
          [color=blue]
          > But what I was wondering was whether anyone had built an add-on, that
          > would output points on a map or country flags instead of just text ?[/color]

          bbclone(http://bbclone.de/) uses for the same purpouses a kind of
          database called ip2ext(you can download it separately from their
          website) that basically translates from an ip to a country, and it's
          working very well, but that database needs to be updated regularly.

          It shouldn't be very difficult to adapt it for your own proyect. Just
          as a quick tip, there's a function called

          bbc_get_extensi on($host, $addr)

          that will return the extension for that host/ip. So if you call it like
          this:

          $ext=bbc_get_ex tension('blbalb la.com','217.12 7.67.100');
          echo $ext

          should print "es"(spain)

          of course, I've just made a quick grep, so I could be completely wrong,
          but I think it shouldn't be much more work than that.

          they also have a huge collection of flags(bbclone is a webstat system),
          that I think you can use in /images directory called ext_$extension. png
          so following the previous example you could use:

          echo "<img src=\"images/ext_$ext.png\" />";

          to display the flag of the country.

          hope that helps

          --
          Juan José Gutiérrez de Quevedo
          Director Técnico (juanjo@iteisa. com)
          ITEISA (http://www.iteisa.com)
          942544036 - 637447953

          Comment

          • Joker7

            #6
            Re: GeoIP locator add-on tools ... ?


            "dbee" <daraburke78@gm ail.com> wrote in message
            news:1140502113 .013953.3820@f1 4g2000cwb.googl egroups.com...
            : Does anyone know any tools/plugins for the free geoip service that
            : would enable me to show country flags instead of just text ?
            :
            : Or even better - that would enable me to output the values on a map ?
            :
            : Can't find anything myself at the moment. I did manage to find a list
            : of flags though, so if there is nothing pre-rolled out there I can hack
            : away on it myself. Geoip has been around for so long that I can't
            : imagine that no-one has already built add-ons ...
            :

            Have a look at IP2COUNTRY V2 .

            Chris

            --
            Cheap As Chips Broadband http://yeah.kick-butt.co.uk


            Comment

            Working...