mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
let the past begone in cvs land. welcome to igit igit!
This commit is contained in:
commit
4e601cf1c7
509 changed files with 77963 additions and 0 deletions
22
place/zeitvideo.c
Normal file
22
place/zeitvideo.c
Normal file
|
@ -0,0 +1,22 @@
|
|||
#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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue