Try to get used to Firefox…

I tried Firefox for several times before but, with no exception, ended up with turning back to IE again. I can see those cool features come with Firefox, and yeah, I like them too. But I find habits just rule you so powerfully sometimes. I use google toolbar a lot in IE and recently cannot live without the spelling check in its beta version, especially when I write in blog or web mails.

And yesterday, when I updated the Firefox installed on my laptop and played around with it by downloading some extensions from Mozilla, I began to realized maybe I should try Firefox seriously for one more time. :) I have found the googlebar for Firefox, the spellchecker and some other cool extensions from Mozilla. And now I am quite comfortable with it, especially some shortcuts to browse with tabs are really made for me! :D And I found Firefox is RSS friendly, this is cool though I seldom use this function.

Seems IE 7 is out soon, let’s see if there will be something really new and innovative in the new version. Having choices is good, anyway.

Playlist expanded

Just selected some old songs from my hard disk and ripped them to the playlist. Now there are totally 132 songs, mostly in Chinese. I am going to add more later as I have time. So keep tuned and enjoy.

Migration in progress

I am going to importing my old blog here in the coming days.

UPDATE: migration is done. I hope this will be my primary blog.

P.S., After some trying and comparison, I feel that Blogware is also very powerful and user friendly. But I cannot dig into it at the source level to tweak it. So I feel WP is more suitable for me because I like to play around everything to make it be what I like. :)
Another reason I quit myblogsite.com is they don’t allow Chinese-language content on the blog. They remove weblogs with Chinese without advance warning or notice. I feel uncomfortable about that though most of my content is in English.

First post on weblogs.us

This is my first post on weblogs.us. Thanks JD!

Radio.blog

This is cool. The stream is re-sampled MP3 and the quality is a little bit affected but for online listening, it’s a compromise and acceptable. The interface is quite self-explanatory and easy to use. Click “Radio Blog” from the top nav bar and select one title to enjoy the music right away!

You can have your own radio.blog too. Visit here.

It’s a baby girl!


We did the routine exam and sonogram today. When the sonographer pointed at the screen and told us “It’s a little girl!“, I was so excited though I still felt confused about the image displayed. :D Though the test is not 100% accurate, most likely I am going to be the father of my beautiful little angel. It’s so sweet, isn’t it?

Here’s the first “photo” of our baby seen by the world. She’s waving her little fist and saying “Hello World!” to us. ;)

What a beautiful day!

Import from blogware .xml file to WP

UPDATE: I tried it and it works just fine. But need to modify a little to make the GMT offset works.
Details here: http://mosquito.wordpress.org/view.php?id=878

When importing an rss2 feed I discovered all posts dats were set to GMT time and the offset seemed to be ignored. Found that the values were simply being switched. Made the following changed to lined 148-149 in import-rss.php

148: switch variables
DATE_ADD(‘$post_date’, INTERVAL ‘$add_hours:$add_minutes’ HOUR_MINUTE)
and
‘$post_date’

149: replace
$post_date
with
DATE_ADD(‘$post_date’, INTERVAL ‘$add_hours:$add_minutes’ HOUR_MINUTE)

Quoted from http://wordpress.org/support/topic.php?id=28115.

I just got it to work. There seems to be two problems:

1. The import-rss.php file is looking for a or type of tag.

2. The excerpts that Blogware exports seems to be problematic. The import-rss.php file *seems* to read in the title, date, etc that it wants and then assumes the rest is the actual entry. Not true in Blogware’s case – the excerpt comes before the body.

To solve problem 1:

In the import-rss.php file, find the line that says:

preg_match_all(‘|(.*?)|is’, $importdata, $posts);
and change it to:
preg_match_all(‘|(.*?)|is’, $importdata, $posts);

To solve problem 2:

Find the line that says:
preg_match(‘|(.*?)|is’, $post, $content);
and change to to read:
preg_match(‘|(.*?)|is’, $post, $content);

I also changed the line that said:

preg_match(‘| (.*?)|is’, $post, $date);
to
preg_match(‘| (.*?)|is’, $post, $date);

But I’m not sure that was required.

With respect to point number 1: This will only import your articles. If you have photos, reviews, whatever else, then you will have to manually change the to and then run it again. Then change it to and run it again..and so on until all your different post types are imported.

There is syntax to tell preg_match() to look for

WordPress powered!

Accidentally I found out that I ever applied for a free web hosting service at http://100webspace.com/. When I realized they provide PHP and MySQL database support, I was excited and couldn’t wait to try out WordPress, one of the best blogware available. The installation is as easy as a whistle and ten minutes later I set up my first WordPress powered blog. Unfortunately 100webspace puts banner ads on the top of pages they host, so I don’t think I will use it seriously.
If you have a web server with PHP and MySQL installed, why not give it a try?

UPDATE: I just found out http://www.clanshosting.com/ is a better web hosting provider. Hope their deals last long.

UPDATE: Finally I decided to use the FREE service kindly provided by weblogs.us thanks to JD‘s help.

Ten years old ID

My ID gqshen is ten years old today! Ten years ago, I created “gqshen” as my ID on a Sun Sparc 10 workstation shannon.en.polyu.edu.hk and I had my first UNIX account and email address. And since then on, I have been using this same ID everywhere, free email addresses, university ID, personal URI, etc. If you lost me one day, try to Google gqshen and most likely you will catch me at the first couple entries. :)

Spell the name

Spell the name using random pictures from flickr! Here’s an example.