I'm really not wild about adding another dependency to fog.  Is there any reason that nokogiri can't be used?