< A little experiment

Parent

~starbreaker

Thanks. I'm actually embarrassed right now because I think I should have thought of that myself. And if I use printf instead of echo I can pass in the title and description as arguments along with the filename. Then again echo would probably work fine, too, but I'm used to printf because of my feedgen script.

I use this to generate Atom feeds from a tab-delimited file. Though the usage function needs updating.

Write a reply

Replies

~pink2ds wrote (thread):

Btw, pandoc has support for templates.

(Or you might not even need to use m4 if you used pandoc's templates.)

~pink2ds wrote:

YW♥

blog.webb.page is annoying but somewhat readable, since the text is hardwrapped.

Which is definitely a very bad idea to do on Gemini, with Gemini text, but good for Markdown.