if project != '' and msg != '' then
case project
when 'identica'
messenger.deliver("update@identi.ca", msg)
else
puts "Project #{project} wasn't found on this server"
end
end
session.print URI.unescape(request)
session.print ""
session.close
end
To post the message you would type your message within the browser URL e.g. http://127.0.0.1:9090/identica?msg=just%20testing%20xmpp4r-simple%20from%20tcpserver1