How to embed pdf files into your blog (Blogger, WordPress...)

To embed a pdf file into your Blogger or WordPress blog just follow these following steps:

1. Upload the pdf file to Google Drive

2. Set the sharing option of that file to Public (Everyone with the link can View)

3. Click "Get Link" to get the ID of the pdf file. For example:

https://drive.google.com/open?id=0B5ND3Z6x0cw8MkJTV21DNjZUeVk&authuser=0




4. In your blog, insert this iframe with the ID of your pdf file, for example:

<iframe height="600px" src="https://docs.google.com/viewer?srcid=0B5ND3Z6x0cw8MkJTV21DNjZUeVk&amp;pid=explorer&amp;efh=false&amp;a=v&amp;chrome=false&amp;embedded=true" width="100%"></iframe>