From bc299eac5c1e4f4463e09c892ba4e3b09f82a9c1 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Sun, 31 Aug 2025 20:58:25 +1000 Subject: [emacs] my-ttrss sets mtime of articles Also added a standalone script to call the fetch function --- misc/bin/ttrss-fetch.el | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 misc/bin/ttrss-fetch.el (limited to 'misc/bin/ttrss-fetch.el') diff --git a/misc/bin/ttrss-fetch.el b/misc/bin/ttrss-fetch.el new file mode 100755 index 0000000..770ff46 --- /dev/null +++ b/misc/bin/ttrss-fetch.el @@ -0,0 +1,10 @@ +#!/bin/emacs --script + +(add-to-list 'load-path (locate-user-emacs-file "lisp/ttrss.el")) +(add-to-list 'load-path (locate-user-emacs-file "lisp/my")) +(require 'my-ttrss) +(require 'my-package) +(my-read-local-config) +(my-setq-from-local ttrss-address ttrss-user ttrss-password) +(my-setq-from-local my-ttrss-dir) +(my-ttrss-fetch) -- cgit v1.2.3