This week I needed to set a fixed IP for a specific DNS name (I wished to bypass DNS resolution) in my WM5.0 PDA. While in Windows XP/2000 there is a /etc/hosts file, there isn’t any equivalent file in WM5.0 .
There is actually a way to achieve the same fixed DNS resolution, creating an entry into the registry:
For example, to set 192.168.0.5 for host “host01″, you can create:
UPDATE 09/09/2006: Pocket Hosts is a tool written by Marc Zimmerman that allows you to edit the static host name to IP address mappings on a Pocket PC.
Thanks to WordPress Mobile Edition, a plugin for WP by Alex King, I now have a Mobile Edition, i.e. a version compatible with low screen capability devices like PDAs or smartphone!
As shown, there are supposely several type that could be specified: screen (Desktop browser with normal screen capabilities), print (for use when printing the page), handheld (for mobile devices with reduced screen capabilities)…
I was trying to apply this yesterday to a blog, so that when loading it from my PDA it wouldn’t load the full CSS, with backgrounds and so… with no success!
And I found that PocketIE loads both screen and handheld CSS, instead of just loading the handheld one! (yes, it sucks!)
My blog is set up like this:
basedir/wp201: all files for WP2.0.1 (now obsolete)
basedir/wp203: all files for WP2.0.3
basedir/blog: symlink to wp203 directory
Apache serves files from directory blog, so upgrade and rollback can easily be made by changing the “blog” symlink from one version to another — the database part isn’t that easy though.
I have downloaded the last tarball, and untared it.
Then I’ve obtained the patch (diff -urN) between the original files from the actual version that I run (wp203) and last one (wp204).
I’ve copyied (cp -prl) basedir/wp203 to basedir/wp204. The last step is
applying the patch between pristine wp203 and wp204 to my own wp204 folder, and that’s it: I get a upgraded Wordpress 2.0.4 installation, maintaining all the changes I have made to some files.
Este fin de semana he realizado mi “traslado” de ordenadores a otra habitacion donde he montado un pequeño despacho. De esta forma he liberado la habitacion para la niña y he montado el despacho en la habitacion de invitados.
Recent Comments