-->

Google Drive selain digunakan untuk media penyimpanan, hasil simpanan tersebut juga bisa diunduh untuk publik saat kita share. Hanya saja, URL yang diberikan oleh Google bukan merupakan link download langsung. Sebagian dari Blogger membagikan file dengan direct link download termasuk direct link dari Google Drive.

Untuk mempermudah mendapatkan direct link download dari Google Drive, kita bisa menggunakan Google Drive download link generator. Kemudian Kang Adhy merubah sedikit script-nya maka jadilah Google Drive download link generator untuk mendapatkan direct link download Google Drive secara mudah. Untuk mempermudah pengguna yang ingin mendownload file yang telah sobat bagi, maka diperlukan direct link link langsung yang permanen, sehingga dengan sekali klik pada link, file atau dokumen langsung bisa di download.

Caranya pun cukup mudah, cukup memasukan Google Drive ID dari file yang dimaksud ke dalam form maka akan muncul direct link downloadnya. Silahkan dicoba di link di bawah ini.



Sobat pun bisa menggunakannya sendiri dengan index.html seperti di bawah ini :

<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Google Drive Download Link Generator</title>
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<div id="page_content">
  <h1>Google Drive Download Link Generator</h1>
  <h2>By <a href="http://siijombi.blogspot.com/" title="Blog Siijombi">Blog Siijombi</a></h2>
  <div class="container">
    <div class="row">
      <form>
        <div class="form-group">
        <h3>
        <label for="driveID" class="example"><b>Google Drive ID example:</b>
        </h3>
        Google drive share link: <span class="ex-text">https://drive.google.com/file/d/</span><b>0Bz4YdwRI3rnCMFRoTmtSS0M1VHM</b><span class="ex-text">/view?usp=sharing</span></label>
          <input type="text" class="form-control" id="driveID" placeholder="Put Google Drive ID Here" />
        </div>
      </form>
      <div class="get">
        <button class="btn btn-primary" id="get-button" type="submit" onclick='getLink()'>Get Link Download</button>
      </div>

      <div id="container">
        <h3><b>Result:</b></h3>
        <div id="link_container" data-toggle="tooltip" data-placement="top" title="Click then CTRL + C"></div>
        <button type="button" class="btn btn-danger get-another" onClick="window.location.href=window.location.href">Get Another Link</button>
      </div>
      <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
      <hr>
        <div class="how-to">
          <b>How to get Google drive share link:</b>
          <br/>
          <br/>
          <p>Step 1: Go to <a href="https://drive.google.com/" target="_blank">Google Drive</a> and right click the file that you want to share. Then click on "Share...".</p>
          <div style="clear: both; text-align: center;">
            <img alt="thumb 1" src="img/Screenshot_1.jpg" width="600" height="575" />
          </div>
          <br/>
          <br/>
          <p>Step 2: On the window that comes up, click "Get shareable link".</p>
          <div style="clear: both; text-align: center;">
            <img alt="thumb 2" src="img/Screenshot_2.jpg" width="600" height="345" />
          </div>
          <br/>
          <br/>
          <p>Step 3: Make sure the dropdown is set to one of the "Anyone with the link..." or "Anyone on the internet..." options, then click "Copy link".</p>
          <div style="clear: both; text-align: center;">
            <img alt="thumb 3" src="img/Screenshot_3.jpg" width="600" height="485" />
          </div>
        </div>
      </div>
    </div>
  </div>

  <div class="footer">
    Copyright &#169; <script>document.write((new Date()).getFullYear());</script> Google Drive Link Download Generator
  </div>
</div>

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/download_link.js"></script>
</body>
</html>
Atau silahkan fork repo Google Drive Download Link Generator ini DISINI


Sekian dan terimakasih.

Sumber : Kompiajaib.com

How to style text in Disqus comments:
  • To write a bold letter please use <strong></strong> or <b></b>.
  • To write a italic letter please use <em></em> or <i></i>.
  • To write a underline letter please use <u></u>.
  • To write a strikethrought letter please use <strike></strike>.
  • To write HTML code, please use <code></code> or <pre></pre>or<pre><code></code></pre>.
    And use parse tool below to easy get the style.
Show Parser Hide Parser

Tambahkan Komentar Tutup Komentar

Disqus Comments