(domain-info) Only flag domains with rss feed items as having a feed

This commit is contained in:
Viktor Lofgren 2025-01-02 17:41:52 +01:00
parent 5f576b7d0c
commit 67edc8f90d

View File

@ -178,13 +178,14 @@ public class SimilarDomainsService {
select
json_extract(feed, '$.domain') as domain
from feed
where json_array_length(feed, '$.items') > 0
""");
while (rs.next()) {
feedsDomainNames.add(rs.getString(1));
}
}
catch (SQLException ex) {
//
logger.error("Failed to read RSS feed items", ex);
}
for (int idx = 0; idx < domainNames.length; idx++) {