3025 shaares
Opinionated wallabag article exporter to markdown format for logseq
The following requirements were made.
- all exported articles go into one markdown file
- only annotated wallabag articles are exported
- dates are automatically linked
- in the article markdown template empty newlines are removed to fulfill Logseq's markdown
- cache all exported articles and when syncing again use the wallabag's API support for since queries
- new articles, which are not yet cached, are only appended at the end of the markdown file
- ATM, changed articles are newly appended to the file
- thus, creating duplicates
- this was done to preserve articles being changed in Logseq only
- of course a manual merge is needed if you changed that article in Logseq only and it was changed afterwards in wallabag
- if it was not changed in Logseq, the old entry can of course be deleted (manually only)