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§
- Noop
Transform - a transform that preserves valid iamge types, and ignores all others
- Repub
- The main class for converting mhtml
Enums§
- Epub
Version - Represents the EPUB version.
- Error
- Possible errors during epub creation.
- Image
Format - The image format of the transformed image
- Image
Handling - How to handle images in the summarized article.
Traits§
- Image
Transform - a method for altering images for inclusion