Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works

Random project

fpc-epub

FreePascal/Lazarus unit for pulling metadata out of ePub files

View on GitHub

Anyone may press Interesting, signed in or not. It helps others find this project.

Member rating

No ratings yet.

Sign in to rate this project.

README

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.