mirror of
https://code.dnix.de/da/flokatirc
synced 2026-07-27 07:29:45 +02:00
Rename news -> rss.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
// and is subject to the CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
|
||||
// license.
|
||||
|
||||
package news
|
||||
package rss
|
||||
|
||||
import (
|
||||
"bufio"
|
||||
@@ -64,7 +64,7 @@ func itemHandler(feed *rss.Feed, ch *rss.Channel, newitems []*rss.Item) {
|
||||
return
|
||||
}
|
||||
for _, ni := range newitems {
|
||||
sayCh <- fmt.Sprintf("%s\n*** [NEWS] %v - %v", "*", ni.Title, ni.Links[0].Href)
|
||||
sayCh <- fmt.Sprintf("%s\n*** [RSS] %v - %v", "*", ni.Title, ni.Links[0].Href)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user