Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including
Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Web Applications Stack Exchange is a question and answer site for power users of web applications. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
10 years, 9 months ago
Google Sites and Calendar and various other services have frames you can embed in other sites. In particular Google Groups has a particularly decent embed functionality.
Security issues aside, I would like to be able to embed drive folders on a page the same way as conversations from Groups. With groups, you can use simple HTML code from the Google service and just add it to your existing page. It would be a good thing to have a user-friendly without delving too deep into APIs.
Is there a way to use a similar embed code with a shared folder of Google Drive using either Google code or an embed from an outside service?
Aug 31, 2012 at 14:48
533 3 3 gold badges 8 8 silver badges 19 19 bronze badges
Go to your Google Drive.
Right-click on the folder.
Get link. Open the
General access drop-down menu. Select
Anyone with the link to publish your folder. Click
Copy link > Done.
You will get a URL like the following:
You can see your folder ID in bold: 1qGwpjmQIQO8rN1odas0njDSf72VRrTCa Google Drive folders can be embedded and displayed in
grid views. Put the folder ID in one of the following
<iframe src="https://drive.google.com/embeddedfolderview?id=FOLDER-ID#list" style="width:100%; height:600px; border:0;"></iframe>
<iframe src="https://drive.google.com/embeddedfolderview?id=FOLDER-ID#grid" style="width:100%; height:600px; border:0;"></iframe>
Dec 20, 2013 at 4:12
30 1 1 gold badge 5 5 silver badges 12 12 bronze badges
Google Drive does not provide HTML embed codes directly, and they actively block the ability to put a public folder listing in an
<iframe> on your website (using
I have been unable to find a third-party service that provides embedding functionality.
Your answer at this time appears to be
Dec 19, 2012 at 16:21
William Jackson William Jackson
6,275 1 1 gold badge 34 34 silver badges 42 42 bronze badges
I think you will find that the answer lies in the use of Google API service. I have been looking at the same thing and so far this is the answer.
You need to add the client library to your website and reference it in your webpages. You also need to add a security key to Google so that the system can authenticate the call from your site to your Google drive.
The same library's work for Tasks, Email, Calendar and so on.
Mar 21, 2013 at 17:09
Here is how you can do it:
Upload your PDF file.
Then click your file in document list.
A preview will be opened.
You will see a blue button named
Open (right-bottom side) Click that button. You will be transferred docs.google.com
Here you will see the top-menu like
File, Edit... Choose
File → Embed file. Then you can get an embed code.
Also, don't forget that your document’s sharing settings must be
anyone with the link.
Mar 24, 2013 at 15:43
21 1 1 bronze badge
I found one article that might help you out.
This article shows you how to embed a list of Google Docs in a Page on your Google Site.
https://developers.google.com/apps-script/articles/embedding_docslist_in_sites. It requires a bit of scripting knowledge so it might be a little advanced depending on how comfortable you are.
This and this are questions on the SE Network concerning the script.
Jan 29, 2013 at 7:32
170 2 2 silver badges 12 12 bronze badges
One possible solution to integrate Google Sites and Google Drive is MetaDrive.
This tool allow users to display a Drive Folder, browse, search and some advance functionalities like custom metadata
I hope this help you.
Apr 16, 2013 at 8:31
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only