George, I believe exhibit 3 will generally work fine if you put the script tag in the body, although there may be exceptions. If it fails, put up an example and let me know.

Also, the "?bundle=false" part of the script tag prevents exhibit from loading its optimized bundle, so the page will load slower. I suggest removing.


On 1/4/2017 7:14 PM, George Adams wrote:
Not sure this will help.
http://www.hayriverti.org/local-directory-map
This is a Google spreadsheet as a backend with exhibit 3.1.1
The map is in an iframe which is a custom Google widget. The widget has no access to the <head> so the exhibit code is loaded with JS at the end.
To view the source right click on the iFrame.

It has been over a year since I worked on this page. There were changes to Google Spreadsheets that required jumping through a number of hoops to get that to work. I wrote those up on this list. If you have that part working you are most of the way there.


George Adams

On Wed, Jan 4, 2017 at 2:23 PM, Jon Crump <[email protected] <mailto:[email protected]>> wrote:

    Dear all,

    I'm returning to Exhibit after long hiatus, and I'm trying to get
    my head around Exhibit3. Are there any examples out there of
    bare-bones Exhibit demo drawing data from a Google spreadsheet?

    I've got a link:
        <link rel="exhibit/data"
            type="application/jsonp"
href="https://spreadsheets.google.com/feeds/list/xxxxx-mysheetid/od6/public/basic?alt=json-in-script
    
<https://spreadsheets.google.com/feeds/list/xxxxx-mysheetid/od6/public/basic?alt=json-in-script>"
            ex:converter="googleSpreadsheets" />

    that returns some pretty opaque looking json wrapped in a
    gdata.io.handleScriptLoaded() function, and I've called Exhibit thus:
    <script src="./scripted/src/exhibit-api.js?bundle=false"
    type="text/javascript"></script>
    but I'm somewhat at a loss to know how to go next.
    any hints for the clueless, but willing, would be welcome.
    thanks,
    Jon
    -- 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]
    <mailto:[email protected]>. To post to
    this group, send email to [email protected]
    <mailto:[email protected]>. Visit this group at
    https://groups.google.com/group/simile-widgets
    <https://groups.google.com/group/simile-widgets>. For more
    options, visit https://groups.google.com/d/optout
<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] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>. Visit this group at https://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 https://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/d/optout.

Reply via email to