Thursday, May 21, 2009

How to : Display your latest tweet without a Wordpress plug-in



If people like your blog, they would probably also enjoy your tweets. Displaying your latest tweets on your WordPress blog is a good way to gain new subscribers. A plug-in can do that, but for such a simple task, I prefer a hack. This one grabs your latest tweet and displays it on your blog.

This ready-to-use code can be pasted anywhere in your theme files. Just don’t forget to change the value of the $username on line 4. The $prefix and $suffix variable can be used to insert a title, and the div element can be used for further CSS styling.

My last Tweet";

// Suffix - some text you want display after your latest tweet. (Same rules as the prefix.)
$suffix = "";

$feed = "http://search.twitter.com/search.atom?q=from:" . $username . "&rpp=1";

function parse_feed($feed) {
$stepOne = explode("", $feed);
$stepTwo = explode("
", $stepOne[1]);
$tweet = $stepTwo[0];
$tweet = str_replace("<", "<", $tweet); $tweet = str_replace(">", ">", $tweet);
return $tweet;
}

$twitterFeed = file_get_contents($feed);
echo stripslashes($prefix) . parse_feed($twitterFeed) . stripslashes($suffix);
?>



Source : How to: Display your latest twitter entry on your WP blog

---- Read More ----

Wednesday, May 20, 2009

How to reduce cough? #2

If you have tried "How to reduce cough? #1" but unsuccessful to reduce your cough, might be you can try another method.

You mix a table spoon ricewith a small spoon of sugar and eat it every morning and night before you sleep.








---- Read More ----

How to remove jackfruit rubber from your hands?

If you love eat jackfruit but afraid to peel jackfruit's skin because of it's rubber, you don't have to worry anymore.

Jackfruit's rubber will come out when you peel off it's skin using chopper or other things.

You can remove the rubber that stick to your fingers by applying some cooking oil after you have finished peeling the jackfruit's skin. The rubber will automatically off.



But if you buy a wrapped up jackfruit, you don't have to worry about that rubber. You can just eat it happily.

:minimo_01:

---- Read More ----

Tuesday, May 19, 2009

How to chat with others? Just Tweet.

You already know that you can use Windows Live Messenger, Yahoo! Messenger, Meebo, Skype and else when you want to chat with others. But do you know the most popular application now?

Please forget about sending SMS in your mobile when you want to chat such as Windows Live Messenger for DiGi subsriber because you have much better option.

It definitely is Twitter. You can find artists, photographer, geek, new friends, old friends. Just follow them. Don't feel sad if they don't follow you back. Give them some time and unfollow them when you think it's quite long period you are following them.


TwitterFox is a simple to use Firefox add-ons.

This is the best way to unfollow in Twitter. You can found out who doesn't follow you http://friendorfollow.com/.

And you asked what about mobile phone? How to connect and update your Twitter? You can explore it here http://www.simplehelp.net/2008/04/16/20-ways-to-use-twitter-on-your-cell-phone-or-mobile-internet-device/


---- Read More ----

How to reduce your cough? #1

When you had a cough, I think definitely your solution just simple. Cough medicine. Do you that you can reduce your cough in natural way?

How to reduce your cough?

It is very easy step and it's simple as you eat the peas, as Malay proverb said.

You only need a small spoon of soy-bean sauce and musky lime. Mix it together and just make sure you eat it ASAP.
:minimo_20:


Image : http://shekh-faisal.blogspot.com


Image : http://hanieliza.blogspot.com

Have fun trying this.

---- Read More ----

Monday, May 18, 2009

How to create your own caller ringtone?

Yes, it is true. You can make your own caller ringtone. Most important factor is it's suitable for those Maxis, Celcom, Digi subscriber.

Forgot the scene when you was tired or frustrated searching for your favorite song to be the caller ringtone and you found out it was not available.

Believe it or not, you need to try it first.

Please log on to http://www.penguin.com.my for further information.

And do give me some comments or feedback after you have try it!
:pandacloud_08:

---- Read More ----

Sunday, May 17, 2009

How to Get Rid of Ants?

If you have ants in your house, there are a few ways to get rid of them:

* Make an ant trap by dissolving 2–3 teaspoons of sugar in one cup of water. Moisten paper towels or sponges in the sugar water and set out overnight. The next morning, sweep the trap and the ants into a dustpan.

* You can also spray windowsills, door thresholds, counters, cabinets and other surfaces with a mixture of equal parts white vinegar and water.

* Sprinkle cayenne pepper and cinnamon on surfaces where ants gather.

* Spread grits, flour or ashes over ant trails and ants will soon find somewhere else to walk.

* Outside the house, pour lemon juice on thresholds, sills, cracks, and holes where ants can enter. Scatter lemon rinds around door entrances. You can use borax, powdered chalk, salt, talcum power, cream of tartar, powdered sulfur, or oil of clove in the same way.

* Apply petroleum jelly around the rims of pets' food bowls to keep ants at bay.

Taken from : www.howstuffworks.com

---- Read More ----
 

Copyright 2008 All Rights Reserved Revolution Two Lifestyle theme by Brian Gardner Convert by Bloganol dot com Edit by Arieyblog

top