Skip to content

refactor process_cbz_imgs and OEBPSWriter #2

@HermesPasser

Description

@HermesPasser

Part of what process_cbz_imgs does should be in OEBPSWriter and both are under a path hell, with a lot of path manipulations.

Would be nice to separate the rendition creation from the chapter logic so process_cbz_imgs would not need to care about keeping track of the toc name (that it gives to the writer)

suggestion: OEBPSWriter#new_chapter(chapter_name) should do the trick, any rendition added after this call would be under this chapter in toc, therefore its contents would be in /chapter_name/.xhml and imgs/chapter_name/.img

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions