Hacker1 has asked for the wisdom of the Perl Monks concerning the following question:
I am not a professional programmer, just a weekend hacker that likes to fool around with the code while learning.
I have an auction web site with a pre-made auction package. I take pride in making minor changes to suite me and would like to be able to Map new visitors to my site against a 300px by 200px world map.
My auction package has an Html main page but calls various Perl programs to outline and define the page.
I have a file called usersonline.txt that records visitors to my site in this format: 1322136524/59.150.117.190 The number to the left is a time code and the right is the url.
A timer is set to delete an inactive entry after every 15 minutes.
What I think I need is a Javascript to continuously monitor my usersonline.txt file for any changes because my main page display for Visitors = ? is only updated upon each page refresh.
When a change is detected, I would need to somehow convert the url to longitude and latitude coodinates and then convert those coordinates to x,y pixel coodinates for placing a red blinking .gif dot on my world map.
The blinking dot would stop blinking after 15 minutes and remain red to mark the visit.
That's about it. Any ideas? I am willing to take it one step at a time.
Thanks for any help.
Hacker1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Mapping visitors to my site
by marto (Cardinal) on Nov 24, 2011 at 13:29 UTC | |
|
Re: Mapping visitors to my site
by ww (Archbishop) on Nov 24, 2011 at 14:44 UTC | |
|
Re: Mapping visitors to my site
by TJPride (Pilgrim) on Nov 24, 2011 at 14:21 UTC | |
|
Re: Mapping visitors to my site
by choroba (Cardinal) on Nov 24, 2011 at 13:24 UTC | |
|
Re: Mapping visitors to my site
by pvaldes (Chaplain) on Nov 25, 2011 at 11:59 UTC | |
|
Re: Mapping visitors to my site
by Anonymous Monk on Nov 25, 2011 at 16:33 UTC | |
by Hacker1 (Initiate) on Nov 27, 2011 at 08:19 UTC |