Skip to content

Add AKF support for EPUB format #40

Description

@HMAKT99

Summary

AKF currently embeds metadata into 20+ formats (DOCX, PDF, images, HTML, etc.) but doesn't yet support EPUB — the standard ebook format.

What needs to happen

  1. Add an embed_epub() function in python/akf/embed.py
  2. EPUB files are ZIP archives containing XHTML — metadata can go in the OPF metadata section or as a custom <meta> tag
  3. Add corresponding extract_epub() in python/akf/extract.py
  4. Add tests in python/tests/test_embed.py

Helpful context

Acceptance criteria

  • akf embed book.epub works
  • akf extract book.epub recovers the metadata
  • Tests pass

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions