Added missing require in view
For some reason it wasn't necessary before but now the app throws a 500 error if this is missing, after just a server restart. Rails autoload is sure finicky.
View ArticleWIP: config option to fetch some special feeds differently
This is intended to fix problems when fetching Tumblr feeds; since recently Tumblr sends an interstitial page about GDPR compliance instead of the actual feeds, which breaks feed clients like...
View ArticleGeneralization of SpecialFeedHandling to SpecialFeedManager
This is a fist step toward making this class manage special feed fetchers, as well as special feed handlers. The responsability of invoking the handle_entry method on special handlers belongs now to...
View ArticleImplemented new method SpecialFeedManager.get_special_fetcher
This method returns the special fetcher class for a feed configured in config/special_feeds.yml if any, nil otherwise. The private code in SpecialFeedManager is as DRY as possible, using both the url...
View ArticleWhen fetching a feed, use a special fetcher if configured
FeedClient has been reorganized to move the code that performs the default fetching to the new default_fetch method. This method attempts to fetch the feed with the simple HTTP client (RestClient) and...
View ArticleUse a special class to fetch Tumblr feeds
This class gets around the interstitial GDPR page served by Tumblr by using a full-featured headless browser to fetch the interstitial page, click on the OK button and wait for the actual content...
View Article
More Pages to Explore .....