Skip to content

Generating ebooks in MOBI end EPUB formats from articles you saved on Pocket account or which showed up in your favourite RSS feeds.

Notifications You must be signed in to change notification settings

frogi16/E-reader-Periodical

Repository files navigation

E-reader Periodical

Overview

Popularity of e-readers constantly increases and despite their usefulness in reading books, their ability to browse web is still limited. This project aims to connect these two different worlds by providing an automated way to download articles from your favourite sites, process them and create an e-book ready to send to your Kindle or other devices.

title screen

Not only can you specify sites' RSS feeds and let the computer convert new articles to an e-book, you can also add any article from any site from every place on the globe using Pocket, which is a great service available on PCs and smartphones that allows you to easily save content for later consumption. E-reader Periodical synchronizes with Pocket every time it creates an e-book for you and adds articles from your Pocket account to the e-book.

table of content

Generated content is formatted as close to traditional books as possible, but E-reader Periodical also adds some useful features like fully functional Table of Contents and skip buttons placed for user convenience in the header of every article.

article header preview

During the processing phase E-reader Periodical searches for every image linked in the article, downloads the best resolution possible and embedds it into the e-book. All references requiring connection to the Internet are replaced.

article preview

Articles are filtered based on rules provided by the user and may be removed completely or partially from the e-book because of their length, found keywords or HTML tags. This simple system is enough to fix small mistakes done by web parser and remove annoying and repetitive texts (e.q. requests for support and donations).

command_line_preview

E-books are constructed in EPUB format and conversion to MOBI is performed using kindlegen, which is an official tool released by Amazon. E-reader Periodical ensures that all changes and features are fully compatible with both formats and can be converted properly.

article preview 2

Tools and frameworks

Extracting important content from the whole website is handled by Mercury Web Parser, which recently went open-source. All network-related functionalities use libcurl via simple, self-made wrapper, so it can be used in object oriented style. Pugi xml has been used to easily read and modify .xml files and HTML tidy fixes internal problems with formatting and structure of downloaded articles.

Future development plans

  • adding proper GUI. A few prototypes using Qt framework have been already made and further works are in progress.
  • fully automated generation and delivery should be implemented as an alternative process.
  • storing passwords, usernames, and API keys has to be done more securely and reliably.
  • rewriting parts of the program responsible for generation EPUB file.

About

Generating ebooks in MOBI end EPUB formats from articles you saved on Pocket account or which showed up in your favourite RSS feeds.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published