Surida and Me Started a New Life

July 23, 2007 § 7 Comments

I donno how I should say the news, but I know I have to express. On 13th July I got married and started a new life. On that day I passed all the most memorable hours of my life. I still wonder how the hours passed away so quickly. Wedding is a special and unique matter for anyone’s life, you cant just express it by writing or saying all day. A marriage not only brings two persons together, but also two families and moreover two hopes carried by two different hearts. It makes up everything ONE from TWO.

Our families arranged everything to make this occasion happen. 14th was the wedding reception day held at my home. Our friends and relatives attended both functions. We met a lot of friends & relatives those we did not meet a long time with. In our Bangladeshi Culture, there is a lot of things to do in a marriage. we both did a lot, but not all.

I am happy that I have a sweet wife now. She knows a lot of things around. Although she completed her B.Sc. (honors) & M.Sc in Botany but she has a very good design concept as well as other knowledges around. I am proud of her. We will have a very happy conjugal life, because we are ONE.

yesterday I returned to work fully. We are looking for a new suitable house where we will make our dreams come true. Please pray for our very happy conjugal life.

I will share more whenever I will get time.

Regards.

Rupom

Some Usage Examples of My XmlToArray Class

July 4, 2007 § 8 Comments

I am very happy that my XmlToArray Class at PHPClasses.Org got a huge popularity. This class parses XML and forms array from the hierarchical XML format. You can download it from here:

http://www.phpclasses.org/browse/package/2938.html

Recently few users requested me to provide a real-life example usage of my class. In this regard, I want to show two examples here:

BBC News Feed : http://www.rupom.com/demos/bbc/

Cricinfo Latest : http://www.rupom.com/demos/cricinfo/

Screenshot of XmlToArray Usage Example
I want to share my usage.php that I used for BBC News Feed. Here it is:

————————-

require(“XmlToArray.class.php”);
// Retrieving the RSS first. I used file_get_contents(), you can retrieve by any other way
$xml_data = file_get_contents(“http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml”);

//Creating Instance of the Class
$xmlObj = new XmlToArray($xml_data);

//Creating Array
$arrayData = $xmlObj->createArray();

$rssData = array();
//getting the feed items
$rssData = $arrayData[‘rss’][‘channel’][0][‘item’];

// data is available; loop through the data

foreach($rssData as $i=>$v)
{

$title = $v[‘title’];
$link = $v[‘link’];
$category = $v[‘category’];
$pubDate = $v[‘pubDate’];
$desc = $v[‘description’];

/* print data now
….
…..
…..
*/
}

————————-

Isn’t this the simplest script? Yes, I tried to make it as simple as possible. Please feel free to let me know more queries.

Best regards.

Rupom

phpBB Topic Map

July 1, 2007 § 1 Comment

Few months back, I worked on “phpBB topic map” for one of my good friends. It’s a new kind of site map (in this case I called “topic map”). I just want to show you the new kind mapping stuff. You can see the working version here:

http://forums.dlsoftware.net/sitemap/

phpBB Topic Map

If you mouse over any link, you will see OVERLIB functios here. The forum->topic hierarchy has been derived in conventional way (as per phpBB’s database structure). There is nothing special here except the new idea of mapping phpBB topics with a flavor of OVERLIB.

Please feel free to contact me for any helps.

Best regards.
$Rupom

Where Am I?

You are currently viewing the archives for July, 2007 at Rupom Here.