Improve published parser

Only parse published element between title element and main element.