Mencari Ilmu dan Berbagi Kelebihan Kekurangan Gadget

Senin, 11 Oktober 2010

Agar Blog Mudah Di akses Via HP

Agar blog mudah di akses melalui ponsel, tambahkan kode script berikut ini:
1.Masuk ke blogger.

2.Masuk Rancangan < Edit HTML < centang Expand Template Widget.

3.Cari kode berikut ini <b:include data='blog' name='all-head-content'/>

4.Copy kode script di bawah ini dan letakkan di atas kode langkah nomor 3 tadi:
<meta content='IE=EmulateIE7' http-equiv='X-UA-Compatible'/>
<b:if cond='data:blog.isMobile'>
<meta content='width=device-width, initial-scale=1.0, user-scalable=0' name='viewport'/>
<b:else/>
<meta content='width=1100' name='viewport'/>
</b:if>

5.Selamat mencoba.
Share:

Cara Pasang Musik Gratisan di Blog

Jika ingin memasang musik berupa mp3 player di blog ini caranya:

1. Buka Link Musik-Live.
2. Pilih Tab Skins Mp3 Player yang ada di atas.
3. Pilih skin player (choose skin player), terus copy dech Scriftnya terletak di bawah namanya embed code
4. Paste script tersebut dengan add HTML/JavaScrift di blog.
5. Selesai.

Selamat mencoba.
Share:

Minggu, 10 Oktober 2010

Menghapus Konten Error Not Found/404

Checking the status of your requests

Once you’ve submitted a removal request, you can check its status at any time.
To check the status of your request, visit http://www.google.com/webmasters/tools/removals. The status page will list all requests for your site, along with the status and type of each request.
If a request has been denied, click the Learn more link to understand why. For example, your request may have failed because the URL you submitted didn’t meet the requirements for the type of removal you requested, or you may need to request a different type of removal in order to successfully remove a specific URL. Read more about how to request removal of a page, directory, or site.

If content is still appearing in search results

Once a request has been approved, it may take a little time before the changes are visible in search results. If a request has been marked as Removed, but you still see that content in search results after a day or so, check the following:
Is the URL that appears in search results the exact same URL you submitted for removal? It’s fairly common for identical or similar content to appear on multiple pages. In this case you need to request removal of the other URLs in question. Even if a URL appears identical, remember that URLs are case sensitive. Requesting removal of http://www.example.com/embarrassingstuff.html is not the same as requesting removal of http://www.example.com/EmbarrassingStuff.html. How to find the right URL.
Even if a particular URL is successfully removed from search results, the content of that URL may also appear on other pages. To ensure complete removal of the content, you’d need to submit a removal request for every URL on which that content appears.
What kind of request did you submit? The status "Removed" can mean different things depending on the type of request you submitted.
If you requested removal of the cached version of the page, that cached version will no longer be available from Google, but the updated version of the page can still appear in search results. If you requested complete removal of both the live and cached version of a page, "Removed" should mean that that URL no longer appears in search results at all. If you requested a cache removal but you want the both the live and cached version removed, make sure that the URL meets the requirements for complete removal, and then file a new request for its complete removal.
Tools untuk menghapus atu remove dari google search result adalah:
http://www.google.com/webmasters/tools/removals

Copas dari:
Google Webmaster
Share:

Mengganti Title Tags For Search Engine Traffic

Mengganti Title Tags For Search Engine TrafficCaranya:

1. Ke Layout > edit HTML di Blogger dashboard.

2. Cari tag: <title><data:blog.pageTitle/></title>
atau
<title><data:blog.title/></title>

3. Replace this tag with the following code:

<b:if cond='data:blog.pageType == &quot;index&quot;'> <title><data:blog.title/></title> <b:else/> <title><data:blog.pageName/> | <data:blog.title/></title> </b:if>

atau

<b:if cond='data:blog.pageType == "index"'> <title><data:blog.title/></title> <b:else/> <title><data:blog.pageName/> | <data:blog.title/></title> </b:if>

4. Simpam Template

NB:
Kode html tersebu harus tepat di bawah <head>
Share:

Sabtu, 09 Oktober 2010

Cara Membuat Komentar Klasik

1. Login ke akun blogspot,
2. Klik Design/Rancangan >> Edit HTML >> Expand Templates Widget,
3. Lalu cari kode berikut (harap disesuaikan saja karena terkadang tiap templates berbeda):

<div class='comment-form'>
<a name='comment-form'/>
<h4 id='comment-post-message'><data:postCommentMsg/></h4>
<p><data:blogCommentMessage/></p>
<data:blogTeamBlogMessage/>

4. Selanjutnya tambahkan kode di bawah ini persis ada di bawah kode di atas:

