diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2015-07-24 17:36:26 +0200 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2015-07-24 17:36:26 +0200 |
commit | 5a6af3e4388997af9af61a4c4704c6951e6fa798 (patch) | |
tree | 731d21c1be611d3f0495304ba769201f39ca13fa /rss.go | |
parent | aa8347bf1a12a4783659cf4c223ed8abb57d5acc (diff) |
Reduce number of RSS feeds, bump interval upto 1 hour
Diffstat (limited to 'rss.go')
-rw-r--r-- | rss.go | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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) |