diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2015-08-12 14:19:38 +0200 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2015-08-12 14:19:38 +0200 |
commit | e8357225d34ead5729d4306a91a9864d90a34027 (patch) | |
tree | 9dec7c20cb5af0a81b610a01d80181ec89d7c307 /rss.go | |
parent | 24c4ad71e818b81bf83a3065317e4f75c7f10a07 (diff) |
Add author
Diffstat (limited to 'rss.go')
-rw-r--r-- | rss.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) } } |