TY for advice luismiguel. Will update example tonight and confirm back tomorrow.
/jay -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Luis Miguel Morillas Sent: Wednesday, November 04, 2015 12:33 PM To: [email protected] Subject: Re: [Simile-Widgets] Differences between Exhibit 2 and Exhibit 3 Jay, * About the json data: every item must have a "label". Labels must be uniques. If not use "id" too. * The correct collection is <div ex:role="exhibit-collection" ex:itemTypes="Publication"></div> I think it should work fine with this canges. And better use new naming for attributes: "data-ex-item-types" for example. -- luismiguel (@lmorillas) 2015-11-04 16:23 GMT+01:00 Luis Miguel Morillas <[email protected]>: > I'll review it laterales, Hay > > El 4/11/2015 15:51, "Jay Gray" <[email protected]> escribió: >> >> >> TY, that solved many of the facet-related problems. However, I have 2 >> remaining issues. >> >> 1) am still getting the Author or Title (depending on selection) name on >> the viewPanel separate from the lens listing. They are handled as if they >> are <h1> in HTML. >> >> 2) The un-assigned terms from the JSON hierarchy appear as missing items. >> I intended to define 3 items, but Exhibit reports that I have 3 plus 34 >> missing. >> >> Addition to previous post: >> I have to toggle between "Source" and "Abstract" to activate the new >> bookmark tool. It does not load when the page is first loaded. The scissors >> are present, but are not moved down by bookmark until I toggle the view. >> >> /jay >> >> On Wednesday, November 4, 2015 at 8:31:57 AM UTC-6, David Karger wrote: >>> >>> Jim, for any problems with exhibit 3, please check if they are still >>> present in the "HEAD" (most recent) version of the exhibit codebase: >>> http://api.simile-widgets.org/exhibit/HEAD/exhibit-api.js >>> >>> On 11/4/2015 8:58 AM, Jay Gray wrote: >>> >>> >>> Here is a simple bibliography using Exhibit 2 ("Sample A") >>> >>> Sample A >>> >>> It properly handles an array of Authors for 2 items, and formats the >>> viewPanel as expected. >>> >>> Here is a bibliography using Exhibit 3 ("Sample B"). >>> >>> Sample B >>> >>> Exhibit.HiearchicalFacet is used in Sample B. >>> >>> After the facet tree is described in JSON Sample B, the balance of the >>> JSON is similar to Sample A. >>> >>> However, there are several problems. >>> >>> In Sample B, the JSON array is not properly processed. For example, an >>> Author (Mirchandani) is assigned to 3 items but appears only once in the >>> facet tree. >>> >>> Keyword "word-2" is assigned to 2 items but does not appear in the facet >>> list. >>> >>> Keyword "word-3" is assigned to 3 items but appears for only 2. >>> >>> Then, the Subject Headings are listed as items and shown as missing. >>> There should be 3 items and 35 Subject Heading terms, but the viewPanel is >>> confused. >>> >>> Finally, the Author appears in viewPanel as if it were an <H1>. >>> >>> Have I created errors that produce these differences? >>> >>> How to correct the errors? >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "SIMILE Widgets" group. >>> To unsubscribe from this group and stop receiving emails from it, send an >>> email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at http://groups.google.com/group/simile-widgets. >>> For more options, visit https://groups.google.com/d/optout. >>> >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "SIMILE Widgets" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/simile-widgets. >> For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to a topic in the Google Groups "SIMILE Widgets" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/simile-widgets/-jcFFHKwEAw/unsubscribe. To unsubscribe from this group and all its topics, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/simile-widgets. For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/simile-widgets. For more options, visit https://groups.google.com/d/optout.
