Josef Dabernig wrote:
> hello,
>
> i'm trying to display different data types in different exhibits:
>
>     * typeA would go to a timeline
>     * typeB would go to a map
>
> i think collections should be the right approach
> http://simile.mit.edu/wiki/Exhibit/How_to_set_the_root_collection_of_items
>
> could someone give me the missing link:
> *how to use different collections for different exhibits within one page?*
>
> thank you for your help and best regards,
You need to give different collections different IDs:

    <div ex:role="collection" id="typeA-things" ex:itemTypes="typeA"></div>
    <div ex:role="collection" id="typeB-things" ex:itemTypes="typeB"></div>

and then link up the views and facets to the right collections

    <div ex:role="view" ex:viewClass="Timeline" 
ex:collectionID="typeA-things" ...></div>
    <div ex:role="view" ex:viewClass="Map" 
ex:collectionID="typeB-things" ...></div>

Facets can be linked the same way.

David

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

Reply via email to