435

professional dilettante

GeoBlog app: Google Maps, Sinatra, Sqlite3, ActiveRecord, Webfaction, Nginx, Thin

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.

Leave a Reply

Required fields are marked with an asterisk (*), you may use these tags in your comment: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam protection by WP Captcha-Free

Most Recent Post

posting data with curl from the command line

Before i forget, an easy way to test if you can connect to an external api is to use CURL on the command line. This nice as a sanity check/proof of concept to ensure you have the right token, proper field mappings, submitting the right data. This saves you from setting up a test form, [...]

Categories

Content © professional dilettante
Proudly powered by WordPress
Theme designed by Artisan Themes

Entries (RSS)
Comments (RSS)

22 queries.
0.503 seconds.