If you are wondering how you can make your website or blog visitors save the web articles as PDF documents, then you must check out PDF online.

logo

You just need to add a small JavaScript snippet in the blog templates, visitors can click the “Save Page as PDF” button and the current web page will be rendered as a PDF document.

The site is still in beta, but you can test out the service by using the script below

<
function savePageAsPDF() {
var pURL = "http://savepageaspdf.pdfonline.com/pdfonline/pdfonline.asp?cURL=" + escape(document.location.href);
w indow.open(pURL, "PDFOnline", "scrollbars=yes, resizable=yes,width=640, height=480,menubar,toolbar,location");
>

Save Page As PDF

If you are allergic to deal with JavaScript, then you can directly embed the URLs in your blog posts without using any JavaScript. Just use the following values for cURL instead of encodeURIComponent(document.location.href)

Classic Blogger – <$BlogItemPermalinkURL$>
Blogger XML Template – data:post.url
WordPress –

Free subscription: Subscribe to RSS feed or get daily tips in your email
You must click confirmation link sent in email. If you don't see the email, check the spam folder

Around the Web:

Raju Raju is the owner and editor-in-chief of TechPP. A proud geek and an Internet freak, who is also a social networking enthusiast. You can follow him on Twitter @rajupp

View Comments so far | Have Your Say!

  1. Thank you. I’ve looking for this tutorial and I now it.

blog comments powered by Disqus
Copyright 2010 Technically Personal! 
Blog Design Studio