Skip to content

jps-e/mobi-perl

Repository files navigation

Changes in 0.0.44

- Added automatic processing of azw and azw3 files in mobils when no
  filename has been supplied.

- Added flag -d to mobils to enable debug prints

- Added files License.txt and gpl-2.0.txt to reflect the change in
  license from GPL3 or later to GPL2 or later in 0.0.41

Changes in 0.0.43

- Added flag "--imagemaxbytes n" to specify the maximum size of image data
  included in the mobi file to mobi2mobi.
 
Changes in 0.0.42

- Added flag --allowtts to mobi2mobi

- Added flag --deleteclippinglimit to mobi2mobi

- Enhancement and bug fixes in Opf.pm (goto toc now works and it recognize
  more cover image tags)

- Opf.pm: Removed BOM (byte order mark) from opf file data

- --imagerescale default is now 0 (disabled rescaling)

- Added flag "--imagemaxbytes n" to specify the maximum size of image data
  included in the mobi file.

Changes in 0.0.41

- Flag --addauthor added.

- Flag --addexthtype added.

- --delexthtype now works to delete for example multiple authors:
  Usage: "--delexthtype author" or "--delexthtype 100".

- Added flag for updated title: --updatedtitle

- Added flag --delexthindex which can be used to specify that just on
  EXTH item should be deleted and 1 is the first and 2 the second and so on.

- Changed the license from GPL3 or later to GPL2 or later.

Changes in 0.0.40

- --removejavascript flag added to html2mobi

- XML::Parser::Lite::Tree have changed tag field to element. Fix for this.

- opf2mobi: Now works with filename containing directory path.

- Fixed bug in html2mobi and collections. Now links should be generated and
  --gentoc should work.

Changes in 0.0.39

- Bug fixes from pdurrant integrated

- pdurrant: Make thumb 320 high and proportional width latest
  Mobipocket Creator makes Thumbnails 320 high

- pdurrant: make maxsize 61440

- The list of pdurrant fixes is not complete.



Changes in 0.0.38

- Added flag --description to mobi2mobi.

- Added flag --language to mobi2mobi.

- Read title from mbp file (not tested...) in mobi2mobi.

- Unpack directory argument is now optional for mobi2html.

- Added print of usage when programs are started without argument.

- --imagerescale flag added to a mobi2mobi and *2mobi programs.
  Default is rescaling. To not rescale use "--imagerescale 0".

- %langmap in MobiHeader.pm extended but it is still not compleat.

- Added flag --subject to mobi2mobi. Currently only one subject can
  be set.

Changes in 0.0.37:

- The --publisher flag to mobi2mobi now works correctly.

- Added flag "--savecover FILENAME" to mobi2mobi.

- Added flag "--savethumb FILENAME" to mobi2mobi.

- Changed so that "--coverimage FILENAME" now only replaces an image if
  cover offset is specified  in EXTH. If cover offset is not specified
  a new image is created and used as cover image.

- Changed so that "--addthumbnail FILENAME" works in the same way as the
  --coverimage flag.

Changes in 0.0.36:

- added mobils to MobiPerl.

Changes in 0.0.35:

- Fixed a bug with mobi2html and files where no codepage was specified.

- Fixed a bug in "html2mobi --fixhtmlbr file.html". It now seems possible
  to use this for eReader books that have been converted to html and were
  <br><br> has been used instead of <p>.

