Welcome to CrankyGoblin.Com Sign in | Join | Help

Public Class GeoffAppleby

Inherits Microsoft.VisualBasic.MVP : Implements IBrainFart
Succumbed. I'm a Live Writer Junky.

OK, I admit it. I've been suckered into using this thing permanently now :) It's easier than waiting for the web page to load, run quickly, publishes quickly, and it's simple to use.

The main point to my post though is plugins. I haven't hunted for heaps of plugins yet, but I have got one that helps me a lot. I always used to tag each of my posts with what song I was listening to, but I stopped being bothered. Now I can use plugins to do it for me :) This one from jtsquared is working great (and supports Winamp :). While at his site, grab his LiveWriterTray app too. It's a systray app that let's you launch the Live Writer easily.

But it's the plugin model that I'm mostly dealing with. The plugin model is pretty good and easy to write against, but it's fairly limited in what you can do. It's specifically built around adding specific custom content to a blog post - which isn't what I want to do...sort of.

In my blog I've added an admin feature (when using the web based post editor) to upload files while you're writing a post. I want to emulate this as a plugin. The thing here is that I don't necessarily want to create 'content' after I've uploaded any given file (although I might for some) and I want to upload more things than just images (so I can't just let Writer use the newMediaObject API when I publish - I cant' embed a zip file, can I?

But I want to call the newMediaObject method on my blog from the plugin. While I could probably get this to work, Writer already knows how. I examined a few of the assemblies that came with Writer in Reflector, and everything I need is right there. In WindowsLive.Writer.BlogClient.dll I can instantiate and use the WindowsLive.Writer.BlogClient.Clients.MetaweblogClient object and call the newMediaObject method on that - but first what I really want is the current instance that Writer has instantiated to call it. I shouldn't have to instantiate my own instance, especially since it needs to know the urlt o the Metaweblog service and your username and password to authenticate against.

So I've gone through all their other code, and it's all there for me - I just need to get a handle on it so I can use it :) My next step now is to try and get in contact with the Writer guys and see if I can get them to extend the plugin model for me.

[Now Playing: Over Now - Alice In Chains]

Posted: Wednesday, September 20, 2006 3:42 PM by Geoff Appleby
Filed under:

Comments

Eber Irigoyen said:

I like Live Writer a lot, but I do miss a couple features from my previous blogging tool; I used to blog from Flock and it's got a couple great features:

- you can browse and just pick stuff here and there, put it in a basket from where you can grab it later and blog about it

- right click anywhere in a page, and say "blog this"

# September 20, 2006 1:39 PM

Geoff Appleby said:

What browser do you use? The windows live toolbar comes with blog this functionality. I believe there's firefox addins too.

Of course, there's no way in hell that i'll run the windows live toolbar (or firefox for that matter :)

It would be easy to write a blog this addin for IE that didn't require the toolbar either. Hmm...might look into that at some stage :)

Which reminds me that I must look into how extensions for IE7 work. If they're hiding the toolbar by default, then having custom buttons is a waste of time.   Maybe a right menu option.

# September 20, 2006 3:16 PM

Eber Irigoyen said:

uff... I use IE7, Firefox and Flock mostly, I guess lately I have been using IE7 more

# September 21, 2006 8:41 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

To submit your comment, click on these pictures:
  • Sleepy Geoff
  • Super Geoff!
  • Geoff's bald spot
Gaptcha Image - No Peeking! Gaptcha Image - No Peeking! Gaptcha Image - No Peeking!
Gaptcha Image - No Peeking! Gaptcha Image - No Peeking! Gaptcha Image - No Peeking!
Gaptcha Image - No Peeking! Gaptcha Image - No Peeking! Gaptcha Image - No Peeking!
Can't recognise the people in these pictures? Look here for a quick introduction.
There's a time limit for you to get your comment submitted before this set of pictures expires. If you think it's been longer than 10 minutes, get some new pictures first (you won't lose what you've typed so far).
Get some new pictures 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS