For users to add data to an Exhibit data source, you will need something 
in addition to the standard Exhibit javascript code.  Some ideas...


If your data source is a javascript array, csv/xls file, xml file, 
etc..., you would need to write your own code.  You could write a 
php/mysql page that writes data in the database and then extracts as a 
JSON feed.  You could use a package (like Drupal, Semantic Mediawiki and 
others) that allows users to edit data through web pages and turns 
groups of those pages into JSON feeds.


For Google Spreadsheets, you could use the Forms component for users to 
add data to one sheet.  It looks like a standard web form.   (The form 
can probably be put in an iframe on your site next to the Exhibit.)  You 
can probably add some data validation there as well (or maybe write code 
to use the Google Data API to populate your spreadsheet directly.)  You 
could then create a second sheet that summarizes the data from the first 
sheet and publishes as a JSON feed.

I'm also wondering if you can use an online survey tool (like 
SurveyMonkey) and view the results as a JSON feed, or as RSS feed and 
use Babel (or maybe Yahoo?) to convert to JSON.


For Drupal, it syncs well with Exhibit. There is a module called Views 
that you should use first.  It's like doing a SQL select on your pages.  
Each restaurant would be an page/entry.  On each restaurant page is 
where you would add the appropriate tags and ratings.  The Exhibit 
module will turn your Views result into a JSON feed and display it in a 
typical Exhibit.  (Note that Drupal is a server app with supporting 
requirements, like apache, PHP, MySQL.) 

- John




Rob wrote:
> I see.
>
> Well, my first task is to display the data, so exhibit will suit the
> job well.  Thanks for the advice with drupal, that is exactly what I
> was looking for.  Do you know how well the drupal site syncs with
> exhibit?  Ideally, I would like to have users input their ratings on
> the exhibit website (without having to go to a drupal).
>
> -Rob
>
> On Jun 3, 10:46 am, Josef Dabernig <[email protected]>
> wrote:
>   
>> hey rob,
>>
>> Rob wrote:
>>     
>>> I like all of these ideas, but I feel that I can't just put up ratings
>>> based on my own experience.  For example, I don't want to rate the
>>> health of a restaurant by myself (this would not be as accurate if I
>>> got input from others).
>>>       
>>> Is there a good way for users to give ratings to restaurants on my
>>> exhibit?  That way, the ratings would be justified.
>>>       
>> as exhibit is about visualizing data, it doesn't help out with data
>> manipulation.
>>
>> for example you could have a drupal website to organize your data.
>> there are different rating modules that might fit your use 
>> casehttp://drupal.org/project/modules?filters=tid:60&solrsort=sis_project...
>> then you can try the exhibit module to show off the 
>> datahttp://drupal.org/project/exhibit
>>
>> there might be easer approaches, but i think you would always add
>> complexity when allowing multiple users to work on the data to show in
>> exhibit.
>>
>>
>>
>>     
>>> On Jun 1, 8:19 pm, David Huynh <[email protected]> wrote:
>>>       
>>>> Rob wrote:
>>>>         
>>>>> Hey,
>>>>>           
>>>>> I am in the process of creating an exhibit which highlights all the
>>>>> eateries on the MIT campus. Right now, I'm trying to think of
>>>>> classifier values that will allow users to filter through these
>>>>> eateries.
>>>>>           
>>>>> This is what I have so far:
>>>>>           
>>>>> American, Breakfast, Bakery, Cafe, Catering, Deli, Desert, Dinner,
>>>>> Ethnic, Grocery, Healthy, Lunch, Made on Order, Mexican, On the Go,
>>>>> Pizza, Prepared, Pub, Soup, Sit Down, Sushi, Vegetarian
>>>>>           
>>>> That sounds like "cuisine".
>>>>         
>>>>> I'd appreciate any suggestions you have that would help filter the
>>>>> eateries even more.
>>>>>           
>>>> How about...
>>>> - price range: $, $$, $$$,... or, $10 - 15, $15 - 20, ...
>>>> - delivery?
>>>> - open hours
>>>> - accept credit cards?
>>>> - geolocation
>>>> - health rating
>>>> - free wi-fi?
>>>> - has vegetarian dishes?
>>>> - has student discount?
>>>> - ambiance
>>>> - how many T stops away, distance to closest T stop
>>>>         
>>>> David
>>>>         
>> --
>> Josef Dabernig
>> Student / FH Technikum / BIF
>> [email protected]http://www.technikum-wien.at
>>     
> >
>   

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to