- Added a flag --keepbr to used together with --fixhtmlbr if you want to
  have space between paragraphs (as it was originally with <br><br>.

Changes in 0.0.34:

- png files did not work for html2mobi. Changed so that png files are
  converted to jpg before it is packed into the mobi file.

Changes in 0.0.33:

- The fix for UTF-8 was wrong. It was applied if the codepage was 1252 also.

Changes in 0.0.32:

- html2mobi now works if images that are refered to in the html file
  does not exist.

- Added flag --fixhtmlbr to html2mobi. This flag will try to fix
  html files where two <br> have been uses instead of <p></p>.

- Removed mobi2imp from distribution since it is distributed
  seperately in MobileRead forum. Duplications are bad and
  confusing. 

- Fixed so that mobi2html works with utf-8 encoded files.

- Added meta tag with charset in the html generated by mobi2html.

- Added instructions of how to install Perl and modules on Mac
  on the web page.

Changes in 0.0.31:

- mobi2html changed so that < is recognized as an anchor position
  as a last resort.

Changes in 0.0.30:

- mobi2html changed so that <m is recognized as an anchor position.

Changes in 0.0.29:

- mobi2html now print a warning when huffdic compression is used and
  the resulting html file will be empty.

- added mobi2imp to the distribution.

- Added flag --mbpfile to mobi2mobi. Can be used to set author and publisher
  from the mbp file.

Changes in 0.0.28:

- Fixed the substituion of mbp:pagebreak that was done wrongly

- Added a newline after /dev> in mobi2html

- Fixed bug in MobiFile pointed out by Gary Tsang. The cover offset
  was set to 0 when no cover was available and that made the Kindle
  reader crash.

- Fixed html2mobi so that file name is used as title in generated toc
  if no title tag is available.

Changes in 0.0.27:

- mobi2html now works with the mobi file specified with a full path

- MobiPocket specific html removed in mobi2html. --mobihtml to keep it.

Changes in 0.0.26:

- --prefixtitle now works for mobi2mobi and when input is a PalmDOC file.

- Fixed bug with mobi2mobi and --coverimage. It did not work if the file
  did not contain any images.

- Fixed rescaling bug. Now also images whose height is greater than 640
  are rescaled. This is done because of a bug in the Gen3.

- Fixed bug in mobi2mobi --fiximagesizes. In Linux the wrong tmp file
  was read.

- Introduced a flag --gen3imagefix to mobi2mobi that can be used if you have
  a book that hang the Gen3. These kind of hangings are often caused by
  a large image in the book. This is a firmware bug in the Gen3.

- Added call to fix_pre_tags in lit2mobi

- Now it is possible to add author information to a Mobipocket file
  that does not have an EXTH.

Changes in 0.0.25:

- Added all language codes and added info about language in mobi2mobi

Changes in 0.0.24:

- Added flag --boktype to mobi2mobi to change the booktype value.
  2 = BOOK (default), 257 = NEWS (Wall Street Journal as this value)

- Added flag --delexthtype that can be used to remove type
  mobi2mobi file.awz --outfile t.mobi --delexthtype cdetype

- Fixed so that lit2mobi does not crach when failing to open an image file.

Changes in 0.0.23:

- Item 401 in EXTH can be 1 or 4 butes according to examples (awz files).
  Removed assumption that it was 4 bytes to get mobi2mobi to work for
  an example file.


Changes in 0.0.22:

- Fixed so that flags --coverimage, --addthumbnail, --addcoverlink
  works for html2mobi and lit2mobi.

Changes in 0.0.21:

- Added detection of images that are to large in mobi2mobi

- Added flag --fiximagesizes to mobi2mobi so it will fix the
  incorrect image sizes.

- --htmlfile flag for lit2mobi placed file in wrong dir, fixed now.

- Added flag --coveroffset to mobi2mobi and fixed a bug relating to
  this. Now it is possible to change which image that is cover image
  by just specifying another offset.

- The distribution is now a packed directory.

- Added flags --exthtype and --exthdata to mobi2mobi to be able to
  set any type. Values can be set for unknown types 204, 205, 206, 207,
  401, 403. This can help to figure out what these items mean.

Changes in 0.0.20:

- <pre>-tags is now replaced with someting that displays better
  in a MobiPocket reader.

- Changed max file size for images to 61000 to avoid conversion of 
  a BMP image.

- Images are now not converted to jpg if they fit the file size and image size
  requirements.



Changes in 0.0.19:

- Fixed resizing of image data and rescaling of image for
  mobi2mobi. The rescaling is neccessary because of the Gen3
  not working on files with images with width larger than 480
  or something around that size. This seems to be a bug in the
  Gen3.

- Added Image::BMP to Util.pm. Used to convert a file
  from BMP to GD if needed.

- Fixed TOC bug caused by filepos attribute not removed in 
  mobit2html.

- Changed max file size for images to 60000.
  From MobiPocket forum: "- the size of each JPEG image is limited to
  about 63K for a number of technical reasons "

- Fixed filepos bug in html2mobi so now TOC in the beginning works
  for Twain example.

- Fixed mobi2html so it works for the Alice example were the filepos
  point to "<h" instead of pointing to a "<a".


About

Perl tools for handling MobiPocket files

Resources

License

Stars

Watchers

Forks

Packages

No packages published