Re: [Simile-Widgets] Facet filtering using URL query strings in Exhibit 3

2015-10-29 Thread Tully Hansen
Thanks for your help as ever, David. To put to bed my original question, there's not an easy way to set facet filters from URL queries in Exhibit 3, then? I know about setting data-ex-query-param-name="foo" on a facet of data-ex-facet-class="TextSearch" to allow you to query 'bar' with

[Simile-Widgets] Re: Facet filtering using URL query strings in Exhibit 3

2015-10-29 Thread Tully Hansen
Basically, my question is the Exhibit 3 equivalent of these (much) older questions: https://groups.google.com/forum/#!searchin/simile-widgets/query-param-name/simile-widgets/ui__L9njmlY/00vSEHZxU4MJ

Re: [Simile-Widgets] Facet filtering using URL query strings in Exhibit 3

2015-10-29 Thread David Karger
I don't think that syntax has been preserved.If I had to do it, I'd take the following approach: write some javascript to read and parse the arguments from the url and then modify the facet tags in the html, adding the data-ex-selection attribute that allows you to specify the initial values

Re: [Simile-Widgets] Facet filtering using URL query strings in Exhibit 3

2015-10-29 Thread Tully Hansen
Aha! Thanks, this gives me something to go on – what you describe is basically what I'm attempting to do now (I think), but I hadn't thought to do it before loading Exhibit… -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To unsubscribe

Re: [Simile-Widgets] Properly display embedded Tweets in Exhibit across facet filtering

2015-10-29 Thread David Karger
Exhibit is not designed for realtime updates. It fetches its data once, and never interacts with a server again. dataload.exhibit is only twittered once, because data is never loaded again. ditto for exhibit.configured.itemsChanged and facetUpdated does get triggered each time you change a

Re: [Simile-Widgets] Properly display embedded Tweets in Exhibit across facet filtering

2015-10-29 Thread Tully Hansen
Thanks David. I can see why calling twttr.widgets.load(); on data load.exhibit won't work after the initial load. Oddly (to my limited understanding), I can put twttr.widgets.load(); inside of onAfterViewPanelSwitch.exhibit: jQuery(document).on("onAfterViewPanelSwitch.exhibit", function(evt) {

Re: [Simile-Widgets] Facet filtering using URL query strings in Exhibit 3

2015-10-29 Thread David Karger
The new version of exhibit has a bookmark export functionality that encodes the state of a query. Look for this icon on the page and click it; it will give you a messy string that will open the exhibit with a specific facet state. On 10/29/2015 10:04 PM, Tully Hansen wrote: > Related to a

[Simile-Widgets] Properly display embedded Tweets in Exhibit across facet filtering

2015-10-29 Thread Tully Hansen
I want embedded tweets to show in my Exhibit 3, see table facet in demo here: http://tullyhansen.github.io/botDB/nobel3ed.html – I would like to know where I should call Twitter's twttr.widgets.load(); such that any change in Exhibit data display (including filtering via facet

[Simile-Widgets] Facet filtering using URL query strings in Exhibit 3

2015-10-29 Thread Tully Hansen
Related to a previous post, but I've done enough dabbling to better formulate a question. At http://tullyhansen.github.io/botDB/nobel3ed.html, I have cobbled together (c/- answers here and random StackExchange posts) some sort-of working facet filtering based on parameters from URL query