add logging in sinatra and fix rss parsing