-
Notifications
You must be signed in to change notification settings - Fork 1
Home
This is a forked repository. Have a look at
jchris’s sofa wiki
for more information.
I forked sofa so that I could add georss functionality to it.
The files amended initially are:
vendor/couchapp/lib/atom.js
lists/index.js
templates/edit.html
For an example, see:
http://mick.couchone.com/blog/design/sofa/list/index/recent-posts?descending=true&limit=10
Here is the atom georss feed:
http://mick.couchone.com/blog/design/sofa/list/index/recent-posts?descending=true&limit=10&format=atom
… and here is the feed on a Google map:
http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=http:%2F%2Fmick.couchone.com%2Fblog%2F_design%2Fsofa%2F_list%2Findex%2Frecent-posts%3Fdescending%3Dtrue%26limit%3D10%26format%3Datom&sll=37.0625,-95.677068&sspn=35.547176,56.513672&ie=UTF8&z=3
My questions and to-do items are as follows:
1. The generated georss code contains a point element, like this:
51.4567897 -0.1926795According to the georss standard, this should be:
51.4567897 -0.1926795… however, I can’t get the code in vendor/couchapp/lib/atom.js to output this tag.
… I tried entry[‘georss:point’] and other variants without success.
2. I’d like to make it easier for users to get latitude and longitude for their locations.
For now, I’d like simply to make latitude and longitude required fields.