mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
23 lines
368 B
C
23 lines
368 B
C
|
#include <net.h>
|
||
|
#define SILENCE
|
||
|
#define NAME "ZeitVideo"
|
||
|
|
||
|
#ifdef BRAIN
|
||
|
# define NEWSFEED_RSS "http://newsfeed.zeit.de/video/index"
|
||
|
#else
|
||
|
# define CONNECT_DEFAULT
|
||
|
#endif
|
||
|
|
||
|
#include <place.gen>
|
||
|
|
||
|
#ifdef BRAIN
|
||
|
|
||
|
publish(link, headline, channel) {
|
||
|
if (strstr(link, "&from=rss", -12) != -1)
|
||
|
link = link[0 .. <12];
|
||
|
return ::publish(link, headline, channel);
|
||
|
}
|
||
|
|
||
|
#endif
|
||
|
|