Giter VIP home page Giter VIP logo

rsstomobiservice's Introduction

About

RssToMobiService (rtms) is a service (you can treat it as a tool) helps you to fetch RSS and generate mobi file for your kindle device.


Dependency

  • python env (pip)
  • redis
  • maven
  • one of Java's IDEs such as Eclipse, IntelliJ idea (optional)

NOTE

  • python env (pip): two script will need python's env (fullTxt and kindlestrip)
  • redis: used to store image's json object and cache processed entry desc
  • maven: it is necessary that jar will be built with it
  • Java's IDE: can help you edit some config item and code, it depends on yourself.

How to use

assume that you have installed those dependencies.

  • enter your-local-repository
cd RssToMobiService/src/main/resources/
  • modify some config file. mail.properties and feedlinks.txt must be modified generally. Check it one by one!

  • run dispatch script

(sudo) sh dispatch.sh
  • return to project's root dir and build && generate jar file
mvn assembly:assembly
  • init python script's dependency packages
(sudo) pip install feedparser
(sudo) pip install readability-lxml
  • start redis server (command see resources/redisMaintain.sh)

  • goto target dir && execute jar

java -jar RssToMobiService-1.0-SNAPSHOT.jar

NOTE

  • you must goto amazon's website to set your kindle's receive-email
  • you should change the feedlinks.txt's rss url
  • these are apse some config items about mobi file you should pay attention to (rtms.properites)

What's more

  • you can make it as a deamon daily service.
  • optimize entry fetch/parse and image download

Q&A

rsstomobiservice's People

Contributors

yanghua avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.