0

WordPress XMLRPC: wp.getPageTemplates

Posted by Joys of Programming on in PHP, Wordpress, XML-RPC

WordPress XMLRPC provides wp.getPageTemplates to Retrieve page templates. Parameters int blog_id string username string password Return Values array struct string name string description Let’s see the program. Note that you must fill the following parameters $USERNAME $PASSWORD $BLOGID $BLOGURL Note that BLOGID is usually one or you can use wp.getUsersBlogs to get the value of [...]

Tags:

 
0

WordPress XMLRPC: wp.getPageStatusList

Posted by Joys of Programming on in PHP, Wordpress, XML-RPC

WordPress XMLRPC provides wp.getPageStatusList to retrieve all of the WordPress supported page statuses. Parameters int blog_id string username string password Return Values struct const string ‘draft’ const string ‘private’ const string ‘publish’ Let’s see the program. Note that you must fill the following parameters $USERNAME $PASSWORD $BLOGID $BLOGURL Note that BLOGID is usually one or [...]

Tags: , ,

 
0

WordPress XMLRPC: wp.getPostStatusList

Posted by Joys of Programming on in PHP, Wordpress, XML-RPC

WordPress XMLRPC provides  wp.getPostStatusList to retrieve post statuses. Parameters int blog_id string username string password Return Values array const string ‘draft’ const string ‘pending’ const string ‘private’ const string ‘publish’ Let’s see the program. Note that you must fill the following parameters $USERNAME $PASSWORD $BLOGID $BLOGURL Note that BLOGID is usually one or you can [...]

Tags: , ,

 
1

WordPress XMLRPC: wp.getCommentCount

Posted by Joys of Programming on in PHP, Wordpress, XML-RPC

WordPress XMLRPC gives the following function wp.getCommentcount to retrieve comment count for a specific post. Parameters for the function int blog_id string username string password string post_id Return Values array struct int approved int awaiting_moderation int spam int total_comments The return value gives the details of the comment like the number of comments approved for [...]

Tags: , ,

 
0

WordPress XMLRPC: wp.getTags

Posted by Joys of Programming on in PHP, Wordpress, XML-RPC

WordPress XMLPRC provides the function wp.getTags to get all the tags corresponding to a blog. Parameters to this function: int blog_id string username string password Return Values array struct int tag_id string name int count string slug string html_url string rss_url It returns an array of tags. Each array element contains the details of the [...]

Tags: , ,

 
0

XMLRPC: demo.addTwoNumbers

Posted by Joys of Programming on in PHP, Wordpress, XML-RPC

With demo.sayHello, you saw how to make use of wordpress XMLRPC functions. But demo.sayHello doesn’t take any parameters as arguments. To show how to pass arguments, let’s explore demo.addTwoNumbers. It takes two integers as arguments and returns a response which is the sum of the two numbers As you see, that we pass two numbers. [...]

Tags: , ,

 
0

XMLRPC- Hello World- demo.sayHello

Posted by Joys of Programming on in PHP, Web, Wordpress, XML-RPC

With WordPress XMLRPC, you can blog from your desktop client. WordPress XMLRPC provides a series of methods to perform various operations which you normally do from your WordPress website. To start working with wordpress XMLRPC, let’s take a  simple “Hello World!” program On executing this simple program, you will get a simple “Hello World!” message [...]

Tags: , ,

Copyright © 2009-2012 Joys of Programming All rights reserved.
Desk Mess Mirrored v1.8.1 theme from BuyNowShop.com.