How to Display Feedburner Subscribers in Plain Text

Feedburner came with feed count banner, but if you think this banner doesn’t match your website design or you want to display Feedburner subscribers in plain text, this is possible!

Copy and paste the following code into your template, for example sidebar.php, replace feedburner-id with your Feedbuner username. This script will grab you the feed count in numbers.

//get cool feedburner count
$whaturl="http://api.feedburner.com/awareness/1.0/GetFeedData?uri=feedburner-id";

//Initialize the Curl session
$ch = curl_init();

//Set curl to return the data instead of printing it to the browser.
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

//Set the URL
curl_setopt($ch, CURLOPT_URL, $whaturl);

//Execute the fetch
$data = curl_exec($ch);

//Close the connection
curl_close($ch);
$xml = new SimpleXMLElement($data);
$fb = $xml->feed->entry['circulation'];
//end get cool feedburner count

Now paste this anywhere you want and it’ll display a Feedburner subscriber count in text.

echo $fb;

Source from Hongkiat

How to Display Twitter Count in Plain Text

If you don’t like the Twitter Counter Badge provided by TwitterCounter and you want to display your Twitter counter in plain text, actually it is easy. You can just follow the below simple step to do it.

1. Add the following code to functions.php.

function string_getInsertedString($long_string,$short_string,$is_html=false){
  if($short_string>=strlen($long_string))return false;
  $insertion_length=strlen($long_string)-strlen($short_string);
  for($i=0;$i<strlen($short_string);++$i){
    if($long_string[$i]!=$short_string[$i])break;
  }
  $inserted_string=substr($long_string,$i,$insertion_length);
  if($is_html && $inserted_string[$insertion_length-1]=='<'){
    $inserted_string='<'.substr($inserted_string,0,$insertion_length-1);
  }
  return $inserted_string;
}

function DOMElement_getOuterHTML($document,$element){
  $html=$document->saveHTML();
  $element->parentNode->removeChild($element);
  $html2=$document->saveHTML();
  return string_getInsertedString($html,$html2,true);
}

function getFollowers($username){
  $x = file_get_contents("http://twitter.com/".$username);
  $doc = new DomDocument;
  @$doc->loadHTML($x);
  $ele = $doc->getElementById('follower_count');
  $innerHTML=preg_replace('/^<[^>]*>(.*)<[^>]*>$/',"\\1",DOMElement_getOuterHTML($doc,$ele));
  return $innerHTML;
}

2. Copy and paste the following short code to anywhere on your theme files, remember replace your twitter username.

<?php echo getFollowers("yourtwitterusername")." followers"; ?>

How to Setup Hotmail POP3 in the Email Program on Your PC or Mobile Device

I don’t like to use free email service without POP3 technology, that’s why I already say goodbye to Hotmail for long time ago. Since Hotmail officially announced that that POP3 technology is now available to Hotmail users worldwide, may be I will consider to use back as I have been waiting for so long for this.

What is POP3? It is a protocol that allows almost any e-mail software program that you’ve installed on your mobile phone or PC to get messages from your e-mail inbox on the web and deliver them in the designated program. For example, you can use Outlook Express to setup Hotmail account. During setting up Hotmail account in Outlook Express, you may be asked for the following information.

POP server: pop3.live.com (Port 995)
POP SSL required? Yes
User name: Your Windows Live ID, for example yourname@hotmail.com
Password: The password you usually use to sign in to Hotmail or Windows Live
SMTP server: smtp.live.com (Port 25)
Authentication required? Yes (this matches your POP username and password)
TLS/SSL required? Yes

How to Uninstall XAMMP in Windows Vista

XAMMP and WAMP allow you to run WordPress on your PC, but I prefer to use WAMP, that’s why I want to uninstall XAMMP that I have installed before.

I’m using Windows Vista, I found that I can’t even uninstall XAMMP and this caused WAMP cannot be run properly. I have tried to find solution from Internet but unfortunately I can’t get any help from that. I nearly give up to give it a try, I was thinking that to format pc and install back Windows again in order to solve this problem.

After that, I suddenly figured out that normally Windows Vista requires us to run software and application that we install as administrator. That’s right! All you need to do is to run xampp-control.exe as administrator (right click xampp-control.exe file and choose Run as Administrator), and then stop the Apacha and My SQL, then you can uninstall without any problem.

Quick Way to Remove Advertisement from Msn Live Messenger

Do you use msn live messenger? Those people who have use it, I know you will hate the advertisement on the msn, you may accidently click on it, right or not?

Actually you can remove the advertisement from msn by using Live Advert Remover. Just click on this link and download it to your computer and then run it with few simple steps, very easy!

Please note that Live Advert Remover does not make the default Live Messenger banner disappear, so the banner will remain intact, but it is never replaced by a commercial advertisement.

Google Analytics Video Tutorial

Google Analytics service is offering traffic measurement and interactive reporting for small and large sites, which includes visitor tracking, navigation analysis, and many more. I believe that many webmaster has using it now. If you are still not familiar using Google Analytics, I hope the below Google Analytics video tutorial can help!

Public Blog Post Using Microsoft Words 2007

Microsoft Words 2007 allows you to create a new blog post and public to your blog provider. Here are the easy and simple steps to do so.

1. Go to Office Button > Public > Blog

2. “Register a Blog Account” dialog box will be displayed
3. Click “Register Now”
4. Choose your blog provide, for example wordpress

5. Enter the required information as per example below

6. Then you can start to write something and click public button to publish your post, that’s all.

Phone cards for domestic and international use, great rates and excellent connectivity.
International calling card plans offer the ultimate in convenience for phone card users at the lowest cost available.
Australia international phone cards for low-cost international calls from United States to Australia.

apple promo promotion
overstock promo code
carbonite promotion code