在我的应用程序中托管 Google Apps UI
我正在研究在本地混合桌面/浏览器应用程序中重新使用 Google Apps/Docs 的可能性。
我一直在浏览有关操作文档的 Google 文档,例如。电子表格。我似乎找不到任何有关实际托管用户界面的信息。这可能吗,还是需要谷歌某种形式的许可?
I'm investigating the possibility of re-using Google Apps/Docs in a local hybrid desktop/browser application.
I've been going through the Google documentation on manipulating docs, eg. the Spreadsheet. I can't seem to find any info on actually hosting the UI. Is this possible, or does it require some form of permission from Google?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您希望在您的应用程序中嵌入一个指向 Google Apps 文档 URL 的浏览器控件吗?您可以使用 Google 文档列表 API 检索文档对于用户,然后在嵌入式浏览器控件中使用这些文档的 URL。
您不需要 Google 的许可即可这样做;您正在编写一个内置了一些额外智能功能的浏览器。
You want to basically embed an browser control in your application pointed at the URL of a Google Apps doc? You could use the Google Document List API to retrieve the documents for a user, then use the URLs of those documents in your embedded browser control.
You don't need Google's permission to do that; you're writing a browser with some extra smarts built in.
“托管 UI”是什么意思?这些应用程序是 HTML/CSS/JavaScript。您是否正在考虑将它们嵌入到 AIR 或 Titanium 中,或者嵌入到另一个应用程序的某种 Web 控件中?
What do you mean by "hosting the UI?" These apps are HTML/CSS/JavaScript. Are you thinking about embedding them in AIR or Titanium, or in some kind of web control in another app?
我简单地研究了一下这样做,并想如果我真的想要的话,我可以动态加载 gdocs 页面内容,并使用 javascript 去除多余的元素,如页眉和页脚。但我可能只会使用操作系统替代品,因为它们已经取得了很大的进步,而且我想要丰富的钩子。
i briefly looked into doing this, and figured if i really wanted to i could just load the gdocs page content dynamically, and use javascript to strip away the superflous elements like header and footer. but instead i'll probably just use an OS alternate because they have come a long way and I want rich hooks.