Added support for psc-prefix

This commit is contained in:
daniel oeh 2012-12-22 11:20:37 +01:00
parent e1b4a19c75
commit 38cea758bf
2 changed files with 2 additions and 2 deletions

View File

@ -97,7 +97,7 @@ public class SyndHandler extends DefaultHandler {
if (AppConfig.DEBUG)
Log.d(TAG, "Recognized ITunes namespace");
} else if (uri.equals(NSSimpleChapters.NSURI)
&& prefix.equals(NSSimpleChapters.NSTAG)) {
&& prefix.matches(NSSimpleChapters.NSTAG)) {
state.namespaces.put(uri, new NSSimpleChapters());
if (AppConfig.DEBUG)
Log.d(TAG, "Recognized SimpleChapters namespace");

View File

@ -12,7 +12,7 @@ import de.danoeh.antennapod.syndication.namespace.SyndElement;
import de.danoeh.antennapod.syndication.util.SyndDateUtils;
public class NSSimpleChapters extends Namespace {
public static final String NSTAG = "sc";
public static final String NSTAG = "psc|sc";
public static final String NSURI = "http://podlove.org/simple-chapters";
public static final String CHAPTERS = "chapters";