I’m sure there are 20 ways to embed a PDF or a PPT file into a web page but this tip is so easy that it’s worth a post. Just paste in this code, with the URL of the document you want to embed in place of the bold text:
<iframe src=”http://docs.google.com/gview?url=http://infolab.stanford.edu/pub/papers/google.pdf&embedded=true” style=”width:600px; height:500px;” frameborder=”0″></iframe>
With this we’ll get:
The PDF/PPT doesn’t have to have been uploaded to Google Docs, it just needs to be online. What uses can you think of for this functionality? It’s one thing to post a link to another page that you found helpful in a blog post but when you can display a PDF right on your site-without having to host it-you certainly get a much richer site. Via googlesystem.blogspot.com.