Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 529 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 529 Bytes

fpc-epub

FreePascal/Lazarus unit for pulling metadata out of ePub files

Use

  1. Add epub_pk package to your project
  2. Add epub to your uses clause
  3. Initialize epub := TEpubHandler.Create;
  4. Load an ePub file epub.LoadFromFile('path/to/file');
  5. Extract some data epub.MetaData.title

Available Metadata

  • identifier
  • title
  • language
  • creator
  • date
  • publisher
  • rights
  • subject
  • coverImage

Example application

Source folder contains a Lazarus example project.