Embed Your PDF Files (Google Docs Viewer)
Using iframe HTML tag, now you can embed your report, ebook even curricullum vitae, as long as in PDF format, through GoogleDoc feature. Good thing is, you dont have to host your PDF files on GoogleDocs (from wherever it hosted as long as online) nor you have Google account to access GoogleDocs.
Bad thing is, due to security concerns, i can’t give you example of using this awesome feature because in WordPress.com ‘iframes’ are all stripped :)
I hope, next time, WordPress.com can give ‘access’ to iframe so that this PDF viewer can embedded here. *Hi, Matt!*
Here is an example:
Just grab this code in your text editor, save as HTML and open it from your web browser.
<iframe src=”http://docs.google.com/gview?url=http://blogxygen.files.wordpress.com/2009/09/blogxygen.pdf&embedded=true” style=”width:500px; height:500px;” frameborder=”0″></iframe>
Replace my demo PDF with yours, adjust width and height and added css style inside and published on yours.
Related link: