As I wrote the last blog post where I introduced the WLW Plugin Insert Umbraco Links I noticed that inserting links to umbraco media would also be a good idea. Thought and did it. I extended the existing plugin to also load media items from umbraco. Every media which has a generic property called umbracoFile can be inserted now. In the standard installation there are two media types which have this generic property build in: the File and the Image.
You can download the new bits here.
Give me your feedback.
For my blog(s) I am using Windows Live Writer and some Plugins like the Pre Code Snippet. Until now inserting links to other entries in my blog was circular. I had to open the umbraco backend, get the id of the node, goto WLW, add a link, insert {localLink:id}. Save.
With the API from WLW it is possible to implement Plugins for WLW. So I did and created my first WLW Plugin. After some small problems with the Windows Live Writer API and the binding context in a Winform I finished it. Now it is much more comfortable to insert Lokal Links.
First you have to download the files from my blog. (btw, another plugin idea: inserting media links from umbraco...)
In the downloaded zip-file there are two files included:
After starting the WLW you get a new entry in the insert menu and in the insert box of your sidebar.
Clicking on the new entry will
launch the plugin dialogue. On the first usage the dialogue is
empty and you have to edit the settings by clicking on the Settings
button (you also can launch the settings dialogue via
Extras/Options/Plugins). Here in this dialogue you can add new
umbraco instances where you have installed the webservice. You can
add several installations which you can easily switch in the Insert
Link dialogue. Don't forget to save your settings. The settings are
saved from WLW and retrieved back on start.
Now you can go back to the Insert Link dialogue
where you select the umbraco instance from which you want to add a
link and click down in the tree to your node you want to add. For
performance issues I am only loading nodes from one level at once.
So if you click on a node it automatically loads the given
childnodes (if the node has childnodes). Now click insert Link,
done...
The user is is authenticated with the given username and password. The username is mapped to the umbraco user and the nodes that will be retrieved are related to the Start Content setting for the Umbraco User.
Please test this plugin and give me feedback.
09.07.10 20:02: Aaaaadler ;-)
09.07.10 20:01: Einmal Bier holen = Tor verpasst => Der Weg in den Keller ist eindeutig zu lang...
09.04.10 06:04: @Shazwazza Done ;-) #ucomponents #Umbraco
09.03.10 20:43: @netaddicts LOL
09.03.10 20:43: @asp_net wie war das bei der 2010 Roadshow, Zitat: 'google das mal mit Bing'
![]()
This blog is written by Thomas Höhler. Living next to Frankfurt, Germany,
I am trying to share my experiences about
Umbraco [the most flexible CMS I know],
my ClientTools for Umbraco,
and some other more or less usefull stuff