Another option is to use exhibit's ability to read date out of a (HTML)
table in the document.  This was implemented by Johan Sundstrom some
time ago, and might have been broken by neglect as exhibit's codebase
evolved (although our wiki extension for exhibit at
http://simile.mit.edu/axo is still using it and works).  It would be
great to have it working again in general.

Berteh wrote:
> Hello,
>
> I'd like to use the great exhibit widgets to display data.
> Unfortunately the tool I export data from is only able to export 1
> file.
> Therefore I'd like to be able to write the data directly in the HTML
> document.
>
> Using the tutorial as an illustration (http://simile.mit.edu/wiki/
> Exhibit/Getting_Started_Tutorial)
> A possible option would be to replace the json data link
>    <link href="gcCollection.js" type="application/json" rel="exhibit/
> data" />
> with something like:
>
>  <script type="text/javascript">
> var myJSONObject = {
>     types: {        "Nobelist" : {            pluralLabel:
> "Nobelists"        }    },
>     properties: {        "co-winner" : {            valueType:
> "item"        }    },
>     "items" : [        {   type :
> "Nobelist",            label :                 "Burton Richter",
> (...)  }    ]
> };
> </script>
>
> How can I then make use of this object, as data source in exhibit, as
> it is not obvious from the doc or api.
>     <script src="http://static.simile.mit.edu/exhibit/api-2.0/exhibit-
> api.js"
>             type="text/javascript"></script>
>     <style>
>
> Any idea is welcome, thanks.
> Berteh.
>
>
>
>
>
> >
>   

--~--~---------~--~----~------------~-------~--~----~
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