ozzy wrote:
> I am just getting to grips with Exhibit, it is SO powerful !
> We currently are developing a site at 
> http://www.visatimeline.com/my-visa-timeline/index.html
>
> I have a few questions, and I have read as much of the documentation
> as I can: So apologies if my questions are answered elsewhere.
>
> 1. propogating the data via Google Spreadsheets is brilliant, and
> ultra lightweight on our server. But how do we get back the
> "pluralism"
>
> Example: our site labelk is Expat, and more than 1 its "plurified"
> using json, but with the spreadsheet version I can not see where we
> can pluralise the label tag.
>
> 2. I am struggling to cope with dates, as most of our users are
> British/Australian our date format is different from the US system,
> example:
>
> 10/09/2004 to us means 10th September 2004 ie dd/mm/yyyy
> as opposed to the US system of mm/dd/yyyy
>   
I'm afraid you'd have to use ISO 8601 standard, which is 2004-09-10 for 
September 10th, 2004. You might have to enter it into the spreadsheet as 
a string so that the spreadsheet software doesn't try to reformat it. 
For example, type

    ="2004-09-10"

> I also would like to propogate the timeline properly with date
> fields , ie day and month..
>   
I'm not sure what you mean by "propagate the timeline".

> This I am seriously struggling with, so appreciate any guidance
> please.
>
> Essentially: we wish to track the timeline of each member, a member
> embarks onto the timeline at a specific date say dd/mm/yyyy 18/08/2003
> and culminates their timeline on 27/09/2005
>   
> I am struggling to actually display this for our users, and realise I
> am messing up somewhere. Also be useful, to "offer a day count to the
> timeline" so users can measure the time-stretch in number of days
> ( start to finish ) of each member.
>   
You could try something like this

    <div ex:role="view"
       ex:viewClass="Timeline"
       ...
       ex:eventLabel="concat(.label, ' (', date-range(.from, .to), ')')"
       ...
       ></div>

> 3. Our members enter 2 cities ( as we are a Migrancy Expatriate site )
> they will have city A ( from ) and city B ( to )
> I wish to be able to pull the information from our file, either google
> spreadsheet file / json / or different to plot these 2 points onto
> Google Maps, and with link bubbles back to their timeline.
>
> Tall order I am sure, but I have seen many utilise the map feature,
> albeit I can never find it on MIT website, and its integration with
> exhibit.
>   
You could create 2 different map views, one for starting cities and one 
for finishing cities, and 1 timeline view, and link them all up (see the 
presidents example). The cities need to be items as well.

    items: [
       { "type" : "Person",
          "label" : "John Doe",
          "departs" : "Los Angeles",
          "arrives" : "New York"
       },
       ... more people ...
       {  "type" : "City",
           "label" : "Los Angeles",
           "latlng" : "...lat/lng here..."
       },
       ... more cities
    ]

Then define the default collection to include Person items only

    <div ex:role="collection" ex:itemTypes="Person"></div>

And in your starting cities map, use this expression

    ex:latlng=".departs.latlng"

More on collections here

    http://simile.mit.edu/wiki/Exhibit/2.0/Collections

David


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