Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easier document lookup would be helpful to authors: ideas sought #2

Open
holdenweb opened this issue Nov 22, 2020 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@holdenweb
Copy link
Owner

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.

@holdenweb holdenweb added the enhancement New feature or request label Nov 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant