mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-23 21:18:58 +00:00
(domain-info) Only flag domains with rss feed items as having a feed
This commit is contained in:
parent
5f576b7d0c
commit
67edc8f90d
@ -178,13 +178,14 @@ public class SimilarDomainsService {
|
|||||||
select
|
select
|
||||||
json_extract(feed, '$.domain') as domain
|
json_extract(feed, '$.domain') as domain
|
||||||
from feed
|
from feed
|
||||||
|
where json_array_length(feed, '$.items') > 0
|
||||||
""");
|
""");
|
||||||
while (rs.next()) {
|
while (rs.next()) {
|
||||||
feedsDomainNames.add(rs.getString(1));
|
feedsDomainNames.add(rs.getString(1));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (SQLException ex) {
|
catch (SQLException ex) {
|
||||||
//
|
logger.error("Failed to read RSS feed items", ex);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int idx = 0; idx < domainNames.length; idx++) {
|
for (int idx = 0; idx < domainNames.length; idx++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user