Switch from se:collection to epub belongs-to-collection metadata property

This commit is contained in:
Alex Cabal 2020-05-16 15:20:35 -05:00
parent f485b95e0f
commit b634e6ba7a

View file

@ -165,7 +165,7 @@ class Ebook{
}
// Get SE collections
foreach($xml->xpath('/package/metadata/meta[@property="se:collection"]') ?: [] as $collection){
foreach($xml->xpath('/package/metadata/meta[@property="belongs-to-collection"]') ?: [] as $collection){
$this->Collections[] = new Collection($collection);
}