Paul Tan's Automotive Industry News
   

Archive for Blogging

Wordpress 1.5.1.3 is Out!

The latest version of Wordpress is out. It’s recommended that everyone upgrade to the latest version because of a vulnerability on the xmlrpc.php file in the distribution. Or as a temporary fix, you can delete the xmlrpc.php file temporarily.

For upgrade instructions, go here.

Original announcement here.

Comments (7)

Faking Multiple Templates with Wordpress

Unlike other blog software like Movable Type, Wordpress uses a single template system which might be a blessing or a boon to people. Some people find it easy to use, and some people find it over-simplified. It makes it hard to have different looks for different sections of the site. For example, having the sidebar on the main page but not on sub-pages. Here’s how to covercome that.

if ($single) {
// individual post contents
} else if ($cat) {
// categorical listing contents
} else if ($m) {
// monthly listing contents
} else if ($year) {
// yearly listing contents
} else {
// main page contents
}

It involves the use of Wordpress built in boolean values, which are $single, $cat, $m and $year. The above code is the basic idea how to make use of the booleans to display different content in each type of page.

Tips are courtesy of ElasticDog. Visit the reference for some detailed examples on how to implement this.

Reference: ElasticDog

Comments

Google Adsense Report Statistics with Excel

To create your own pretty charts, simply follow these quick instructions:

1) Download your CSV file from Google (its above every report you can make) I recommend taking the “All Time” report because if gives a larger sample size.

2) Open Microsoft Excel or a similar spreadsheet application. These instructions are really for Excel, but most spreadsheet packages are similar.

3) Open the CSV file in Excel, youll have a table of figures.

4) Delete only the column heading marked “Date” (for some reason this messes charts up) (dont delete the entire column or you cant tell what youve done over time!)

5) Delete the rows at the bottom of your sheet that indicate Totals. (otherwise you have a spike at the end of your graph which makes everything else hard to interpret)

6) Highlight column A (should be date) and highlight column B (most likely to be Page impressions) and go to Insert > Chart. Go through the wizard (its really simple) looking at the lovely charts you can make. Settle on the first bog standard line graph. Next, Next, Next, until you hit the part that asks where you want to create it (in the current worksheet- no, or in a new worksheet- yes!) Click Finish and bang! Instant charts.

7) Now repeat for A+C, A+D, A+E and A+F.

8) Save to disk, then print. Analyse, marvel and plot for world domination.

[ From: Webmasterworld ]

Comments (3)

Search Strings for April 2005

As expected, once I posted about the Perodua Myvi, people flocked to the site looking for information on it’s specifications, photos and prices. My site was ranked 4th for the search string. I still remember the days when I was ranked first place for the search string “wira replacement model” :P

Hits Search String
1 3704 perodua myvi
2 832 myvi
3 787 perodua my vi
4 290 tiara replacement model
5 163 myvi perodua

Click here to read the rest of Search Strings for April 2005

Comments (1)

March’s Search Engine Keywords

Hmm…

1 183 15.22% tiara replacement model
2 96 7.99% rainbows
3 53 4.41% proton tiara new model
4 31 2.58% proton tiara replacement model
5 28 2.33% http://my.so-net.net.tw/sirwang/fur.wmv
6 27 2.25% proton tiara replacement
7 21 1.75% proton new model 2005
8 19 1.58% chevrolet spark malaysia
9 16 1.33% chevrolet spark
10 14 1.16% paul tan
11 13 1.08% fur.wmv
12 11 0.92% titties klcc < -- wtf?!?!
13 9 0.75% new tiara replacement model
14 8 0.67% proton tiara
15 8 0.67% tiara replacement
16 8 0.67% wedding
17 6 0.50% new tiara
18 6 0.50% nokia 3230
19 6 0.50% proton new tiara
20 6 0.50% the latest tiara malaysian car

Comments (1)

Page 4 of 4«1234