Tutorial: Exporting your wordpress.com posts and images to a wordpress.org install

While trying to move our wordpress.com blog over to this wordpress.org install, I find that the wordpress.com’s export tool does not export the images. I imported the XML export that I got after a wordpress.com export, and I see the images at the new blog, but on close examination, the image links in the posts are still pointing to the wordpress.com site. Should anything happen with the wordpress.com account, you’ll lose all your images and end up with broken links.

Here’s the solution I found on how to do a proper wordpress.com posts and images export, and importing them to a wordpress.org install.

 

Pre-requisites:

  • Webhosting purchased
  • WordPress.org install done

 

Step 1

Login to your wordpress.com account and export the wordpress.com posts.

Under Tools, Export, choose “All content” and click “Download Export File”.

 

When prompted, save the file.

 

Step 2

This step requires a free Firefox addon: DownThemAll!

https://addons.mozilla.org/en-US/firefox/addon/downthemall/

Once installed, look for the XML file saved in Step 1 above,  make a copy and rename the extension to .txt. Open the now renamed text file in Firefox (just drag and drop it to Firefox).

Right click and choose “DownThemAll!…”

To ensure that the files are saved in the right directory structure, change the Renaming Mask to *subdirs*\*name*.*ext*

Ensure only “Images” are checked in Filters.

Click Start. This will download all the images in their corresponding folders in the directory mentioned in “Save Files in”.

 

Step 3

In this step, you’ll need to open the original downloaded, XML, and rename the URL accordingly. Note that you’ll have to add the wp-content/uploads in the destination. Example, using Textpad:

Find what:  src=”http://pinkberryshortcake.files.wordpress.com

Replace with: src=”http://byfallenangel.com/wp-content/uploads

Hit Replace All.

 

Step 4

Now you can ftp the downloaded images files to wpcontent/uploads, and import the updated XML file to the wordpress.org install. Now you’ll have a copy of your images, and the links in your old posts are pointing to the right place!

 

Hope this helps!

Part 2 (Don’t Get Rip Off From Expensive Florist)

img_4627

The big day is over and this is a update on the flowers arrangements. Rm 200 for the main table. The theme for the night is lavender and soft pastel colors.

dsc_0905

dsc_0906

A mixture of powder blue, yellow, pink, purple, white flowers & green ivy leaves.

lcw_1206

My lovely cousins at work, de-petal-ing the roses.

dsc_0880

Other than the main table, all flowers arrangements were done by my cousin. For the guests table, ivy leaves and pink, lavender rose petals were scattered over the tables.

dsc_0907

Tea candles were put in between the arrangements.

lcw_1190_2

Hand corsage, 3 big ivory rose for me and my mom. Cousin Kelly started also into beading. Check her stuff out at beading addict.

dsc_1035

The corsage is huge on my little niece.

dsc_0893

Pillars for the canopy were tied with ivory roses.

lcw_1613

My favourite white lilies.

img_4626-20

Cousin Su Yin design my lovely wedding cake. Not only that she was my emcee for the night.

dsc_0299

You can find her creations at Delectable.

All in all, i only spend Rm200 for my flowers that i ordered. Special thanks to my lovely cousins for helping out. It was a busy night of buzzing around and organizing. It was all a success and nothing beats working with the family :D

Till next time…

Don’t Get Rip Off From Expensive Florist (part 1)

Search for a florist…

I was busy preparing for my wedding for the past few months. Of course what’s a wedding without nice fresh flowers. I could not believe it when i inquire a few florist and the prices they are throwing out these days. I’ve research it online from Malaysian Brides forum for Ipoh’s florist. There i found this popular florist in Ipoh. They are very modern and designs are quite western and customize to your need. What makes them a little different is that they in-corporate decor together with your flowers. So it’s not just a bunch of flowers. I guess because of their style they charge higher than the usual florist. I made a trip back to Ipoh to visit the place but sadly when i reach it was closed (they had a wedding that weekend) So i took down the number and plan to call them the following week. On the following week, i gave them a call and spoke to a nice girl over the phone. She ask about my requirements and etc. After speaking to her for awhile she then realize that i was someone she knows. She was my friend’s friend. We both laugh and chatted a bit, and i was thinking oh this is a relieve at least there is someone i know to ensure my requirements are met. Over the phone we went through the stuff that i need what ideas i have. All i wanted was a decoration for the main table. She had set a date to finalize things again on my next trip back.

How much does it cost?

