aurelg / feedspora

FeedSpora posts RSS/Atom feeds to your social network accounts.
35 stars 5 forks source link

Feed option enhancement #69

Closed wilddeej closed 5 years ago

wilddeej commented 5 years ago

Fixes Issue #60. Fairly significant re-factoring of code to provide specification/usage of feed-specific options for all of the common client options. Introduction of a GenericFeed class that uses the CommonConfig base class (as does GenericClient now), with both the RSS and Atom feeds utilizing GenericFeed. This enhancement also includes relevant tests for all clients (which were all modified to use the new resolve_option function so the correct client- or feed-specific option values are used appropriately).

Some format changes to the feed specifications (from feedspora.yml) were also necessary, but the original specification is still supported if no feed options are needed.

NOTE: wiki documentation updates for the new feed format/functionality are still outstanding and will be provided once this change is merged into dev.