Peter Frederick wrote:
> Hi David,
>
> Thanks for the tips. Unfortunately the data for this exhibit page is 
> streaming from a published Google spreadsheet so I haven't been able to 
> control the JSON data stream (to be able to declare the value type of the 
> "start" end "end"  property to be "date"). 
>
> Is there any way to have an additional file that has just that properties 
> section in it and then get the stream for the data?
>   
You can actually have several data links
    <link rel="exhibit/data" href=" ... google spreadsheets ... " />
    <link rel="exhibit/data" type="application/json" 
href="my-schema.json" />
And then just define your schema in your own local json file.

> The columnFormats tweak works to change the date format.
>
> The row template change works as far as controlling the column widths but 
> trying to add the columnFormats on top to fix the date format doesn't work. I 
> tried putting a ex:format="{ date { template: 'dd MMM yyyy' }" inside the 
> <td> section but it is ignored.
>   
You need ex:formats with an s at the end.

> Is it possible to use ex:format on the td and my syntax is not quite right?
>   

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

Reply via email to