Upperbound.com
Nobody reads this blog. Or yours.
Polls
 Topics  
My News (24/0)
Thoughts (17/1)
Food (10/0)
Science/Tech (7/0)
Religion (4/0)
Business (10/0)

 New Recipes  
  • Gluten-free Cinnamon Raisin Bread
  • Baked Pretzels
  • Italian Oatmeal Pan Bread
  • Mother Elliot's Sugar Cookies
  • Plantain Soup
  • Baked Acorn Squash
  • French Connection
  • Eggless Mayonnaise
  • Honey Garlic Chicken
  • BBQ Ranch Chicken Dip

  •  User Functions  
    Username:

    Password:

    Don't have an account yet? Sign up as a New User


     Stupid Google Map tricks    
     Author:  boz
     Dated:  Tuesday, August 01 2006 @ 12:03 PM EDT
     Viewed:  486 times  
    My NewsI've been playing around with the Google Maps API lately.

    So far I've created this thing which attempts to map users in an IRC (Internet Relay Chat) channel:

    http://upperbound.com/maps/?channel=programmers

    There are three main components to this.

    The first component is a script run from my IRC client, Kvirc. I've added an option to the channel window that kicks off the process. The Kvirc script dumps the user information to a text file, and then kicks off another script that does the rest.

    The second component is the script that is run from the Kvirc script. It reads the text file and then does the IP address location lookups, using the IP to location database at http://www.hostip.info. The database tries to determine the city that the IP is located in, and returns the lattitude and longitude if available. After the script does the lookup, it updates a database on this site.

    The third component is the PHP page on the site that generates the actual map based on what is in the database.



     What's Related  

     Story Options  
  • Mail Story to a Friend
  • Printable Story Format


  • Stupid Google Map tricks | 0 comments | Create New Account
    The following comments are owned by whomever posted them. This site is not responsible for what they say.