From 6a601c7b03d36f95fbb69ba487c8a4953828c71d Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Thu, 2 Nov 2017 17:42:39 +0100 Subject: [PATCH] fixed url of a rss layout the topics horizontally --- war/src/main/java/pnews/servlet/HTML.java | 7 ++++--- war/src/main/resources/feeds.json | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) 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"]}, -- 2.7.4