refine rss parser code