Category Archives: General

Windows Live Writer Plugin #1 – YouTube Video.

**ANOTHER EDIT** Version 1.0 out now.

**EDIT** version 0.2 now includes support for Google Video

Version 0.1 still available (in case the new mods give you trouble).

Here’s my first ever Plugin for Windows Live Writer.

It requests the ID for a video clip in YouTube (for example, the url of the default video is http://www.youtube.com/watch?v=GtdJFtdXYps so the id from that url is GtdJFtdXYps ).  For Google video, you need to docid number (19 digits) for example : http://video.google.com/videoplay?docid=3573852431733156394&q=kitten would give the docid of 3573852431733156394.

From that scant information, the plugin adds the embedded player for the video into your post.  Simple.

Download the file, and then extract the DLL into the Plugins folder of your WLW installation.  It will then appear in the “Insert” menu on the next restart of WLW.

I know it’s not much, but I thought I’d write it as a quick practice.

Demo :

[youtube=http://www.youtube.com/watch?v=GtdJFtdXYps]

[googlevideo=http://video.google.com/googleplayer.swf?docId=3573852431733156394]

Windows Live Writer

I’ve been pointed in the direction of this tool by a co-worker, so I thought I’d have a look.  It’s always tough to review these blogging tools because you’re working out what you’re doing as you type.

Picking categories for a post is a simple drop down list in the interface, and typing / adding pictures, etc is all WYSIWYG.  No quibbles there.

Th only thing that doesn’t seem to be working as it should is the style detection.  If I understand correctly, it is supposed to be able to pull down your stylesheets, etc, so the WYSIWYG is just that.  Not in my WP install it doesn’t.

Other than that, it seems like a good enough tool.  I’ll explore more later.

**EDIT** Apparently, there is an SDK that you can use to write plugins . Also check out the forum , where you will see the issues others are having.

**EDIT 2** On my other machine, the download of the style information seems to work.  However, there’s an issue with this theme and the editor, so I have to type all the text in a box about an inch wide. :)

Google Maps Updated

Maybe I missed it when it was first released, but Google Maps in the UK has had a bit of a revamp. Some of the imrpovements I’ve noticed have been :

  • Double clicking on a map zooms into the clicked location
  • Scroll wheel functions to zoom in / out.
  • Zooming retains the previously loaded images until the new ones load.
  • UI layout tweaks. The links from the right hand side of the search bar have now been moved to a more “tabbed” look underneath it

On the whole, I like the new features. The navigational controls are more intuitive, although I am going to have to unlearn some of the old behaviours. The scroll wheel functionality appears to me to be back-to-front. Certainly, in Google Earth scrolling the wheel down zooms in, and up zooms out. The implementation in Maps, though, is the opposite.

Shorthand for Geeks

Surely there should be some kind of law against this kind of thing [1], but it appears not. *sigh*

[1] I removed the hyperlink because it appears there is a malicious script on that site. If you have good AV, you can go to http://lizrevision.com/lol/sms-shorthand-for-geeks-using-server-response-codes but don’t say I didn’t warn you!

Buffalo LinkStation as a SlimServer

This post should prove useful for anyone thinking about using a Buffalo LinkStation to run their SlimServer instance. The advantages of doing this are:

  1. The LinkStation is a small and quiet device, so it can sit just about anywhere without being obtrusive.
  2. The SlimServer software runs quite happily on this unit, saving the requirement for a full-blown PC or server to serve media.

There are several ways to do this installation, but I found the following to be quite painless.

The first thing to do is the read the warnings and information on http://linkstationwiki.org/Projects/OpenLink Please take these warnings seriously. They DO matter.

Once you are happy that you know what you’re doing, you can move on to http://linkstationwiki.org/Articles/GeneralFirmwareFlash and start the actual installation. If you follow the instructions carefully, you should be fine.

To install SlimServer, follow the instructions from the heading “Getting SlimServer on the LinkStation.” at http://fieldnetworks.com/slim/linkstation3.html

Having installed the software, I had issues with several Perl modules not being in the new firmware. To remedy this, download MIPSelSlimServerModules, and copy them to the root (/) of the LinkStation. From there, unpack the package (tar –zxf mipsel-slimserver-modules-0.5b.tgz) and run install.sh (./install.sh). This should resolve dependencies for SlimServer version 6.2.2 and older.

That, all being well, should be enough to get you going.

Outlook 2007 Beta 2 RSS Feeds

I’ve been playing with Office 2007 Beta 2, as have many other people, and I like it. In fact, this post was composed in Word, and published straight here.

One thing I don’t seem to be able to get to the bottom of, though, is the RSS reader built into Outlook. I can set up all my feeds and get the headers at least once. The problem is that it will often just bug out on a certain feed, and no amount of fiddling will bring it back. It fires back into life if I delete the feed and recreate it, but what’s the point in that? I’ll be Googling like crazy today trying to find the problem.

I’ll get back to you later.

Backup an assembly from the GAC

Scenario : You build a new version of an assembly that needs to be deployed to GAC. You need to make sure you have a roll-back plan, but the original file that you added to the GAC (the previous version) is no longer available. It *is*, however, still in the GAC.

Problem : Windows Explorer won’t let you copy an assembly from the “C:\windows\assembly” folder.

Solution : The Command Prompt. Too many peaople, in my opinion, are way too fond of using the GUI for everything under the sun. I grew up with DOS, and was lucky enough to have been able to get comfortable with doing a lot at the command line (the same with my Linux boxes, btw).

To copy the file you want out of the gac, start a command prompt and type the following :

c:
cd\\
cd windows\\assembly\\GAC
cd
cd
copy .dll c:\\

On lines 4 and 5 above, tab completion (on later versions of windows, this is enabled by default) will help you enormously. Otherwise, you’ll need to list the directory contents a couple of times to figure out the version and assembly names.

Weather Forecasting

Since I now have a new motorbike ( see this gallery ) it is quie nice to be able to plan in advance what I am going to do on a given day. A lot of the time, this decision is going to be influenced, at least in part, by what weather conditions are likely to be.

For a while now, I have checked weather forecasts on the BBC weather page. However, it appears that the BBC recently changed their policy on presenting weather forcasts to be “more optimistic”. What this means is that if the forecast for tomorrow is “it’s going to rain for most of the day, but there may be some sun for half an hour in the early afternoon”, what you will get from the BBC is “sunny intervals” or maybe “showers”. I can’t understand the reasoning behind this, from a supposedly impartial organisation such as the BBC. I know that putting a positive spin on some things is good, but why the weather? Who is going to say to the BBC “Your forecast for yesterday was rain. It rained. It is therefore your fault that the weather was bad.” Not many, I would guess.*

All I want from a wether forecast is an accurate assesment of what the forecaster believe is going to occur. Not hard really, is it?

If anyone knows of a good (i.e. accurate) source of weather data on the net, please let me know.

*Of course, you can never be sure ;)