Releases: kiwilan/php-ebook
Releases · kiwilan/php-ebook
v2.0.20
- add
descriptionHtml()
method toEbook::class
, which can contains description with html tags if it is available, html is sanitized, original description is still available viadescription()
method with plain text - add
getBasename()
method toEbook::class
, which returns basename of ebook file,getFilename()
now return real filename of ebook file - add
isValid(string $path)
static method toEbook::class
, which checks if ebook file is valid, thanks to @SergioMendolia: #38 - fix
<dc:creator>
empty tag inopf
file, thanks to @SergioMendolia: #39 - Bugfixes
2.0.12
- fix
OpfMetadata
dcRights()
parse array to string
2.0.11
- add
Epub
propertyisBadFile
to check if the file is corrupted, eBook file will be read but not parsed if it is corrupted, it's possible to know if file is valid withisBadFile()
method or withhasMetadata()
method - fix some problems with OPF parsing to be more flexible
2.0.1
- add
opf:metadata
support for OPF files
2.0.0
BREAKING CHANGES
- All simple getters have now
get
prefix. For example,getTitle()
instead oftitle()
,getPublisher()
instead ofpublisher()
, etc. It concerns all simple getters ofEpubMetadata
,EpubChapter
,EpubHtml
,NcxMetadata
,EpubContainer
,OpfMetadata
,Ebook
,BookIdentifier
,EbookCover
,EbookMetadata
,AudiobookMetadata
,BookAuthor
,CbaMetadata
,CbamMetadata
,MetaTitle
classes.
Why?
All these classes have some methods like setters or actions. To be consistent and clear, all simple getters have nowget
prefix.
Bugfixes
BookContributor
andBookIdentifier
can be more flexible withmixed
types
1.3.54
- EbookCover
content
method fix
1.3.53
- bump
kiwilan/php-archive
1.5.12
1.3.52
- bump
kiwilan/php-archive
to1.5.11
1.3.51
- bumpp
kiwilan/php-archive
1.3.41
chore
:kiwilan/php-xml-reader
to0.2.31