2 Weeks later, i was back in Ipoh and excited to visit the florist to finalize the flowers arrangements. Finally i was there, so i ask my friend so around how much do you it will cost? She told me if you want full set up it will be around Rm 1k. I was shock, all i needed is the main table? She was like ya… that’s our charges but we can minus out some stuff if you don’t want the decor. So i told her ok minus out the decor, will just take the flowers. She said ok that’s Rm 800. It is still very expensive. We went through the photos and how i want it to set up, but it’s just ridiculous . Before i went to this florist, weeks ago my friend took me to another florist, Sunny Bloom and they quoted me for the wedding arch and main table set up for Rm500. C’mon this is just the main table. How can this make sense? If you are wondering ok maybe the materials they give is different. Girls if you have some sense do your research first and not jump into a florist on the first try. The decorations is the same, Sunny Bloom can also do what they were doing, on top of that they don’t even restrict what flowers you can choose. Ex: if you want lilies it’s more expensive, extra charge for certain flowers and etc. Sunny Bloom allows you to pick and choose what flowers and how you want it to arrange (of course imported flowers always  have extra charge, simply cause they are imported). I was quite satisfied with their pictures and it’s more or less the same as the other florist.

How much did i pay?

Summing it up, all i needed was flowers decoration for the main table. Started from Rm 1k then got a friendly discount to Rm 800 and i seal the deal with Rm200 :) Got exactly what i wanted. If i was to settle for the 1st florist, it felt like i was chop off with blood dripping all the way from the florist back to my house hahaha! you know what i’m trying to say. Sad to say how much popular people can charge while the not so popular charges a more reasonable price. But from Rm 1k to Rm200 for the same thing and on top of that they were helpful as i requested some ivy leaves for decoration and they throw it in for free.  Hey.. i’m not complaining.

What do we learn from this?

  • Do your research.
  • Don’t make a impulse decision at the heat of the moment.
  • Know what you want, be firm.
  • Set a budget.
  • Think it over, do you really need this? or something you get for go.
Don’t just believe what people say or recommend, see it for yourself. Different people different expectations, styles, taste and etc. Ensure it’s what you are looking for. Don’t adjust to what the sales person is persuading you into a beautiful picture. It’s just all sales talk. Of course they will deliver what they promised, but does it really worth that price?
2253897247_89ff4a0da6
Some samples of Sunny Bloom table decoration.
2254694680_c2bc30034f
Bird cage & flowers ( garden wedding)
Will post up my wedding decor when it’s done.

Till next time…

Tips: How to find the nearest Starbucks using Google Maps

Yo!

I’m currently in Singapore and was looking for the nearest Starbucks. Most of you may not realize there’s an easy way to find the nearest Starbucks or any other kinds of locations near you, so I’m just going to share it here.

First, search for your origin destination. In my case, I searched for the hotel I stayed in:

Second, I click on the hotel location, and I click “Get Directions”.

Then I click “From Here”, and I typed Starbucks in the field and press Go.

Tadah! All the Starbucks nearby. As you noticed, (3) is the nearest one. At the left panel, I clicked on the 3rd Starbucks.

And I get the directions to the Starbucks. If I wanted to walk instead of drive, I can also click on “Walking” to find out the walking directions.

Hope this helps!

No more getting lost in Malaysia with Google Maps Get Directions!

When I was working in the States, I never had the fear of getting lost, simply because of Google Maps. I can get directions to anywhere, even remote towns using Google Maps. And whenever I’m lost, and weren’t prepared, I simply have to stop by a wireless hotspot, turn on the laptop, and find out where I am on Google Maps.

Back in Malaysia, I was a little disappointed that Google didn’t extend this service to this country. However, only today, I found out that it’s finally up and running here!

No more getting lost!

Directions:
MPAJ (Pandan Indah) to Sunway Pyramid Shopping Mall.
MPAJ (Pandan Indah) to Dataran Pahlawan Melaka Megamall.

How to run a Con

One good way in learning how not to get conned, is to understand the dynamics of a con.

I ran into this “How to run a con” article, and although not very detailed itself, if you refer to its other pages that explains the “THOMAS” theory, it sums it up pretty nicely.

Enjoy!

How to avoid scams and hoaxes

It’s amazing how some people still get cheated by scams and hoaxes, even though the Internet have been around for more than a decade. News like this are simply unbelievable, and for her to lose $400k over such a long period of time with ample time for research and warning from others, can be classified as downright stupid by most people.

It’s so easy to find out if something is a scam or a hoax. Simply use Google and append “hoax” or “scam” in your search query, and voila! massive research material for you to decide if an opportunity is a hoax or not. It’s ridiculously easy that I wonder why people don’t do that and still continue to forward emails that had been documented as hoaxes all these while, emails such as the ATM secret pins etc.

How To Choose A Web Hosting Package

A few days ago, a friend asked for my help in choosing a web hosting package. And just yesterday, I saw a blog asking for the same advice, prompting me to write this article.

In this article, I will share with you the criteria and the tools that I use for choosing a web hosting package.

Criteria

