How to check if a blog is nofollow

Nofollow is a HTML attribute introduced by Goolge to prevent spamindexing. The way to use this attribute is to  add rel="nofollow" into the hyperlink tags “href”. Nofollow will tell the search engines that do not follow the link. If the hyperlink has the attribute, then it would not affect the link target’s Page Rank. Currently, three search engines support this attribute: Google, Yahoo, MSN Search, although they have different interpretations about the attribute. Now many blogs are using this attribute. Usually, the nofollow attribute is used on the link provided by commenters, which can prevent spammy links gaining any benefit for page rank. However, if you want to know if a blog has nofollow attribute. There are two ways to check if a blog has the “nofollow” attribute.
1: Check the HTML source code of the page, look for the tags that have <a rel=”nofollow”>, if you are seeing a “nofollow” on a link to a commenter, then the page is a nofollow page. Search engine won’t follow this link automatically.

2: Firefox users can add a plugin to check “nofollow” attribute. This will speed up the checking. This plugin is named SearchStatus . If you use the “Highlight Nofollow Links” function, then you can see highlight on nofollow links every time you open a web page.

If you know more methods to detect the nofollow attribute, please put it into the comment box.

Irish Scenery- King John’s Castle(Limerick)

King John’s Castle is located in Limerick City, Ireland, next to River Shannon which is the biggest river in Ireland. It was firstly built by the Viking sea-king in 922.  I went there this summer. The castle has a really good view of Limerick city and River Shannon.

Overview of the castle and River Shannon

img_1106

The entrance of the castle, some people are sitting on the cannon.

The weapon made by wood. It looks like a little bit fragile, doesn’t it?

img_1129

Oven and stools

img_1133

The shooting hole. Soldiers can fire arrows from there.

img_1134

img_1135

Bird’s-eye views of the castle and Limerick city.

img_1142

img_1145

River Shannon

img_1154

img_11441

Formidable watchtower

img_1157

The man making coins

img_1164

Gun and power

Some introduction about the castle from Wikipedia.

The Viking sea-king, Thormodr Helgason, built the first permanent Viking stronghold on Inis Sibhtonn (King’s Island) in 922. He used the base to raid the length of the River Shannon from Lough Derg to Lough Ree, pillaging ecclesiastical settlements. In 937 the Limerick Vikings clashed with those of Dublin on Lough Ree and were defeated. In 943 they were defeated again when the chief of the local Dalcassian clan joined with Ceallachan, king of Munster and the Limerick Vikings were forced to pay tribute to the clans. The power of the Vikings never recovered, and they reduced to the level of a minor clan, however often playing pivotal parts in the endless power struggles of the next few centuries.

The arrival of the Anglo-Normans to the area in 1172 changed everything. Domhnall Mor O’Brien burned the city to the ground in 1174 in a bid to keep it from the hands of the new invaders. The Anglo-Normans finally captured the area in 1195, under John, Lord of Ireland. In 1197 local legend claims Limerick was given its first charter and its first Mayor, Adam Sarvant. A castle, built on the orders of King John and bearing his name, was completed around 1200.

More introduction please see the link: Wikipedia.

Two girls are kissing whales.

On 15 Jan 2009, a very difficult new show named “The Kiss of Sea” was performed successfully in Haerbin, Northeast of China.
It is said that this is the first time to succeed in such kind of show in the world. The two female tamers took half year to practice for this show.  People can watch their official show during Chinese New Year.
Photo from Heilongjiang Daily.
u2596p1t1d17058521f21dt20090116104114

Obama’s brother’s Chinese life.

As many people may know that one of Obama’s brother, Mark Ndesandjo, is living in China. Which city? It is Shenzhen, 45 minutes bus from HongKong. He has been living in Shenzhen for 6 years with a pretty low profile until his old brother Obama become the USA president. He lives a happy life in China. He is a boss of a restaurant chain named “Mu Wu Barbecue”. He has been helping orphans and teaching them piano during his spare time for 6 years. He got married with a Chinese girl who comes from Henan Province. He can speak very good Chinese and is a vegetarian. People around him really like him, they might not know he is the USA presidents’ brother, but know he is a good man.

Mark Ndesandjo (Photo from ifeng.com)


Mu wu Barbecue shop (photo from southcn.com)

