Ejemplo n.º 1
0
        public String MetaWeblogNewPost(String blogid, String emailAddress, String password, Post post, Boolean publish)
        {
            String blogGuid = blogid;

            //+
            if (this.Reporter.Initialized)
            {
                this.Reporter.SendSingle(new Object[] { blogGuid, emailAddress, password, post.description, post.title, publish }, "XmlRpcApi::MetaWeblogNewPost", false);
            }
            //+
            return(BlogAgent.PostBlogEntry(blogGuid, new List <Author>(
                                               new Author[] {
                new Author {
                    Email = emailAddress
                }
            }
                                               ), post.title, post.description, DateTime.Now, null, null, publish, emailAddress, password));
        }