
Happy New Year Everyone…
May god bless you and make your wishes come true.

Happy New Year Everyone…
May god bless you and make your wishes come true.
I tried to fetch the albums from RSS using PHP and I can fetch them easily. However Google have wrapped the album image inside the description element, therefore I can’t get the album image separately. I can get the album image and the few other details of the album, with a link to view the album.
The description element is wrapped around a HTML table, it has a row and two columns. So what I did to get the album image is to use little bit of CSS tricks. The HTML structure looks like this.
<div class=”tag”>
<table>
<tr>
<td><!–Album Image–></td>
<td><!–Album Information–></td>
</tr>
</table>
</div>
I wrapped the whole table in a DIV tag and gave it a class name of “tag”, so that I can easily control the elements inside the DIV tag. Then I used the following CSS code to get the end result.
.tag {
float: left;
}
.tag tr td:last-child {
display: none;
}
Because there are only two columns in the table, last-child will is targeted to the second column which holds the album information. So now I have hidden that column.
Checkout the Picasa Web Albums page

This is the fifth time I’m having a wonderful mean at The Coffee & Spice Company. On the first day I tried a curry puffs and I really loved it. It’s one of the best curry puffs I had in Malaysia.

This time I ordered for 1 chicken sandwich, 1 curry puff and 1 hot hazelnut coffee.
The previous time I had the biriyani set meal and it was great. I really enjoyed it.
In addition they provide WI-FI service, so you can go online. In fact I’m writing this blog post while sitting at The Coffee & Spice Company at 1Utama shopping centre, Malaysia.
I would recommend The Coffee & Spice Company for family and friend to enjoy evening tea or morning breakfast.
I created this short videoclip using iMotion HD on my iPad. This application is available for iPhone, iPod Touch and iPads. You can download the app for free, but to export videos you need to buy the app. I bought it for $1.99 and I should say it’s worth it. It is a simple application with big buttons. No complicated settings. And simplicity is the best.
The only complain I have is that the iPad’s camera is not HD, its really a low quality camera therefore the video quality is not so good. I bet on a iPhone 4 the video quality will be awesome.
Here is another video I created while I was at KLCC, Malaysia
This is not that tricky, but it took be sometime to figure this out after referring to few websites. One of the website is viget.com.
http://api.flickr.com/services/feeds/photos_public.gne?id=35266478@N06&lang=en-us&format=json&jsoncallback=?
var linked = "<your flickr rss url>";
$.getJSON(linked, function(data){
$.each(data.items, function(i, item){
$("<img/>").attr("src", item.media.m).appendTo('#content')
.wrap("<a href='"+ item.link +"' class='close' rel='"+item.media.m+"'>");
});
});