mirror of
https://github.com/standardebooks/web.git
synced 2025-07-16 11:26:37 -04:00
Switch from se:collection to epub belongs-to-collection metadata property
This commit is contained in:
parent
f485b95e0f
commit
b634e6ba7a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue