mirror of
https://github.com/ChronosX88/psyced.git
synced 2024-11-13 22:11:02 +00:00
28 lines
1.1 KiB
C
28 lines
1.1 KiB
C
#include <net.h>
|
|
#define SILENCE
|
|
#define NAME "kernel"
|
|
|
|
/* this is an example for a RSS-based newsfeed room for PSYC
|
|
* just copy it and enter your favourite RSS URL. you can also
|
|
* specify a RESET_INTERVAL in minutes. please don't run your
|
|
* own news gateway if one already exists - PSYC packets are
|
|
* much much more efficient than polling RSS files, therefore
|
|
* if you like getting heise news, simply /subscribe or /enrol
|
|
* to psyc://psyced.org/@heise (until heise catch the
|
|
* drift and provide such a PSYC news service themselves ;))
|
|
*
|
|
* by the way, RSS is not the only newsfeed interface to PSYC -
|
|
* in the perlpsyc distribution is an email filter script which
|
|
* parses dpa news coming by email and creates PSYC notices out
|
|
* of it. the best idea would obviously be if publishing tools
|
|
* learned how to notify changes directly to a PSYC newsroom.
|
|
* it's really simple.. just connect and dump a few lines!
|
|
*/
|
|
#ifdef BRAIN
|
|
# define NEWSFEED_RSS "http://kernel.org/kdist/rss.xml"
|
|
# define RESET_INTERVAL 6 * 60 // anyone need this to be fast?
|
|
#else
|
|
# define CONNECT_DEFAULT
|
|
#endif
|
|
#include <place.gen>
|