summaryrefslogtreecommitdiff
path: root/rss.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-08-12 14:19:38 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-08-12 14:19:38 +0200
commite8357225d34ead5729d4306a91a9864d90a34027 (patch)
tree9dec7c20cb5af0a81b610a01d80181ec89d7c307 /rss.go
parent24c4ad71e818b81bf83a3065317e4f75c7f10a07 (diff)
Add author
Diffstat (limited to 'rss.go')
-rw-r--r--rss.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/rss.go b/rss.go
index f8332d2..acb4e2f 100644
--- a/rss.go
+++ b/rss.go
@@ -24,7 +24,7 @@ var Feeds = []Feed{
{
Name: "LOR Forum",
URL: `https://www.linux.org.ru/section-rss.jsp?section=2&filter=tech`,
- Period: 10 * time.Minute,
+ Period: 5 * time.Minute,
},
{
Name: "LOR Gallery",
@@ -62,7 +62,8 @@ var news = make(chan News)
func ShowNews(conn *irc.Conn, _ *irc.Line) {
for n := range news {
- s := fmt.Sprintf("%v: %v - %v", n.Name, n.Title, n.Link)
+ s := fmt.Sprintf("%v: %v (%v) - %v",
+ n.Name, n.Title, n.Author, n.Link)
conn.Notice(*room, s)
}
}