问题
I see that some people are trying to grab data from google spreadsheets via google apps script to stick in their google sites:
How to access data on different Google Spreadsheet through Google Apps Script?
I could bash away at code snippets, but I don't suppose anyone has got a working example anywhere?
Many thanks in advance
回答1:
I was looking for something like this:
https://sites.google.com/site/testappscript2/
At the moment I don't think you'll see anything if you are not logged in to Google, but if you are then it might show this:
Welcome, don't know your name, but if you add your details here: https://docs.google.com/spreadsheet/ccc?key=0Aq72y9iq5_1UdG5LR0tCVTRXOVQtbkNLR1Q3eE5MR0E#gid=0 I could tell you your next assignment
if your google mail is in the spreadsheet it will show a personalized message.
My idea is to manage what a student sees in a Google site for a course depending on how the instructor has updated the students data in an online spreadsheet, so the student can see which assignments they've completed - what they have to do next, and possibly even their grades ...
来源:https://stackoverflow.com/questions/12264255/example-display-of-google-spreadsheet-data-in-google-site-via-google-apps-script