Changes between Version 10 and Version 11 of bender
- Timestamp:
- Sep 26, 2017, 1:06:07 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
bender
v10 v11 18 18 19 19 {{{ 20 .rss add #mayfirst tickets https://support.mayfirst. .org/timeline?ticket=on&ticket_details=on&sensitive_activity=on&max=10&daysback=1&format=rss20 .rss add #mayfirst tickets https://support.mayfirst.org/timeline?ticket=on&ticket_details=on&sensitive_activity=on&max=10&daysback=1&format=rss 21 21 .rss formats tickets f=fl+fatl 22 22 .rss add #mayfirst nagios http://monitor.local.mayfirst.org/rss/all.xml 23 .rss formats ticket f=fd+ftd 23 24 .rss add #mayfirst service https://status.mayfirst.org/rss.xml 24 25 .rss add #mayfirst wiki https://support.mayfirst.org/timeline?max=10&wiki=on&daysback=1&format=rss 25 26 }}} 27 28 Notes on configuration: 29 30 For both the tickets and the nagios feeds we alter the format (see [https://github.com/RebelCodeBase/sopel-rss sopel-rss for the full documentation). In short: 31 32 * For tickets, we change to f=fl+fatl from the default (f=fl+ftl). The last ftl in the original format means show the feed name, title, and link. We add "a" so we see the author too. 33 * For nagios, we change to f=fd+ftd. The f=fd determines how to create a hash so the reader knows if we have seen this item already. By default it uses the name of the feed and the link. But nagios has a broken rss feed that simply outputs the IP address of the service as the link - so we miss a lot of notices if we generate the hash from these fields. Instead, generate the hash from the feed name + feed description (which always contains a time stamp). Also, only show the feed name, title and description. 26 34 27 35 You can control it if you add your irc nick to jojobe:/home/bender/.sopel/default.cfg (the owner line) and then restart: