Friday, May 25, 2012

Монгол бичгээр иймэрхүү л болох юм уу

vMongolian ulesson blog baatar fg fdg fdgf d
Read more...

Monday, May 21, 2012

How to hide the Blogger Nav-Bar


Блогчдын хувьд янз бүрийн дизайн хийгээд өнгний шийдлийг оруулдаг болсон. Зарим блогчид хэрэгтэй хэрэггүй олон юмыг хасаж байна. Тэдгээрийн нэг нь navbar гэж нэрлэдэг блогийн дээд талд маань харагдаад байдаг хэсгийн хасж болдог юм байна.
Үүний тулд Блогтоо нэвтрээд dashboard >> layout >> Edit HTML >> блогоо нөөцлөөд ав Download full template, хийнэ expand widget templates гэснийг чеклээд. Доорхи кодыг хайж ол </b:skin>
Дээд талд нь доорх кодыг хуулж тавь


#navbar-iframe {

height:0px;

visibility:hidden;

display:none

}



Боллоо. Амжилт
Read more...

Thursday, May 17, 2012

Tabview хийх нэгэн төрөл


Блогийн мэдээлэл их болох тусам тэнд маш олон мэдээллийг нэгтгэх, нэг дор бүгдийг нь харуулах боломжуудыг хайж эхэлдэг. Энэ удаагийн хичээлээр Tabview гэж нэрлэгддэг блогийн хажуу талд ихэвчлэн хийсэн байгаа харагддаг хичээлийг орууллаа. Tabview дотроо маш олон төрлийн байдаг. Энэ бол HTML хуудсанд элдэв янзын тохиргоо хийхгүй зүгээрл Add a Gadget нэмэх төдийд л хийчихнэ. Javascript код юм.
Үүний тулд Блогтоо нэвтрээд -> Dashboard -> Layout -> Page Element -> HTML/JavaScript доорхи кодыг хуул.


<style type="text/css">

.dropcontent{

overflow: auto;

width: 300px;

height: 140px;

border: 1px solid black;

background-color: #FFECC6;

display:block;

}

</style>



<script type="text/javascript">



/*

Combo-Box Viewer script- Created by and © Dynamicdrive.com

Visit http://www.dynamicdrive.com/ for this script and more

This notice MUST stay intact for legal use

*/



if (document.getElementById){

document.write('<style type="text/css">\n')

document.write('.dropcontent{display:none;}\n')

document.write('</style>\n')

}



function contractall(){

if (document.getElementById){

var inc=0

while (document.getElementById("dropmsg"+inc)){

document.getElementById("dropmsg"+inc).style.display="none"

inc++

}

}

}



function expandone(){

if (document.getElementById){

var selectedItem=document.dropmsgform.dropmsgoption.selectedIndex

contractall()

document.getElementById("dropmsg"+selectedItem).style.display="block"

}

}



if (window.addEventListener)

window.addEventListener("load", expandone, false)

else if (window.attachEvent)

window.attachEvent("onload", expandone)



</script>

<form name="dropmsgform">

<select onchange="expandone()" style="width:250" name="dropmsgoption" size="1">

<option selected/>Миний тухай

<option/>Блогийн тухай

<option/>Жишээ

</select>

<br/>



<div id="dropmsg0" class="dropcontent">

Би 2009 оноос эхлэн энэхүү блогийг хөтлөж явуулж байна. Цаашид энэхү блог хэрэгтэй мэдээллийг тавих болноо

</div>



<div id="dropmsg1" class="dropcontent">

Сайн байцгаана уу. Та бүгдэд энэ өдрийн мэндийг хүргэе. Блогтоо салхи оруулаагүй нэг л мэдэхэд 2 жил болсон байна. Өнөөдөр блог хөтөлдөг хүмүүс цөөхөн болж. facebook-рүү их хошуурдаг болсон байна. Энэ блог өдөртөө 100 орчим хүн ханддаг гэсэн статистик байна. Тэгэхлээр хүмүүс маань блогоо хаяаагүй л байгаа юм байна. Тиймээс би блогоо цааш үргэлжүүлэн хөтлөж хичээлүүдийг...

</div>



<div id="dropmsg2" class="dropcontent">

Уншигчид блогтоо тавигдаж буй мэдээллийг хэр зэрэг хүн үзэж байгаа, ямар сэтгэгдэлтэй байгаа талаар тэр болгон бүрэн мэдээлэлтэй байдаггүй. Тэгвэл таны бичлэгийг үзээд 1-5 балл-аар дүгнэж байх талаар боломж байдаг. Уншигчдын дүгнэлтҮүний тулд Блогтоо нэвтрээд dashboard >> layout >> Edit HTML >> блогоо нөөцлөөд ав Download full template, хийнэ...

</div>



</form>

<div id="dropmsg0" class="dropcontent">

ulesson

</div>


Бичлэгийн өнгийг тодорхойлж болно. Амжилт
Read more...

Блогийн бичлэгийн reating хийх - How To Ratings to your Blog


Уншигчид блогтоо тавигдаж буй мэдээллийг хэр зэрэг хүн үзэж байгаа, ямар сэтгэгдэлтэй байгаа талаар тэр болгон бүрэн мэдээлэлтэй байдаггүй. Тэгвэл таны бичлэгийг үзээд 1-5 балл-аар дүгнэж байх талаар боломж байдаг. Уншигчдын дүгнэлт
Үүний тулд Блогтоо нэвтрээд dashboard >> layout >> Edit HTML >> блогоо нөөцлөөд ав Download full template, хийнэ expand widget templates гэснийг чеклээд. Доорхи кодыг хайж ол

<div class='post-footer-line post-footer-line-1'>

Хэрэв ийм код байхгүй бол үүнийг хайж ол.

<p><data:post.body /></p>

Доод талд үүнийг paste

<b:if cond='data:blog.pageType == "item"'>



<span class='star-ratings'>

<b:if cond='data:top.showStars'>

<div expr:g:background-color='data:backgroundColor' expr:g:text-color='data:textColor' expr:g:url='data:post.absoluteUrl' g:height='42' g:type='RatingPanel' g:width='180'/>

</b:if>

</span>



</b:if>

Дараагийн алхам нь энэ кодыг хайж олоод

<b:include name='nextprev'/>

доод талд үүнийг хуулж тавь

<b:if cond='data:top.showStars'>

<script src='http://www.google.com/jsapi' type='text/javascript'/>

<script type='text/javascript'>

google.load("annotations", "1");

function initialize() {

google.annotations.createAll();

google.annotations.fetch();

}

google.setOnLoadCallback(initialize);

</script>

</b:if>

Ингээд боллоо. Save хийгээд blog View
Read more...

Бичлэгийг read more болгох - Make a Post Summary


Сайн байцгаана уу. Та бүгдэд энэ өдрийн мэндийг хүргэе. Блогтоо салхи оруулаагүй нэг л мэдэхэд 2 жил болсон байна. Өнөөдөр блог хөтөлдөг хүмүүс цөөхөн болж. facebook-рүү их хошуурдаг болсон байна. Энэ блог өдөртөө 100 орчим хүн ханддаг гэсэн статистик байна. Тэгэхлээр хүмүүс маань блогоо хаяаагүй л байгаа юм байна. Тиймээс би блогоо цааш үргэлжүүлэн хөтлөж хичээлүүдийг оруулах боллоо. Олон зүйл нуршаад яахав эхлэе
Энэ удаа блогчиддоо зориулан нэгэн бичлэг орууллаа. Би урьд нь Read more буюу бичлэг автоматаар тасалж харуулдаг нэг хичээлийг оруулж байсан байна. Тэгвэл энэ хичээлээр бичлэгээ өөрийн хүссэн газраараа таслах боломжтой гэдгийг харуулах гэж үзлээ. Гэхдээ энэ post нэмэх болгондоо бага зэрэг ажиллагаа шаардаад байдаг.


draft.blogger.com хягаар өөрийн нэр нууц үгээр нэвтэрнэ.


Layout -> Edit HTML, гэж ороод Expand Widget Templates гэснийг чагтлаарай. Ер нь блогтоо жижиг script x бай юу ч хийсэн блогоо нөөцөлж авч байгаарай. Ингэхийн тулд Download Full Template татаж авна.
expand-widget.png

(CTRL+F) товчийг даран гарч ирэх цонхонд <p><data:post.body/></p> бичээд хай. Гарч ирсэн <p><data:post.body/></p>-ыг даран доорхи
кодыг хуул


<b:if cond='data:blog.pageType == "item"'> <style>.fullpost{display:inline;}</style> <p><data:post.body/></p><b:else/> <style>.fullpost{display:none;}</style> <p><data:post.body/> <a expr:href='data:post.url'><strong>Read more...</strong></a></p></b:if>


Save Template дарна.

Дараагийн алхам нь

  1. Setting дар
  2. formatting дар
  3. Post Template. Гэдэгт доорхи кодыг хуулж тавь. Ингэснээр бичлэг нэмэр болгонд paste хийх шаардлаггүй болно.

<span class="fullpost"> </span>

  1. Save settings


