1
0
mirror of https://github.com/sjlongland/tornado-news.git synced 2025-09-13 10:03:14 +10:00
Tornado-based news reader
Go to file
Stuart Longland d4b0329fda
Wrap Tornado's HTTP client fetch to implement callback.
Tornado's `fetch` method no longer accepts a callback function, it's
purely coroutine based.

Not quite ready to jump to the "new world order" as this code was
written with Python 2.7 support in mind, so we'll make a coroutine
wrapper that calls Tornado's HTTP client, and manages the callback
logic.
2020-04-25 09:02:10 +10:00
example example: Brighten the links a bit 2016-03-13 08:26:19 +10:00
tornadonews Wrap Tornado's HTTP client fetch to implement callback. 2020-04-25 09:02:10 +10:00
.gitignore Add .gitignore and README.md 2017-10-15 08:45:46 +10:00
COPYING Initial check-in of Tornado News 2016-03-06 14:58:34 +10:00
README.md README.md: create PRs in branches 2018-09-01 08:21:35 -05:00
setup.py Add pyyaml dependency 2018-08-31 04:59:38 -05:00

TornadoNews: a feed aggregator built on Tornado

TornadoNews is a small feed aggregator much like Planet written to be small and simple.

It uses the Tornado asynchronous framework to fetch RSS and ATOM feeds asynchronously and uses its templating engine to generate the final HTML output. Like Planet, it is intended to be run from a cron job, with the output served up by a conventional HTTP server (e.g. Apache, nginx, lighthttpd, OpenBSD httpd, Microsoft IIS, etc...).

Feeds are parsed using the feedparser module, and a composite RSS feed is generated using feedgenerator.

The code works on both Python 2.7 and 3.4. It has been exclusively developed and tested on Linux. It should work with anything that understands POSIX.

Contributing

Pull requests on GitHub are most welcome. Please always create them on a separate branch so that we can rebase the merge to master; this helps keep the commit history on the master branch clean and noise-free. Thanks in advance!