79601210

Date: 2025-04-30 23:25:15
Score: 3.5
Natty:
Report link

This doesn't directly address the question of "how do I get the ID from a published Google Doc." I couldn't figure out how, unfortunately.

But if you're just trying to read data from the document, the webpage for a published Google Doc has very simple HTML to parse (right now at least). For example:

Sample Google doc

A screenshot showing the raw HTML of the "Stackoverflow Demo" Google Doc in Firefox's "Inspect Element" menu

This probably won't be stable. But it's convenient because you don't have to use Google's OAuth system.

Reasons:
  • Blacklisted phrase (1): how do I
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dudeguy