entities = provider.getEntityStats(catActive);
if (entities.size() > 0) {
- buf.append("Hot topics: ");
+ buf.append("<nav>");
buf.append("<ul>");
i = 0;
for (EntityStat s: entities) {
buf.append("<li>");
buf.append(s.getEntity());
- buf.append("</li>");
+ buf.append("</li>\n");
i++;
if (i > 10)
break;
}
- buf.append("</ul>");
+ buf.append("</ul>\n");
+ buf.append("</nav>\n");
}
} catch (IllegalArgumentException | FeedException | IOException e2) {
LOG.log(Level.SEVERE, "Failed to get entities", e2);
"https://www.techworld.com/news/rss": { "categories": ["en_technologie"]},
"http://feeds.feedburner.com/TechCrunch/": { "categories": ["en_technologie"]},
"http://feeds.macrumors.com/MacRumors-All": { "categories": ["en_technologie"]},
- "https://www.digitaltrends.com/rss-home/": { "categories": ["en_technologie"]},
+ "https://www.digitaltrends.com/computing/feed/": { "categories": ["en_technologie"]},
"http://www.zdnet.com/news/rss.xml": { "categories": ["en_technologie"]},
"https://www.androidheadlines.com/feed": { "categories": ["en_technologie"]},
"https://www.nasa.gov/rss/dyn/breaking_news.rss": { "categories": ["en_technologie"]},