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
I've got dozens of markdown files I'd like to have by reverse date order in the generated feed. Maybe a flag to either sort by ascending/descending, or just the order specified when running the command.
The text was updated successfully, but these errors were encountered:
Feed items are generated in the order specified on the command-line. For example,
pandoc-rss a.md b.md c.md d.md
will generate feed items for a, b, c and d—in that order. So you'd have to find a way to list your markdown files in reverse chronological order before passing them to pandoc-rss.
Bit of a hack, but this should do the trick as long as your markdown file names contain no tabs or spaces:
It would be nice if pandoc-rss could take care of it though. I may have a go at refactoring it to make that possible. In any case, is it not the feed reader that is responsible for sorting items chronologically? I know mine does.
I've got dozens of markdown files I'd like to have by reverse date order in the generated feed. Maybe a flag to either sort by ascending/descending, or just the order specified when running the command.
The text was updated successfully, but these errors were encountered: