Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7186061
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T18:33:11+00:00 2026-05-28T18:33:11+00:00

I use XML-RPC.net 3 and joeblog dll in C#. Everything is OK, but I

  • 0

I use XML-RPC.net 3 and joeblog dll in C#. Everything is OK, but I cant create and send post-tags to WordPress.
I can create posts with categories, title, excerpt, content, cutomfields but no success to create post-tags.
Its my code:

 public void createPost(newPost np)
        {
            loginformobject = new LoginForm();
            string postid;
            icp = (IcreatePost)XmlRpcProxyGen.Create(typeof(IcreatePost));
            clientProtocol = (XmlRpcClientProtocol)icp;
            clientProtocol.Url = url.Text;
            try
            {
                postid = icp.NewPost(1, User.Text, Pass.Text, np, 1);

            }
            catch (Exception ex)
            {
                MessageBox.Show("createPost ERROR ->" + ex.Message);
            }
        }

 private void button1_Click(object sender, EventArgs e)
        {
            customField newCustomField2 = default(customField);

            newCustomField2.key = "Testttttttttttt";

            newCustomField2.value = "testttvalye";



            newPost newBlogPost = default(newPost);
            newBlogPost.title = "Some Title<AliReza Test>";
            newBlogPost.description = "Some description Test Test Test Test<AliReza Test>";
            newBlogPost.custom_fields = new customField[] { newCustomField2 };
            newBlogPost.categories = new string[] { "Test" };
            newBlogPost.mt_excerpt = "Tozihate Kotah";
            newBlogPost.mt_taxonomy = new string[] { "test","test2" };
            createPost(newBlogPost);
        }

How can send post with tags within XML-RPC in C#?

Is there any library or code to create post-tags?

Thanks for any help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T18:33:12+00:00Added an answer on May 28, 2026 at 6:33 pm

    fix to this

     public string[] categories;
        public string title;
        public string description;
        public string mt_excerpt;
        public customField[] custom_fields;
        public string[] mt_keywords;
    

    and

    newBlogPost.mt_keywords = new string []{ "t1","t2"};
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know there is a library for .NET to use XML-RPC - but does
I use XML-RPC Server and client with android application from this link: http://www.codeforest.net/how-to-build-php-xml-rpc-server-client-and-android-app communication
I need to communicate with an XML-RPC server from a .NET 2.0 client. Can
Can anyone recommend an xml rpc library or client for wordpress using java? I've
Does iPhone support XML-RPC, Is their any open source framework which I can use?
Why all use binary files, if all can use XML ?
How to connect to XML-RPC Api from c# , A client can interact with
So I'm trying to send an xml-rpc message to moses xml-rpc server in Java,
I'm using XML-RPC.NET (from http://www.xml-rpc.net/ ) and the HttpListener method of listening for XML-RPC
I have a planned use of Apache XML RPC Client in a java web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.