“发布到网络”用于Google Apps脚本中的文档? [英] "Publish to the web" for Document in Google Apps Script?

查看:119
本文介绍了“发布到网络”用于Google Apps脚本中的文档?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有计划为Google文档中的文件|发布到网络...菜单项提供Google Apps脚本功能?



之前被问过,但是,如果我能找到答案,就会发生。清楚地说,我并不是指设置文档本身的共享或可见性,我的意思是生成带有自己链接的文档的网页表示。

谢谢,

Brian

解决方案

对于GAS而言,这是不可能的。但是,使用文档列表API和URLFetch与oAuth,理论上可以在Web上公开文档。尽管发布到Web选项本身不可用。



请参阅以下链接以获取信息和帮助:


Is there any plan to provide Google Apps script capability for the "Files | Publish to the web..." menu item in a google Document?

This has been asked before, but heck if I can find an answer. To be clear, I don't mean setting the sharing or viewability of the Document itself, I mean the thing where a web page representation of the Document with its own link is generated.

Thanks,

Brian

解决方案

It is not possible directly with GAS. However, using the Document List API and URLFetch with oAuth, you can, in theory make a document public on the web. Publish to the web option, per se, isn't available though.

Please see the following links for information and help

这篇关于“发布到网络”用于Google Apps脚本中的文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