[Simile-Widgets] Changing the values of facet on the fly

2010-06-21 Thread Antoine Blanchard
Dear all, I am using Exhibit to display a BibTex file (à la Citeline) : http://enroweb.com/citeulike2.html . Therefore, the facet labels are BibTeX standards, and their values as well. I can change the labels (ex:facetLabel) but I am stuck with the values as they stand in the source file. Now,

Re: [Simile-Widgets] Changing the values of facet on the fly

2010-06-21 Thread Antoine Blanchard
Thank you David but as mentioned, I am interested in the values taken by the facet themselves (not the label of the facet)… Antoine Le 21 juin 2010 à 14:36, David Karger a écrit : Most facets have an ex:facetLabel parameter that you can set to whatever value you like. e.g. div

Re: [Simile-Widgets] Changing the values of facet on the fly

2010-06-21 Thread David Karger
Sorry, missed that. Add to your js (in a different file) {items: [ {type: translation, label: inproceedings, frenchName: en conference}, {type: translation, label: thesis, frenchName: these}, ... etc. Then set your facets to div ex:role=facet

Re: [Simile-Widgets] Changing the values of facet on the fly

2010-06-21 Thread David Karger
For the future, it would be fun to think about how to extend exhibit localization (which currently covers exhibits built-in terms regarding sorting and filtering) to allow localization of property and item labels. This would allow end users to experience the whole exhibit in their chosen