impostor

    by Mike Mondragon
here: http://impostor.rubyforge.org/
docs: http://impostor.rubyforge.org/impostor/
project: http://rubyforge.org/projects/impostor/
github: http://github.com/monde/impostor/tree/master

DESCRIPTION:

imPOSTor posts messages to forums

FEATURES/PROBLEMS:

Makes automatic posts to the following forum applications:

  • Web Wiz Forums (WWF) 7.9
  • Web Wiz Forums (WWF) 8.0
  • PHP Bullitin Board (phpBB) 2.0 (2.0.22)
  • PHP Bullitin Board (phpBB) 3.0

SYNOPSIS:

# config yaml has options specefic to wwf79, wwf80, phpbb2, etc. 
# read the impostor docs for options to the kind of forum in use 
# config can be keyed by symbols or strings 
config = YAML::load_file(‘conf/impostor.yml’)
post = WWW::Impostor.new(config)
message = %q{hello world is to application
programmers as tea pots are to graphics programmers} 
# your application stores forum and topic ids 
post.post(forum=5,topic=10,message) 
# make a new topic 
subject = "about programmers…"
post.new_topic(forum=7,subject,message)
post.logout

REQUIREMENTS:

  • mechanize
  • hpricot

INSTALL:

conventional

  • sudo gem install impostor

github

  • gem sources -a http://gems.github.com
  • sudo gem install monde-impostor

[Validate]