Skip to content

Instantly share code, notes, and snippets.

@jagira
Created October 6, 2011 08:00

Revisions

  1. jagira revised this gist Oct 6, 2011. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions add_to_blogger.html
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,6 @@
    <form method="POST" action="http://www.blogger.com/add-widget">

    <!-- Place Widget Code as value for this input. The widget code must be escaped -->
    <input type="hidden" name="widget.content" value="&lt;b:if cond='data:blog.pageType == &quot;index&quot;'&gt;&lt;a expr:href='data:post.url + &quot;?pfstyle=wp&quot;' style=&quot; color:#6D9F00; text-decoration:none;&quot; class=&quot;printfriendly&quot; title=&quot;Printer Friendly and PDF&quot;&gt;&lt;img style=&quot;border:none;&quot; src=&quot;http://cdn.printfriendly.com/pf-button.gif&quot; alt=&quot;Print Friendly and PDF&quot;/&gt;&lt;/a&gt;&lt;b:else/&gt;&lt;script src=&quot;http://cdn.printfriendly.com/printfriendly.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;a href=&quot;http://www.printfriendly.com&quot; style=&quot; color:#6D9F00; text-decoration:none;&quot; class=&quot;printfriendly&quot; onclick=&quot;window.print(); return false;&quot; title=&quot;Printer Friendly and PDF&quot;&gt;&lt;img style=&quot;border:none;&quot; src=&quot;http://cdn.printfriendly.com/pf-button.gif&quot; alt=&quot;Print Friendly and PDF&quot;/&gt;&lt;/a&gt;&lt;/b:if&gt;"/>

    <input type="hidden" name="infoUrl" value="http://printfriendly.com"/>
  2. jagira created this gist Oct 6, 2011.
    11 changes: 11 additions & 0 deletions add_to_blogger.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    <form method="POST" action="http://www.blogger.com/add-widget">

    <input type="hidden" name="widget.content" value="&lt;b:if cond='data:blog.pageType == &quot;index&quot;'&gt;&lt;a expr:href='data:post.url + &quot;?pfstyle=wp&quot;' style=&quot; color:#6D9F00; text-decoration:none;&quot; class=&quot;printfriendly&quot; title=&quot;Printer Friendly and PDF&quot;&gt;&lt;img style=&quot;border:none;&quot; src=&quot;http://cdn.printfriendly.com/pf-button.gif&quot; alt=&quot;Print Friendly and PDF&quot;/&gt;&lt;/a&gt;&lt;b:else/&gt;&lt;script src=&quot;http://cdn.printfriendly.com/printfriendly.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;&lt;a href=&quot;http://www.printfriendly.com&quot; style=&quot; color:#6D9F00; text-decoration:none;&quot; class=&quot;printfriendly&quot; onclick=&quot;window.print(); return false;&quot; title=&quot;Printer Friendly and PDF&quot;&gt;&lt;img style=&quot;border:none;&quot; src=&quot;http://cdn.printfriendly.com/pf-button.gif&quot; alt=&quot;Print Friendly and PDF&quot;/&gt;&lt;/a&gt;&lt;/b:if&gt;"/>

    <input type="hidden" name="infoUrl" value="http://printfriendly.com"/>

    <input type="hidden" name="logoUrl" value="http://cdn.printfriendly.com/pf-button-both.gif"/>

    <input type="image" src="http://www.blogger.com/img/add/add2blogger_lg.gif" alt="Add Printfriendly to Blogger"/>

    </form>