add getContentPreview method to Post.java