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.