HI David,

Excellent - I've created a new schema data file and it has allowed me to
specify which fields are dates so the straight tabular view interprets dates
correctly.

Using ex:formats fixed my problem with the fixed column widths - thanks for
both these.

I've been inspired to help with the Wiki so I've created a login (pfred60 is
me) and will tweak little bits of the Exhibit and possibly Timeline sections
with things I've learnt from this list or by experimentation. Hopefully it
will help others in the future.

Once again thanks - I've got a few more questions later I'm sure
Cheers
Peter 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of David Huynh
Sent: Friday, 14 March 2008 5:11 AM
To: [EMAIL PROTECTED]; General List
Subject: Re: Exhibit: Controlling the Table View

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

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

Reply via email to