Teaching Orphans Piano (photo from southcn.com)

Source:  http://huhe.blogspot.com/2009/01/obamas-brothers-chinese-life.html

WordPress’s bug caused my blog’s sidebar disappeared

Today, I found my sidebar on my blog disappeared. At the beginning, I thought it was because of my current themes, but after changed several themes, this issue still existed. I set up an apache server on my local machine, and install WordPress on it. I found the theme that I current used on my blog is perfectly displayed from my local machine. Then I started to investigate this issue. I found the sidebar was not actually disappeared, it was just placed on the bottom of the page, since the index page is so long that I did not see it at the first glance. I compared the code of my current page to the code of normal page. Finally, I found it was because of one of the post which contains < div id="main_r" > where I should use &lt 和 &gt. This cause this problem since the browser think there is a < div id="main_r" > in the code of the page but has no < /div > to close it。If WordPress can check if the post contains symbols like < or > before the post could be submitted, this could reduce this kind of errors. BTW, my wordpress version is 2.7.

A 309 Kilogram fish is ready to be cooked.

A 309 Kilogram, 2.05 meters long fish was caught in Zhuhai, South of China. The staff of a Cantonese restaurant are preparing for cooking this fish. The fish looks like tiger grouper. It was caught in the deep sea. Fishmen took 1 hour to land the fish with the help of divers. Need 7 men together to move this fish. Tiger grouper is delicious and expensive in China. People in south China look this fish as a high class food.


How to fix Not Acceptable 406 error?

I came across a problem when I was trying to build my website with dede cms script. The steps to produce this problem are:
1: Install dede cms script and setup the parameters for mysql connections.
2: Go to the backend management interface.
3: Type username and password, then click sumbit button to submit the form
4: A following message was given.

Not Acceptable
An appropriate representation of the requested resource /dede/login.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.37 Server at qiquworld.com Port 80

After research, the way to fix the problem is:
Create or edit a text file named .htaccess for website’s root directory and add the following code:

<IfModule mod_security.c>
   SecFilterEngine Off
   SecFilterScanPOST Off
</IfModule>

Use Google search engine to promote your website

Today, I found some new features on Google search engine. If you do some searching with keywords, you can see there is a little upward arrow on the right of each search resultUpward Arrow. If you move your mouse over the little arrow, the arrow will turn into green and show “Promote”, then next you click the arrow, the result that you selected will go up to the top of the result. So if one of the results is your website, you can use this way to make your website go to the top of the search result. Moreover, if you cannot find your website in the list of the results, then you can check the bottom of search results page, you will see a link named “Add a result”. Just click this link, and type your website’s URL into the box right below the message: “Add a page that you’d like to see the next time you search for…” Then click the “Preview” button, you will see the “Add” button. Click the “Add” button, your website will fly to the top of the search results. I think Google might use this way to make the search results more fit for users’ intent. If more users use the upward arrow on the result from your website, then your website are more likely to be on the top of search results. Note: This feature is only available in English language.

A tiger golf game online

I just found a really funny game for golf funs. It is a kind of flash game online. The role of the game is a Tiger(Not Tiger Wuzz though). The operation is pretty simle. I only need to use my mouse to adjust the direction and the force to hit the ball. The very fisrt scenario is very simple, but the second is more difficult. I got familia with this game quickly and enjoyed this game very much. The game comes from one of flash games online site. Its’ address is: http://www.miniclip.com/games/tiger-golf/en/

Games at Miniclip.com - Tiger Golf
Tiger Golf

Take on the tricks and traps of this fiendish golf course.

Play this free game now!!

A good wordpress plugin for google ads.

Yesterday, I spent whole night on looking for the best plugin for Google adsense ads. I had downloaded 5 plugins named: Adsense-integrator, Adsense-manager, All-in-one-adsense-and-ypn etc. Thanks WordPress for easy installation of plugin, I can try them all easily. After installed and tried them one by one, I found Adsense-integrator is the best one for me. It does not need too much even a little PHP programming knowledge. You can just simply fill out the form provided by the plugin and press a button to update pages, then you can see your ads ideally appearing in your posts. Actually, I don’t need any tools/plugins to help me to put Ads on the sidebar, it is easier to add Ads onto the sidebar manually by modifying the code. I am sure Adsense-integrator is what I want.