This post originated from an RSS feed registered with Java Buzz
by Brian McCallister.
Original Post: Metaprogramming All Over!
Feed Title: Waste of Time
Feed URL: http://kasparov.skife.org/blog/index.rss
Feed Description: A simple waste of time and weblog experiment
Latest Java Buzz Posts
Latest Java Buzz Posts by Brian McCallister
Latest Posts From Waste of Time
Advertisement
So, Martin released a first
showing at his wicked cool Atom binding library
for ruby:
require 'atom'
require 'net/http'
require 'uri'
str = Net::HTTP::get(URI::parse('http://blog.ning.com/atom.xml'))
feed = Atom::Feed.new(str)
feed.entries.each { |entry|
puts "'#{entry.title}' by #{entry.authors.first.name}"
}
I like this example more, though ;-)
Meanwhile, Obie
apparently leaked ActiveMessaging M-Del
a13g . Woot!
It's good to see Stomp
getting wider usage.
class HelloWorldProcessor < ActiveMessaging::Processor
subscribes_to :hello_world
publishes_to :hello_world
def on_message(message)
puts "received: " + message.body
publish :message => "Hello world!"
end
end
Cool stuff all around!