Changes between Version 10 and Version 11 of bender


Ignore:
Timestamp:
Sep 26, 2017, 1:06:07 PM (8 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • bender

    v10 v11  
    1818
    1919{{{
    20 .rss add #mayfirst tickets https://support.mayfirst..org/timeline?ticket=on&ticket_details=on&sensitive_activity=on&max=10&daysback=1&format=rss
     20.rss add #mayfirst tickets https://support.mayfirst.org/timeline?ticket=on&ticket_details=on&sensitive_activity=on&max=10&daysback=1&format=rss
    2121.rss formats tickets f=fl+fatl
    2222.rss add #mayfirst nagios http://monitor.local.mayfirst.org/rss/all.xml
     23.rss formats ticket f=fd+ftd
    2324.rss add #mayfirst service https://status.mayfirst.org/rss.xml
    2425.rss add #mayfirst wiki https://support.mayfirst.org/timeline?max=10&wiki=on&daysback=1&format=rss
    2526}}}
     27
     28Notes on configuration:
     29
     30For 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.
    2634
    2735You can control it if you add your irc nick to jojobe:/home/bender/.sopel/default.cfg (the owner line) and then restart: