compile a post