mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
subscribe by website and parse html for feed url
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user