(Untitled)

Oct 06, 2006 03:10

Location of Commenter
This is a greasemonkey script that retrieves city (state) country information from http://www.hostip.info/ and adds it next to the IP address for comments that have IP address displayed ( Read more... )

Leave a comment

Comments 34

scarlete October 5 2006, 22:31:13 UTC
No clue as to my location. YAY!

Reply


the_tatyana October 5 2006, 22:34:14 UTC
Happy birthday!!!! Mine was yesterday :>)

Reply

ex_ga_woo October 8 2006, 17:46:55 UTC
Hope you had a Happy Birthday! And thank you!

Reply


phrawzty October 5 2006, 22:35:43 UTC
the GM script is fun, thanks. :)

Reply


jissa October 5 2006, 22:36:32 UTC
Ohhh, awesome scripts!

Thanks for the post and have a wonderful birthday! October is by far the best month in which to be born!

Reply

ex_ga_woo October 8 2006, 17:47:35 UTC
Thank you! :D

Reply


wetnun October 5 2006, 22:47:03 UTC
For the GeoIP data you could try using something like this:

http://www.maxmind.com/app/ip-location

They have plenty of APIs. I use it with PHP all the time and it works reasonably well for the free version. But you could setup your own host for it since they seem to be having issues with speed (and might be throttling stuff because of scripts like this).

Reply

wetnun October 5 2006, 23:00:12 UTC
And since it's your birthday....

You can try using this... you won't have to do nearly as much parsing...

http://wetnun.net/ip_info.php?ip=64.56.205.72

If you don't pass in an ip it will use the ip that the request came in from and give you a message about passing in the ip. Yay for 1 minute of copying a file and doing minor tweaks to it.

Might be better to come up with some way of building an array of ip addresses and then having it do a bulk request (I'd need to modify by script but it's no big deal) so it only has to make one remote call since each sequencial request takes time and could effect page load time.

Reply


Leave a comment

Up