HUBBUB


about


author:FeedBackLoop <feedbackloop@gmail.com>
contact:FREENODE/#fbf
distribution:core
license:

description


the hubbub mantra is of the following: use the hb-register <feedname> <url> command to register url and start a feed in in one pass.

commands


commands in this plugin:
 hb-delitem .. hb-delchannel .. hb-watch .. hb-list .. hb-markup .. hb-stopall .. hb-register .. hb-addchannel .. hb-start .. hb-feeds .. hb-running .. hb-stop .. hb-markuplist .. hb-stopwatch .. hb-url .. hb-channels .. hb-add .. hb-get .. hb-additem .. hb-itemslist .. hb-subscribe .. hb-delmarkup .. hb-scan .. hb-addmarkup .. hb-setitems

  1. hb-add .. [handle_hubbubadd]

    description:arguments: <feedname> <url> - add a hubbub item (name/url combo).
    permissions:USER
    code:hb-add command.
    examples:
    <user> ;hb-add fbf https://github.com/feedbackflow/fbfbot/commits/master.atom
    <output> credentials.py is needed in docs/docrun/config dir. see docs/docrun/examples
  2. hb-addchannel .. [handle_hubbubaddchannel]

    description:arguments: <feedname> [<botname>] [<bottype>] <channel> - add a channel to hubbub feed.
    permissions:OPER
    code:hb-addchannel command.
    examples:
    <user> ;hb-addchannel gozerbot #dunkbots
    <output> we don't have a gozerbot hubbub object
    <user> ;hb-addchannel gozerbot main #dunkbots
    <output> we don't have a gozerbot hubbub object
  3. hb-additem .. [handle_hubbubadditem]

    description:arguments: <feedname> <token> - add an item (token) to a feeds itemslist, this list is used to determine what to display.
    permissions:GUEST .. USER
    code:hb-additem command.
    examples:
    <user> ;hb-additem gozerbot link
    <output> we don't have a gozerbot feed
  4. hb-addmarkup .. [handle_hubbubaddmarkup]

    description:arguments: <feedname> <item> <value> - add a markup to a feeds markuplist, this list determines how we display things.
    permissions:GUEST .. USER
    code:hb-addmarkup command.
    examples:
    <user> ;hb-addmarkup gozerbot all-lines 1
    <output> we don't have a gozerbot feed
  5. hb-channels .. [handle_hubbubchannels]

    description:arguments: <feedname> - show channels of hubbub feed.
    permissions:OPER
    code:hb-channels command.
    examples:
    <user> ;hb-channels gozerbot
    <output> we don't have a gozerbot hubbub object
  6. hb-delchannel .. [handle_hubbubdelchannel]

    description:arguments: <feedname> [<botname>] [<bottype>] [<channel>] - delete channel from hubbub feed.
  7. hb-delitem .. [handle_hubbubdelitem]

    description:arguments: <feedname> <token> - delete item (token) from a feeds itemlist.
    permissions:GUEST .. USER
    code:hb-delitem command.
    examples:
    <user> ;hb-delitem gozerbot link
    <output> we don't have a gozerbot feed
  8. hb-delmarkup .. [handle_hubbubdelmarkup]

    description:arguments: <feedname> <item> - delete markup item from a feed’s markuplist.
    permissions:GUEST .. USER
    code:hb-delmarkup command.
    examples:
    <user> ;hb-delmarkup gozerbot all-lines
    <output> we don't have a gozerbot feed
  9. hb-feeds .. [handle_hubbubfeeds]

    description:arguments: [<channel>] - show what feeds are running in a channel.
    permissions:USER .. GUEST
    code:hb-feeds command.
    examples:
    <user> ;hb-feeds
    <output> no feeds running
    <user> ;hb-feeds #dunkbots
    <output> no feeds running
  10. hb-get .. [handle_hubbubget]

    description:arguments: <feedname> - fetch feed data.
    permissions:HUBBUB .. USER
    code:hb-get command.
    examples:
    <user> ;hb-get gozerbot
    <output> we don't have a gozerbot item
  11. hb-itemslist .. [handle_hubbubitemslist]

    description:arguments: <feedname> - show itemslist (tokens) of hubbub item.
    permissions:GUEST .. USER
    code:hb-itemslist command.
    examples:
    <user> ;hb-itemslist gozerbot
    <output> we don't have a gozerbot feed
  12. hb-list .. [handle_hubbublist]

    description:no arguments - return list of available feeds.
    permissions:GUEST .. USER
    code:hb-list command.
    examples:
    <user> ;hb-list
    <output> no hubbub items yet
  13. hb-markup .. [handle_hubbubmarkup]

    description:arguments: <feedname> - show the markup of a feed (channel specific).
    permissions:GUEST .. USER
    code:hb-markup command.
    examples:
    <user> ;hb-markup gozerbot
    <output> we don't have a gozerbot feed
  14. hb-markuplist .. [handle_hubbubmarkuplist]

    description:no arguments - show possible markups that can be used.
    permissions:USER .. GUEST
    code:hb-markuplist command.
    examples:
    <user> ;hb-markuplist
    <output> possible markups ==> all-lines: set this to 1 if you don't want items to be aggregated, reverse-order: set this to 1 if you want the items displayed with oldest item first, separator: set this to desired item separator, skipmerge: set this to 1 if you want to skip merge commits, tinyurl: set this to 1 when you want to use tinyurls
  15. hb-register .. [handle_hubbubregister]

    description:arguments: <feedname> <url> - register a url and start the feed in one pass.
    permissions:USER .. GUEST
    code:hb-register command.
  16. hb-running .. [handle_hubbubrunning]

    description:no arguments - show which feeds are running.
    permissions:HUBBUB .. USER
    code:hb-running command.
    examples:
    <user> ;hb-running
    <output> nothing running yet
  17. hb-scan .. [handle_hubbubscan]

    description:arguments: <feedname> - scan feed for available tokens.
    permissions:USER .. GUEST
    code:hb-scan command.
    examples:
    <user> ;hb-scan gozerbot
    <output> no gozerbot feeds available
  18. hb-setitems .. [handle_hubbubsetitems]

    description:arguments: <feedname> <list of tokens> - set items (tokens) of a feed, see hb-scan for a list of possible tokens.
    permissions:GUEST .. USER
    code:hb-setitems command.
    examples:
    <user> ;hb-setitems gozerbot author author link pubDate
    <output> we don't have a gozerbot feed
  19. hb-start .. [handle_hubbubstart]

    description:arguments: <list of feeds> - start sending feeds to an user or channel.
    permissions:USER .. GUEST
    code:hb-start command.
    examples:
    <user> ;hb-start gozerbot
    <output> sorry can't start: gozerbot
  20. hb-stop .. [handle_hubbubstop]

    description:arguments: <list of feeds> - stop a hubbub feed to a user or channel.
    permissions:USER .. GUEST
    code:hb-stop command.
    examples:
    <user> ;hb-stop gozerbot
    <output> failed to stop ['gozerbot'] feed
    <output> done - hb-stop
  21. hb-stopall .. [handle_hubbubstopall]

    description:no arguments - stop all hubbub feeds to a channel.
    permissions:HUBBUB .. OPER
    code:hb-stopall command.
    examples:
    <user> ;hb-stopall
    <output> no feeds running in #test
  22. hb-stopwatch .. [handle_hubbubstopwatch]

    description:arguments: <feedname> - stop watching a feed.
    permissions:OPER
    code:hb-stopwatch command.
    examples:
    <user> ;hb-stopwatch gozerbot
    <output> there is no gozerbot item
  23. hb-subscribe .. [handle_hubbubsubscribe]

    description:arguments: <feedname> [<url>] - subscribe to a hubbub feed, provide a url if the feed is not yet registered.
    permissions:USER
    code:hb-subscribe command.
    examples:
    <user> ;hb-subscribe fbf https://github.com/feedbackflow/fbfbot/commits/master.atom
    <output> fbf feed is not yet added .. see hb-add
    <output> https://github.com/feedbackflow/fbfbot/commits/master.atom feed is not yet added .. see hb-add
  24. hb-url .. [handle_hubbuburl]

    description:arguments: <feedname> - return url of feed.
    permissions:OPER
    code:hb-url command.
    examples:
    <user> ;hb-url gozerbot
    <output> you are not the owner of the gozerbot feed
  25. hb-watch .. [handle_hubbubwatch]

    description:arguments: <feedname> - enable a feed for watching (per channel).
    permissions:USER
    code:hb-watch command.
    examples:
    <user> ;hb-watch gozerbot
    <output> we don't have a gozerbot hubbub item

Table Of Contents

Previous topic

GITHUB

Next topic

IDLE

This Page