AspNetCore.XmlRpc 1.0.0-alpha.6 is ready

29 views 0 comments last modified about 3 months ago Raymond Tang

xml-rpc lite-log

Release date

2018-03-03

Changes

Added PostId (attribute postid in MetaWeblog) into the predefined data model for PostInfo.

public class PostInfo
     {
         [DataMember(Name = "title")]
         public string Title { get; set; }

        [DataMember(Name = "description")]
         public string Description { get; set; }

        [DataMember(Name = "dateCreated")]
         public DateTime DateCreated { get; set; }

        [DataMember(Name = "categories")]
         public string[] Categories { get; set; }

        [DataMember(Name = "mt_excerpt")]
         public string Excerpt { get; set; }

        [DataMember(Name = "wp_slug")]
         public string Slug { get; set; }

        [DataMember(Name = "mt_keywords")]
         public string KeyWords { get; set; }

        [DataMember(Name = "postid")]
         public string PostId { get; set; }

     }
}

This is to support passing postid between client (i.e. Open Live Writer) and MetaWeblog services for the following functions:

  • metaWeblog.getRecentPosts
  • metaWeblog.getPost
  • blogger.deletePost

Without those functions, recent posted function in Open Live Writer won’t work properly.

image

How to update

https://www.nuget.org/packages/AspNetCore.XmlRpc

Nuget PM

Install-Package AspNetCore.XmlRpc -Version 1.0.0-alpha.6

Add comment

Comments (0)

No comments yet.