-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
89db9e6
commit d5f8d75
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" /> |