【问题标题】:Getting hashes of Google Docs documents?获取 Google Docs 文档的哈希值?
【发布时间】:2011-05-17 18:44:25
【问题描述】:

虽然 Google Docs 文档在 URL 中似乎有一个唯一的 ID,但我想知道是否有一种方法可以在不重新下载文档的情况下获取文档的哈希值(MD5、SHA1)。有没有人尝试过类似的事情?我可以进行一些 API 调用吗?

【问题讨论】:

    标签: hash google-docs google-data-api google-docs-api


    【解决方案1】:

    对于存储在 Google Docs 上的文件,文档列表条目中提供了 md5 校验和:

    <!-- Given for files only. An MD5 checksum used to verify the contents of this file. -->
    <!-- Some old files are being processed. Those files will not have this element yet. -->
    <docs:md5Checksum>2b01142f7481c7b056c4b410d28f33cf</docs:md5Checksum>
    

    对于 Google Docs 文档,您可以使用“Etag”元素来检查更改。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2022-01-01
      • 2021-06-20
      • 2015-05-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多