Addition to osWorld & a change to one of my info sites
I spent most of yesterday changing one of my oldest sites from an awful mess of HTML pages over to a Wordpress site. The site only has 50 or so pages, but I had to make sure that the URLs stayed exactly the same from the old site to the new site.
To make sure of this, I had to use the "post slug" feature as well as the "Top Level Categories" plugin. I also used "WP Smart" to monetise the site. This site produces about $3 per day on Adsense (as a HTML site), I am hoping that the features that Wordpress brings (rss feed, commenting, pinging and so on) will help to increase the bottom line. We will see.
As of right now, I have the whole site working as it should do (on Wordpress) on my localhost server. It'll take me no more than a few moments to get it uploaded to it's own webspace. Then I'll need to make a few config changes to ensure the site is working as it should do on live webspace.
I'm going to concentrate my efforts during September on this one site, and see just how well I can increase the bottom line. Will let you know the results.
On OsWorld
I installed the IG Syntax Highlighter from Amit Gupta. This plugin allows the ability to post "pretty code", like this example;
As I intend to bring some PHP into the osWorld blog, this should make things much easier for those readers who want to use the code I supply.

Comment by Gary — August 22, 2007 @ 2:21 pm
Well, that installation of Wordpress to the live domain went really easily. I also added Text Link Ads to the site, as it already existed onthe old HTML site, hence I had to make sure it worked onthe new WP site. Easy as pie, as TLA now have a Wordpress Plugin which works great.
Comment by SarahG — August 22, 2007 @ 5:12 pm
I took a look at the same plugin for colouring my PHP on my tech blog, but after a bit of testing I could easily break the output by simply inserting a blank link in between, plus I was after indentation too. I finally found a plugin called Syntax highlighter (http://erik.range-it.de/wordpress/plugins/syntaxhighlighter/) which, whilst uses a textarea to display the code which isn't great, does allow for a lot of customisation plus it indents and does line numbering.
I realise you've installed the other but if you become unhappy with it there's another option to try
Comment by Will — August 22, 2007 @ 6:03 pm
I tried a bunch of code displaying plugins and none met with my satisfaction
Comment by Gary — August 23, 2007 @ 11:06 am
Not having indenting is a major PITA. I might just try that one you found Sarah.
Comment by Gary — August 23, 2007 @ 11:38 am
The site I changed to wordpress made $3.61 yesterday.
Comment by Gary — August 24, 2007 @ 12:43 pm
Sarah, tried that plugin, and it's not as nice as the one I'm using (due the textarea). I'll stick with what I have for now at least. Thanks for the recommendation though.
On this other site that I changed from HTML to wordpress, I upped the Text Link Ads from 4 (as it had sold 4/4) to 8. I also made it use RSS adverts as well as post level adverts. Why the heck not? As of yesterday, it has already sold 1 extra link. From today, I'll be adding an extra article each day on this site until the end of September at least - I have loads of PLR article that I will rehab and put into my own words.
Comment by SarahG — August 25, 2007 @ 10:33 am
Yeah that's the downside, using a textarea which of course shouldn't have html code inside it. If I could work out a way to do it I'd find a plugin and hack it around but without extra span tags around anything you want to indent I just can't see a way
I'll keep thinking and let you know 
Comment by Gary — August 25, 2007 @ 11:52 am
It seems too much work to get it right. I thought about putting a bunch of & nbsp ; in the code to get it to look right, but even that is too much work (assume you had 50 or more lines of code to indent).
It'll do as is, I reckon.
Comment by Brian — August 29, 2007 @ 7:45 am
It shouldn't be too hard, just modify the plugin to replace spaces with a non breaking character:
$code = str_replace(" ", " ", $code);
On the other hand, I would highly recommend this: http://code.google.com/p/syntaxhighhlighter/
It handles indentations and looks very smooth. It does not link function names to php.net, though.
Out of curiosity, why don't you guys ever link to the sites that you discuss here?
Comment by SarahG — August 29, 2007 @ 10:59 am
That link doesn't work Brian. Brings up 404.
Comment by Brian — August 29, 2007 @ 11:13 am
Somehow an extra "h" jumped into the URL. Very strange since I copied and pasted it. Let's try again:
http://code.google.com/p/syntaxhighlighter/
The other thing I like about it is that it supports just about every popular language out there: C++,C#,CSS,Delphi,Java,Javascript,PHP,Python,Ruby,Sql,VB,XML/HTML
Comment by Gary — August 30, 2007 @ 4:28 pm
Brian, nice find - but too complicated to install for the limited use that I'll be using…cheers though!
I managed to "hack" at the syntax_highlight.php file by adding a couple of pieces into the replacing arrays…
$arrSearch = array("", " >", "", " >", "****"); $arrReplace = array("", ">", "", ">", " ");What this does is replace 4 stars with 4 spaces. Of course it means I have to use stars instead of spaces for indenting, but that's no big deal considering I won;t be posting much code on the blog.