Archive for July, 2008

Page 2 of 4«1234»

State preserved bottom hanging message box using jQuery

Last time, I've made the top floating message box using jquery. And a lot of people has asked me how can I preserve the state of that message box so that when it is closed.It won't be open to for some time interval. Today, I've come with state preserved bottom hanging message box. When you close the message box, it's state is preserved in cookie created using JavScript so that this message box won't show up for certain hours. Full story
Tags:

Strucutures of Females in defined by C programmer

Today, I've got a interesting email from one of my friend which contains the structure of female defined by a C programmer. This programmer did a research on female and defined their structure in C programming. Checkout these cool structures of females and have fun :-) . Full story
Tags: , ,

Getting country , city name from IP address in PHP

Yesterday, miaki asked me how can we get the country name from the IP address in PHP. Today, I've come up with the answer of this question. I've used the API from hostip.info to fetch the country name , city name and country code from the given IP address. I've mad this function in PHP which uses XML response from hostip.info and extracted country name, city name and country code using regular expression. Full story

My First Google Adsense Cheque

Hello friends you must know Google Adsense is one of the popular way of monetizing the blog. Today, I've got the first cheque from Google and I would like to share it with you guyz. It is not thatĀ  big money I'm making from Adsense. In first six month, I was able to make just $165. But, making money from a blog goes slowly and steadily. Most Importantly, this is tech blog and most visitor are aware of Google Adsense so they don't click on the Google ads usually. Full story

Getting technorati ranking in PHP without using their API

Today, I was going through the Technorati API to find the rank of the blog using PHP. Those who doesn't know about Technorati, Technorati is known as the authority for tracking, indexing and ranking the blog sytems. When I went through the Technorati Api, I found that it is not that hard to get the ranking of a blog which is indexed in Technorati.You need to get the developer APIĀ  key from Technorati and use their Web Services to get the ranking of a blog. Full story
Page 2 of 4«1234»
Copyright © 2009 Roshan Bhattarai's Blog. All rights reserved.
Powered by WordPress.org, Custom Theme and ComFi.com Calling Card Company.