RSS
about
| author: | Bart Thate <bthate@gmail.com> |
|---|---|
| contact: | IRCNET/#dunkbots |
| distribution: | http://plugins.gozerbot.org |
| license: | Public Domain |
description
manage rss feeds
the rss mantra is of the following:
as OPER:
. add a url with rss-add . start the watcher with rss-watch
now the user can start the bot sending messages of the feed to him with rss-start. if an OPER gives a rss-start command in a channel data will be send to the channel.
commands
rss-add
description: rss-add <name> <url> to the rsswatcher permissions: OPER examples: <user> !rss-add gozerbot http://gozerbot.org/hg/gozerbot/?cmd=changelog;style=rss <output> rss item added
rss-watch
description: rss-watch <name> [seconds to sleep] .. go watching <name> permissions: OPER examples: <user> !rss-watch gozerbot <output> watcher started
<user> !rss-watch gozerbot 600 <output> already watching gozerbot
rss-start
description: rss-start <name> .. start a rss feed (per user/channel) permissions: RSS .. USER examples: <user> !rss-start gozerbot <output> gozerbot started
rss-addchannel
description: rss-addchannel <name> [<botname>] <channel> ..add <channel> or <botname> <channel> to watchchannels of <name> permissions: OPER examples: <user> !rss-addchannel gozerbot #dunkbots <output> #dunkbots added to gozerbot rss item
<user> !rss-addchannel gozerbot main #dunkbots <output> #dunkbots added to gozerbot rss item
rss-additem
description: add a token to the itemslist (per user/channel) permissions: RSS .. USER examples: <user> !rss-additem gozerbot link <output> link added to (gozerbot,#test) itemslist
rss-addmarkup
description: add a markup option to the markuplist (per user/channel) permissions: RSS .. USER examples: <user> !rss-addmarkup gozerbot all-lines 1 <output> all-lines added to (gozerbot,#test) markuplist
rss-all
description: give titles of a feed permissions: RSS .. USER examples: <user> !rss-all gozerbot <output> branch merge .. diable optimalisation for it borks <output> on some platforms .. add popcon to the default install <output> .. fix reporting of plugins that we cant reload .. <output> this is preview .. branch merge .. use http://gozerbot.org/plugs0.8.2 <output> .. branch merge .. log installed plugins .. properly <output> report install-plug errors
rss-channels
description: rss-channels <name> .. show channels permissions: OPER examples: <user> !rss-channels gozerbot <output> ('test', '#test') .. ('test', '#dunkbots') .. ('main', <output> '#dunkbots')rss-del
description: rss-del <name> .. remove <name> from the rsswatcher permissions: OPER examples: <user> !rss-del mekker <output> there is no mekker rss item
rss-delchannel
description: rss-delchannel <name> [<botname>] [<channel>] .. delete <channel> or <botname> <channel> from watchchannels of <name> permissions: OPER examples: <user> !rss-delchannel gozerbot #dunkbots <output> #dunkbots removed from gozerbot rss item
<user> !rss-delchannel gozerbot main #dunkbots <output> #dunkbots removed from gozerbot rss item
rss-delitem
description: remove a token from the itemslist (per user/channel) permissions: RSS .. USER examples: <user> !rss-delitem gozerbot link <output> link removed from (gozerbot,#test) itemslist
rss-delmarkup
description: remove a markup option from the markuplist (per user/channel) permissions: RSS .. USER examples: <user> !rss-delmarkup gozerbot all-lines <output> all-lines removed from (gozerbot,#test) markuplist
rss-description
description: give description of item which title matches search key permissions: RSS .. USER examples: <user> !rss-description gozerbot gozer <output> use http://gozerbot.org/plugs0.8.2
rss-feeds
description: rss-feeds <name> .. show what feeds are running in a channel permissions: USER .. RSS examples: <user> !rss-feeds <output> gozerbot
<user> !rss-feeds #dunkbots <output> #dunkbots has no feeds running
rss-get
description: rss-get <name> .. get data from <name> permissions: RSS .. USER .. ANON examples: <user> !rss-get gozerbot <output> results of gozerbot: branch merge || diable optimalisation <output> for it borks on some platforms || add popcon to the <output> default install || fix reporting of plugins that we <output> cant reload || this is preview || branch merge || <output> use http://gozerbot.org/plugs0.8.2 || branch merge <output> || log installed plugins || properly report install-plug <output> errors
rss-itemslist
description: rss-itemslist <name> .. get itemslist of <name> permissions: RSS .. USER examples: <user> !rss-itemslist gozerbot <output> title
rss-link
description: give link of item which title matches search key permissions: RSS .. USER examples: <user> !rss-link gozerbot gozer <output> http://gozerbot.org/hg/gozerbot/rev/520587014731
rss-list
description: get list of rss items permissions: RSS .. USER .. ANON examples: <user> !rss-list <output> gozerbot
rss-markup
description: show markup list for a feed (per user/channel) permissions: RSS .. USER examples: <user> !rss-markup gozerbot <output> {}rss-markuplist
description: show possible markup entries permissions: USER examples: <user> !rss-markuplist <output> all-lines: set this to 1 if you don't want items to <output> be aggregated separator: set this to desired item <output> separator
rss-running
description: rss-running .. get running rsswatchers permissions: RSS .. USER examples: <user> !rss-running <output> gozerbot [('test', '#test')]rss-scan
description: rss-scan <name> .. get possible items of <name> permissions: OPER examples: <user> !rss-scan gozerbot <output> summary_detail=10 .. updated_parsed=10 .. links=10 <output> .. author=10 .. title=10 .. updated=10 .. summary=10 <output> .. title_detail=10 .. link=10
rss-search
description: search titles of all current feeds permissions: RSS .. USER examples: <user> !rss-search goz <output> gozerbot: use http://gozerbot.org/plugs0.8.2
rss-setsleeptime
description: rss-setsleeptime <name> <seconds> .. set sleeping time for <name> .. min 60 sec permissions: OPER examples: <user> !rss-setsleeptime gozerbot 600 <output> sleeptime set
rss-seturl
description: rss-seturl <name> <url> .. change url of rssitem permissions: RSS .. OPER examples: <user> !rss-seturl gozerbot http://gozerbot.org/hg/gozerbot/?cmd=changelog;style=rss <output> url of gozerbot changed from http://gozerbot.org/hg/gozerbot/?cmd=changelog;style=rss <output> to http://gozerbot.org/hg/gozerbot/?cmd=changelog;style=rss
rss-sleeptime
description: rss-sleeptime <name> .. get sleeping time for <name> permissions: OPER examples: <user> !rss-sleeptime gozerbot <output> sleeptime for gozerbot is 600 seconds
rss-stop
description: rss-stop <name> .. stop a rss feed (per user/channel) permissions: RSS .. USER examples: <user> !rss-stop gozerbot <output> gozerbot stopped
rss-stopwatch
description: rss-stopwatch <name> .. stop polling <name> permissions: OPER examples: <user> !rss-stopwatch gozerbot <output> stopped gozerbot rss watch
rss-sync
description: rss-sync <name> .. sync data of <name> permissions: OPER examples: <user> !rss-sync gozerbot <output> gozerbot synced
rss-url
description: rss-url <name> .. get url from rssitem with <name> permissions: RSS .. USER .. ANON examples: <user> !rss-url gozerbot <output> url of gozerbot: http://gozerbot.org/hg/gozerbot/?cmd=changelog;style=rss