summaryrefslogtreecommitdiff
path: root/feeds.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2018-01-01 09:49:01 +0100
committerDimitri Sokolyuk <demon@dim13.org>2018-01-01 09:49:01 +0100
commit2e61e20da46d10af33a84a18dc2e1b77e43002b3 (patch)
tree7245894614a2c5c294cd48047f3d2b2a2cf4ccea /feeds.go
parent50d3b0f4927c3fc4b92cc368062ce2bf42e1a99d (diff)
parente663cdca3df5471ffbf7bfc2d329e7780e5ccf6f (diff)
Merge branch 'kiss'
Diffstat (limited to 'feeds.go')
-rw-r--r--feeds.go31
1 files changed, 31 insertions, 0 deletions
diff --git a/feeds.go b/feeds.go
new file mode 100644
index 0000000..6950194
--- /dev/null
+++ b/feeds.go
@@ -0,0 +1,31 @@
+package main
+
+import "time"
+
+var Feeds = []Feed{
+ {
+ Name: "LOR News",
+ URL: `https://www.linux.org.ru/section-rss.jsp?section=1`,
+ Every: time.Hour,
+ },
+ {
+ Name: "LOR Forum",
+ URL: `https://www.linux.org.ru/section-rss.jsp?section=2&filter=tech`,
+ Every: time.Minute,
+ },
+ {
+ Name: "LOR Gallery",
+ URL: `https://www.linux.org.ru/section-rss.jsp?section=3`,
+ Every: 2 * time.Hour,
+ },
+ {
+ Name: "LOR Polls",
+ URL: `https://www.linux.org.ru/section-rss.jsp?section=5`,
+ Every: 2 * time.Hour,
+ },
+ {
+ Name: "OpenNET",
+ URL: `http://www.opennet.ru/opennews/opennews_all_noadv.rss`,
+ Every: 4 * time.Hour,
+ },
+}