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 d1acc132d2
Try to handle different feed styles
Sometimes feeds provide the entire post as HTML (e.g. Gentoo Planet),
some only give a summary in HTML (ABC News) and some only give a
plain-text summary (ABC News previously).

This tries to support a few different formats gracefully, before giving
up and just displaying "Summary not available".
2019-06-03 20:17:38 +10:00
example example: Brighten the links a bit 2016-03-13 08:26:19 +10:00
tornadonews Try to handle different feed styles 2019-06-03 20:17:38 +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!