Now, from what I observed, most people make the mistake of using the storage of the web hosting package (i.e. 2GB storage, or 20GB storage, etc) and the bandwidth (20 GB per month, or unlimited, etc) as a primary, or the most important criteria in choosing a web hosting package. I, on the other hand, consider the storage and bandwidth as the least important criteria.

Why?

The amount of data you can store and the bandwidth is nothing compared to the performance (in terms of speed) and support service of the web hosting company that you sign up for. Even if you have unlimited storage and unlimited bandwidth, if the site is down most of the time, and the support is unresponsive, you will understand how frustrating it is to have committed a certain (if not large) amount of money on an unreliable web host.

So how do you find a reliable web host?

Tools

There are a few tools or methodologies that I use in order to determine the odds of a web host being reliable is high or not. The first, is the number of domains or subscribers the web host has. You can use the following tool:

http://www.webhosting.info/webhosts/

What the tool does is, it finds out the total domain that’s hosted by a particular web host. For example, DreamHost has about 700k domains. Why does this matter? Compare 2 hosts, one having 700 domains, and the other having 700k domains. Which one do you think has better resources to provide reliable support for you? If the webhost earns $2 (just an estimate) per month per domain, the one with 700 domains only earns $1400 per month. Do you think the webhost is sufficiently financed to provide 24/7 support? Or maintain a 99.99% uptime? Of course, this is just a guesswork, since the company with large funds may still provide a bad service, but if you look at the odds, which one will you bet on?

Of course, you don’t have to choose the web host with the most number of domains since its hosting package may not necessarily be attractive in terms of value-for-money. IMHO, as long as a web host has a sufficiently large number of domains, that should be enough. I’ll let you decide the number yourself, since it’s subjective.

Next is on the speed issue. How do you know if your webhost is fast enough? And especially important for those that serves visitors from all over the world, how sure are you that your web host can maintain its speed performance over different geographical regions? If you’re considering a local web host, and its sample sites loads fast for you, how sure are you it’ll load as fast in New York, or London, or even Japan? How can you find out?

This brings us to the next tool:

http://www.dotcom-monitor.com/task_hot_test.asp?id=1

This tool is a tool for sampling website performance from different geographical regions, from the US, Europe, Australia, etc. Bear in mind that website performance is also dependent on whether a site has been optimized for performance, and judge accordingly. As an example, on average, byfallenangel.com loads in about 1.5s over different geographical domains. Another site of mine takes an average of 3.5s to load. And another, 0.5s.

So, please also take this issue into consideration and don’t be misled by the fast performance of a text-only site. One equally important point is to ensure that the site loading time does not vary too far from different geographical regions.

Err, now that you have the tool, how do you find out if a web host performs well? Test its domain? Yes, if you don’t have much time to spare, the easiest way is to perform this test on the web host itself, although I wouldn’t recommend that you stop here. This is because the web host’s main domain could have been optimized to serve a large amount of traffic, and it may not reflect the true performance of your possibly assigned account.

What I will usually do is search for other sites that is hosted with the web host, and run the test on those sites instead. This will usually give a more accurate picture of the performance of your future site, should you decide to host there.

Good luck!

“Tit for tat”: A strategy in dealing with difficult friends

During the course of our lives, it is inevitable that we will meet people. Most will end up as acquaintances, some will stay as friends. Out of these friends, some may be difficult to handle, others may be easy. The easy ones are not a problem, they are understanding and you can talk to them about any issues, i.e. if they do things that annoy you, you can bring it up and they would be understanding enough to stop annoying you.

However, almost always you will encounter difficult friends, friends that you want to keep but are difficult to handle. Difficult in the sense that you can’t talk sense into them, and although you try to be nice and understanding to them, the favour is not returned and they annoy you for no reason (or worse, for a reason!) and simply would not stop being annoying.

In this situation, most people do not know what to do. One, you could just stop befriending them. Or two, you could try and tolerate their behaviour. Whatever it is, the above choices may not be the optimal choice; you may not want to lose that friend, and at the same time you may not want to tolerate that sort of (mis)behaviour forever.

If you face such a problem, you may want to consider using “Tit for tat”.

What is “Tit for tat”, you may ask. “Tit for tat” is a highly effective strategy in iterated prisoner’s dilemma. Before you go “Wha-?”, let me explain without getting too much into the technical details.

Prisoner’s dilemma is a problem in game theory. Now, game theory is a branch of applied mathematics which mainly tries to mathematically capture behaviour in strategic situations.  According to Wikipedia:

While initially developed to analyze competitions in which one individual does better at another’s expense (zero sum games), it has been expanded to treat a wide class of interactions, which are classified according to several criteria. Today, “game theory is a sort of umbrella or ‘unified field’ theory for the rational side of social science, where ‘social’ is interpreted broadly, to include human as well as non-human players (computers, animals, plants)” (Aumann 1987).

