Greasy Fork is available in English.

HTML2FB2Lib

This is a library for converting HTML to FB2.

These are versions of this script where the code was updated. Show all versions.

  • v0.10.4 05.11.2024.
    • fixed identification of the sf_litrpg genre;
  • v0.10.3 08.10.2024.
    • Added ability to return result with headers to FB2Loader class;
  • v0.10.2 07.02.2024.
    • added image type check;
  • v0.10.1 12.11.2023.
    • added the ability to use FB2 notes;
    • added one more parameter to the startNode method of the FB2Parser class;
    • Important! Rearranged parameters in the bindParser method of the FB2Document class;
  • v0.9.1 05.11.2023.
    • FB2Image now has a format conversion method;
  • v0.8.1 10.10.2023.
    • Some changes in the identifying genre algorithm;
  • v0.8.0 20.09.2023.
    • added the ability to use fromNode in FB2AnnotationParser and FB2ChapterParser;
  • v0.7.2 13.09.2023.
    • FB2Annotation normalization improved;
    • Added description in Russian;
    • Minor fix to tag history;
  • v0.7.1 10.09.2023.
    • Fixed constructor for FB2GenreList;
    • Fixed the order of children tags in FB2Author;
    • Added the ability to use the history tag in FB2Document;
  • v0.7.0 31.08.2023.
    • added special fb2 element for unknown html nodes;
    • asynchronous calls are replaced by synchronous ones;
    • added FB2AnnotationParser and FB2ChapterParser classes;
    • methods for binding parsers were added to FB2Document;
  • v0.6.0 28.08.2023.
  • v0.5.3 19.08.2023.
    • Fixed a bug in list processing;
  • v0.5.2 25.07.2023.
    • added processing SUB and SUP tags;
  • v0.5.1 09.07.2023.
    • added processing B tag;
  • v0.5.0 29.06.2023.
    • Added genre identification;
    • Improved keywords support
  • v0.4.1 23.06.2023.
    • Fixed handling UL tag;
    • Added explicit exception for SCRIPT tag;
  • v0.4.0 23.06.2023.
    • added handling UL tag;
    • added support of multiple cover pages;
    • improved FB2 document normalization;
    • changed algorithm of book id generating;
    • a few minor fixes and improvements
  • v0.3.1 22.06.2023.
    • fixed element name strike -> strikethrough
    • added GIF support
  • v0.3.0 20.06.2023.
    • added handling OL tag
    • improved FB2 document normalization
    • a few minor fixes and improvements
  • v0.1.0 16.06.2023.