Advertisement

Advertisement

How to attach pdf in blogger / blog

 There is no way to directly attach a PDF file to a Blogger post. However, there are a couple of ways to embed a PDF in a Blogger post so that your readers can view it directly on your blog.

Method 1: Using Google Drive

  1. Upload your PDF file to Google Drive.
  2. Right-click on the file and select Share.
  3. Under Sharing settings, change the visibility of the file to Public.
  4. Click the Copy link button.
  5. Go to your Blogger post and click the Compose button.
  6. Click the HTML tab.
  7. Paste the following code into the HTML editor, replacing the YOUR_PDF_FILE_ID placeholder with the ID of your PDF file:
HTML
<iframe src="https://drive.google.com/viewerng/viewer?embedded=true&url=https://drive.google.com/file/d/YOUR_PDF_FILE_ID/view?usp=sharing" width="640" height="480"></iframe>
  1. Click the Publish button.

Method 2: Using a third-party service

There are a number of third-party services that allow you to embed PDFs on your website. One popular option is Scribd.

  1. Go to the Scribd website and create an account.
  2. Upload your PDF file to Scribd.
  3. Once your file has been uploaded, click the Share button.
  4. Under Embed, copy the embed code.
  5. Go to your Blogger post and click the Compose button.
  6. Click the HTML tab.
  7. Paste the embed code into the HTML editor.
  8. Click the Publish button.

Once you have published your post, your readers will be able to view the PDF file directly on your blog.

Please note that embedding a PDF file in your Blogger post will increase the page load time of your post. If you have a large number of PDF files on your blog, you may want to consider using a third-party service that allows you to host your PDF files on their servers. This will help to improve the page load time of your blog.

How to attach pdf in blogger / blog How to attach pdf in blogger / blog Reviewed by Rikesh on October 08, 2023 Rating: 5

No comments:

Powered by Blogger.