通过 Javascript 使用 Google 文档
有没有办法:(在客户使用他们的 Google 帐户登录后)
- 列出他们的 Google 文档
- 编辑他们的 Google 文档
- 用 Javascript保存他们的 Google 文档
。请注意,所有内容都必须使用 Javascript。
还可以做到吗?
Is there any way to: (After client has been logged in using their google account)
- Listing their Google Documents
- Editing their Google Documents
- Saving their Google Documents
in Javascript. Note that everything must be in Javascript.
Can it even be done?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您无法通过 Google 数据 API 找到任何内容,我不相信你想做的事是可能的。看起来与 Google Docs 的任何交互都是服务器端的(Java、.NET、PHP、Python、Obj-C)。
也许如果您可以描述为什么它必须是服务器端的,也许您可以获得对您尝试做的事情(或者为什么您尝试这样做)的满意答案。
但是,回答你的问题 - 不,目前不可能。
If you haven't been able to find anything with the Google Data APIs, I do not believe what you want to do is possible. It looks like any interaction with Google Docs is server-side (Java, .NET, PHP, Python, Obj-C).
Maybe if you can describe why it has to be server-side, maybe you can get a satisfactory answer to what you are attempting to do (or why you are attempting to do it that way).
But, to answer your question - no, it's not possible at this time.
好吧,我不知道如何使用服务器端的任何东西,也没有找到任何学习的方法。不过我确实了解 Java。我如何做服务器端java?
Well, I don't know how to use anything server side, and have not found any way to learn. I do know Java, though. How do I do server side java?
是的,这是可能的:
Google 提供了一个示例。我在 go 中编写了编辑删除等的代码。
我不认为你为什么需要node.js。您应该能够使用 JAM 并直接从浏览器调用 jsAPi。
还有谷歌应用程序脚本,它允许您在谷歌文档中编辑文档。
yes that is possible:
google provides an example. I wrote code to edit delete etc in go.
I don't think why you need node.js. You should be able to use JAM and call the jsAPi directly from the browser.
there also is google apps script, which allows you to edit documents within google docs.