===== Exhibit ===== // An [[http://www.simile-widgets.org/exhibit/|MIT Framework]] to present data quickly, by using JS // Information about it: * [[http://simile-widgets.org/wiki/Getting_Started_with_Exhibit#Supporting_Filtering_and_Sorting | Here]] is a basic howto. * [[http://www.simile-widgets.org/wiki/Reference_Documentation_for_Exhibit|Here]] is a Reference - an API to every EXHIBIT View * [[http://www.simile-widgets.org/wiki/HowTo_Articles|Here]] is a set of howto articles * [[http://code.google.com/p/simile-widgets/w/list|Here]] is the Sourcecode on Google Code [[ http://groups.google.com/group/simile-widgets/?pli=1|Help ]] can be requested at the simile widgets google group. ==== PRESENTATION ==== ===Collection=== Placing a [[http://www.simile-widgets.org/wiki/Exhibit/Collections |collection]] div **somewhere**, e.g under the
- forces EXHIBIT to display only the entries (from the JSON file) of the type Author. Useful if there is more information in the JSON, like a list of publications.
===Facettes===
Filters for the data, to display only chose cathegories
===Views===
Views represent the art of presentation, which will be used to present the data, like Tabular, Timeline etc.
To precisely style a View - lences should be used.
When additional views are inserted to the viewPanel - they will be displayed as tabs.
TABLE:
TIMELINE:
For timeline View additional JS FIle must be inserted:
===Lences===
Is a template to format the presentation.
API:
^Tag attribute ^ Explanation^
| ex:content=".discipline" |graps the property value of the property "discipline"|
| ex:src-content=".imageURL" |graps the property value of the property "imageURL" AND generates a TAG src, with the graped value. src can be replaced by any tag|
| ex:if-exists=".co-winner" class="co-winners">... |displays the div only, if the property value of property "co-winner" exists.|
| ex:content="**value**"> |generates a link to the current item. Linkclick creates a popup with all data about the item.|
|
{
"items" : [
{
"label" : "1988-01",
"type" : "Date"
},
{
"label" : "My little Knuth, Donald E.",
"type" : "Author",
"original-name" : "Donald E. Knuth",
"last-name" : "Knuth",
"date" : "1988-01"
},
{
"label" : "Knuth, Donald E.",
"type" : "Author",
"original-name" : "Donald E. Knuth",
"last-name" : "Knuth"
},
{
"pub-type" : "unpublished",
"uri" : "urn:09caa715f9994e7b82e334d47a46d2fa",
"date" : "1988-01",
"author" : "Patashnik, Oren",
"month" : "January",
"note" : "The part of BibTeX\'s documentation that\'s not meant for general users",
"type" : "Publication",
"year" : "1988",
"label" : "Designing BibTeX Styles",
"key" : "btxhak"
},
==Properties==
Some data entries in the JSON file can be crosslinked to another data entries, by setting its value-type in the JSON file. The property, which should be a link to another item should contain a label-value of the target.
{
properties: {
"co-winner" : {
valueType: "item"
}
},
"items" : [
{ type : "Nobelist",
label : "Burton Richter",
discipline : "Physics",
shared : "yes",
"last-name" : "Richter",
"nobel-year" : "1976",
relationship : "alumni",
"co-winner" : "Samuel C.C. Ting",
"relationship-detail" : "MIT S.B. 1952, Ph.D. 1956",
imageURL : "http://nobelprize.org/nobel_prizes/physics/laureates/1976/richter_thumb.jpg"
},
{ type : "Nobelist",
label : "Samuel C.C. Ting",
...
==Types==
A property value can be defined different for plural!!! E.g. property "type" can be Nobelist or Nobelists!
{
types: {
"Nobelist" : {
pluralLabel: "Nobelists"
}
},
properties: {