From: Jean-Philippe Orsini Date: Thu, 2 Nov 2017 16:42:39 +0000 (+0100) Subject: fixed url of a rss X-Git-Url: http://git.wpitchoune.net/gitweb/?p=pnews.git;a=commitdiff_plain;h=6a601c7b03d36f95fbb69ba487c8a4953828c71d fixed url of a rss layout the topics horizontally --- diff --git a/war/src/main/java/pnews/servlet/HTML.java b/war/src/main/java/pnews/servlet/HTML.java index 89ce7c5..42564e8 100644 --- a/war/src/main/java/pnews/servlet/HTML.java +++ b/war/src/main/java/pnews/servlet/HTML.java @@ -131,18 +131,19 @@ public class HTML { entities = provider.getEntityStats(catActive); if (entities.size() > 0) { - buf.append("Hot topics: "); + buf.append("\n"); } } catch (IllegalArgumentException | FeedException | IOException e2) { LOG.log(Level.SEVERE, "Failed to get entities", e2); diff --git a/war/src/main/resources/feeds.json b/war/src/main/resources/feeds.json index 0118278..aae327a 100644 --- a/war/src/main/resources/feeds.json +++ b/war/src/main/resources/feeds.json @@ -101,7 +101,7 @@ "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"]},