Don't forget Pipedream recently added support to automatically filter out requests to favicon.ico and you should absolutely turn that on. In Pipedream, I built a new workflow using the HTTP request trigger. Specifically the value after folders, which I assumed to be a unique folder identifier. That lets anyone see and download files but doesn't let them have control over it. I made a new folder in Google Drive, went to the Sharing options, and enabled public access to view items in the folder. You're going to need a folder of some sort to test with. I've got an initial version of this I'm sharing today, but have a follow-up planned with a few more advanced features. I could do filtering, sorting, provide context, and so forth, while still having a dynamic list of files. I could then render them on my website and have more control over the experience. It's good, but we can do better, right? I decided to look into using the Google Drive API via Pipedream if I could get a data-centric version of the files. You get nice thumbnails, you can view pretty much any kind of file, and you can download it. Here's how it looks if you don't want to click. I've got a folder you can open yourself at. Google Drive lets you make a folder public, and to be honest, the interface isn't too hard to use. I'm working on a project to help with local initiatives and as part of that effort, I needed to look into creating a nice way to display, make available, etc., files stored in Google Drive.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |