Blogging

How to Add “Save Page as PDF” button to Blogger Blog!

Web2PDF Online is a free HTML to PDF Conversion service for your websites that allows your visitors to quickly save useful information in your blogs and websites to PDF files. Web2Pdf online provides a pdf creation widget for your website.

Web2PDF Online also keeps track of all the PDF conversion activities in your site, providing you with a metric to measure the importance of your site contents.

First of all, Sign up at Web2PDF. Upon signing in, you can configure how your PDF should be displayed. Once you are content with the configuration, click ‘Generate the JavaScript’ button there.
Then a Javascript code will be generated. Copy This code.Now follow the simple steps :

  • Now, login to your Blogger account.
  • Go to Layour–>Edit HTML.
  • Click Expand Widget Template check box at the top right corner of your template code area.
  • Find following line in your template code: <p><data:
    post
    .body/
    ></p>
  • Immediately after that line, paste the code which you have generated at the Web2Pdf Online website. It’s like

<!– START: PDF Online Script –>
<script type=”text/javascript”>
var authorId = “Everyone will have diffrent author id“;
var pageOrientation = “0”;
var topMargin = “0.5”;
var bottomMargin = “0.5”;
var leftMargin = “0.5”;
var rightMargin = “0.5”;
</script>
<script type=”text/javascript” src=”http://web2.pdfonline.com/pdfonline/pdfonline.js”>
</script>
<!– END: PDF Online Script –>

Now Save the template and enjoy the new feature.

About the author

VISHAL

I am Vishal Gaikar, Engineer, Web Addicted, Living in Maharastra, India. Email Me @ vishal@techbucket.org

Leave a Comment

CommentLuv badge