1. First make sure you change the Sharing permission of your doc or spreadsheet -- click the Share button on the top right and then change "restricted" to "anyone with the link" can view or comment.
2. Then take the URL and replace everything starting with the word "edit" --
Change it to either:
template/preview
or
copy
...try both :)