Asif, Mohammad wrote:
>  Is there any way to set Exhibit-API to browse JSON not by "items" lists but 
> some other lists e.g. "books"?
>   
Certainly. Please see this example:
    http://simile.mit.edu/exhibit/examples/presidents/presidents.html
Which shows "presidents".

In one data file,
    http://simile.mit.edu/exhibit/examples/presidents/presidents.js
look for
    type: 'President'

Also check the other data file
    http://simile.mit.edu/exhibit/examples/presidents/schema.js
to see how to go from 'President' to 'Presidents' (plural).

Look at <body onload="..."> in the HTML code.

Cheers,

David

   
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to