summaryrefslogtreecommitdiff
path: root/rss.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-07-24 17:36:26 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-07-24 17:36:26 +0200
commit5a6af3e4388997af9af61a4c4704c6951e6fa798 (patch)
tree731d21c1be611d3f0495304ba769201f39ca13fa /rss.go
parentaa8347bf1a12a4783659cf4c223ed8abb57d5acc (diff)
Reduce number of RSS feeds, bump interval upto 1 hour
Diffstat (limited to 'rss.go')
-rw-r--r--rss.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/rss.go b/rss.go
index bde4adf..43802ce 100644
--- a/rss.go
+++ b/rss.go
@@ -11,12 +11,8 @@ import (
var Feed = map[string]string{
"News": `https://www.linux.org.ru/section-rss.jsp?section=1`,
- "Forum": `https://www.linux.org.ru/section-rss.jsp?section=2`,
- "Gallery": `https://www.linux.org.ru/section-rss.jsp?section=3`,
- "Polls": `https://www.linux.org.ru/section-rss.jsp?section=5`,
"OpenNET": `http://www.opennet.ru/opennews/opennews_all_noadv.rss`,
"Undeadly": `http://undeadly.org/cgi?action=rss`,
- "Kernel": `https://www.kernel.org/feeds/kdist.xml`,
}
type News struct {
@@ -24,7 +20,7 @@ type News struct {
Item rss.Item
}
-const timeOut = 5 * time.Minute
+const timeOut = time.Hour
var news = make(chan News)