How to Make Recent Comment (Blogger)

This tutorial is for how to make recent comment using Javascript code.

1. Go to layout > Add Gadget > Choose HTML/Javascript > Copy And Paste Code Below



<ul><script style="text/javascript">
function showrecentcomments(json) {
for (var i = 0; i < 5; i++) {
var entry = json.feed.entry[i];
var ctlink;
if (i == json.feed.entry.length) break;
for (var k = 0; k < entry.link.length; k++) {
if (entry.link[k].rel == 'alternate') {
ctlink = entry.link[k].href;
break;
}
}
ctlink = ctlink.replace("#", "#comment-");
var ptlink = ctlink.split("#");
ptlink = ptlink[0];
var txtlink = ptlink.split("/");
txtlink = txtlink[5];
txtlink = txtlink.split(".html");
txtlink = txtlink[0];
var pttitle = txtlink.replace(/-/g," ");
pttitle = pttitle.link(ptlink);
if ("content" in entry) {
var comment = entry.content.$t;}
else
if ("summary" in entry) {
var comment = entry.summary.$t;}
else var comment = "";
var re = /<\S[^>]*>/g;
comment = comment.replace(re, "");
document.write('<li>');
document.write('<a href="' + ctlink + '">' + entry.author[0].name.$t + '</a>');
document.write(' on ' + pttitle);
document.write('<br/>');
if (comment.length < 100) {
document.write(comment);
}
else
{
comment = comment.substring(0, 100);
var quoteEnd = comment.lastIndexOf(" ");
comment = comment.substring(0, quoteEnd);
document.write(comment + '...<a href="' + ctlink + '">(more)</a>');
}
}
document.write('</li>');
document.write('<div style="font-size:75&percnt;;text-align:center"><a href="http://blogs-tricks.blogspot.com/2009/11/how-to-make-recent-comment-blogger.html">Get this Widget</a></div>');
}
</script>
<script src="http://Yourblogname.blogspot.com/feeds/comments/default?alt=json-in-script&callback=showrecentcomments">
</script></ul>
<noscript>You need to enable JavaScript to read this.</noscript>



2. Save And Done


Change URL http://YourBlogname.blogspot.com with your blog URL

Read more ...

How to Make Recent Post at Blogger

1. Layout > add a Gadgets > Feed





2. Copy your feed address here



ex: http://YourBlogName.blogspot.com/feeds/posts/default

3. In the Title Column Change with "Recent Post"


4. Save.




Read more ...

5 Steps to Increase your Google Page Rank


1. Join forums, forums are a great way to achieve links to your website. In most forums you are allowed to have a signature and in your signature you can put a link to your website. But another important note to look on is making sure the forum is somewhat related to your website. You will still get credit if it's not, but if it's related to your website than you will be accomplishing two tasks at once.
You will be advertising for your website (bringing in targeted traffic) You will also be building your websites presence.

Your websites presence is very important to your survival. The more people see, or hear about your website the more credibility you will have and this increases your chances of having these visitors come back and possibly become leads.

2. Submit to search engine directories. Search engine directories are a good way to get a free link to your website. They also increase your chances at being listed higher on popular search engines like Google, and overture.

Most search engine directories allow you to submit to their website for free. This will allow you to increase your web presence by being listed on another search engine, and it will also be a free link. Remember the more links you have the higher your PR will be.

3. Using ezine ads (or newsletters). Creating an ezine will probably be the most beneficial step you can take to increasing your web presence. When you create an ezine you will be able to keep visitors coming back to your website for more by using signatures and giving special deals.

Ezine's will also allow you to increase your back links. By creating an ezine you can submit your information about your ezine to an ezine directory. This directory will than link to your website(thus giving you a free link).

4. Creating and publishing articles. Articles are an easy source of generating new traffic. You can include your signature in your article. This will bring in more traffic from article submission directories.
Your signature usually consists of 4 to 8 lines. Usually the first line would be the title of the website that you are trying to advertise. The last line would be the link to the website and the lines in between these would be a sales pitch to draw your viewers into your website.

5. Links from related websites. Gaining links from related websites can be one of the most frustrating tasks you can attempt.





Read more ...

Different meta description for each post



The meta description as the name tells is a short description of your posts, the meta description is supported by almost all major search engines, e.g.: Google , Yahoo , MSN.... If you google it probably you will found a code what is looking like this one:
<meta name='DESCRIPTION' content='A few words about the content of the page'/>
This is the basic code of a meta description but this is usually used for webpages not for blogs because this code will give the same description to every post of your blog. If we want to have a well SEO optimized blog we need to use different descriptions for each post. To use different description for every post complete the following steps:


1. Open the Layout panel and go to Edit HTML

2. Save your template by clicking on the Download full template button (to backup if something goes wrong)

3. Find the following code:
<b:include data='blog' name='all-head-content'/>
4. Add this code after the above code:
<b:if cond='data:blog.url == &quot;http://blogs-tricks.blogspot.com/2009/08/how-to-write-or-post-scriptcode-into.html"'>
<meta name='DESCRIPTION' content='TipForBlogger: Blogging Tip And Trick, blogging site that provide information and tips to bloggers,SEO optimization,Free Blogspot Template And Site Info.'/></b:if>
5. Change the red marked url with the full url of your post.

6. Change the green marked text with the description of your post

7. Create a code like this for each post.

8. Save your template.

NOTE: Don`t use more than 150 characters in your description.
Add the code for a post and put the code for the next post directly after it. To add description to the main page change the red marked url with the homepage of your blog: e.g: http://blogs-tricks.blogspot.com/






Read more ...

How to add different meta keywords to every page




The meta keyword tag is a list of keywords for search engines. Unlike the meta description , we can generate automatically the meta keywords (We can generate automatically the meta description ,too but it`s better to write ). Usually the most relevant keywords of a post are in the title, so we can use the keywords from the title as meta keywords. It`s simple to do it , just follow these easy steps:

1. Go to Layout , Edit HTML
2. Find the following code:
<b:include data='blog' name='all-head-content'/>
3. Add the following code after it:
<b:if cond='data:blog.pageType == &quot;item&quot;'>
<meta expr:content='data:blog.pageName' name='keywords'/>
</b:if>
4. Save template

NOTE:
Google do not place much weight on these keywords but yahoo and some search engines are using them.





Read more ...

Backlinks , Google Pagerank and SEO

















The backlinks are incoming links to your blog.
The google pagerank is the score of your blog.
For a higher pagerank your blog needs to have backlinks. The most important factor isn`t the quantity of backlinks ,
more important is the pagerank of each backlink. The anchor text is also important, the anchor text is a clickable text ,it`s need to be relevant to your page. As you see in the above picture , the page C has a high pagerank with a single backlink. The page E has a lot of backlinks but with small pageranks. There are 2 type of links: DoFollow and NoFollow links. The NoFollow links have no value in the eyes of search engines, only the DoFollow ones are counted as backlinks.

There are many ways to create backlinks , i will show you some of them:


1. You can buy the backlinksThere are many backlinks building services, they create backlinks for a fee. This is one of the fastest ways but this isn`t free.

2.
Comment on other blogsYou can build backlinks by commenting on other blogs. Most blogs have a Name/URL option, put some relevant keywords as name and the adress of your blog as URL or simply leave your link in the text of the comment. Don`t spam , comment something whats relevant to the given post. You can use the Free Fast Blog Finder tool to find high PR blogs.

3. Be active on forums
Most of the forums are allowing signatures , leave your link in your signature. Be active on forums cause every post is a new backlink.

4. Blog directories
Submit your blog to blog directories like DMOZ or Yahoo Directory. You can select from free or payd directories , the result can be the sam at both , but at the paid directories you will be listed more faster.

5. Article Directories
Write quality posts and submit them to article directories like: Ezinearticles and Goarticles
Read more ...

PageRank Calculation Depending of Backlinks


Don`t waste your time building backlinks with noPR and PR 1 websites ,when a single PR 5 link has the same value as 555 PR1 links! Look at this graphic about backlinks value and search for some higher PR backlinks:


PR backlink
LinksLinksLinksLinksLinksLinks





For PR3
For PR4for PR5for PR6for PR7for PR8

1
5553,05516,80392,414508,2772,795,522
2
1015553,05516,80392,414508,277
3
18.51015553,05516,80392,414
4
3.518.51015553,05516,803
5
13.518.51015553,055
6
0.513.518.5101555
7
0.50.513.518.5101
8
0.50.50.513.518.5
9
0.50.50.50.513.5
10
0.50.50.50.50.51

For example, to gain a PR 5 website, you will need 101 PR 4 backlinks






Read more ...

What Is Article Submitter ?

Article Submitter is the simplest, fastest way to have a single article submitted to multiple article directories without having to spend too much time tweaking the article or sending it one by one to all these directories!
Best of all, you can register for all these directories without actually having to go to the sites one by one at all!
Read more ...