Бичэг яаж нэмэх вэ?
photo-posting_03.gif бичлэг нэмэх болгонд энэ байдлаар харагдана.
<span class="fullpost">


</span>



Энэ хэсгийн өмнө нүүрэнд харагдаж байх бичлэгийн богино хэсэгийг бичнэ
<span class="fullpost">



Энэ хэсэгт read more байдлаар харагдаж байх бичлэгийн хэсгийг хийж өгөөд боллоо.

</span>

Thanks Good luck
Read more...

Tuesday, May 15, 2012

How to do blog settings in blogger


The first important thing you should do to make your blog in blogger have the best performance is to do some Settings. As your inspirations on how to do blog settings in blogger, the following, Blogspot Tutorial writes how to setup blog in blogger:

* Please login to blogger with your ID

* Click Setting

blog settings

* You will see the menu tabs containing things to setup:

settings tab

Basic

Some settings in Basic menu:

  • Blog Tools: Import blog → this is the facility to import data from your computer (this is usually done when transferring blog). Don’t click it, let it be as it is. Export blog > this is the facility to export blog from blogger server to your computer. This facility is also called as Backup blog facility. You are suggested to create blog backup at least once a week.
  • Title: Fill out with the title of your blog, e.g. My personal blog
  • Description: Fill out with your blog description, e.g. Notes of My Unique Life.
  • Add your blog to our listing?: You’re suggested to choose Yes option.
  • Let search engines find your blog?: Choose Yes, so your blog will be indexed by search engines such as Google, Yahoo, and Bing.
  • Show quick editing on your blog?: You may choose Yes or No.
  • Show email post links?: It will be an icon of email with which your visitors can easily email your posts to their friends. Choose Yes, if you want, or No if you don’t want this facility to appear on your blog.
  • Select Post Editor: This is to select post editor in your blog. Updated Editor → This is the latest post editor that Blogger has with new features included such as the More button to cut off your articles, and more. Old Editor → This is the old post editor that Blogger has, but you can still use it if you feel more comfortable with this old editor, because there are some features at this old editor that are not included in the Updated Post Editor. Hide Compose Mode → This is an option for those who are familiar with HTML because this option will hide the compose mode in your post editor. Don’t use this option if you are not familiar with the HTML coding.
  • Enable transliteration?: Select Enable if you want your post editor allow you to translate to Hindi, Kannada, Malayalam, Tamil, or Telugu. Select disable if you want your post editor not to allow you the transliteration.
  • End settings on Basic menu by clicking SAVE SETTINGS.

Publishing

This is to change the domain name of your blog in blogger with your own domain name, e.g. http://yourblogname.blogspot.com into http://yourblogname.com.

For temporary, don’t do anything at this Publishing menu! Tutorial about custom domain in blogger can be read at How to use Custom Domain in Blogger.

Formatting

Some settings in the Formatting menu:

  • Show at most: type the number of posts you want to display on your blog homepage, e.g. 5. Next to number of posts option, there is dropdown menu allow you to choose Posts or Days. Just choose posts, which means your blog homepage will show 5 posts.
  • Date Header Format: Choose how the date format you would like to display above your posts.
  • Archive Index Date Format: Choose the date format for your archive index.
  • Timestamp Format: Choose the time format you would like to display. This is the time when a post is published on your blog.
  • Time Zone: Just choose the time zone where you are.
  • Language: Choose the language you want to use in your blog.
  • Convert line breaks: this is the facility of automated line breaks when you hit enter during typing an article in the post editor. This facility is used when you think you will not post or write the codes such as HTML codes, etc in the future. But if you think you will post about HTML codes and include the codes in your posts, you should choose No, for instance, if your blog talks about the tutorials about HTML, PHP, etc.
  • Show Title Field: You may choose Yes or No.
  • Show link fields: You may choose Yes or No.
  • Enable Float alignment: Choose Yes, so you can arrange the position of your post both images and texts. But if you think this option will disturb the display of your blog, just choose No.
  • Post Template: This is the facility to create any text or code to appear each time you write a new post. It is usually used to create blog signature that will always appear in every post you create without having to type manually each time you create a new post.
  • End the settings on Formatting menu by clicking SAVE SETTINGS

Comments

