Categories
Tips

Adding ‘Save as PDF’ Button on Blogger Blog [How-to]

This is my second post on Devils Workshop (first is here). In this post I am posting about how to can add a “Save as PDF” button to your blog so that  your readers can save your article for offline viewing and for sharing with others.

This is very easy to use hack but still backup your template before doing anything. Refer my previous post, for details about backup procedure.

This hack uses FreePDFConverter service, which is free as suggested by its name.

Steps:

ADVERTISEMENT
  1. Now go to your blogger dashboard click Edit HTML and then choose expand widget template option.
  2. Then using your browser search feature search for <data:post.body>.
  3. Once you have find it, add the following code after the <data:post.body> tag in your blogger template and hit Save Template button.

Codes:

<script type="text/javascript">
</script>
<script src="http://web2pdf.freepdfconvert.com/pdfbutton.js" type="text/javascript">
</script>

Screenshot:

(click on image to enlarge it)

If all goes fine, you will see a button like below after your every post.

Enjoy this hack and please feel free to ask your doubts about it.

Related: 5 Best Blogspot Blogger Hacks Everyone Should Use

By Alok Chaudhari

Student @BHU and a dabbler and blogging is just another venture.

View Archive

18 replies on “Adding ‘Save as PDF’ Button on Blogger Blog [How-to]”

Hey dats a kewl option.. but unfortunately it does not work for blog contents written in any other language than english i guess .. usually when you write it in hindi or malayalam or any other regional language, if there is no font installed in the client system you cant read it.. i thot this wud b a wonderful option to solve it.. but when u conver the content to pdf using this script. only the english part in the posts comes out, the remaining content is blank !! any solutions ?

There is a easier way, i just saw in Gadgets list.
Just go to Add new Gadget and Search for “PDF”, you’ll see a
nice Gadget.Then you’ll get more visitors because they can
convert your blog pages and more importantly their own documents
to pdf.

Comments are closed.