View Single Post
Old 12-22-2022, 06:38 PM   #1894
leo4any1
Junior Member
leo4any1 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Dec 2022
Device: Kindle Oasis
@mariosipad
I don’t have these lines too. I found the following instruction in COPSFB2 fork of COPS project. (sorry, the following is auto translated)

7. If you need a converter to mobi/epub:
We take here the converter for our platform
We unpack it into copsfb2/convert, check the rights and attributes of executable files. The specified directory must contain the fb2c executable file (for Windows, fb2c.exe).
In copsfb2/config_local.php we edit the parameters:
$config['cops_convert_to_types'], specify the types to which to convert, separated by commas, by default mobi,epub are written in the config
$config['convert_cmd'], command line for conversion. If you have linux, you can leave it alone, in windows correct the name of the executable file.
You can create the convert/configuration.toml configuration file by hand or run the converter with the export command and edit it. If one is found, it will be passed to the executable command at startup
If there are problems with the conversion (there are mobi/epub icons, but fb2 is loaded, check the write and execute permissions. By default, the converter tries to create its own log in the copsfb2/ directory (conversion.log). If the http group does not have write permissions to this directory, there will be an error and no output file will be created.Logging can be disabled in configuration.toml ([logger.file] level = "none", read the documentation for the converter) or give write permissions to the http group in the copsfb2/ directory.


Sent from my iPad using Tapatalk
leo4any1 is offline   Reply With Quote