Re: [Simile-Widgets] Re: display-style-subcontent

2015-12-03 Thread Jay Gray
Here's an update David. = Exhibit 2 = Exhibit 2 catalog Here is the Exhibit code:

Re: [Simile-Widgets] Re: display-style-subcontent

2015-12-03 Thread David Karger
so one thing to point out right away. you claim your first example uses exhibit 2, but it's actually using exhibit 2 *syntax* in (an early release of) exhibit 3: note your script link is http://api.simile-widgets.org/exhibit/3.1.0rc3/exhibit-api.js";> it would be helpful to know if you

Re: [Simile-Widgets] Re: display-style-subcontent

2015-12-03 Thread David Karger
Actually I think it's better for most people to "think spreadsheet", which has me leaning towards treating an empty string as missing. Note that exhibit already treat missing values as empty strings when necessary, so it's only relatively sophisticated programmers who are likely to design pages

Re: [Simile-Widgets] Re: display-style-subcontent

2015-12-03 Thread David Karger
I've taken a closer look and I don't think this has anything to do with exhibit 2 vs. 3. Your "exhibit 2" example (which is actually running exhibit 3) gets its data from a google spreadsheet. your "exhibit 3" example uses a data.json file In a google spreadsheet, a blank cell is treated as a

Re: [Simile-Widgets] Re: display-style-subcontent

2015-12-03 Thread David Karger
(obviously, this inconsistent behavior is not ideal, so we will think about how to fix it) On 12/3/2015 5:03 PM, David Karger wrote: > I've taken a closer look and I don't think this has anything to do > with exhibit 2 vs. 3. > Your "exhibit 2" example (which is actually running exhibit 3) gets >

Re: [Simile-Widgets] Re: display-style-subcontent

2015-12-03 Thread Jay Gray
TY for your analysis, David. This is definitely not a Severity 1 or 2 issue. If I do not have an image, I won't use the field. When I get an image I'll use the field and its value. I need to think about this, but it may be better programming practice to avoid using fields with null values