Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MFernstrom committed Feb 8, 2020
1 parent 89db9e6 commit d5f8d75
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,24 @@
# fpc-epub
FreePascal/Lazarus unit for pulling metadata out of ePub files

## Use
1. Add `epub` to your uses clause
2. Initialize `epub := TEpubClass.Create(nil);`
3. Load an ePub file ` epub.load('path/to/file');`
4. Extract data `epub.MetaData.title`

## Available Metadata
* identifier
* title
* language
* creator
* date
* publisher
* rights
* subject
* coverImage

## Example application
Source folder contains a Lazarus example project.

<img src="epubInspector.PNG" />

0 comments on commit d5f8d75

Please sign in to comment.