summaryrefslogtreecommitdiff
path: root/lib/atomfeed.source.sh
AgeCommit message (Collapse)Author
2026-03-12atomfeed: clean up stale .xml.tmp files on fresh run instead of panickingmainPaul Buetow
When xmllint fails, the .xml.tmp file is kept for investigation. On the next --generate run, atomfeed::verify now warns and removes stale .xml.tmp files instead of panicking. Amp-Thread-ID: https://ampcode.com/threads/T-019ce359-d9d5-7119-8035-c635724c1047 Co-authored-by: Amp <amp@ampcode.com>
2026-03-01Move atom-to-HTML conversion from generate to atomfeed modulePaul Buetow
generate::convert_gmi_atom_to_html_atom was atom feed logic that belonged in the atomfeed module. Renamed to atomfeed::convert_to_html and simplified by removing the format parameter (always HTML). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01Extract generate::extract_title helper to eliminate duplicationPaul Buetow
Title extraction ($SED pattern + quote sanitization) was duplicated in generate, atomfeed, gemfeed, notes, and template modules. Now centralized with unit tests for heading extraction and empty files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15Improve --generate performance with incremental builds (62s -> 2s)Paul Buetow
Add mtime-based skip logic to avoid regenerating unchanged files: - generate::fromgmi skips .gmi files where all outputs are newer - template::_generate_file skips templates when output is fresh - Diff-before-overwrite in templates, gemfeed, and notes indexes to preserve mtimes and prevent cascading cache invalidation - Global dependency check (.lastgen sentinel) for header/footer/CSS - Job throttling via wait -n capped at nproc cores - Add --force flag and FORCE_REBUILD env var to bypass skip logic - Fix misleading atom feed "empty cache" log message Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2024-09-18ideaPaul Buetow
2024-08-25fix markdown internal link idsPaul Buetow
2024-08-24check atomfeed before publishingPaul Buetow
2023-05-08Make newer version of ShellCheck happy againPaul Buetow
2023-03-27fix html atom feedPaul Buetow
2023-03-25also add publishing date to .tpl postsPaul Buetow
2023-03-18fallback to quote when no summary foundPaul Buetow
2023-03-15already have templates nowPaul Buetow
2023-03-15fix cache bugPaul Buetow
2023-03-12refactorPaul Buetow
2023-03-12make meta cache redundantPaul Buetow
2023-03-12not generating atom feed in filter modePaul Buetow
2023-03-12refactor and better lint loggingPaul Buetow
2023-03-12add xmllint supportPaul Buetow
2022-11-19add DRAFT featurePaul Buetow
2022-08-28then there are no notes and no feeds dont process themPaul Buetow
2022-07-03add cache to speed up atom feed generationPaul Buetow
2022-05-29strip out the git auto commit feature - as it was partly broken and ↵Paul Buetow
difficult to fix
2022-01-01remove confusing draft featurePaul Buetow
2021-06-05commit meta files to git tooPaul Buetow
2021-05-25rename packages to lib1.0.0Paul Buetow