8000 GitHub - devlooped/epub at v1.0.0 · GitHub
[go: up one dir, main page]

Skip to content
devloopedPublic

About

A lightweight library that implements EPUB standard

Resources

Code of conduct

Contributing

Security policy

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

Icon EPUB

Lightweight read-only API for processing EPUB documents.

Version Downloads License Build

Usage

using var pub = Publication.Open(@"Samples/how-to-think-about-the-economy.epub");

Assert.Equal("How to Think about the Economy", pub.Package.Title);
Assert.Equal("en-US", pub.Package.Language);

foreach (var content in pub.Package.Navigation)
{
    XDocument doc = content.Open();

    // Useful in conjunction with Devlooped.Web for CSS-selectors
    string? title = doc.CssSelectElement("head title")?.Value;
    // ...
}

About

A lightweight library that implements EPUB standard

Resources

Code of conduct

Contributing

Security policy

Stars

4 stars

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages

0