Google launches "Save to Drive" button, save web files to Drive with a Click

Google launches new Save to Drive button that allows users to save web contents directly to Google Drive account with one click. If you are a blogger or web master? you can place the Save to Drive button into your site, that helps your site visitors to save your post image directly to their Drive account with one-click.

To add Save to Drive button on your website is easy. You simply have to include the script and HTML tag below 
<script src="https://apis.google.com/js/plusone.js"></script>
<div class="g-savetodrive"
data-filename="My Statement.pdf"
data-sitename="My Company Name"
data-src="/path/to/myfile.pdf">
</div>
There is also the Save to Drive button’s JavaScript API, which allows programmatic and flexible control of the creation of Save to Drive buttons in your web pages

Google says "The Save to Drive button works in the context of the user’s browser. This allows your users to save files that could require some form of HTTP authorization – such as a session cookie – without any special customization from you. In most cases, the Save to Drive button should be simple to integrate, plug-and-play!"

via-TNW

0 comments

 
© 2012 All Rights Reserved Tech Shortly
Back to top