Most of bloggers using Google's free blogger platform. Even though it has more features but you cannot upload pdf, doc, xls, ppt, odf, rdf files directly on blogger. But now you can embed documents, spreadsheets, PDF files using Google Drive. Google Drive is a Google's recent released cloud storage service it has more useful features. Google Docs offers an undocumented feature that lets you embed PDF files and PowerPoint presentations in a web page. If the file is not uploaded to Google Docs, but it is to be available online.
If the file is available online and you want to embed that file in a post. Then click on Edit HTML Tab when you are writing a post and paste the code shown below where you want to embed that file.
How To Embed PDF/DOC Files in Blogger
Method 1
If the file is available online and you want to embed that file in a post. Then click on Edit HTML Tab when you are writing a post and paste the code shown below where you want to embed that file.
<iframe src="http://docs.google.com/gview?url=http://ilpubs.stanford.edu:8090/361/1/1998-8.pdf&embedded=true" style="width:600px; height:500px;" frameborder="0"></iframe>
- Replace http://ilpubs.stanford.edu:8090/361/1/1998-8.pdf with the url where your pdf/doc files are present
- Change width:600px; height:500px according to your template
Method 2
If you want to save the file in google drive then open drive.google.com and login to your account then click on the upload button and choose your files need to embed. After upload completed click on the uploaded file link See the screenshot shown below- Then go to File - Embed (this PDF file) in menu bar.
- After you hit the Embed option then a popup will shows just copy that code and paste it on Edit HTML mode in blogger post editor section.
2 comments
brother how to place my blog header on left side like u please please help me..please
That's a very nice and new trick.
Click to Add a New Comment