Fixing errors that Live Writer was logging on the client.

Fixing errors that Live Writer was having with our datetime format, that we were having with the datetime string Live Writer was giving us and correctly setting an empty response to metaWeblog.getCategories from Orchard.Tags

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-12-14 11:49:42 -08:00
parent 8935efc96c
commit 7113067437
4 changed files with 9 additions and 5 deletions

View File

@@ -41,7 +41,7 @@ namespace Orchard.Tags.Services {
switch (context.Request.MethodName) {
case "metaWeblog.getCategories": // hack... because live writer still asks for it...
if (context.Response == null)
context.Response = new XRpcMethodResponse();
context.Response = new XRpcMethodResponse().Add(new XRpcArray());
break;
case "wp.getTags":
var tags = MetaWeblogGetTags(