{"issue":{"state":"open","pull_request":{"diff_url":"https://github.com/diaspora/diaspora/pull/2337.diff","html_url":"https://github.com/diaspora/diaspora/pull/2337","patch_url":"https://github.com/diaspora/diaspora/pull/2337.patch"},"user":{"avatar_url":"https://secure.gravatar.com/avatar/0be56791449099fc8ff496e1add2728b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0be56791449099fc8ff496e1add2728b","url":"https://api.github.com/users/thoughtfusion","login":"thoughtfusion","id":654571},"milestone":null,"updated_at":"2011-11-06T17:46:26Z","labels":[],"assignee":null,"comments":2,"closed_at":null,"url":"https://api.github.com/repos/diaspora/diaspora/issues/2337","body":"I made an attempt at adding geolocations to posts. I utilized two new models - Location, and CheckIn. When a user posts (shared/_publisher.html.haml), a checkbox and a text field appear below the form. The text field's default value is the user's guessed location (using the [geocoder](http://github.com/alexreisner/geocoder) gem). The user checks the box (which is unchecked by default) and the value of the text field is put into the locations. When a post is being viewed, below it, it says \"Location: Location of Post\" only if location was checked on submit. I wrote a few tests, but they need to be fleshed out more.\r\nI want to implement a version that works with mobile browsers, but for now it's sort of limited to regular land ISPs. Thanks!","html_url":"https://github.com/diaspora/diaspora/issues/2337","number":2337,"title":"Added geolocations feature to posts","id":2157033,"created_at":"2011-11-06T17:39:31Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/0be56791449099fc8ff496e1add2728b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0be56791449099fc8ff496e1add2728b","url":"https://api.github.com/users/thoughtfusion","login":"thoughtfusion","id":654571},"updated_at":"2011-11-06T17:46:26Z","url":"https://api.github.com/repos/diaspora/diaspora/issues/comments/2646466","body":"So new to this whole thing haha. I'm going to fix all that.. now! Thanks :)","id":2646466,"created_at":"2011-11-06T17:46:26Z"}}