From 738585aa614f9da8adfd18cbcc9fa1ab7014a4d8 Mon Sep 17 00:00:00 2001 From: Daniel Oeh Date: Wed, 11 Apr 2012 16:04:14 +0200 Subject: [PATCH] Fixed Bug in RSSHandler --- src/de/podfetcher/feed/RSSHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/de/podfetcher/feed/RSSHandler.java b/src/de/podfetcher/feed/RSSHandler.java index 75671f29d..80e7fab87 100644 --- a/src/de/podfetcher/feed/RSSHandler.java +++ b/src/de/podfetcher/feed/RSSHandler.java @@ -48,7 +48,7 @@ public class RSSHandler extends DefaultHandler { } else if (qName.equalsIgnoreCase(FeedHandler.TITLE)) { if (active_root_element.equalsIgnoreCase(FeedHandler.CHANNEL)) { feed.setTitle(strBuilder.toString()); - } else if(active_root_element.equalsIgnoreCase(FeedHandler.TITLE)) { + } else if(active_root_element.equalsIgnoreCase(FeedHandler.ITEM)) { currentItem.setTitle(strBuilder.toString()); } else if(active_root_element.equalsIgnoreCase(FeedHandler.IMAGE)) { feed.getImage().title = strBuilder.toString(); @@ -62,7 +62,7 @@ public class RSSHandler extends DefaultHandler { } else if (qName.equalsIgnoreCase(FeedHandler.LINK)) { if (active_root_element.equalsIgnoreCase(FeedHandler.CHANNEL)) { feed.setLink(strBuilder.toString()); - } else if(active_root_element.equalsIgnoreCase(FeedHandler.TITLE)){ + } else if(active_root_element.equalsIgnoreCase(FeedHandler.ITEM)){ currentItem.setLink(strBuilder.toString()); } } else if (qName.equalsIgnoreCase(FeedHandler.PUBDATE)) {