diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-01 14:47:34 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-12-01 14:47:34 +0200 |
commit | b18b380014222131572a186888e6aa035c9c06e1 (patch) | |
tree | d21e066681c67b094ddfa0c67e03b77c39f1780b /src/feeds.h | |
parent | d87edbfc4907b0985b107e1432f73104eb66d356 (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.h | 9 |
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 | ||
38 | iLocalDef iBool isHidden_FeedEntry(const iFeedEntry *d) { | ||
39 | return !isValid_Time(&d->discovered); | ||
40 | } | ||
41 | |||
42 | const iString * url_FeedEntry (const iFeedEntry *); | ||
43 | iBool isUnread_FeedEntry (const iFeedEntry *); | ||
44 | |||
45 | /*----------------------------------------------------------------------------------------------*/ | ||
46 | |||
38 | void init_Feeds (const char *saveDir); | 47 | void init_Feeds (const char *saveDir); |
39 | void deinit_Feeds (void); | 48 | void deinit_Feeds (void); |
40 | void refresh_Feeds (void); | 49 | void refresh_Feeds (void); |