Add series number to collection headline

This commit is contained in:
Alex Cabal 2020-05-22 15:59:00 -05:00
parent 2b07471252
commit c8cacc4ace
3 changed files with 6 additions and 2 deletions

View file

@ -170,6 +170,9 @@ class Ebook{
foreach($xml->xpath('/package/metadata/meta[@refines="#' . $collection->attributes()->id . '"][@property="group-position"]') ?: [] as $s){
$c->SequenceNumber = (int)$s;
}
foreach($xml->xpath('/package/metadata/meta[@refines="#' . $collection->attributes()->id . '"][@property="collection-type"]') ?: [] as $s){
$c->Type = (string)$s;
}
$this->Collections[] = $c;
}