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

JSON output #214

Open
tlienart opened this issue Jun 28, 2023 · 3 comments
Open

JSON output #214

tlienart opened this issue Jun 28, 2023 · 3 comments

Comments

@tlienart
Copy link
Owner Author

in papermod, index json looks like

[
{ "content": "...",
"permalink": "https://...",
"summary": "...",
"title": "..."
}, ...
]

and the content is stripped out of HTML and escaped.

@tlienart
Copy link
Owner Author

stork remains appealing (esp. basic styling makes sense) also it does its own base indexing (though one could provide a self-defined one: jameslittle230/stork#355) would be good to make it work...

@tlienart
Copy link
Owner Author

tlienart commented Jul 24, 2023

JSON output (or at least something like "plain text" output) would still be useful though even for Stork. JSON probably makes the most sense and could have all local vars as string repr (some might be pretty damn ugly so maybe can just do that for easily_serializable so that we don't end up with a ton of crap; also probably don't do the _* vars.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant