Please consider exposing skipHours (in shared model)
Please consider making (RSS) skipHours as easy to use as possible to help gofeed clients minimise feed energy and bandwidth impacts, especially in the light of more and more grid power coming from solar.
https://www.earth.org.uk/RSS-efficiency.html
Rgds
Damon
This seems like a scheduling concern. gofeed doesn't do any scheduling, it just fetches a feed and parses it.
Maybe something like this would be a good application for an example test.
As I understand it (second hand, I'm not a direct gofeed user) currently skipHours is parsed but only available in the RSS-specific view rather than the unified view. Making it available in the unified view would make it easier for some clients to code for and use.
Rgds
Damon
The skipHours field is RSS-specific and isn't included in the universal gofeed.Feed type because it doesn't exist in other feed formats like Atom or JSON Feed.
While you can access skipHours using the RSS parser directly:
rssParser := &rss.Parser{}
feed, _ := rssParser.Parse(reader)
// Access feed.SkipHours
Does it work for you to just use rss.Parser?
I am trying to make it as easy as possible for feed readers to do the right thing given that there is huge waste (>99%) in feed access currently.
https://www.earth.org.uk/RSS-efficiency.html