Windows Live Writer Access to Additional Properties
I have added a media type property to the articulate post. It is my intention that I will use this to display on the home page images associated with the post. Is there anyway to use windows live writer to populate the newly added property?
I know I can upload images within the content of the blog entry/post. The question is can i continue to use WLW but to populate the newly added media type property?
When WLW posts images, it just puts them up as files which are referenced in the rich text editor. You could probably re-write the WLW integration to set the first image uploaded as a property on your blog post content item but OOTB, no that's not possible.
The alternative which might be a whole lot easier would be to put an event on the ContentSaving, check if the content is a rich text blog content type, read through the html of the rte with HtmlAgility, parse out the first image in there and set that to your media item property of that content item.
Windows Live Writer Access to Additional Properties
I have added a media type property to the articulate post. It is my intention that I will use this to display on the home page images associated with the post. Is there anyway to use windows live writer to populate the newly added property?
I know I can upload images within the content of the blog entry/post. The question is can i continue to use WLW but to populate the newly added media type property?
thanks
When WLW posts images, it just puts them up as files which are referenced in the rich text editor. You could probably re-write the WLW integration to set the first image uploaded as a property on your blog post content item but OOTB, no that's not possible.
The alternative which might be a whole lot easier would be to put an event on the ContentSaving, check if the content is a rich text blog content type, read through the html of the rte with HtmlAgility, parse out the first image in there and set that to your media item property of that content item.
is working on a reply...