HUBBUB


about


author:Bart Thate <bthate@gmail.com>
contact:IRCNET/#dunkbots
distribution:core
license:MIT

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-delchannel .. hb-delitem .. hb-watch .. hb-list .. hb-markup .. hb-stopall .. hb-cloneurl .. hb-addchannel .. hb-start .. hb-feeds .. hb-stop .. hb-running .. hb-markuplist .. hb-stopwatch .. hb-url .. hb-channels .. hb-add .. hb-setitems .. hb-register .. hb-delmarkup .. hb-get .. hb-additem .. hb-itemslist .. hb-subscribe .. hb-scan .. hb-clone .. hb-addmarkup

  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 jsb-hg http://code.google.com/feeds/p/jsb/hgchanges/basic
    <output> jsb-hg feed NOT added. status code is 401
  2. hb-addchannel .. [handle_hubbubaddchannel]

    description:arguments: <feedname> [<botname>] [<bottype>] <channel> - add a channel to hubbub feed.
    permissions:OPER
    code:jsb.plugs.common.hubbub_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-clone .. [handle_hubbubclone]

    description:arguments: <channel> - clone the feeds running in a channel.
    permissions:USER
    code:hb-clone command.
    examples:
    <user> ;hb-clone #dunkbots
    <output> cloned the following feeds:
  7. hb-cloneurl .. [handle_hubbubcloneurl]

    description:arguments: <url> - clone urls from http://host/feeds.
    permissions:OPER
    code:hb-cloneurl command.
    examples:
    <user> ;hb-cloneurl http://jsonbot.org/feeds
    <output> hubbub - clone - HTTP Error 404: Not Found
  8. hb-delchannel .. [handle_hubbubdelchannel]

    description:arguments: <feedname> [<botname>] [<bottype>] [<channel>] - delete channel from hubbub feed.
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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 ==> reverse-order: set this to 1 if you want the items displayed with oldest item first, all-lines: set this to 1 if you don't want items to be aggregated, separator: set this to desired item separator, tinyurl: set this to 1 when you want to use tinyurls, skipmerge: set this to 1 if you want to skip merge commits
  17. hb-register .. [handle_hubbubregister]

    description:arguments: <feedname> <url> - register a url and start the feed in one pass.
    permissions:USER .. GUEST
    code:jsb.plugs.common.hubbub_hb-register_command.
  18. 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
  19. 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
  20. 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
  21. hb-start .. [handle_hubbubstart]

    description:arguments: <list of feeds> - start sending feeds to an user or channel.
    permissions:USER .. GUEST
    code:jsb.plugs.common.hubbub_hb-start_command.
    examples:
    <user> ;hb-start gozerbot
    <output> sorry can't start: gozerbot
  22. 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 [u'gozerbot'] feed
    <output> done - hb-stop
  23. 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
  24. 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
  25. 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 jsb-hg http://code.google.com/feeds/p/jsb/hgchanges/basi
    <output> jsb-hg feed is not yet added .. see hb-add
    <output> http://code.google.com/feeds/p/jsb/hgchanges/basi feed is not yet added .. see hb-add
  26. 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
  27. 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

GCALC

Next topic

IDLE

This Page