Mercurial > hg > pnewss
view readme.txt @ 9:ae0c67d72670
Bugfix in server POST code, add support for client side IHAVE and fall back to STAT-before-POST
author | Ivo Smits <Ivo@UCIS.nl> |
---|---|
date | Tue, 12 Apr 2011 14:54:26 +0200 |
parents | 40e545510a57 |
children |
line wrap: on
line source
To use: Set up some database (MySQL is recommended, but others should work too), with a schema as described in database.mysql Rename/copy config.php.example to config.php and edit it according to your database settings Add other news servers to the peers table in the database (address is in the format tcp://hostname:119, post is either 0 or 1 to try to post to this server) Add newsgroups to the newsgroups table in the database Add peer-group relations to the peergroups table in the database (peer is the id number from the peers table, group is the id number from the groups table) Setup (x)inetd (or socat or netcat) to serve the server.php script on TCP port 119 Run the fetchnews.php script to synchronize with your peers Install the fetchnews.php script in crontab to automatically synchronize with your peers