Parse a WordPress RSS XML Feed with Hpricot

One cool thing about wordpress is that you can get a feed of a specific category by going to /category/category-name/feed or a specific tag by going to /tag/tag-name/feed

require 'open-uri'
require 'hpricot'

doc = Hpricot.parse(open("http://myawesomeblog.com/category/welcome/feed"))
(doc/:item).each do |xml_product|
  puts xml_product.search("/title").first.children.first.raw_string
  puts xml_product.search("/pubDate").first.children.first.raw_string
end