Saturday, September 26, 2009

kp3နည္းပညာ၊၅၂၊မိမိရဲ႕ဘေလာ့Lebalsေရွ႕မွာRss Feed Link Buttonေလးထားခ်င္ရင္

ဒါေလကေတာ့က်ေနာ္တို႔ရဲ့ဘေလာ့Categories(ေခါင္းစဥ္)ေတြကို
တမ်ိဳးေလးျဖစ္ေအာင္ေပါ့ေနာ္။
မိမိရဲ့ဘေလာ့Categoriesေခါင္းစဥ္ေတြအားလုံးေရွ႕မွာ Rss Feed Link Button
ေလးထားျခင္ခဲ့သည္ရိွေသာ။
ေအာက္မွာပံုနဲ႔တကြCode၁။click Layout
၂။click edit HTML

ေအာက္ကCodeကိုရွာပါ၊

<b:loop values='data:labels' var='label'>
<li>
<b:if cond='data:blog.url == data:label.url'>
<span expr:dir='data:blog.languageDirection'><data:label.name/></span>
<b:else/>
<a expr:dir='data:blog.languageDirection' expr:href='data:label.url'><data:label.name/></a>
</b:if>
<span dir='ltr'/>
</li>
</b:loop>

ေတြ႕ၿပီဆိုရင္ ေအာက္ကCodeေလးနဲ့အစားထိုးေပးလိုက္ပါ။
အလယ္မွာအနီCodeေလးကိုထည့္ေပးလိုက္တာပါဘဲ.....
.

<b:loop values='data:labels' var='label'>
<li>

<a expr:href='data:blog.homepageUrl + &quot;feeds/posts/default/-/&quot; + data:label.name'><img alt='Subscribe' src='http://www.feedburner.com/fb/images/pub/feed-icon16x16.png' style='vertical-align:middle;border:0'/></a>

<b:if cond='data:blog.url == data:label.url'>
<span expr:dir='data:blog.languageDirection'><data:label.name/></span>
<b:else/>
<a expr:dir='data:blog.languageDirection' expr:href='data:label.url'><data:label.name/></a>
</b:if>
<span dir='ltr'/>
</li>
</b:loop>

၃။Save Template button.ႏိုပ္ပါ ၿပီးပါၿပီ။။။

ေနာက္တမ်ိဳးကေတာ့ေအာက္ပံု
ပံုစံကေတာ့အတူတူပါဘဲအနီေရာင္Codeေလးေနရာေျပာင္းသြားတာပါ။


<b:loop values='data:labels' var='label'>
<li>
<b:if cond='data:blog.url == data:label.url'>
<span expr:dir='data:blog.languageDirection'><data:label.name/></span>
<b:else/>
<a expr:dir='data:blog.languageDirection' expr:href='data:label.url'><data:label.name/></a>
</b:if>
<span dir='ltr'/>

<a expr:href='data:blog.homepageUrl + &quot;feeds/posts/default/-/&quot; + data:label.name'><img alt='Subscribe' src='http://www.feedburner.com/fb/images/pub/feed-icon16x16.png' style='vertical-align:middle;border:0'/></a>

</li>
</b:loop>

မသိေသးတဲ႔မိတ္ေဆြေတြကိုအသိေပးမ်ွေဝေစျခင္ပါတယ္၊
kp3မွမိတ္ေဆြအားလုံးေက်းဇူးကမ႓ာ

Stumble
Delicious
Technorati
Twitter
Facebook
Yahoo
Reddit
Feed

0 comments:

Post a Comment

 

Copyright 2009.kp3tester Powered by Blogger

Blogger Templates created by Deluxe Templates

Images by Indeziner