How to Embed for Blog Post
File formats like PDF, Docx, PPT etc. are used widely to share documents digitally. In this post we will talk about embedding or attaching such files into a blog post. This method can be used on any blogging platform. Document files like PDF are used to share documents from one person to another but sometimes people needs to implement it in a blog post which can be shared with multiple readers.
You can even upload a document file on your host and then share the direct link but it's not a good idea to share the document like that, as it's not sure how Google or other search engines will treat the files. The best way is to embed the file using HTMLs element. The idea is simple but procedure is long but once you understand the method you will be able to do it yourself.
HTML is the language of the www and I am sure your blogging platform also uses HTML for posts. We will use the iframe element to embed the files on blog posts (using too many iframe or making a loop with iframe can make your website slow). Follow the instructions :
Uploading the File on Google Docs
First of all we need to upload the file to a host and Google Docs/Drive is the best for this purpose. Go to https://drive.google.com/ sign-in and click on the upload button (next to the Create button), browse to the file and upload it.
When the uploading is done click on the the share
Now a new box will appear, click on the 'Change' link under Who Has Access To It, again a new box may appear just select the Public On The Web radio box under Visibility Option and click on the Save Button. This will make the document visible to everybody, you can also specify who can view the doc. you just need to enter their email addresses.
Getting the Embedding Code
After changing the visibility settings we will need the iframe code to embed it on a blog post. To do that click on the file and a new window will be opened, click on File on