Album location: /photos/2005/2005-04-03_POTD
Year: 2005
The New Highway Code
Since most of the people I know drive cars, I thought that reminder of driver’s code was a good idea. Hilarios and with pictures.
RSS Quick Start Guide for Educators
RSS Quick Start Guide for Educators is a really nice article about RSS. It is aimed at people in education community, but it has plenty of information for others too. This is one of the best resources that I have seen on the subject – brief, to the point, with links to more information, and written in a clean and simple language. Strongly recommended! (NOTE: You’ll need a PDF reader to read the article).
Running multiple blogs with WordPress
WordPress is an excellent blogging tool. It has one shortcoming though. It does support multiple blogs setup within a single installation. Maybe there are some plugins to fix it, but I didn’t look for them yet. The situation is easy to control to a certain degree.
For one of my upcoming projects, I need to have two blogs – one in Russian language and another in English. They will have separate posts, separate comments, separate configurations, and even different design. But I want them to have the same users. Here is how I solved the problem:
- Extract
latest.tar.gzinto the/english/directory for the first blog. - Extract
latest.tar.gzinto the/russian/directory for the second blog. - Modify file
/english/wp-config.phpto have “wp_eng_” as table prefix. - Modify file
/russian/wp-config.phpto have “wp_rus_” as table prefix. - Install both instanses using the same database information (database name, username, password, and host).
- Modify file
/russian/wp-settings.phpto use a different table for user information. Change this line (approximately line number 43):$wpdb->users = $table_prefix . 'users';
to look like:
$wpdb->users = 'wp_eng_' . 'users';
- Optionally,
wp_rus_userstable can be dropped from the database.
That’s all folks.
Ten Reasons Why Blogging is Good For Your Career
With all the noise around people getting fired for blogging about their employers, I was glad to come across this post in Tim Bray’s blog. Tim Bray is a director of web technologies at Sun Microsystems.