Frustrated with the low quality and infrequent updates of current App Review sites for Facebook, we at Launch 10 decided to start our own blog. We review hundreds of apps every month on our own time, so we decided to share our thoughts on the apps we check out. Our blog will generally be updated several times a day, so check back often. As OpenSocial gets adopted by all the the major social networks, we’ll be covering the new apps that get released on there as well.
Archive for November 21, 2007
Test of Windows Live Writer
Recently came across Windows Live Writer. It’s a WYSIWYG editor for creating/editing blog posts. So far, I’m very impressed with it’s ability to seamlessly integrate into many blog platforms including WordPress.
You can even take screen shots and directly insert them inline.
Forcing WordPress to use HTTP_HOST
At times, it is convenient to force WordPress to use the hostname of the current virtual host context. By default, new versions of wordpress rely on DB configured values for siteurl, home, and url. If for instance, you run multiple codebases for testing, it might be convenient to not have it force the values to the configured ones. To accomplish this, add the following code to a custom wp plugin or just add it to the wp-config.php at the very bottom.
function set_codebase()
{
return 'http://' . $_SERVER['HTTP_HOST'];
}
remove_action('template_redirect', 'redirect_canonical');
add_filter ( 'pre_option_siteurl', 'set_codebase' );
add_filter ( 'pre_option_home', 'set_codebase' );
add_filter ( 'pre_option_url', 'set_codebase' );
This code can further be wrapped in a conditional so it only gets executed under explicit circumstances.
