title: Embed Google Docs PDF viewer in IFRAME
body: <p>When I upload PDF to Google Docs (using Python's gdata library), I get link to the document:</p>
  
  <pre><code>&gt;&gt;&gt; e.GetAlternateLink().href
  Out[14]: 'http://docs.google.com/a/my.dom.ain/fileview id=&lt;veery-long-doc-id&gt;&amp;hl=en'
  </code></pre>
  
  <p>Unfortunately using that link in IFRAME is not working for me because PDF viewer is redirecting to itself, breaking out of IFRAME.</p>
  
  <p>Looking for the solution, I've found this: <a href="http://googlesystem.blogspot.com/2009/09/embeddable-google-document-viewer.html" rel="noreferrer">http://googlesystem.blogspot.com/2009/09/embeddable-google-document-viewer.html</a> - which looks very nice, but I can't find a way to use it with document uploaded to Google Docs. Does somebody know how to do it/if it's at all possible?</p>