aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Silva <psilva+git@pedrosilva.pt>2013-04-04 14:34:25 +0100
committerPedro Silva <psilva+git@pedrosilva.pt>2013-04-04 14:34:25 +0100
commit3d9f4718032c3ee50a0165e32c8d6c59b153fe22 (patch)
tree42742286cd526f426ff33a1d436a8d85d6f8b565
parentf27e8c870579d53209d11420ae08f3776ede166b (diff)
Implement ttrss-catchup-feed method
-rw-r--r--ttrss.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/ttrss.el b/ttrss.el
index 638bdf2..3ee3433 100644
--- a/ttrss.el
+++ b/ttrss.el
@@ -607,5 +607,14 @@ following key-value pairs:
;; unsubscribeFeed
;; getFeedTree
+(defun ttrss-catchup-feed (address sid feed-id)
+ "Try to catchup feed at ADDRESS using SID with FEED-ID.
+Returns a status string (typically 'OK')."
+ (ttrss-post-request address
+ :status
+ :op "catchupFeed"
+ :sid sid
+ :feed_id feed-id))
+
(provide 'ttrss)
;;; ttrss.el ends here