If we update metadata then add the calibre uuid.
This commit is contained in:
parent
6c5aed67b7
commit
d1ce53087f
1
book.php
1
book.php
|
@ -313,6 +313,7 @@ class Book extends Base {
|
|||
$epub->Language ($this->getLanguages ());
|
||||
$epub->Description ($this->getComment (false));
|
||||
$epub->Subjects ($this->getTagsName ());
|
||||
$epub->Calibre ($this->uuid);
|
||||
$se = $this->getSerie ();
|
||||
if (!is_null ($se)) {
|
||||
$epub->Serie ($se->name);
|
||||
|
|
|
@ -259,6 +259,15 @@ class EPub {
|
|||
public function Amazon($amazon=false){
|
||||
return $this->getset('dc:identifier',$amazon,'opf:scheme','AMAZON');
|
||||
}
|
||||
|
||||
/**
|
||||
* Set or get the Calibre UUID of the book
|
||||
*
|
||||
* @param string $uuid
|
||||
*/
|
||||
public function Calibre($uuid=false){
|
||||
return $this->getset('dc:identifier',$uuid,'opf:scheme','calibre');
|
||||
}
|
||||
|
||||
/**
|
||||
* Set or get the Serie of the book
|
||||
|
|
Loading…
Reference in a new issue