nrabinowitz / gapvis

A visual interface for reading ancient texts for the Google Ancient Places project
http://googleancientplaces.wordpress.com
Other
126 stars 27 forks source link

Add links to OpenContext content #6

Open nrabinowitz opened 13 years ago

nrabinowitz commented 13 years ago

From Eric:

the easiest way to get data from Open Context is to request a JSON representation of data linked to a target URI:

http://opencontext.org/sets/.json?targURI={url-encoded Pleiades URI}

Example: http://opencontext.org/sets/.json?targURI=http://pleiades.stoa.org/places/520985

You can also have a JSON-P version as: http://opencontext.org/sets/.json?callback=myFunction&targURI=http://pleiades.stoa.org/places/520985

See documentation here: http://opencontext.org/about/services#query-targURI

This would be in addition to/instead of Flickr photos on the Place Details page, I think