Les nouveautés et Tutoriels de Votre Codeur | SEO | Création de site web | Création de logiciel

seo An easier way to save files to Google Drive 2013

Seo Master present to you: Author PhotoBy Nicolas Garnier, Developer Relations

We surf the web for a million different reasons – for everything from school research projects to time-killing memes. And when we find something relevant for us, whether that be our most recent pay stub or just an adorably awesome pic, we may want to save it for later reference or to share with friends in the future.

Starting today, Drive users can use the "Save to Drive" button to do exactly that. The “Save to Drive” button is an easier way to save files directly from a website. If you have your own website, you can improve the experience for your site visitors by adding the “Save to Drive” button to your page using two easy lines of HTML.

Saving an ebook to Google Drive from the O’Reilly website

Just try it out. Save this cute kitten’s image to Google Drive using the button below:
Credit: Krzysztof P. Jasiutowicz


Adding a 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>
You can also use 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.

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!

Check out some companies that have already added Save to Drive buttons on their sites: Bigstock, Delta Dental, Fotolia, O'Reilly, Outbox, Ultimate Software, and Zen Payroll.

Saving a dental statement from Delta Dental

Saving your physical mail to Drive from your Outbox account

To learn more, have a look at our technical documentation, and if you have questions, don’t hesitate to post on Stack Overflow.


Nicolas Garnier joined Google’s Developer Relations in 2008 and lives in Zurich. He is a Developer Advocate for Google Drive and Google Apps. Nicolas is also the lead engineer for the OAuth 2.0 Playground.

Posted by Scott Knaster, Editor
2013, By: Seo Master

seo Elevate your apps in Google Drive 2013

Seo Master present to you: Author Photo
By Nicolas Garnier, Developer Relations

When Google Drive launched, we also introduced the Google Drive SDK, which enables you to deeply integrate your apps into Drive. Using the Drive SDK, you can offer your users an experience similar to how Google Docs or Google Sheets interact with Drive. More than a hundred web apps now integrate with Google Drive in this way.

Today we are making several changes to Google Drive to help users more easily discover, connect and use these Drive-enabled apps.


Google Drive Create menu

The Google Drive Create menu now elevates Drive-connected apps to the same level as Google apps such as Docs and Sheets. This makes your Drive-connected apps easier to reach and more visible to Google Drive users.


New Google Drive Create menu

As you can see, we’ve made some space in the Create menu for your apps, which users can add by clicking on Connect more apps.


Browse and Connect Drive-enabled Apps

Google Drive users can now browse and connect Drive-enabled apps right from within Drive thanks to the new Connect apps to Drive dialog:

Connect some Google Drive-enabled web apps to your Drive

After installing an app, users can instantly start using your Drive app to create or open files directly from within Drive.

Opening a file in Google Drive with a connected app

If your app is already Google Drive-enabled and listed in the Chrome Web Store’s Drive collection, you don’t have to do anything new to take advantage of these new features. We will automatically pull all the information from your existing Chrome Web Store listing.

If your web app is not yet Google Drive-enabled, check out how you can integrate with the create-new and the open-with actions and then get your Drive-enabled app listed in the new Connect apps to Drive dialog.


Nicolas Garnier joined Google’s Developer Relations in 2008 and lives in Zurich. He is a Developer Advocate for Google Drive and Google Apps. Nicolas is also the lead engineer for the OAuth 2.0 Playground.

Posted by Scott Knaster, Editor
2013, By: Seo Master
Powered by Blogger.