Why Windows Live Search is Awful

IT Chapters No Comments »

Unfortunately, I’ve been using Windows Live Search (WLS) for a few days and it is honestly the worst search engine available. 

How do I know this?  Do a search for “linq” which is a Microsoft product.  Is the linq homepage the first link?  No.  Is it on the first page? Not a chance.

Come on Microsoft, this is simply shocking.

VMWare Converter - Convert Workstations to VMs

General 1 Comment »

Amazing new software from VMWare, that I’ve been waiting for, for ages.  Convert your physical machines to virtual machines instantly.  With support for Ghost,  Microsoft Virtual Server, Backup Exec and more, this is a tool you’ll definitely want to keep in your tool belt.

The only thing we’re now missing is the opposite.  Conversion of virtual machines to real machines.  Thanks VMWare, this is a great step in the correct direction.

Link

 

The Spam Problem

IT Chapters 4 Comments »

is out of control for my domain.  Look at a clipping from my gmail account as of 22:54 today.  Help anyone?

 

Microsoft AJAX 1.0 Released Today

IT Chapters No Comments »

Finally, the full release of Microsoft AJAX 1.0 (formerly Atlas) has been released to the public. More information here.

Yay! :)

Word 2007 Blog Posts are NOT XHTML Compliant

IT Chapters No Comments »

One of the most touted features of Word 2007 was the fact that the HTML pushed out from the client is that it would be “clean” and XHTML compliant.  Well, unfortunately that has been proven false.

Having implemented the MetaWeblog API for our in-house blogging system at work, I’ve been playing around with Word 2007 and Windows Live Writer (WLW) to test out the API.  And from these tests, we’ve found that Word 2007 fails miserably when posting.

The problem manifests when adding links that span more than one word.  For example if you have text like this:  My Post.  If you create a link between the two words in Word 2007, the markup is created incorrectly.  In some cases the <a> tag is created as required but a </span> closing tag is created before the </a> closing tag is added. 

Therefore the HTML that is output is completely broken which causes the browsers to render the blog post completely incorrectly. 

Considering this is something that Microsoft pushed as a major reason to change to the 2007 office suite, this really does suck.  Hopefully a KB can come out to sort out this issue.

del.icio.us tags: , , , ,

Photoblog Update

Photography, Zooomr No Comments »

I’ve been a little slack on the Sumatro front. Its not from a lack of photos as I’ve taken around 500 in over the festive season. The time that I’ve needed for the post-processing just hasn’t been there for the taking so the photos have been sitting in the queue.

I’ve processed around 100 tonight, so expect some more updates. I’ve updated Sumatro with a new photo but as usual my Zooomr page will have the latest photos before Sumatro does.

Word 2007, Metaweblog API and newMediaObject

IT Chapters No Comments »

Blogging via web interfaces is never fun. Even with all the Ajax goodness that is around, nothing beats a UI like Windows Live Writer (WLW) or Word for putting your thoughts into text. The richness of the desktop applications and the ease you can place graphics, charts and all sorts of extended media make it the perfect solution for blogging.

While this sounds good in theory, in practice this has been a long time coming. WLW was the first Microsoft release to natively support blogging and Word 2007 will be the first version of Word to support blogging inside the application itself. This is all done via the Metaweblog API which allows us to do most, if not all of the workflow required to get our thoughts published. The API supports methods like getPost, deletePost and newPost to add/edit/delete your blog entries. The addition of a 4th important method, newMediaObject allows clients to save binary data, be it images, zip files to the web server easily. The method definition from the API shows a very simple interface.

metaWeblog.newMediaObject (string blogid, string username, string password, struct mediaobject) returns struct

The return struct is a simple struct that holds the URL to the new media object. The struct passed as the last parameter holds a name, a type and a Base64 array of bytes. Simple! So simple in fact it took me all of an hour to get it up, running and tested for the Subtext blogging engine. Subtext uses the XML-RPC.net library for its XML RPC support and it is perfect for most if not all .NET XML RPC needs. At our office we decided that to implement the API to get blog posts from more employees. Everything went perfectly until we tried to get newMediaObject supported. WLW worked perfectly, saving images like there was no tomorrow. But Word 2007 failed at the first hurdle. Word 2007, being a user oriented application is not very verbose on reporting errors, and would simply return that our site did not support posting images directly. Hmmmm, time for some digging.

After much searching on Google, I came across this post, which pretty much points to a bug in Word itself. As you can see in the method declaration above, blogid is declared as an object of type string. However, Word in all its wisdom is trying to pass the blogid parameter as an integer. This in turn causes the XML RPC library to throw an exception. Wonderful. We attempted to change our API implementation to have blogid as just a plain object; so the method declaration would like this:

metaWeblog.newMediaObject (object blogid, string username, string password, struct mediaobject) returns struct

However, this just caused Word to think we hadn’t implemented the API method and would fail again. After a short deliberation, we’ve written another interface implementation for this method where blogid is an integer specifically for Word. Which is a bit of a bummer, as we would want a single implementation and API endpoint for all our clients but are held up by this bug. With Tim’s permission, I’ll be posting the code that we wrote today to support Word 2007 which has a very tight interface and class design and has cut the code necessary to support this down to nicely I’ll post an update once I get it all sorted.

Either way, this does fall to a Word issue. Not sure how this fell through Q&A, but the API isn’t being followed to the spec, which causes the issue to raise its head. Blogging with Word 2007 in itself is a glorious process. I’m using Word to write this post as we speak. Pasting in charts, images, graphs; full spell and grammar check and knowing you’re getting XHTML output in the end makes blogging a breeze. Keep it up Microsoft, this is definite step in the right direction, but let’s stay on the path already laid, OK? :)

A side-note: Some other blogging engines support this bug without any problems. For example, Wordpress works perfectly as it isn’t very strict on the variable types. Subtext and our custom software are strict on the types passed as .NET is a strongly typed framework by definition.

***UPDATE***
More info can be found on our company’s blog here:
http://www.dotnetsolutions.ltd.uk/blog/2007/01/04/livewritervsword2007andmetaweblogapi/

kick it on DotNetKicks.com