Advertisement
chusiang

Share to Plurk button on Blogger #2.2.4

Dec 10th, 2012
505
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <b:includable id='shareButtons' var='post'>
  2.     <b:if cond='data:top.showEmailButton'>
  3.  
  4.         <!-- Share with E-mail -->
  5.         <a class='goog-inline-block share-button sb-email' expr:href='data:post.sharePostUrl + &quot;&amp;target=email&quot;' expr:title='data:top.emailThisMsg' target='_blank'>
  6.             <span class='share-button-link-text'>
  7.                 <data:top.emailThisMsg/>
  8.             </span>
  9.         </a>
  10.         </b:if>
  11.  
  12.         <!-- Share by Blogger -->
  13.         <b:if cond='data:top.showBlogThisButton'>
  14.             <a class='goog-inline-block share-button sb-blog' expr:href='data:post.sharePostUrl + &quot;&amp;target=blog&quot;' expr:onclick='&quot;window.open(this.href, \&quot;_blank\&quot;, \&quot;height=270,width=475\&quot;); return false;&quot;' expr:title='data:top.blogThisMsg' target='_blank'>
  15.                 <span class='share-button-link-text'>
  16.                     <data:top.blogThisMsg/>
  17.                 </span>
  18.             </a>
  19.         </b:if>
  20.  
  21.         <!-- Share with Twitter -->
  22.         <b:if cond='data:top.showTwitterButton'>
  23.             <a class='goog-inline-block share-button sb-twitter' expr:href='data:post.sharePostUrl + &quot;&amp;target=twitter&quot;' expr:title='data:top.shareToTwitterMsg' target='_blank'>
  24.                 <span class='share-button-link-text'>
  25.                     <data:top.shareToTwitterMsg/>
  26.                 </span>
  27.             </a>
  28.         </b:if>
  29.  
  30.         <!-- Share with Facebook -->
  31.         <b:if cond='data:top.showFacebookButton'>
  32.             <a class='goog-inline-block share-button sb-facebook' expr:href='data:post.sharePostUrl + &quot;&amp;target=facebook&quot;' expr:onclick='&quot;window.open(this.href, \&quot;_blank\&quot;, \&quot;height=430,width=640\&quot;); return false;&quot;' expr:title='data:top.shareToFacebookMsg' target='_blank'>
  33.                 <span class='share-button-link-text'>
  34.                     <data:top.shareToFacebookMsg/>
  35.                 </span>
  36.             </a>
  37.         </b:if>
  38.  
  39.         <!-- Share with Plurk -->
  40.         <a class='goog-inline-block share-button btnPlurk' expr:href='&quot;http://plurk.com/m?qualifier=shares&amp;content=&quot; + data:post.url + &quot; &quot; + &quot;(&quot; + data:blog.title + &quot;: &quot; + data:post.title + &quot;)&quot;' target='_blank' title='分享至 Plurk'>&#12288;</a>
  41.  
  42.         <!-- Share with Google+ -->
  43.         <b:if cond='data:top.showOrkutButton'>
  44.             <a class='goog-inline-block share-button sb-orkut' expr:href='data:post.sharePostUrl + &quot;&amp;target=orkut&quot;' expr:title='data:top.shareToOrkutMsg' target='_blank'>
  45.                 <span class='share-button-link-text'>
  46.                     <data:top.shareToOrkutMsg/>
  47.                 </span>
  48.             </a>
  49.         </b:if>
  50.  
  51.         <b:if cond='data:top.showDummy'>
  52.             <div class='goog-inline-block dummy-container'>
  53.                 <data:post.dummyTag/>
  54.             </div>
  55.         </b:if>
  56.     </b:includable>
Advertisement
RAW Paste Data Copied
Advertisement