Please forgive me for being dull. xmlrpc. inc remotely obtains and adds wordpress categories

Source: Internet
Author: User
Please forgive me for being dull, xmlrpc. the remote acquisition and addition of wordpress categories by inc has published articles, but it cannot always: Determine whether the submitted category exists. If yes, add it to this category. If no, add a new category. There is a ready-made interface (metaWeblog. getCategories) on the internet. I will not use it. The following is the code for publishing the article: P. please forgive me for being dull. xmlrpc. inc remotely obtains and adds wordpress categories.
You have published an article, but you cannot: Determine whether the submitted category exists. if it exists, add it to this category. if it does not exist, add a new category.

There is a ready-made interface (metaWeblog. getCategories) on the internet. I will not use it.


The code for publishing the article is as follows:
PHP code
  
  Return_type = 'phpvals '; $ r = $ c-> send ($ x); if ($ r-> errno = "0") echo "is published successfully, article No :". $ r-> val; else {echo "error"; print_r ($ r) ;}?>



This example can only be used to add existing categories to wordpress. if not, add the articles to unclassified categories.


Which of the following has been involved in remotely publishing wordpress?




------ Solution --------------------
What is learning? Did not understand.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.