Replies: 1 comment
-
This is what the docs say about
Based on that description, I get the impression your intended use case was not in scope when this setting was developed. The combination of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to use the direct templates to generate a non-html file? Specifically I want to generate a .csv with some metadata (title, author etc.) of all my articles.
Writing the jinja template and appending it to DIRECT_TEMPLATES works, but the resulting file is always a
.html
. How can I get it to be a.csv
? I tried changing the path of the output file via asave_as=…
into EXTRA_PATH_METADATA, but that did not work.Looking at the code in
generators.py
, it seems like the.html
extension is hardcoded and can't be changed.(If that is indeed the case, I'd offer writing a PR changing that (eg. based on the extension of the corresponding jinja template) if you'd like.)
Beta Was this translation helpful? Give feedback.
All reactions