vrienstudios / anime-dl

Download anime, novels, manga, and nsfw content for offline consumption.
BSD 3-Clause "New" or "Revised" License
158 stars 10 forks source link

Update .adl archival format to support TiNode export and import. #109

Closed ShujianDou closed 2 years ago

ShujianDou commented 2 years ago

As of now, images and text are exported into .adl format separately, and this would pose a severe problem for novels that have images and text within the same chapter or page. To preserve compatibility with existing code, I'd suggest a naming convention update, which will be based on parts.

example below: {chapter name}.1.0.text {chapter name}.1.1.img {chapter name}.1.2.text

The first number represents the chapter number, and the second number represents the TiNode position.

ShujianDou commented 2 years ago

*TiNode is the system of keeping track of text and images within our EPUB system, and implementing the proposed changes to our save method would greatly enhance and improve future features planned. For example, reading and tracking in our UI, and it would also be required for the downloading of light novels or novels mixed with images and text within chapters.