Re: [Simile-Widgets] Exhibit: Use inline JSON data in HTML file

394 views
Skip to first unread message

David Karger

unread,
Jan 31, 2013, 2:50:29 PM1/31/13
to simile-...@googlegroups.com, Peter Pamer
Peter, I implemented this functionality in exhibit 3 a while back; you
can see an example at http://people.csail.mit.edu/karger/papers.html
On 1/31/2013 11:39 AM, Peter Pamer wrote:
> Is it possible to include Exhibit JSON-data + schema directly inside
> an HTML document?
>
> Meaning, instead of embedding external files like:
> <link href="schema.js" type="application/json" rel="exhibit/data" />
> <link href="data.json" type="application/json" rel="exhibit/data" />
> ...having only one single HTML file.
>
> (in my case, data+html is generated dynamically and i would prefer it
> to be all-in-one, if possible)
>
> Greetings,
> Peter
> --
> You received this message because you are subscribed to the Google
> Groups "SIMILE Widgets" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to simile-widget...@googlegroups.com.
> To post to this group, send email to simile-...@googlegroups.com.
> Visit this group at http://groups.google.com/group/simile-widgets?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

David Karger

unread,
Jan 31, 2013, 2:51:43 PM1/31/13
to simile-...@googlegroups.com, Peter Pamer
(forgot to add: the mechanism is that if you specify your data-file link
to be an anchor (#foo), it looks for that anchor in the same document.
Reply all
Reply to author
Forward
0 new messages