From b634e6ba7a9e3a55c6bde42e1990429a7ceadd18 Mon Sep 17 00:00:00 2001 From: Alex Cabal Date: Sat, 16 May 2020 15:20:35 -0500 Subject: [PATCH] Switch from se:collection to epub belongs-to-collection metadata property --- lib/Ebook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Ebook.php b/lib/Ebook.php index 9ddf165a..9b0206b7 100644 --- a/lib/Ebook.php +++ b/lib/Ebook.php @@ -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); }