David Karger wrote:
> I've concluded the proposals for making the xibit page actually contain
> the data aren't likely to work well, because any format faithful to the
> data _and_ to the html spec is simply going to be too painful to edit
> manually.
>
What about a little server-side script that reads in your json, spitting
out some generic html for the javascriptless (like google).
(see http://keithalexander.co.uk/files/json2html.phps)
You can either have, like this quick example, an optional javascript
redirect back to your javascript-powered exhibit, or (better) strip out
the template from my example and include it in your original exhibit
page, eg:
<span ex:index-content="true><?php include('json2html.php?')?></span>
so that you can combine it with David Karger's method (removing the
unwanted html with javascript).
Admittedly, it detracts somewhat from the simplicity, but some may find
it useful.
Cheers,
Keith
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general