Sunday, 15 April 2012

javascript - is it possible to embed a google web app in a third party website? -


For my work, we are creating a Google Apps Script-based web app, however, our customer can make their own personal- Want a web app on branded website The problem is from the "Web App and Google Site Gadgets" page, I only see an option to embed web applications specifically in Google Sites, and otherwise can not find any other information. Does this mean there is no way to embed in personal websites or is there a solution that I am not getting anywhere?

I use ContentService to use Apps Script as backend I use

on my webpage, I use the call like this:

  var url = "https://script.google.com/macros/s/ AKfycb ... vZ8SvFBRWo / Offset Offset = "+ offset +" & baseDate = "+ baseDate +" & amp; callback = "; $ .getJSON (url, function) {...  

In my script:

  function doGet (e) {var callback = e JSONP Parameter.backback; // Return ContentService.createTextOutput (callback + '(' + JSON.stringify (return object) + ')'). SetMimeType (ContentService.MimeType.JAVASCRIPT);}  

No comments:

Post a Comment