2011年5月16日 星期一

[教學] Blogger當中加入facebook 讚! Add facebook like button in Blogger template

心血來潮,世界最強推廣功能,Facebook like 功能終於姍姍來遲了!搜尋的幾篇文章,結果發現都無法正確加入『讚』的功能,十分火大,還好在網路上找到一篇原文資料『Add FaceBook Like Button For Blogger ( BlogSpot ) And Customize It.』。英文資料看起還還是頗不爽,因此寫一篇筆記文讓自己日後傻掉,可以快速回覆記憶。




1. 進入控制選項,編輯Html 版面
2. 勾選展開小裝置範本
3. 搜尋
<data:post.body/>
4. 底下加入
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<iframe allowTransparency='true' expr:src='&quot;http://www.facebook.com/plugins/like.php?href=&quot; + data:post.url + &quot;&amp;layout=standard&amp;show_faces=false&amp;width=100&amp;action=like&amp;font=arial&amp;colorscheme=light&quot;' frameborder='0' scrolling='no' style='border:none; overflow:hidden; width:450px; height:40px;'/>
</b:if>
5. 儲存範本

以上幾個簡單步驟,完成困難的Blogger template改版,網路上許多文章的『程式』『內容』都是一樣的,為何沒辦法成功?主因在於有些『特殊字元』被解碼回原本格式,套用進Blogget template就會發生編譯錯誤的狀況,請大家特別小心留意囉。

此資料經由本人測試無誤後才釋出,如有任何問題,歡迎各位提出,謝謝!

5 則留言:

匿名 提到...

Link exchange is nothing else except it is just placing the other person's website link on your page at proper place and other person will also do similar in favor of you.

Here is my website - Achat Retweet pas cher

匿名 提到...

Actually when someone doesn't understand after that its up to other visitors that they will help, so here it occurs.

My weblog; avoir plus de vues youtube

匿名 提到...

Hello, its pleasant piece of writing about media print, we
all be aware of media is a great source of facts.

Also visit my web-site - acheter retweet
My website - acheter tweet

匿名 提到...

Thanks for sharfing your thoughts on sbobet.
Regards

匿名 提到...

Hair Regrowth and Hair Clinic and looking the best Solution for your all hair problems,
Visit to. This situation, induced by androgens, is recognized as androgenic alopecia.
The good news is that its development can often be slowed down with appropriate treatment.



my webpage ... onlinehairclinic.wordpress.com

張貼留言

Facebook