Articulate
Articulate copied to clipboard
Routing windowslivewriter manifest & XMLRPC MetaWeblog to support OpenLiveWriter
- Adds the
wlwmanifest/{id}route to return the XML used in conjunction with the RSD XML - Gets the XMLRPC / MetaWeblog Controller for receiving HTTP POSTed XML for OpenLiveWriter
- Drops Cookcomputing.XMLRpc for
WilderMinds.MetaWebloghttps://github.com/shawnwildermuth/MetaWeblog
Help needed
I am unsure with DI to update the Root Articulate Blog Node ID - so appreciate any pointers @Shazwazza
private IPublishedContent BlogRoot()
{
// TODO: Do not hardcode 1068 - need to pass it through from the controller route
// When injecting this service into the controller - but how?!?
var node = _umbracoContextAccessor.GetRequiredUmbracoContext().Content.GetById(1068);
...
}
Testing
- Download Open Live Writer
- Have test site running & put a breakpoint in
MetaWeblogControllerto help with ddebugging - Add new configuration pointing to example site
- Add a new post - via theme detection
- It should delete the temp post & put it in the recycle bin
- Add a new post
- Select existing category
- Add a new category
- Select existing tags
- Add a new tag
- Add one or more image (Use the silly effects in LiveWriter)
- Save draft & verify
- Publish & verify
- Close Open Live Writer
- File -> Open Recent Post -> Select blog account from list (Fetches recent posts)
- Select an item
- Use delete button - ensure blog post is moved to recycle bin
- Select an item to edit
- Update content, properties, categories & tags - verify changes are expected
Has some conflicts now. Then windows live writer integration will need to be tested
This is just the route and XML returned for the WLW Manifest

Will do a sperate PR for the route that is needed for WLW (Will also see if you can download/use it)
OK not sure if Windows Live Writer is a thing anymore and the MetaWebBlog Spec is 404 from your comments http://xmlrpc.com/metaWeblogApi.html
Is this something still worth supporting and migrating over @Shazwazza ?
It's a thing, It's Open Live Writer now https://openlivewriter.com/
Ok will have to take a look to try and figure out the rest of it.
Gotta love the XP/Windows Vista style vibes of the app still !
Making draft PR as will include the other routing stuff to get all of the MetaWeblog/Open Live Writer stuff working
OK @Shazwazza I am gonna need your help here as I have fixed up the MetaWeblogHandler class that was commented out but I have no idea how to wire it up into the routes with RouteTransformer stuff you have.
Any advice or pointers you can give on how to fix/resolve this then I can try and attempt it

@Shazwazza ready for review & testing with Open Live Writer now :)

Thanks warren, i fixed a bunch up in your branch and merged 🎉