Is there a way display a shared google drive folder and "children" on a webpage? Not just files from a folder with embedded folder view? - directory

I'm looking for way to display a shared google drive folder including the subfolders on a single webpage. So far I'm using an iframe and embeddedfolderview method to display the files from an single folder. The Problem is: Once there is another folder within the first one, clicking on it takes me to google drive by opening a new tab. I want to stay on the webpage though and just browse through the files there, also being able to download them.
Is there a way of achieving this?
I'm very grateful for any kind of help, quite limited myself I'm afraid.
PS: Why am I doing this? I want to grant students of our school viewing access to some files via a protected area on our school webpage. To be able to display files from a folder on a webpage the folder's share setting need to be set to "public". Once redirected to google drive by clicking on a sub folder the link to this whole folder is in plain view and easy to copy and share around hence leaving our password protected webpage. So I want an otherwise publicly shared folder to only really be viewed on our webpage and nowhere else.
Thanks again for any help.

Most sites; especially Google, have catch scripts to avoid malicious or intrusive scripting.
Just to let you know the Object and XMLHttpRequest methods are not working either.
I tested due to time to spare with this Coronavirus.
The best way to go is to have your own site or blog. There's some free like wordpress.com and wix.com. But this being a school access issue, not sure what they will allow.
You might want to contact your technology personnel at school to see what they tell you.
Best regards,
Ramon

Related

Is it possible to display images from other sources on your wordpress page?

I have a lot of pictures on my homepage. Of course, this also requires a lot of disk space. Now I got the glorious idea that I don't store the images on the website, but on an external source (like Dropbox or Google Drive). There I can then also manage my own folder structure and do not have to use this stupid structure of Wordpress.
So the idea is that I can display images on my wordpress page, that are stored on an external source. Is this possible and how?
Actually you can achieve that but with a little bit different approach. Since you can't get public links to the images in your Dropbox or Google Drive, you might wanna try AWS S3 or Google Cloud Storage instead.

how can i remove weird links from my website

i have a website that was developed with wordpress
it was hacked ,I removed the malicious files that I've found on the server
and I got it back but when I search the website on google I found
strange links that I can't open them
photo
Remove url individually form google webmaster tools and it will take time remove it.
You should know that removing malicious files doesn't mean you cleaned up the site. There are many instances where a file will recreate all the malicious files again. Sometimes it can even be above the root of your website root folder. It's best to use a couple plugins to scan the whole site directory. And then check a couple days later if the malicious files return. (if this is the case you are best to actually just switch to a new server or reformat if you have the option as it will get quite expensive to pay someone to clean up your server)
First make sure you have completely cleaned up the hack. Then those pages in Google should get deindex as they won't exist anymore. It's probably not viable to remove every single hack page indexed in Google via webmaster tools as there could be 10s of thousands! (depending on the hack)
Below are a couple good scanners.
https://wordpress.org/plugins/quttera-web-malware-scanner
https://wordpress.org/plugins/sucuri-scanner
I would also recommend some plugins for enhanced security moving forward.
https://wordpress.org/plugins/ninjafirewall
https://wordpress.org/plugins/better-wp-security
https://wordpress.org/plugins/vulnerable-plugin-checker

Manage a website gallery with dropbox folder

I'm trying to make a gallery photo on website and my client need to upload these photos unto dropbox or google drive.
I've embed a gallery from google drive in my website and it works perfectly (which means I can see the photos). But, when I click on a photos, it redirects me on google drive and its not a good rendering.
I've also try this solution : pull and display images in website gallery from dropbox directory. It seems to be a good solution but unfortunatly, nothing appears on my website.
Anyone has a solution? I really need my client to manage himself is gallery photo without having to put it on FTP.
Thanks
Take a look at the Google Drive SDK and API, which allows you to get the list of files in a Drive folder and URLs that can be used to view the image directly. Depending on your needs, you can turn this into a gallery, use a lightbox to display the image, or whatever you specifically need.
You may also want to take a look at using Drive to publish website content. You may still need to write some code to create the gallery portion, but this provides an easy public place to store and manage the uploaded images.

Will google index files in a password protected folder?

We have some folders on our website which are password protected through a PHP script. Will Google or any other bot index files inside that specific directory? The files are accessible if you know the direct link.
www.site.com/files = directory is password protected.
www.site.com/files/image.jpg = directly accessible without login.
Will Google index the image file?
Would you like to buy the Brooklyn Bridge? I can get you a great deal on that... :-)
Seriously, Google will not add your GMails to their index, nor use them to find secret URLs. If there is no way for Google to find your pages through links, Facebook posts, tweets etc., they will not be able to index them.
If you want to be absolutely sure, simply put a robots.txt file in your protected directory. See http://www.robotstxt.org/orig.html for more on the Robots protocol.
Good luck!
Unless google can find the files, it can't index them, so it won't be able to spider the images because it can't get a directory listing.
However, if there are links to the images in other pages that the googlebot is indexing, it will be able to find your images.

wordpress, a download manager for outside URLs

I'm working on a online file library for one of my clients. It's a library for mostly PDFs and office documents. Because they are a huge amount(almost 2gb in files), I'm hosting them on another site(divshare), so that the hosting account we have doesn't get blocked by the excess of files, and also because of excess traffic downloading can generate.
So, my question is if there is a good download manager(even with some search for download categories and so) that can handle instead of local uploaded files, URLs of files hosted somewhere else?
The advice about any plugin or the like is very appreciated.
You ask how to code such manager, right? Otherwise, your are on the wrong site...
I think you need to make a kind of file manager, except that instead of generating HTML pages to view the files and act on them, it exposes a Web API, returning XML or Json data, that a WordPress plugin can manage.
From Divshare:
The DivShare Uploader Plugin for Wordpress replaces your regular
uploading frame with a DivShare upload form, allowing you to easily
upload and add files without ever leaving your "Write a Post" page.
It's a great way to speed up your blogging and take the load off your
servers when hosting big files and images.
It can be found here: http://www.divshare.com/integrate
Good Luck!
Marcelous

Resources