Added support for psc-prefix
This commit is contained in:
parent
e1b4a19c75
commit
38cea758bf
|
@ -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");
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue