summaryrefslogtreecommitdiff
path: root/src/feeds.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-12-01 14:47:34 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-12-01 14:47:34 +0200
commitb18b380014222131572a186888e6aa035c9c06e1 (patch)
treed21e066681c67b094ddfa0c67e03b77c39f1780b /src/feeds.h
parentd87edbfc4907b0985b107e1432f73104eb66d356 (diff)
Subscribing to new headings on a page
When "subscribed" and "headings" tags are used, the subscribed page is tracked for newly added headings (of any kind). This works for the weiph/pikkulogs out there.
Diffstat (limited to 'src/feeds.h')
-rw-r--r--src/feeds.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/feeds.h b/src/feeds.h
index 85769ba8..7528d111 100644
--- a/src/feeds.h
+++ b/src/feeds.h
@@ -35,6 +35,15 @@ struct Impl_FeedEntry {
35 uint32_t bookmarkId; /* note: runtime only, not a persistent ID */ 35 uint32_t bookmarkId; /* note: runtime only, not a persistent ID */
36}; 36};
37 37
38iLocalDef iBool isHidden_FeedEntry(const iFeedEntry *d) {
39 return !isValid_Time(&d->discovered);
40}
41
42const iString * url_FeedEntry (const iFeedEntry *);
43iBool isUnread_FeedEntry (const iFeedEntry *);
44
45/*----------------------------------------------------------------------------------------------*/
46
38void init_Feeds (const char *saveDir); 47void init_Feeds (const char *saveDir);
39void deinit_Feeds (void); 48void deinit_Feeds (void);
40void refresh_Feeds (void); 49void refresh_Feeds (void);