Select Website 

Recruitment Directory's Blog - Australia's #1 Recruitment Technology Blog!

Back to Menu Back to Menu

You Are Here!

Posted By: Thomas Shaw, 1:58pm Monday 28 June 2010    Print Article

Soon, all browsers will support the HTML5 Geolocation API by default. Geolocation is the core function behind sites like Foursquare which can work out where you are located. I have previously talked about using Geolocation services used for sourcing or stalking candidates, but it does have some other uses in online recruitment.

Working out users location is not new or revolutionary. We have all been doing this for years via IP address lookup services (although these are never 100% accurate). But now, we can get the user to opt-in and provide more accurate information.

For example, when you visit a location-aware website your browser will ask you if you want to share your location.

If you agree, the browser gathers information about nearby wireless access points and your computer’s IP address.

Then it sends this information to the default geolocation service provider (Google Location Services) to get an estimate of your location.

That location estimate is then shared with the requesting website script.

So how can we use this in online recruitment? We can use the user’s geolocation data to confirm the users credentials while





Applying for a role. If the user is not located within a certain area, you could notify them that you only accept applications from users in the following locations. (I don't suggested this. See previous article on Rejecting Candidates based on IP Address)



Contact details. Work out which is the closest office to the user and serve up that information.

Security checks. Collect the users geolocation data when they register, login, buy job credits etc.

I have modified a simple HTML5 Geolocation API script first written by Michael Spector with some extra browser checks. Try it on your desktop browser and mobile phone to see the difference.
<html> <head> <script type="text/javascript"> if (navigator.geolocation) { alert("Your browser supports HTML5 Geolocation API"); navigator.geolocation.getCurrentPosition(function(position) { document.location.href = "http://maps.google.com/maps?q=" + position.coords.latitude + ",+" + position.coords.longitude + "+(You%20are%20here!)&iwloc=A&hl=en"; }); } else { alert("Your browser does not support the HTML5 Geolocation API"); } </script> </head> <body> <h1>HTML5 Geolocation API</h1> </body> </html>


Article URL: http://www.recruitmentdirectory.com.au/Blog/you-are-here-a379.html

Article Tags: geolocation html5 api location services candidate stalking google maps geolocation api foursquare security online recruitment

Comments Hide Comments (0)

Feel free to join in on the conversation. All comments are moderated before publishing. Comments posted by subscribers don't necessarily reflect the views of Recruitment Directory.

Your Name: * Required
Your Email Address: * Required
Website URL:
Comments: * Required
Refresh
Enter the code you see in the image above (case sensitive). Click on the image to refresh it.
 


Back to Menu Back to Menu



Random Blog Articles

MyCareer.com for sale
Published: 3:43pm Saturday 06 June 2009

Australian Job Board Statistics - October 2010
Published: 9:00am Monday 01 November 2010

How secure is your Recruitment website? Part 2 - URL Manipulation
Published: 1:20pm Saturday 06 June 2009

Robert Walters Salary Survey iPhone App
Published: 10:17pm Sunday 13 February 2011

Segmenting Data using Google Analytics
Published: 2:00pm Tuesday 25 August 2009