# File rbot/plugins/slashdot.rb, line 50
  def slashdot(m, max=4)
    xml = Utils.http_get("http://slashdot.org/slashdot.xml")
    unless xml
      m.reply "slashdot news parse failed"
      return
    end
    doc = Document.new xml
    unless doc
      m.reply "slashdot news parse failed"
      return
    end
    done = 0
    doc.elements.each("*/story") {|e|
      reply = sprintf("%32s / %10s / %8s", e.elements["title"].text[0,32],
                      e.elements["author"].text, e.elements["time"].text)
      m.reply reply
      done += 1
      break if done >= max
    }
  end