google-docs

Unable to deploy Google Apps Script as a Web App

只谈情不闲聊 提交于 2019-12-03 11:21:24
问题 I'm not able to deploy Google Apps Script as a web app since yesterday. I am getting the following error (please see the screenshot) I've tried to use different computers, different google accounts and different networks, to no avail. Would request for prompt support. Thanks in advance! 回答1: Hi all the quick fix is as follow: add these lines of code at the end of you doPost() method var app = UiApp.getActiveApplication(); return app; This should fix the problem and now it's returning 200 (ok)

Uploading files to Google docs programmatically

人走茶凉 提交于 2019-12-03 08:59:55
I have many many pdf files around 50GB in my Ebooks folder. Now i want to upload them in Google docs like Rsync of Linux. Is it possible to have the script in php or python which uploads all pdf files in Ebooks folder and subfolders to Google docs. Now the problem is i need to restart computer many times and i want that script should start from where it was left with previous file so that i don't need to manually make selection of files. is it possible You'd use the Google Documents API to upload them using a simple HTTP POST with the data. Here's an explanation how to upload and convert

How can a Dart application read cell data from google spreadsheets

若如初见. 提交于 2019-12-03 08:28:11
What are the possible options and setups one would need for reading data out of a google docs spreadsheet into a dart web application? Does dart need the wrapper around gdata REST api to do this? Has any dart project or sample interacted with google docs? Newer Google APIs have a common API infrastructure where the client libraries are always up to date. There is such a client library for Dart (http://docs.google-api-dart-client.googlecode.com/git/index.html). However, it looks like Google Spreadsheets is still using an older API infrastructure called GData. There is no GData client library

Google Spreadsheets retrieving JSON feed

不羁的心 提交于 2019-12-03 08:24:45
I recently started using the "New Google Sheets" (spreadsheets) and they changed the URL to a shared public spreadsheet and I am unsure how to obtain a JSON feed of the spreadsheet data. Based on data from this URL: https://developers.google.com/gdata/samples/spreadsheet_sample I can obtain the JSON data from an older version spreadsheet using the key parameter found in a URL of this format: http://spreadsheets.google.com/feeds/feed/key/worksheet/public/basic?alt=json-in-script&callback=myFunc However, the new sheets have a URL like this: https://docs.google.com/spreadsheets/d/SOME-IDENTIFIER

Integrate Google Docs into web site for content creation

假如想象 提交于 2019-12-03 07:06:32
问题 I am building a self-publishing web site. I want to integrate Google Docs into my website and allow every publisher/writer to write her/his book from my website and later update the content from either my website or directly from google docs, and to keep the two versions of content in sync. Is this possible? Thanks! 回答1: Yes, this is possible. You can fetch Google Docs file content, and upload new content with the Google Documents List API. You will currently have to perform the sync manually

Use Google Analytics to track Google Form submissions

我与影子孤独终老i 提交于 2019-12-03 06:47:51
问题 I'm using Google Forms (a Google Doc spreadsheet with an automatically generated form that the user can fill in to submit their details) and would like to track the submission of the form as a virtual pageview in Google Analytics so that I can measure conversions. Does anybody know if this is possible? 回答1: While Crayon Violent is correct about the built-in capabilities, there is a viable option: If you're able to host the Google Form HTML on one of your own pages, you can treat it like any

Getting the download link for a public Google Docs file

柔情痞子 提交于 2019-12-03 03:34:15
Reading the Google Docs API I find this: Downloading Files cannot be downloaded in a format other than the one in which they were originally uploaded. The download URL for files looks something like this: https://doc-04-20-docs.googleusercontent.com/docs/secure/m7an0emtau/WJm12345/YzI2Y2ExYWVm?h=16655626&e=download&gd=true Given a public Google Documents file URL, say, https://docs.google.com/open?id=0B1-vl-dPgKm_NTNhZjZkMWMtZjQxOS00MGE1LTg2MjItNGVjYzdmZjYxNmQ5 How can I turn it into a download link? Hi nightcracker try this: https://docs.google.com/uc?export=download&id=DOCIDGOESHERE I've

Is there a way to use Google Docs for collaborative programming? [closed]

两盒软妹~` 提交于 2019-12-03 03:06:36
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Or if not, are there any good IDE's or programs that are designed for real-time collaborative programming? 回答1: Unfortunately I also haven't found a good way to use Google Docs for collaborative coding yet. It seems as if Google Docs (as of now) is not intended for collaborative coding. However there are a few

Auto height for Iframe containing embedded / published Google Doc

独自空忆成欢 提交于 2019-12-03 02:01:13
I have an iframe with a published Google Doc. The contents of that doc are subject to change, so I want to auto adjust the height of the iframe based on its content. I found some solutions for this, but they all require access to the head of the child document. Does anyone have an idea on how to do this? You can view an excerpt of the code I use below: #faq{ height: 800px; overflow: hidden; position: relative; width: 660px; border-top: 1px solid #90C547; border-bottom: 1px solid #90C547; } <div id="faq"><iframe id="faqif" src="https://docs.google.com/document/..../pub?embedded=true"

Unable to deploy Google Apps Script as a Web App

烂漫一生 提交于 2019-12-03 00:51:21
I'm not able to deploy Google Apps Script as a web app since yesterday. I am getting the following error (please see the screenshot) I've tried to use different computers, different google accounts and different networks, to no avail. Would request for prompt support. Thanks in advance! Hi all the quick fix is as follow: add these lines of code at the end of you doPost() method var app = UiApp.getActiveApplication(); return app; This should fix the problem and now it's returning 200 (ok). 来源: https://stackoverflow.com/questions/21570143/unable-to-deploy-google-apps-script-as-a-web-app