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
- Add an
embed_epub() function in python/akf/embed.py
- EPUB files are ZIP archives containing XHTML — metadata can go in the OPF metadata section or as a custom
<meta> tag
- Add corresponding
extract_epub() in python/akf/extract.py
- Add tests in
python/tests/test_embed.py
Helpful context
Acceptance criteria
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
embed_epub()function inpython/akf/embed.py<meta>tagextract_epub()inpython/akf/extract.pypython/tests/test_embed.pyHelpful context
embed_docx()for a similar ZIP-based format approachAcceptance criteria
akf embed book.epubworksakf extract book.epubrecovers the metadata