diff options
author | Yuchen Pei <id@ypei.org> | 2025-08-31 20:58:25 +1000 |
---|---|---|
committer | Yuchen Pei <id@ypei.org> | 2025-08-31 20:58:25 +1000 |
commit | bc299eac5c1e4f4463e09c892ba4e3b09f82a9c1 (patch) | |
tree | 23a613115cee0876d4a6a256f17f9e6653826629 /misc/bin/ttrss-fetch.el | |
parent | 2e90e2e3b9d6f67e40b7cd52705ffba4632a2962 (diff) |
[emacs] my-ttrss sets mtime of articles
Also added a standalone script to call the fetch function
Diffstat (limited to 'misc/bin/ttrss-fetch.el')
-rwxr-xr-x | misc/bin/ttrss-fetch.el | 10 |
1 files changed, 10 insertions, 0 deletions
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) |