CategoryDevelopment

View XML in Google Chrome

V

Sometimes, I need to be able to view an XML document in a browser. While IE supports this natively, you’ll need an extension for that in Chrome. The one I use is XML Tree by Alan Stroop. After installing it, it simply “just works” Viewing any server side XML page displays nice and hierarchically, similar to IE / Firefox However, to enable opening of a local XML file, you will need to explicitly...

Joe Blogs Wrapper V2 – Help required

J

I’m on the verge of being able to release a second, much improved version of the Joe Blogs WordPress & MetaWeblog API Wrapper. Some very brief details below, and a cry for help (or several cries!) New Features / Improvements Friendlier API Instead of having to deal with the XML-RPC interfaces directly, I’ve added a “friendly” layer of classes on top. The WordPressWrapper class has helper...

Getting W3 Cache Working on shared hosting

G

I wanted to install w3 cache on shared hosting After uploading the plugin to /wp-content/plugins/ and trying to activate it, I got an error asking me to set CHMOD 777 on /wp-content/w3tc I tried running the command given, however it didn’t work. I also tried manually creating the directory, setting 777 on it, and re-activating the plugin. This, however, didn’t work, as the plugin deleted my newly...

C# – String.Concat vs String.Join

C

I had a quick Google search for a comparison between string.concat and string.join, but I couldn’t find anything. Say you want to construct the sentence “The quick brown fox jumps over the lazy dog” This is comprised of 9 words, 8 spaces. Using string.concat: public void CreateSentanceUsingStringConcat() { string space = " "; string the = "the"; string quick = "quick"; string brown = "brown";...

Quartz.net trigger not firing

Q

I’ve used Quartz.net for a little while – more specifically, around 6 months. I started working with it around the end of October 2009. Irrelevant, you may think, but the important thing here is the time. During winter months, the UK runs on GMT (or UTC+0) During these months, (up until 28th March 2010) my application functioned as expected – however, when the clocks went forward for British...