Auto update PDF/Docs on website from GDrive when uploaded.

Hi Wix experts,

I have a list of pdf files stored in google drive shared folder.

Currently the page I have the page uploaded is using PDF reader app on a Wix page and another link to archive pdf files.

The one using the PDF reader app is being linked to Google drive folder document. I’d like to get the pdf loaded automatically once a new pdf file is uploaded. And the existing one moved to the archive folder. Is there a wix code or javascript that can do this?

Google drive folder structure:
Newsletter
Latest Newsletter —> This folder has the latest pdf loaded
Archive newsletter 2017 → This folder will have old archives, including an auto update on a weekly basis (Monday’s)

The folders will be manually maintained, as its maintained, I’d like Wix to auto update, rather than modifying the page and publishing it, seems an overhead.
Sample page: https://sspeterpaulmitcham.wixsite.com/mysite/parish-newsletter

Hope someone can shed some light here.

Many thanks in advance.

Hi,
I’m afraid that it is impossible to get information from the app itself in order to display the relevant document on the page since there’s no integration of Wix Code with Wix apps.

Have a good day,
Tal.

Hi,

Perhaps there may be a way within Wix Code to to implement using Javascript code to read files from within Google drive.

References:

  1. Google REST API V2 Method: files.get  |  Google Drive  |  Google for Developers
  2. Working with Javascript in Wix Code - Velo: JavaScript Support | Help Center | Wix.com

Have a great day,

Ray

Hi Ray

i am also trying to automatically pull information (.apk) to my site (folder), except im trying to pull it from aws s3 bucket.

did you happen to solve the problem?

thanks,
Amit