Insert HTML Break plugin for Windows Live Writer

:wlw:

In an earlier post I mentioned Microsoft’s Live Write Beta.   I really like the product and use it for most of my postings here on TRF.  But I have noticed there are some things I wished it did.    Since Microsoft decided to release a SDK for Live Writer, it would be a shame if I didn’t take a look at it to see if I could create a plugin overcome some of my needs.

I figured my first plugin should be an easy one.   I had one goal, and it was to insert a HTML Break into the text.   WLW doesn’t really give you the ability to do this without switching between the views.   As with other projects (iTunes Scripts) I used Visual Basic to write the plugin.  

You can download the plugin using this link: InsertHTMLBreak.msi

The installer will place the “InsertHTMLBreak.dll”  into the plugin directory of Windows Live Writer.  The next time you start WLW it will load the plugin and make it available for use.

You can choose to use the plugin in two different ways:

The “Insert HTML Break” off the “Insert” menu to the side:

 

Or you can choose to to insert using the insert drop down menu on your toolbar.

 

I know that this is a pretty simple plugin but it did serve my purpose.  I wanted to know that I could do it.   Now I get to move on to some of the ideas I have for other plugins.

Download: InsertHTMLBreak.msi


Technorati Tags: - - - - - - - - -

StumbleUpon It!

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

[...]   [...]

[...] Register « Insert HTML Break plugin for Windows Live Writer [...]

Hello.
I was looking for a plugin for WLW that could insert a page break on wordpress blogs when I found this page.

It seems your plugin would be capable of doing that with a slight modification. I’d be very happy if you could change the part of the plugin that inserts the tag to insert a tag.

Thanks a lot in advance,
Leonardo

[...] A second in a series (see the first: Insert HTML Break Plugin for Windows Live Writer) of plugins that I am working on for Windows Live Writer is the Insert Technorati Tags Plugin( v1.0-beta).   This is written in VB.Net and gets a lot of it’s inspiration from the article ”Write a Windows Live Writer plugin using C#“  written by Keyvan Nayyeri.  I am trying to give C# a chance, but for now I think I will stick with VB.Net.   [...]

You are right Leonardo.. It wouldn’t be that hard to do. Let me see what I can do for you.

Jeff.

Sorry, I just saw that my html code was not submitted, making my post nonsensical.

What I meant was, instead of inserting a [br] it could insert a [!--more--] tag. The only problem is that it would be invisible outside html view.

Thanks for your time!
Leonardo

Well, Leonardo.. I have tested a change to the code and it seems as if WLW strips out HTML comments when added using any layout with the exception of the “HTML code” view. Since WLW is in beta this might be something that Microsoft changes in the true release version.

hmmm, I got to the same conclusion here. Thank you Jeff! I’ll wait for a new version then.

Jeff,

Thanks or the great plugins for WLW.

One thing I have been hunting for and unable to find is a lugin that will allow me to save an article outside of WLW (ie: save to disk) so I can transfer them from one computer to another. Also, the ability to print from WLW.

Thanks for the hard work.

Doug

Not sure if you know, but you can hit shift + enter to do the same thing.

I have since found that out after I posted this article. But the main reason I wrote the plugin was to get exposure to the SDK and make way for other plugins.

Leave a comment

(required)

(required)