Parse the author name from content.opf file (#165)

## Summary

* Parse the author name from content.opf file
  * Listed in the dc:creator tag within the metadata section
This commit is contained in:
Dave Allie
2025-12-30 22:15:44 +11:00
committed by GitHub
parent 3dd52f30fa
commit be1b5bad21
4 changed files with 28 additions and 2 deletions
+2
View File
@@ -12,6 +12,7 @@ class ContentOpfParser final : public Print {
IN_PACKAGE,
IN_METADATA,
IN_BOOK_TITLE,
IN_BOOK_AUTHOR,
IN_MANIFEST,
IN_SPINE,
};
@@ -31,6 +32,7 @@ class ContentOpfParser final : public Print {
public:
std::string title;
std::string author;
std::string tocNcxPath;
std::string coverItemHref;