Live data from Hacker News

Host webpages on Google Drive

googledrive.com

21–30 of 69 posts

Re: Host webpages on Google Drive

#21

Is that an official Google page on how to do this, or a demo you put together that Google may nix shortly? I ask mainly because a DS_Store file is visible in the directory, which strikes me as not a typical Google thing. Do they even use Mac OS for anything?

I think that is a user-created page. This feature of Drive launched late last year[1] and you can find more about it from the Drive SDK[2]

[1] - http://googleappsdeveloper.blogspot.com/2012/11/announcing-g...

[2] - https://developers.google.com/drive/publish-site

Re: Host webpages on Google Drive

#25
Nifty. Note, however, that if you want to use it to share javascript demos or something, and you're on a google apps domain that forces https, you might hit something similar to "[blocked] The page at https://googledrive.com/whatever ran insecure content from http://code.jquery.com/jquery-1.9.1.min.js. So you'll have to include your own copy of jQuery or Require or whatever.

Re: Host webpages on Google Drive

#26
post #14

now it says: "There are currently too many people viewing this file. Please try again later."

#whois googledrive.com Registrant: Matt Serlin DNStination Inc. 303 Second Street Suite 800 North San Francisco CA 94107 US admin@dnstinations.com +1.4155319335 Fax: +1.4155319336

Re: Host webpages on Google Drive

#27
post #25

Nifty. Note, however, that if you want to use it to share javascript demos or something, and you're on a google apps domain that forces https, you might hit something similar to "[blocked] The page at https://googledrive.com/whatever ran insecure content from http://code.jquery.com/jquery-1.9.1.min.js . So you'll have to include your own copy of jQuery or Require or whatever.

If you use Google's hosted libraries, you can embed it like so, and it should seamlessly work over SSL.

Re: Host webpages on Google Drive

#28
post #25

Nifty. Note, however, that if you want to use it to share javascript demos or something, and you're on a google apps domain that forces https, you might hit something similar to "[blocked] The page at https://googledrive.com/whatever ran insecure content from http://code.jquery.com/jquery-1.9.1.min.js . So you'll have to include your own copy of jQuery or Require or whatever.

You can use the Google CDN's copy of the jQuery file -- it supports HTTPS. The URL would be : https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.mi...

The CDN also hosts a few of other popular libraries too : https://developers.google.com/speed/libraries/devguide

Post reply on HN