For fun I had been working on Sinatra apps and experimenting with the Google Maps API. Worked out well that I needed to create a social “web 2.0″ application for school. So I adapted my Sinatra app to be a blog, and incorporated Geocoding and reverse Geocoding via the Google Maps JavaScript API. Currently, the [...]
For fun I had been working on Sinatra apps and experimenting with the Google Maps API. Worked out well that I needed to create a social “web 2.0″ application for school. So I adapted my Sinatra app to be a blog, and incorporated Geocoding and reverse Geocoding via the Google Maps JavaScript API.
Currently, the GeoBlog app is up here, http://dev.zhannes.com/.
Fun features
-User agent detection to serve a different layout to mobile safari users (iphone and itouch)
- Highlight tab if it is the current page.
- Some CMS features:
Future enhancements:
Right now, the geocoding and reverse geocoding are done using Javascript when the user creates a new blog post. At some point, I will probably write a ruby script to do the Geocoding on the server side.
Also plan to finish the Mobile Safari layout.
Content © professional dilettante
Proudly powered by WordPress
Theme designed by Artisan Themes
22 queries.
0.503 seconds.