- Add the ability to parse the RSS feeds from reddit groups (in particular the image feed groups like EarthPorn) and display them

This commit is contained in:
Alfred Reynolds
2021-08-22 15:10:26 +12:00
parent 3557b6041f
commit 833e7ef915
9 changed files with 271 additions and 15 deletions

View File

@@ -18,6 +18,7 @@ struct Config {
struct PathEntry {
std::string path = "";
std::string imageList = "";
std::string rssFeedURL = "";
bool exclusive = false; // only use this entry when it is valid, skip others
bool recursive = false;
@@ -37,7 +38,7 @@ struct PathEntry {
return true;
if(b.baseDisplayOptions.fitAspectAxisToWindow != baseDisplayOptions.fitAspectAxisToWindow)
return true;
if (b.path != path || b.imageList != imageList)
if (b.path != path || b.imageList != imageList || b.rssFeedURL != rssFeedURL)
return true;
if (b.baseDisplayOptions.timeWindows.count() != baseDisplayOptions.timeWindows.count())
return true;