mirror of
https://github.com/standardebooks/web.git
synced 2025-07-09 16:20:27 -04:00
Add ability to parse se:role epub property
This commit is contained in:
parent
61a42e273c
commit
94a6330576
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ class Ebook{
|
|||
$id = $contributor->attributes()->id;
|
||||
}
|
||||
|
||||
foreach($xml->xpath('/package/metadata/meta[@property="role"][@refines="#' . $id . '"]') ?: [] as $role){
|
||||
foreach($xml->xpath('/package/metadata/meta[ (@property="role" or @property="se:role") and @refines="#' . $id . '"]') ?: [] as $role){
|
||||
$c = new Contributor(
|
||||
(string)$contributor,
|
||||
$this->NullIfEmpty($xml->xpath('/package/metadata/meta[@property="file-as"][@refines="#' . $id . '"]')),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue