I tweaked the loadGoogleSpreadsheetsData() function to create a
loadGoogleBaseData() so I could create Exhibits using Google Base.

Given a google base feed query URL, it will load the JSON version of the
stream and populate Exhibit's database with the results (creating types and
properties as necessary).

For an example I uploaded a couple of recipes to google base and constructed
an Exhibit that queries for recipes by my customer_id.  My example page also
allows for arbitrary recipe queries:

  http://dunhamsteve.googlepages.com/Recipes.html

The code for loadGoogleBaseData() is in:

  http://dunhamsteve.googlepages.com/patch.js

Open issues:
 * It will need to be tweaked to handle location information if you'd like
to map restaurant reviews, etc.
 * It just spins if I try to run two queries (call loadGoogleBaseData()
after Exhibit is up and running)
 * The facets don't see multiple main_ingredient values.
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to