Be aware that since HEAD is the most current version of exhibit, it will have the most bugfixes, but it gets updated more often and may therefore have new bugs that haven't yet been detected. If you want something that you can trust to be stable, and don't need the most up-to-date functionality, you should use the STABLE or current versions of the api.

On 11/04/2015 02:56 PM, jay gray | gmail wrote:
Roger that. I used Exhibit 2 as a baseline (something done previously that 
worked as expected) so that I could contrast results with Exhibit 3. I have 
updated my Exhibit 3 to use the library you designated - thank you for that.

/jay

-----Original Message-----
From: simile-widgets@googlegroups.com [mailto:simile-widgets@googlegroups.com] 
On Behalf Of David Karger
Sent: Wednesday, November 04, 2015 1:43 PM
To: simile-widgets@googlegroups.com
Subject: Re: [Simile-Widgets] Differences between Exhibit 2 and Exhibit 3

Note that Exhibit 2 is deprecated; you should definitely be writing your
exhibit using exhibit 3 syntax.

On 11/04/2015 02:40 PM, jay gray | gmail wrote:
TY for advice luismiguel. Will update example tonight and confirm back tomorrow.

/jay


-----Original Message-----
From: simile-widgets@googlegroups.com [mailto:simile-widgets@googlegroups.com] 
On Behalf Of Luis Miguel Morillas
Sent: Wednesday, November 04, 2015 12:33 PM
To: simile-widgets@googlegroups.com
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 <moril...@gmail.com>:
I'll review it laterales, Hay

El 4/11/2015 15:51, "Jay Gray" <jaygray0...@gmail.com> 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 simile-widget...@googlegroups.com.
To post to this group, send email to simile-...@googlegroups.com.
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 simile-widgets+unsubscr...@googlegroups.com.
To post to this group, send email to simile-widgets@googlegroups.com.
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 simile-widgets+unsubscr...@googlegroups.com.
To post to this group, send email to simile-widgets@googlegroups.com.
Visit this group at http://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/d/optout.

Reply via email to