Releases: kiwilan/php-ebook
Releases · kiwilan/php-ebook
v2.6.0
BREAKING CHANGES
- Remove
getDescriptionHtml()
method fromEbook
class. - Remove
limit
parameter fromgetDescription()
method inEbook
class. getDescription()
method inEbook
class now returns raw description without any formatting.
FEATURES
To access to advanced book description, you can use getDescriptionAdvanced()
method with BookDescription
class.
getDescription()
method now returns raw description without any formatting.toHtml()
method formats the description to HTML.toString()
method formats the description to plain text.toStringMultiline()
method formats the description to plain text with new lines.
All methods have limit
parameter to limit the length of the description.
BUGFIXES
- Improve audiobook parsing with safe array extraction.
MISC
- Remove many utilities method from
EbookModule
class, nowBookDescription
class is responsible for parsing book description. limitLength()
method is now intoEbookUtils
class.
v2.5.13
AudiobookModule::class
: fix parsing of audiobook with volume 0.
v2.5.12
MetaTitle::class
: clear docs
v2.5.11
EbookUtils::class
fix parseStringWithSeperator()
method.
v2.5.10
MetaTitle::class
: now native slugifier is fixed, float volume works now, volume use000
padding.- Allow authors with
,
,;
and&
in the name for.opf
,.pdf
,.mobi
and audiobooks.
v2.5.0
MetaTitle::class
:fromData()
methodvolume
parameter is nowstring|int|float|null
instead ofstring|int|null
.
v2.4.9
New feature with volume numbers as floats.
Ebook::class
: nowgetVolume()
returnsint|float|null
instead ofint|null
ComicMeta::class
: new propertynumber
(int|float|null
),volume
andstoryArcNumber
are nowint|float|null
instead ofint|null
v2.4.8
For audiobooks, specifications are now based on audiobookshelf specifications.
**ID3 Tag (case-insensitive) ** | eBook |
---|---|
artist / album-artist |
Authors* |
album / title |
Title |
subtitle |
Extra property subtitle |
publisher |
Publisher |
year |
Publish Year |
composer |
Extra property narrators |
description |
Description |
genre |
Tags** |
series / mvnm |
Series |
series-part / mvin |
Volume |
language / lang |
Language |
isbn |
Identifiers isbn |
asin / audible_asin |
Identifiers asin |
Overdrive MediaMarkers | Extra property chapters |
- * Authors naming as well as multiple authors separated by
,
,;
,&
orand
. - ** Tags can include multiple tags separated by
/
,//
, or;
. e.g. "Science Fiction/Fiction/Fantasy"
v2.3.8
OpfItem::class
methodgetMeta()
is now deprecated. UsegetMetaItems()
instead.OpfItem::class
methodgetMetaItems()
will now return an array ofBookMeta::class
objects.OpfItem::class
methodgetMetaItem(string $key)
will now returnBookMeta::class
object or null.
v2.3.7
MetaTitle::class
: add fromData()
static method to generate a MetaTitle
object from a raw data and rename make()
to fromEbook()
.