Oxford bloggers is a new site spawned from a conversation at last week’s highly successful Oxford Tuttle which seeks to aggregate blogs from those based in and around Oxford.

This is pretty cool, and will help further bring together the thriving (but until recently somewhat underground) Oxford technology and innovation scene, currently centred around Oxford Geek Nights and the Oxford Tuttle.

Things are really starting to come together in Oxford, with some really interesting projects and companies being started. Hopefully dispelling the myth that you need to be in the valley to do anything fun.

Anyway, welcome Oxford bloggers!

Logo from the Oxford Bloggers website

Geotagging and GeoRSS support has been available in Elgg for a little while now, but like so many cool features of the platform, I haven’t really had the time to draw people’s attention to it.

Although I am drawing your attention to it now, it should be noted that this is still somewhat under development!

Anatomy of a geocoder

To begin geocoding your data you will need a geocoder. This is not something that Elgg comes installed with by default, although here’s one I coded earlier.

This geocoder users the Google maps API to do the actual encoding, and provides two primary features.

  • It handles the plugin hook “geocode”,”location”
  • It listens to all create events and attempts to tag it with the latitude and longitude – either from a ->location metadata on the object itself, or from the user’s current ->location – you could get more creative, this is a simple example.

When you attempt to geocode a location you call the function elgg_geocode_location(). This in turn triggers the above plugin hook and attempts to encode the data.

For efficiency once a location has been geocoded the result is cached. Future attempts to code the same location will return the result from the cache.

Once installed and configured, new content (wire posts etc) will be tagged with a latitude and longitude. Fill in your profile location field and try it out for yourself!

Location based searches

Once things are tagged with a location, you can start to use location as a starting point for searching by using some of the location aware search functions in location.php.

This hasn’t currently been hooked up to the Elgg interface in any way, but that doesn’t stop you making use of it in your plugins.

GeoRSS

This is something you’ll be pleased to know that you get for free!

As you list your entities using the Elgg listing tools using the RSS view, if an entity has a position defined it will be included using standard geoRSS simple notation, i.e:

<georss:point> 45.256 -71.92 </georss:point>

Happy coding!

I am really pleased to announce that tickets for the upcoming Oxford Twestival 2009 are shortly going to go on sale.

The Twestival is a charity event being held in Oxford, featuring live music & fantastic networking opportunities in an informal setting.

We’re excited to bring together Oxfam – a ground-breaking global charity that was born in Oxford – with the Catweazle Club, a weekly event that has featured some of the city’s best performance artists.

Proceeds will go towards the Oxfam Mali clean water and sanitation project which will help provide safe drinking water to families and their villages in Mali!

In northern Mali, the lack of safe drinking water and poor sanitation contribute to very high rates of illness and malnutrition – especially amongst young children. You can help keep around 45,000 people safer thanks to an extensive health awareness campaign and by providing 8,000 people with clean water and sanitation facilities.

So, please go buy a ticket (only £5 if you buy in advance) and help change people’s lives!