extract post html, reorganize index