[ <a expr:href='&quot; http://www.blogger.com/comment.g?blogID=12345678910&amp;amp;postID=&quot; +data:post.id+ &quot;&amp;isPopup=true&quot;' onclick='javascript:window.open(this.href,&quot;bloggerPopup&quot;,&quot;toolbar=0,location=0,statusbar=1,menubar=0,scrollbars=yes,width=400,height=450&quot;); return false;' rel='nofollow'><b>Form Komentar Klasik</b></a> ]

5. Jika sudah sekarang klik Save Templates dan lihat hasilnya.

Note:
Untuk Id blog harap diganti dengan ID blog teman-teman masing-masing.

copasan dari:
Anggasona
Alkatro Zone
Share:

Cara Membuat Auto Readmore

Jika anda telah membuat "Read More" fungsi "manual", maka yang harus anda lakukan adalah menormalkan kembali script di template anda seperti semula, setiap template mungkin akan berbeda, tetapi anda dapat menormalkan kembali seperti contoh berikut:
(hapus yang berwarna biru)

<div class='post-header-line-1'/>
<div class='post-body'>
<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/></p>
<a expr:href='data:post.url'>Readmore</a>
</b:if>
<div style='clear: both;'/>

Setelah menormalkan script diatas, lalu lanjutkan ke EDIT HTML dan temukan script </head>, copy-paste dan tempatkan kode script di bawah ini diatas script </head>

<script type='text/javascript'>
var thumbnail_mode = "float" ;
summary_noimg = 250;
summary_img = 250;
img_thumb_height = 120;
img_thumb_width = 120;
</script>
<script type='text/javascript'>
//<![CDATA[
function removeHtmlTag(strx,chop){
if(strx.indexOf("<")!=-1)
{
var s = strx.split("<");
for(var i=0;i<s.length;i++){
if(s[i].indexOf(">")!=-1){
s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
}
}
strx = s.join("");
}
chop = (chop < strx.length-1) ? chop : strx.length-2;
while(strx.charAt(chop-1)!=' ' && strx.indexOf(' ',chop)!=-1) chop++;
strx = strx.substring(0,chop-1);
return strx+'...';
}
function createSummaryAndThumb(pID){
var div = document.getElementById(pID);
var imgtag = "";
var img = div.getElementsByTagName("img");
var summ = summary_noimg;
if(img.length>=1) {
imgtag = '<span style="float:left; padding:0px 10px 5px 0px;"><img src="'+img[0].src+'" width="'+img_thumb_width+'px" height="'+img_thumb_height+'px"/></span>';
summ = summary_img;
}
var summary = imgtag + '<div>' + removeHtmlTag(div.innerHTML,summ) + '</div>';
div.innerHTML = summary;
}
//]]>
</script>

Selanjutnya pada EDIT HTML, check "Expand widget template" dan temukan script berikut:
<data:post.body/>
Jika sudah ditemukan script <data:post.body/>, hapus lalu copy-paste kode script dibawah ini:

<b:if cond='data:blog.pageType != "item"'>
<div expr:id='"summary" + data:post.id'><data:post.body/></div>
<script type='text/javascript'>createSummaryAndThumb("summary<data:post.id/>");</script>
<span class='rmlink' style='float:left'>Read More »»» <b><a expr:href='data:post.url' expr:title='data:post.title' rel='tag'><data:post.title/></a></b></span>
</b:if>
<b:if cond='data:blog.pageType == &quot;item&quot;'><data:post.body/></b:if>

Lalu simpan template anda.

Keterangan:
var thumbnail_mode = "float"; (menempatkan image thumbnail di kiri "float", jika tidak suka dengan opsi ini, silahkan ganti dengan "no-float")
summary_noimg = 250; (mengatur jumlah karakter yang akan ditampilkan jika tanpa image thumbnail)
summary_img = 250; (mengatur jumlah karakter yang akan ditampilkan jika menggunakan image thumbnail)
img_thumb_height = 120; (mengatur tinggi pixel thumbnail)
img_thumb_width = 120; (mengatur lebar pixel thumbnail)
#Silahkan ganti angka-angkanya saja script diatas sesuai keinginan anda.

NB:
Misal saja kalau kita igin menambahkan halaman mandiri di blogger, maka laman mandiri tersebut akan terpotong dan sebagainya.
Maka gantilah kode terakhir tersebut dengan kode di bawah ini:

<b:if cond='data:blog.pageType != &quot;item&quot;'>
<b:if cond='data:blog.pageType != &quot;static_page&quot;'>
<div expr:id='&quot;summary&quot; + data:post.id'><data:post.body/></div>
<script type='text/javascript'>createSummaryAndThumb(&quot;summary<data:post.id/>&quot;);</script>
<span class='rmlink' style='float:right;padding-top:20px;'><a expr:href='data:post.url'>Read More...</a></span>
</b:if>
</b:if>

<b:if cond='data:blog.pageType == &quot;item&quot;'><data:post.body/></b:if>
<b:if cond='data:blog.pageType == &quot;static_page&quot;'><data:post.body/></b:if>

Hapus kode warna merah bila ada dobel konten
Share:
Scroll To Top