Lessons Learned
Moving to Sta. Maria, Bulacan
Monday, May 5th, 2008 | Lessons Learned | 1 Comment
Last January, I bought a property in Nepo Homes Subdivision Sta. Maria, Bulacan. It’s just a small 72 square-meters, 2 Bedroom Bungalow house quite enough for me, my wife and baby Roselynn.
Sta. Maria lies on the northern outskirts of Metro Manila and is accessible through the North Luzon Expressway. It is a sub-urban town far from traffic and hustle of the Metro, but still within a mere 15–minute speed dash from Bocaue Exit to Edsa-Balintawak.
Since buying the property to jump-start year, it took a lot of my online time that I haven’t spent as much time as I want to in developing my online business.
I personally processed the paperworks like transferring the land title, applying for service utilities like electricity, water and internet. I refrain from seeking the help of any real property agent since my relatives have experienced some not so good transactions with these kind of services. Moreover I’d like to learn and have a first-hand experience of transferring the land title.
After 4 months of work and headaches, the reward is finally here. I will be moving my family to a new home this week.
Wordpress Import Fix for Post Excerpts
Tuesday, December 18th, 2007 | Lessons Learned | No Comments
I migrated the contents of a wordpress blog into a new home by using the built in import/export of Wordpress 2.3.1 however, I found out that the exported xml data does not include “<excerpt:encoded>”. Moreover even if you encode the excerpt manually on the xml file, wordpress would not import the data enclosed.
I found this fix by Helli. It would require manual editing of wp-admin files, specifically wp-admin/export.php and wp-admin/import/wordpress.php.
In wp-admin\export.php
<description></description><excerpt:encoded><![CDATA[<?php echo $post->post_excerpt ?>]]></excerpt:encoded>
<content:encoded><![CDATA[<?php echo $post->post_content ?>]]></content:encoded>
in wp-admin\import\wordpress.php
$post_author = $this->get_tag( $post, 'dc:creator' );$post_excerpt = $this->get_tag( $post, ‘excerpt:encoded’ );
$post_excerpt = str_replace(array (’<![CDATA[', ']]>’), ”, $post_excerpt);
$post_excerpt = preg_replace(’|<(/?[A-Z]+)|e’, “‘<’ . strtolower(’$1′)”, $post_excerpt);
$post_excerpt = str_replace(’<br>’, ‘<br />’, $post_excerpt);
$post_excerpt = str_replace(’<hr>’, ‘<hr />’, $post_excerpt);$post_content = $this->get_tag( $post, ‘content:encoded’ );
I made the necessary changes in my Wordpress 2.3.1 installation and it worked great.
Earn Money
Recent Posts
- Asia Century? Well they didn’t pay me.
- Looking for Eraserheads Concert Tickets?
- Testing Asiacentury Philippines on my websites
- Late Google Adsense Payments via Western Union for July
- Noli De Castro and BJ Penn at UFC 86
- Why Smartbro is the largest Broadband Network in the Philippines
- Moving to Sta. Maria, Bulacan