Expand description
A library for turning mhtml webpages into summarized epub articles
This is primarily intended for use in repub for reMarkable devices, but can be generally used for webpage summarization.
§Examples
use repub::Repub;
let mhtml = // ...
let mut buff = Vec::new();
Repub::default().mhtml_to_epub(mhtml, &mut buff).unwrap();
Structs§
- a transform that preserves valid iamge types, and ignores all others
- The main class for converting mhtml
Enums§
- Represents the EPUB version.
- Possible errors during epub creation.
- The image format of the transformed image
- How to handle images in the summarized article.
Traits§
- a method for altering images for inclusion