Tigraine

Daniel Hoelbling-Inzko talks about programming

Major site rehaul

Posted by Daniel Hölbling on June 5, 2008

wordpress

After doing yesterday's post on CruiseControl.NET it bit me that I really really needed a new theme for my blog. Posting sourcecode on a constrained surface doesn't really work, and after seeing the XML posted yesterday I decided I need to do something about it.

So I went to themes.wordpress.net and found the theme you are currently looking at. It's nothing really special, but I like the clean look and it has no fixed width. The theme came with no widget support so I followed this handy guide and hacked them into the theme myself. It really isn't that hard after all, although I found this php-html mix quite disturbing.

After being done with the new design, I decided that source is horribly unreadable, and I'm not really happy with my previous solution of doing screenshots (not indexable, not copyable). So I found this really cool JavaScript library by Alex Gorbatchev called SyntaxHighlighter that highlights <pre> tags and adds some very nice formatting to your code.
Here's an example:

static class Program
  
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());
        }
    }


And while being at it I also updated to the most current version of WordPress. So if you encounter any oddities (especially with the feed), please tell me about it so I can fix it.

Oh and by the way, while being at it I installed iWPhone so that any user who visits http://tigraine.at with an iPhone or iPod touch will get a stripped down site without too much clutter that's been optimized for the iPhone resolution. Images get removed from the front-page but everything still looks cool. :)

Filed under site-news
comments powered by Disqus

Projects

dynamic css for .NET