parsing title and content