Page 1 of 1

Need help with google folder embed

Posted: Sat Jul 20, 2024 11:59 pm
by romlim
Hello, has anyone experienced embedding a google drive folder and displayed the content in descending order? This is the page I am working on:

https://barilidistrict2.neocities.org/memo

The files are displayed in alphabetical order by default but since this will be an area where users can download the latest memorandum, it has to be descending by date of issue.

I hope someone can share their solution... Thank you in advanced.

Re: Need help with google folder embed

Posted: Sun Jul 21, 2024 7:38 am
by BaconFries
Not sure if this will be of help but take a look. Note I have never used this so I cannot assist. Perhaps you could ask your question at:
https://support.google.com/docs?sjid=44 ... ic=1382883

https://support.google.com/docs/thread/ ... ound?hl=en

Re: Need help with google folder embed

Posted: Sun Jul 21, 2024 9:38 am
by romlim
Hi Bacon,

Thank you for the references. Least of luck, google have not replied to me yet. I search through the documentation and found this:

https://developers.google.com/drive/api ... files/list

I tried to add the orderBy parameter and string which is ?orderBy=folder,modifiedTime desc,name to my source https://drive.google.com/embeddedfolder ... gZ739#list

resulting to:
https://drive.google.com/embeddedfolder ... difiedTime desc,name#list

but still displays the files alphabetically. Maybe I am not doing it correctly.

Re: Need help with google folder embed

Posted: Mon Jul 22, 2024 7:13 am
by BaconFries
Least of luck, google have not replied to me yet.
Unlike the fast replies you get in the forum you will probably won't get the same from "Google". Unfortunately I can't help as my reply was purely for reference only sorry. Hopefully you will get this resolved.