title: How does the .gdoc format work?
body: <p>If you work with Google Docs your first file format is .gdoc / .gsheet / .gwhatever</p>
  
  <p>What I want to understand is, how this file format works. When you open a .gdoc you basically open the browser and go to a specific URL. So is a .gdoc just a .html-file with a changed file extension?</p>
  
  <p>I would like to build something similiar: A rich-text-editor which saves the content in my own file format, that you can download and if you open the file, the browser opens and links to a specific URL.</p>
  
  <p>BTW: I opened a .gsheet in a text editor and found this source code:</p>
  
  <pre><code>{"url": "https://docs.google.com/a/test.com/spreadsheet/ccc?key=01234567898765432123456789&amp;usp=docslist_api", "resource_id": "spreadsheet:0A12345B678HJK9TZPL9078767"}
  </code></pre>
  
  <p>*Changed the URL a bit ;)</p>