Properties in Malaysia is up in the sky

KL

Went to check out a few new properties recently. Some became my dream house, costing up to RM1million, for a terraced house. Funny how the property price raise soooo freaking fast just this few years.

So far, I haven’t really flexing my muscle on house/apartment yet. Besise small cabinet stuff and a rheem heat pump that I installed a month back. I’m looking for one… Still haven’t see one that is actually “click”.

Back then, there was an area where I like the most (still like it), the price was RM350,000, now they are double the price! Yet, I haven’t felt that I’m 5.8% richer according to whatever report the newspaper tried to tell me. Even if it is true, I don’t think that enable me to get on :(

Approach to one-page web in WordPress

One page web design has a little myth: Not dynamic enough. However, it is still possible to be dynamic using WordPress. Recently I found 2 ways to work-around it. 1: Widgetize the content area; 2: Page extract.

1: Widgetize the content are

I think there is no need much explanation on this one. Just create widget for specific area:

Widget

However, widget area doesn’t give you much “Dynamic” impact. The lack of visual editor, the need to use HTML tags and of course uploading an image. It will be a lot of job to start off, though updating is easier. That’s why I discovered another approach, the page extract.

2: Page extract

Time to revisit WP_Query again. Notice that is has pagename=my-page-name ready when query WordPress loop.

<?php
$the_query = new WP_Query('pagename=contact');

while ( $the_query->have_posts() ) : $the_query->the_post();
	echo the_content();
endwhile;

wp_reset_postdata();
?>

There I can query some pages I need on that one page. This can help editing the layout content, I gets all the visual editing, media uploading and etc. Just as per post/page editing. It helps a lot when creating for a client.

On part of the custom menu, it is like normal. I’m using <a name=""></a> approach, so instead of normal drag-and-drop, I go with custom link:
Custom menu

Moving from WordPress to Blogger

Recently I was thinking about cutting my VPS resources. So I thought about moving some leisure blogs to blogger, the free blogging platform that does all maintenance for me :D So here are some steps to work around the exporting and importing tasks.

Step 1

Prepare everything:

Step 2

Exporting WordPress posts. Due to the limited size WordPress2Blogger converter can do (1MB), if you are moving a WordPress blogs with few years of entries, or maybe more than 230 posts, you need to export them in batches, to make sure the file size is less than 1MB.
WordPress exporting

Step 3

Converting WordPress XML to Blogger XML. Just go to WordPress2Blogger.appspot.com and convert the file(s).
WordPress2Blogger

Step 4

Importing to Blogger.com.
Blogger import
Blogger importing

That’s all!

Note: There might have some trouble with the converter, make sure the XML you exported from WordPress doesn’t have some weird looking type in there. Well, you can always check it when the converter comes out with error message, check the XML if you see error message.

Back home and start the year end tasks

Flight

Just came back from Medan. It’s been almost 2 years I didn’t visit Medan, the so-called second home for me :) Anyway, there isn’t much changes, beside those billboards. The traffic still that jam, the dust still that much and the people are still that slow.

Medan

However, the economy seems running so well that everything seems to made some price hiking. That remind me to work harder for myself too, seeing how Malaysia too have been making some price hiking activities.

Anyway, it was a good rest, beside checking and replying email, most of the time I was outside the house and my computer, good sign. Now that I’m back to office, time to pick up all the emails and tasks :)