Some settings in the Comments menu:

  • Comments: Choose Show if you want your posts commented by your visitors, or choose Hide if you don’t want your posts commented by your visitors.
  • Who can comment? : Anyone – includes anonymous users → choose this option if you want everyone can comment on your blog including the Anonymous users or those without identity. Registered users –includes OpenID → Only users that are registered who can comment on your blog, i.e. those who have accounts in Google, Live Journal, Wordpress, Type pad, AIM, and or OpenID. Users with Google accounts → Those who can comment on your blog are those who have Google accounts. Only members of this blog → Only members of your blog who can comment. A certain community usually chooses this option such as educational community, etc.
  • Comment form placement: Full page → the page of your blog will switch to the comment form page if you choose this option. Pop-up window → your comment box will appear as pop-up window, so your blog is still displayed. Embedded below post → your comment box will directly be displayed under post, so your visitors can comment directly without clicking a Post Comment link. Bloggers like most the comment box is embedded below post.
  • Comments Default for posts: Choose New posts Have Comments if you want your articles have the comment box, but you can disable this when you create a post. Choose New Posts Do not have comments if you want your posts don’t have comment box, but you can add it when you create a post.
  • Backlinks: Choose Show if you want to display links to the websites that link to your articles.
  • Backlinks Default for Posts: choose New posts have backlinks if you want your articles have backlinks, and choose new posts do not have backlinks if you want your articles do not have backlinks.
  • Comment Timestamp Format: choose the date format you want to display.
  • Comment Form Message: type your massages to be displayed above the comment box, e.g. please comment freely but keep it polite by not doing spam.
  • Comment Moderation: choose Always if you want to display any comment after moderation. Only on posts older than …days. Choose this option if you want to display any comment on your selected posts based on the age you have determined, e.g. 15 days, etc. Choose Never if you want to display any comment without a moderation. Don’t forget to type your email address in the available field to get notifications when someone of non-member comments on your posts. Or leave blank if you don’t need the notifications.
  • Show word verification for comments?: choose Yes if you want to display word verification that will require commentators to enter before publishing their comments. It is to avoid a spam comment such as the robot spam script that can comment on your automatically and frequently. Anyway, visitors usually don’t like the word verification for inconvenience reason. Choose No when you don’t want the word verification displayed, although this option allows spasm like robot spam scripts to place their comments.
  • Show profile images on comments?: Choose Yes if you want the profile images of commentators to be displayed, and choose No if otherwise.
  • Comment Notification Email: Enter the email addresses up to ten emails that you want to send comment notifications.
  • End settings on Comment menu by clicking SAVE SETTINGS.

Archiving

Some settings on Archiving menu:

  • Archive frequency: choose how your blog archives will be displayed on your blog whether you want the archives arranged No Archive, Daily, Weekly, or Monthly. You had better choose Monthly.
  • Enable Post Pages?: Choose Yes or No.
  • End settings on Archiving menu by clicking SAVE SETTINGS.

Site Feed

Some settings on Site Feed menu:

  • Allow Blog Feeds: Choose either None, Short, or Full. You had better Full at this option.
  • Post Feed Redirect URL: If you have burned your post feed, you can type the URL of your feed here, for instance, you can burned post feed at Feedburner, etc. Leave it blank if you don’t have. We will specifically discuss about Feed burner at next post.
  • Post Feed Footer: You can fill any code here that will be displayed in the footer of your post feed such as advertisements, etc. Leave it blank if you don’t understand.
  • End settings on Site Feed menu by clicking SAVE SETTINGS.

Email & Mobile

In order to be able to post an article on your blog, not only do you use the post editor, but you also have other ways, e.g. through email and mobile.

Some setting on Email & Mobile menu:

BlogSend Address: Type email addresses up to ten emails separated by comma (,) to which you want to send notification when posting an article.

Email Posting Address: Create a blogger email address (known as Mail2Blogger) from which you can post articles directly to your blog when you send an email to this blogger email address, e.g. if you have an email address at example@gmail.com, then you can create blogger email address at example.post@blogger.com or example.blog@blogger.com, or anything else you think very good, but you should remember that it’s a secret to avoid other people can post through it.

To activate this feature, you should choose Publish emails immediately, meaning that each time you send emails to your blogger email address, the content of your email will be posted as blog post on your blog. If you choose Save emails as draft posts, the emails will not be published automatically but will be stored in the draft posts.

However, if you don’t want to publish through email, choose Disable. For security reason, many choose this option.


OpenID

Nothing to do some settings here, but there is notification telling you that your blog address can be used as the address of OpenID. What is OpenID? Maybe we will discuss later.

Permissions

On this menu, you can add Authors by inviting them. Just write the email addresses you want them to be the authors of your blog.

At Who can view this blog?, you can choose who can view your blog. If you choose Anybody, your blog can be viewed by public or anybody. If you choose Only people I choose, only invited people who can view your blog that they should login first to view. If you choose Only blog authors, only your blog authors who can view your blog. If you think your blog is not worth publishing as you conduct maintenance, for instance, you can use this option, so only you that can view the blog.

Read more...