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->Language ($this->getLanguages ());
|
||||||
$epub->Description ($this->getComment (false));
|
$epub->Description ($this->getComment (false));
|
||||||
$epub->Subjects ($this->getTagsName ());
|
$epub->Subjects ($this->getTagsName ());
|
||||||
|
$epub->Calibre ($this->uuid);
|
||||||
$se = $this->getSerie ();
|
$se = $this->getSerie ();
|
||||||
if (!is_null ($se)) {
|
if (!is_null ($se)) {
|
||||||
$epub->Serie ($se->name);
|
$epub->Serie ($se->name);
|
||||||
|
|
|
@ -260,6 +260,15 @@ class EPub {
|
||||||
return $this->getset('dc:identifier',$amazon,'opf:scheme','AMAZON');
|
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
|
* Set or get the Serie of the book
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue