I have Orchard CMS setup and working correctly. When using windows live writer to create pages it maps images to a folder like /Media/Default/WindowsLiveWriter folder
Eg. /Media/Default/WindowsLiveWriter/testpost-title_12A72/sample_image_2.jpg
I don't want my urls to have technology specific sections like "WindowsLiveWriter"
1) How can I customize this in Orchard 1.7 code. I want to have an image url structure like
/Media/Default/2014/March/02/sample_image_2.jpg or /Media/Default/MyBlog/testpost-title_12A72/sample_image_2.jpg
2) Is there an option in live writer to specify the folder on which the images should be dropped? E.g. use date as a sub folder?
3) Can I change the meta data live writer receive to tell it where my image folder is?
I searched the entire Orchard 1.7 code base for a string WindowsLiveWriter (which is part of the url) but couldn't find it.
Change the file \src\Orchard.Web\Modules\Orchard.MediaLibrary\Services\XmlRpcHandler.cs
as follows. There is a method called
Inside that change the name of the file at the beginning before response being sent to MS word blog template for live writer.
The complete method now looks like