• R/O
  • HTTP
  • SSH
  • HTTPS

Source Tree

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Simple RSS Reader inspired by Gxxgle Reader


Nombre Tamaño Rev. Tiempo Autor Log Message
backend
client
dist
.gitignore 48 b874bfa 2013-07-01 03:13:15 hylom fix for live environment
README.md 1.84 k 2aed231 2013-07-11 01:03:14 hylom to use hogan.js template engine in cl...
cron 129 c8fc21f 2013-07-16 02:25:14 hylom dist: add cron file
initscript 1024 2f3d81d 2013-07-16 02:11:19 hylom dist: fix spec and makefile
install.sh 162 257c1c3 2013-07-08 20:03:41 hylom fix README.md and install scripts
license.txt 17.67 k 8d93e5f 2013-07-16 01:05:44 hylom remove 'forever' from package.json

README.md

Grrreader

Grrreader - Gxxgle-Reader-inspired Rss READER (a.k.a. Gxxgle Reader Clone)

What is "grrreader"?

Grrreader is Web-based RSS reader application. Grrreader has Gxxgle-Reader-like AJAX based UI, independent RSS feed fetcher, and minimal feature to check RSSs are implemented.

Grrreader uses Python to fetch RSS feed, and Node.js to build HTTP Server and Web UI.

Requires

  • Python 2.7.x
  • Node.js 0.10.x
  • Some python modules: "feedparser", "dateutil.parser", "mysql.connector"
  • Some node.js modules: defined in client/package.json and "forever"
  • MySQL

How to install

  1. install Python (>2.7.x), Node.js (>0.10.x), MySQL
  2. create MySQL database and user, tables for use
  3. run npm install in client directory
  4. copy client/config.json.sample to client/config.json
  5. edit client/config.json
  6. copy backend/config.ini.sample to backend/config.ini
  7. edit backend/config.ini
  8. fix 'DEST' line to install directory for client in install.sh
  9. execute backend/feedfetcher.py to initial feed fetching
  10. add backend/feedfetcher.py to crontab
  11. start rrreader service like: # service grreader start

Create Tables

To create Tables, do below commands.

$ cd backend
$ python
Python 2.7.2 (default, Oct 11 2012, 20:14:37) 
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import db
>>> db.MySQLDatabase().create_tables()
>>> ^D
$

Import Google Reader's registered feeds

$ cd backend
$ python greaderimport.py < ../subscriptions.xml  

Sample crontab

# MM HH DD MM WE CMD
*/30   *  *  *  *  cd /usr/local/share/grrreadder/backend; /usr/bin/python feedfetcher.py > /dev/null