Documentation ¶
Overview ¶
Package withstate provides a simple wrapper of the gofeed.Item, which allows simple tracking of the seen vs. unseen (new vs. old) state of an RSS feeds' entry.
State for a feed-item is stored upon the local filesystem.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeedItem ¶
type FeedItem struct { // Wrapped structure *gofeed.Item // Tag is a field that can be set for this feed item, // inside our configuration file. Tag string }
FeedItem is a structure wrapping a gofeed.Item, to allow us to record state.
func (*FeedItem) HTMLContent ¶
HTMLContent provides processed HTML
func (*FeedItem) RawContent ¶
RawContent provides content or fallback to description
Click to show internal directories.
Click to hide internal directories.