diff options
Diffstat (limited to 'src/de/podfetcher/syndication/namespace/rss20/NSRSS20.java')
-rw-r--r-- | src/de/podfetcher/syndication/namespace/rss20/NSRSS20.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/de/podfetcher/syndication/namespace/rss20/NSRSS20.java b/src/de/podfetcher/syndication/namespace/rss20/NSRSS20.java index 9cd2c42eb..dfae49b7d 100644 --- a/src/de/podfetcher/syndication/namespace/rss20/NSRSS20.java +++ b/src/de/podfetcher/syndication/namespace/rss20/NSRSS20.java @@ -36,6 +36,7 @@ public class NSRSS20 extends Namespace { public final static String ENCLOSURE = "enclosure"; public final static String IMAGE = "image"; public final static String URL = "url"; + public final static String LANGUAGE = "language"; public final static String ENC_URL = "url"; public final static String ENC_LEN = "length"; @@ -105,6 +106,8 @@ public class NSRSS20 extends Namespace { state.getCurrentItem().setDescription(content); } + } else if (localName.equals(LANGUAGE)) { + state.getFeed().setLanguage(content.toLowerCase()); } } } |