Posts Tagged ‘blogger’
Cond Tags
Sunday, September 5th, 2010

Blogspot : add Button to print the post or download in pdf with PrintFriendly
Thanks to the service that I present in this article you can place a button at the bottom of the post on Blogger blogspot (and others) to give the user a chance to view a printable version without graphics and boundary element on the blog, but with PrintFriendly the result is a bit ‘cleaner and you can also download content directly to a pdf.
As always, it is always better to make a backup of the template of Blogger before starting to edit it, to go back if things did not go as expected.
– Generate button to PrintFriendly
Go directly to the page generation code of the button to this address, and in the window that appears choose Blogger and graphic style for the button you like.
In my case I chose the bottom right. E ‘can also select “text link, or use your own button, which helps those who are more casual with code HTML to choose the look of your link or button. If you are not among them, choose from one of six possibilities.
Once you select the button you like, will be presented under the code that you paste into your blog, to be copied into memory:
– This code, although designed for Blogger, needs some minor modifications to give their best. Then paste it somewhere (even Notepad), find this code:
href=”http://www.printfriendly.com”
and replace it with this:
expr:href=”data:post.url + "?pfstyle=wp"”
Caution: Be precise isolating the exact text to be replaced. If you do not do this operation, the button will not work in the single post page. Perhaps a distraction from the developers?
– Change the Blogger template
Now go change the code of our templates from Design -> Edit HTML. Look for this line of code:
<div class=’post-footer’>
If you can not find it, you should still be able to find something that starts with:
<div class=’post-footer<br /><br />Immediately below, paste the code that you copied (and edited) by PrintFriendly, save the template and you’re done:
– Button appears only in the pages of single post
To view the print button only in the single post page, the code must be enclosed between the two lines
<b:if cond=’data:blog.pageType == "item"’>
code PrintFriendly
</b:if>
What do you think?
The only drawback is that the service while waiting for the printing or converting to PDF to be ready for display advertising, but nothing particularly invasive:
There is still advertising in the final result, which is the most important thing. For further information or clarification, let me also comment. If you think it’s useful, I can also put it on mysensetechnology.com.
About the Author
mstech is a tech blog news , Video guides, tips and tricks to create a blog with blogger or wordpress..and more, News Tech. seek expert blogger, wordpress expert, please contact us. wordpress tips, blogspot search, by mysensetechnology.com
Jagex uses world of warcraft tags in their videos…Jagexwatchdog
|
|
Head Organics 2 in 1 Shampoo & Conditioner Hair Shampoos Buy Head Organics Shampoos – Head Organics 2 in 1 Shampoo & Conditioner 16.9 oz. How-to-Use: Apply to wet hair, massage into hair and scalp. Rinse thoroughly. For best results, follow with Leave-in Conditioner Spray…. |
|
|
Head Organics Leave-in Conditioner Spray Hair Conditioners And Treatments Buy Head Organics Conditioners – Head Organics Leave-in Conditioner Spray 250ml/8.62oz. How-to-Use: After washing and conditioning hair, apply to hair and comb through from scalp to ends. Use for touch-ups as needed with light spritzing for added moisture and style support…. |
|
|
Head Organics Clearly Head Conditioner Hair Conditioners And Treatments Buy Head Organics Conditioners – Head Organics Clearly Head Conditioner 500ml/16.9oz. How-to-Use: Apply to damp hair and gently massage into scalp for a rich, foaming lather. Rinse and repeat…. |
|
|
Alba Botanical Hair Conditioner Cocoa Butter Dry 12 oz ( Multi-Pack) … |
|
|
37 COND SHIELDED NEC $1.99 37 COND SHIELDED NEC |
|
|
Nady Cond Mic $40.99 NADY COND MIC |
|
|
Outlet Pwr Cond. Wht $97.99 OUTLET PWR COND. WHT |
|
|
UNIVERSITY OF MISSISSIPPI: WHITACRE COND $19.13 UNIVERSITY OF MISSISSIPPI: WHITACRE COND |
|
|
Nueva™ Cond $29 Download the Nueva™ Cond font for Mac or Windows in OpenType, TrueType or PostScript format. |
|
|
DATA/DATA (8 COND) IVORY $52.99 DATA/DATA (8 COND) IVORY |
|
|
Finish Up Daily Cond $11.99 Finish Up Daily Cond by Redken for Men – 8.5 oz Conditioner |
|
|
Big Sexy Volume Cond $3.1 Big Sexy Volume Cond by Sexy Hair for Unisex – 1.7 oz Conditioner |