maertsen / rawdog Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
This is an attempt at a port to Python 3 for my personal use. Upstream can be found at https://offog.org/code/rawdog/. --Maarten # rawdog: RSS Aggregator Without Delusions Of Grandeur Adam Sampson <[email protected]> rawdog is a feed aggregator, capable of producing a personal "river of news" or a public "planet" page. It supports all common feed formats, including all versions of RSS and Atom. By default, it is run from cron, collects articles from a number of feeds, and generates a static HTML page listing the newest articles in date order. It supports per-feed customizable update times, and uses ETags, Last-Modified, gzip compression, and RFC3229+feed to minimize network bandwidth usage. Its behaviour is highly customisable using plugins written in Python. rawdog has the following dependencies: - Python 3.6 or later - feedparser 6.0.0 or later - PyTidyLib 0.2.1 or later (optional but strongly recommended) To install rawdog on your system, use distutils -- "python setup.py install". This will install the "rawdog" command and the "rawdoglib" Python module that it uses internally. (If you want to install to a non-standard prefix, read the help provided by "python setup.py install --help".) rawdog needs a config file to function. Make the directory ".rawdog" in your $HOME directory, copy the provided file "config" into that directory, and edit it to suit your preferences. Comments in that file describe what each of the options does. You should copy the provided file "style.css" into the same directory that you've told rawdog to write its HTML output to. rawdog should be usable from a browser that doesn't support CSS, but it won't be very pretty. When you invoke rawdog from the command line, you give it a series of actions to perform -- for instance, "rawdog --update --write" tells it to do the "--update" action (downloading articles from feeds), then the "--write" action (writing the latest articles it knows about to the HTML file). For details of all rawdog's actions and command-line options, see the rawdog(1) man page -- "man rawdog" after installation. You will want to run "rawdog -uw" periodically to fetch data and write the output file. The easiest way to do this is to add a crontab entry that looks something like this: 0,10,20,30,40,50 * * * * /path/to/rawdog -uw (If you don't know how to use cron, then "man crontab" is probably a good start.) This will run rawdog every ten minutes. If you want rawdog to fetch URLs through a proxy server, then set your "http_proxy" environment variable appropriately; depending on your version of cron, putting something like: http_proxy=http://myproxy.mycompany.com:3128/ at the top of your crontab should be appropriate. (The http_proxy variable will work for many other programs too.) In the event that rawdog gets horribly confused (for instance, if your system clock has a huge jump and it thinks it won't need to fetch anything for the next thirty years), you can forcibly clear its state by removing the ~/.rawdog/state file (and the ~/.rawdog/feeds/*.state files, if you've got the "splitstate" option turned on). If you don't like the appearance of rawdog, then customise the style.css file. If you come up with one that looks much better than the existing one, please send it to me! This should, hopefully, be all you need to know. If rawdog breaks in interesting ways, please tell me at the email address at the top of this file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.