Skip to content

qiwihui/morerssplz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

各种转 RSS 服务。目前支持知乎专栏知乎动态v2ex 评论

网站的使用方法见 https://rss.qiwihui.com

程序依赖:

  • Python >= 3.5
  • Tornado
  • PyRSS2Gen
  • lxml

程序源码许可证: GPLv3

Installation

  1. 安装 python3.5+环境

see Installing Python 3 on Linux

  1. 安装
aptitude install python3-pip libxml2-dev libxslt-dev python-dev
pip3 install -r requirements.txt

运行

python3 main.py

小脚本

添加以下服务到InoReader中:

  • 知乎专栏
  • Medium
    • User
    • Publications
    • Custom domains
  • 简书
    • 专题(http://www.jianshu.com/c/)
    • 作者(http://www.jianshu.com/u/)
    • 文集(http://www.jianshu.com/nb/)

将以下代码添加到书签栏即可

javascript:(function(){var u='https://www.inoreader.com/?add_feed=';var l=location;c=l.pathname.split('/')[1];if(l.host=='medium.com'){u+=l.protocol+'//'+l.host+'/feed/'+c}else if(l.host=='zhuanlan.zhihu.com'){u+=l.protocol+'//'+l.host+'/'+c}else if(l.host=='www.jianshu.com'){cid=l.pathname.split('/')[2];if(c=='u'){u+='http://jianshu.milkythinking.com/feeds/users/'+cid}else if(c=='u'){u+='http://jianshu.milkythinking.com/feeds/collections/'+cid}else if(c=='nb'){u+='http://jianshu.milkythinking.com/feeds/notebooks/'+cid}else{alert("not supported!");return}}else{u+=l.protocol+'//'+l.host+'/feed'}if(confirm(u)){l.href=u}else{return}})()

注意

  1. lxml installation error ubuntu 14.04 (internal compiler error)

About

Convert other article sources to RSS feeds

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 84.7%
  • HTML 12.9%
  • JavaScript 2.4%