subscribe by website and parse html for feed url

This commit is contained in:
Athou
2013-04-01 09:16:24 +02:00
parent ca1cbc09ca
commit c8b587a94b
3 changed files with 5 additions and 11 deletions

View File

@@ -31,7 +31,7 @@ public class FeedParser {
try {
SyndFeed rss = new SyndFeedInput().build(new StringReader(xml));
feed.setUrl(rss.getLink() != null ? rss.getLink() : feedUrl);
feed.setUrl(feedUrl);
feed.setTitle(rss.getTitle());
List<SyndEntry> items = rss.getEntries();
for (SyndEntry item : items) {