Rewriting a post for automatic sample inclusion