You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At present there is a nascent but (like everything else) undocumented cacheing feature in the project. Given a document's id there are currently three operations you can perform:
pull <document_id> reads the document through the Google Docs API and saves a copy in the cache as <document_id>.json.
load <document_id> reads the document from the cache, parses it and produces HTML output in the cache as html/<document_id>.html.
view <document_id> reads the document from the cache, parses it and sends the HTML output to stdout.
Document ids are not a natural format for human use, so some way of easily being able to find and reference a single document (and, who knows, maybe a collection of them as well) will be needed early in the lifetime of the project.
There are many possible ways to solve this problem. I'm happy to consider any contributions.
The text was updated successfully, but these errors were encountered:
At present there is a nascent but (like everything else) undocumented cacheing feature in the project. Given a document's id there are currently three operations you can perform:
pull <document_id>
reads the document through the Google Docs API and saves a copy in the cache as <document_id>.json.load <document_id>
reads the document from the cache, parses it and produces HTML output in the cache as html/<document_id>.html.view <document_id>
reads the document from the cache, parses it and sends the HTML output to stdout.Document ids are not a natural format for human use, so some way of easily being able to find and reference a single document (and, who knows, maybe a collection of them as well) will be needed early in the lifetime of the project.
There are many possible ways to solve this problem. I'm happy to consider any contributions.
The text was updated successfully, but these errors were encountered: