Monday, February 13, 2023

idea for updating website once a day

This post talks about manually downloading and uploading, using Google Apps Script only to generate the webpage once and save it to Drive.
https://stackoverflow.com/questions/70071534/i-want-to-use-google-app-script-with-html-service-to-create-a-static-html-file

I suppose the file saved to Drive can be uploaded to some other site using some sort of scripting running either on Google Apps Script or on our local server. 

Edit: Possible uploading to S3 bucket using Google Apps Script code similar to this

Edit Mar 2023: Implemented a Github Pages upload version using Github's REST API in the PHP translation of our Google Apps Script mentioned in a later post

https://github.com/hn-88/mktxt/blob/main/maketxt.php#L271

No comments:

Post a Comment