To put it simply, game theory can be used to analyze complex human behaviour, especially interaction between individuals in different scenarios. Prisoner’s dilemma is one such scenario, which simulates interaction between two mutually exclusive individuals. Mutually exclusive here means that the two individuals make decisions independently of each other, which also mean that they don’t talk to each other. You can see how this relate to your relationship with your “difficult friend”, you both make decisions that affect each other without consulting each other. In other words, you can’t talk or communicate to the “difficult friend”.

Now, iterated prisoner’s dilemma simply means that the interaction between the two individuals are a prolonged process, and not a one-time event, which is similar to your interaction with your “difficult friend”, as your friendship is over a period of time, which may include many iteration of a prisoner’s dilemma event.

Back to “Tit for tat”, it is a highly effective strategy in iterated prisoner’s dilemma. When used over a large number of competitions, it has the highest odds of scoring the highest marks compared to other strategies. It is a simple strategy devised by Anatol Rapoport, containing only 4 lines of BASIC. The strategy is simply to cooperate with the opponent (in our case, the “difficult friend”) in the first round, and after that, do what the opponent does the previous round. If the opponent cooperates (be nice to you), you cooperate in the next round, if the opponent defects (treats u badly), you defect the next round.

Translated into our interaction with the “difficult friend”, according to the strategy, you should always be nice FIRST. After that, if your “difficult friend” are nice, you can be nice back. But if your “difficult friend” is mean, you be mean back. Simple as that.

The strategy may sound a little too simplistic at first, but you shouldn’t take it too literally. Being mean here does not necessarily mean you have to literally be mean to your “difficult friend” and box him in the face. What I interpret here is, we should always be nice to a friend in the beginning to show goodwill, and after that, if they are nice, we can be nice in return. However, if they start to be mean and do not return the goodwill, then you should cease to be nice. You should not be a doormat, and you need to send the message across that you can’t be bullied. As to how to do that, I’ll leave it to you to decide, but I’m sure you get the point.

Note: I do not recommend using this strategy in dealing with your spouse or loved ones. This is simply because it can easily turn into revenge attacks and snowballing resentment, which may cause irreversible damage and implode a relationship so much that it will finally break. This strategy should only be used in scenarios that the two individuals are mutually exclusive, i.e. between you and a difficult friend. For spouses or loved ones, they cannot be considered as mutually exclusive. If you consider your spouse or loved one as mutually exclusive from you, you two may have a bigger problem than our topic at hand, and you may want to consider counselling instead..

Good luck!

How dancing helped me overcome my shyness

I used to be a shy, correction, I used to be, and still am, a shy person. But back in my teenage years, I was very very shy; to the extent that I couldn’t give a presentation without feeling those tiny muscles above my cheeks twitch, and I would shy away from approaching people and socialize.

It’s difficult, really, for us introverts in this world. Extroverts have it so easy for them, their ability to swash away in public without worry or internal resistance, being able to just speak in public at a moment’s notice, mingle with people whenever they like.

Being shy is like a barrier to advancement and success, the ability to speak and hold yourself well in public is extremely valuable if you want a smooth sailing career and journey to success. Knowing that, I realized that being shy is a barrier to myself, some sort of a glass ceiling that holds me down from achieving more, both in my career and in my life. And it dawned upon me early in my career life, about a few months after I started my first job, that my shyness is holding me back.

I knew something had to be done.

I was thinking of joining Toastmasters, in fact, joining anything at all that can help, when I flipped the newspaper one day and saw an article about salsa dancing. The class was held nearby, about 100m from where I worked, so I decided to just try it out and see how it’s like. You know, maaaaaybe, just maybe, it could help.

What I didn’t realize was my decision that day changed my life forever.

It has been a long journey, learning salsa dancing with no dancing background whatsoever. But looking back, those initial moments of courage when I forced myself (more like being forced by the instructor) to rid itself of fear and shyness and step onto the dance floor, ignoring all the peering eyes, has unknowingly cracked the glass ceiling, the barrier that held me back, bit by bit. Today, there is absolutely no problems for me to step onto the dance floor and ridicule myself, I mean, dance in public.

Whaddaya know, no more shyness!

And this has somehow helped me in countless other ways. It’s easier for me to speak out in meetings, hold a meeting, do a presentation, and numerous other things that once were such monumental tasks for me.

Yup, if you’re shy, and you want to do something about it, take up a dance class. It could be latin, hip hop, salsa, any dance class. You’ll not just learn something new, but you’ll also learn how to be more agile, get some much needed exercise weekly, learn to be less shy, and probably one day be able to break through the shyness barrier of yours that’s holding you back.

Good luck!