The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
403 views

Set default custom post type for XML-RPC

So now that it is possible to work with Custom Post Types over XML-RPC, has anyone figured out a way to set the post type for all items coming in via XLM-RPC to a default post type? IFTTT has a ...
0
votes
0answers
7 views

xmlrpc.php act as threat to wordpress security? [duplicate]

please could any one suggest what are the necessary steps needs to make wordpress sites more secure. i know it is kind of general question but still if still any hacks which improves security of ...
2
votes
3answers
1k views

wordpress inserting posts programatically through a url

I have to insert posts programatically in Wordpress. I want that I should be able to publish posts via a url. Something like ...
0
votes
1answer
19 views

Wordpress can't find IXR_Client

Trying: $client = new IXR_Client('http://othersite.com/xmlrpc.php'); I get the error Fatal error: Class 'IXR_Client' not found in footer.php I can see the class in wp-includes/class-IXR.php, and ...
0
votes
0answers
16 views

Turn off xml rcp for certain users

I built a web app with wordpress that receive inputs via ifttt.com. Ifttt uses the xml rcp protocol to send messages to a worpdress based site. Specifically, ifttt creates a new post when certain ...
3
votes
4answers
302 views

Most efficient way to insert a post outside WordPress?

I need to insert a post via PHP outside the Wordpress environment (but on the same server) and I'm looking for the most efficient way to do this. I was thinking about 2 solutions: 1) Using XML-RPC, ...
0
votes
1answer
33 views

Do I need to instantiate the XMLRPC class or any class in another class to access its methods?

I would like to use some of the methods of the XML RPC class, "wp_xmlrpc_server" in my own class. Is this class instantiated already or should I declare it myself? If so how?
0
votes
0answers
99 views

Use WordPress as authentication for custom app

I am in the process of developing a custom web application which will require users to login. We have developed a WordPress website to manage the signup and payment/subscriptions for the application. ...
0
votes
2answers
2k views

How to secure WordPress XMLRPC?

XMLRPC is great for remote publishing to WordPress, but there has been many security issues attributed to it. How do it make it more secure? More specifically, only user from the intranet will be ...
0
votes
1answer
40 views

Custom category for posts via XMLRPC

I have a blog located at one site that when I post into a category, it will auto-post via XMLRPC to another site of mine. This functionality works, but I would like to assign a category to these ...
1
vote
0answers
47 views

Is there any Image size limit for wordpress xml-rpc

I'm creating a plugin using the xml-rpc to send images, Im able to send small images. those are less than 1 mb, But i cant send bigger images. they wont be uploaded using the wp.uploadFile. I ...
0
votes
1answer
39 views

XML RPC post produces immediate revision with odd post_date_gmt

I am sending a post to Wordpress 3.8 with XML RPC. Here is the raw XML being sent to wordpress: <?xml version="1.0" encoding="UTF-8"?> <methodCall> ...
0
votes
0answers
58 views

XML-RPC Response from server does not contain valid XML

I have previously succeeded in making 200 post via XMLRPC, but strangely 3 days ago I got the error message "Response from server does not contain a valid XML". I've been looking for solutions of ...
1
vote
0answers
120 views

How do I programmatically create new posts of a custom post type over the XML-RPC API?

I would like to programmatically create posts of a custom post type with custom taxonomies over the XML-RPC API. This is what I have so far: <?php class XMLRPClientWordPress { var $XMLRPCURL ...
0
votes
1answer
249 views

How to read newpost return post ID value as integer for xmlrpc

I would like to read the $remote_id as integer, $remote_id should be post_id after executing metaweblog.newpost. Does anyone know how to transform the data as integer? Here are the codes below: ...
0
votes
0answers
43 views

Wordpress Rss Feed URLs not Validating on any external applications and Rss feed widget

My Rss Feed Urls of my wordpress website are http://www.engineershub.in/newhome/forums/forum/jntu-kakinada-updates/feed http://www.engineershub.in/newhome/forums/forum/jntu-anantapur/feed ...
0
votes
0answers
69 views

XML-RPC detailed author info for wp.getPosts

I'm working with XML-RCP since a few days. I recognized that the posts only contain the ID of the author of a post. I tried to get the specified user using wp.getUser but the XML-RPC user does not ...
1
vote
0answers
62 views

Call specific plugin update

I'm looking for way to update specific plugin via xmlrpc api. There is no exposed any function for do upgrades. I've tried to visit ...
0
votes
1answer
156 views

metaWeblog.getRecentPosts is returning nothing in my iphone app

metaWeblog.getRecentPosts is returning nothing in my iphone app, follwong is my objective c code to call that method,xml-rpc wordpress methods like wp.getUsers are working fine, but the methods ...
0
votes
0answers
82 views

Are custom fields that start with “_” ignored by the XML-RPC method newPost?

I'm developing a little software that automatically posts some data on my wordpress. Everiything works great, until I need to add the custom field with key _wpcf_belongs_customtype_id. That custom ...
0
votes
0answers
92 views

Test xml rpc service on local host

I built a web app in WP that works with IFTTT, an internet events system that trigger an action when something happens. I use it publish a post on my app whenever certain RSS feeds are upgraded. But ...
0
votes
1answer
174 views

Clean/filter HTML inserted to post content by XML RPC

An external service that uses XML RPC to publish some posts on my site adds some unwanted CSS styles and HTML to the post content. I would like to clean it up using a HTML cleaner that I've built ...
0
votes
1answer
169 views

Get Post meta via XML-RPC using wp.getPost

I am trying to get the value of two post meta fields using wp.getPost. I can get custom fields and the normal post fields but I can't seem to get the meta values associated with the post. I have ...
4
votes
1answer
148 views

Store source permalink on XMLRPC calls

In a theme I'm developing, I need to link to the source post when the post has been stored using XMLRPC. That implies that every time Wordpress asks for a permalink (using get_permalink()) the theme ...
0
votes
0answers
163 views

xmlrpc wp.newPost doesn't store custom_fields

i've came across a problem today with wordpress, i'm trying to post articles to my wordpress blog using xmlrpc interface, with a custom post_type and custom_fields (both defined in my theme). What ...
1
vote
0answers
102 views

Can I Remove xmlrpc.php completely?

My site is getting a lot of malicious traffic to domain.com/xmlrpc.php, to the point that the server is not being able to handle it. I tried to disable it via the wp-config.php, by adding this line: ...
0
votes
0answers
118 views

XML-RPC request for meta information without utilizing xmlrpc_encode_request

I am trying to access the meta data associated with a product and am running into issues when I try to access it via XML-RPC. I also can't utilize the php function xmlrpc_encode_request because my ...
0
votes
5answers
6k views

How to get all posts (in chunks) via XML-RPC?

I would like to retrieve all posts of a blog via the XML-RPC API of Wordpress. There are the methods of blogger.getRecentPosts and metaWeblog.getRecentPosts which - given a sufficiently high value as ...
1
vote
2answers
435 views

Creating post content from external web scraper via JSON or RPC

I'm looking for a way to post content from a web scraper external to our Wordpress site to post content its scraped into our site. Right now, I have the scraped content formatted into JSON. Could I ...
0
votes
0answers
116 views

Each user can edit only one page

I have website that let the user publish her business. Each business has a private page with some details and an image gallery. Each business owner has a user. I should make, that each user (each ...
0
votes
1answer
88 views

How to list updates using WordPress XML-RPC methods

Can any one tell me how I can list the updates using WordPress XML-RPC methods, like how we list posts and comments using wp.getPosts and wp.GetComments. I searched for the methods but I couldn't find ...
-1
votes
1answer
286 views

wp.getUsers XML-RPC method is returning only 50 users, how can i get all the users

In my iphone app i am trying to list out all the users using the wp.getUsers XML-RPC method, but its not returning all the users, in that blog i have around 180 members , but it has returned only 50 ...
0
votes
0answers
47 views

XML-RPC and $wpdb

Is it possible to use wordpress xml-rpc and $wpdb ? I need to send some params and get answer in real time ... In this link: http://codex.wordpress.org/XML-RPC_WordPress_API/ I just found some ...
0
votes
0answers
104 views

Login and posting in WordPresse from android via XML-RPC

I created an android application that consumes a Restful web service. Two HttpPosts are made : One to send Login information, and an other to send information from device (title, content, video, ...
0
votes
1answer
771 views

X-Pingback and XMLRPC

According to old post: How to secure WordPress XMLRPC?, every API require authentication. So, what is the point of adding X-Pingback in every public request? curl -I http://ma.tt .. X-Pingback: ...
2
votes
3answers
1k views

Extending xml rpc - best practice

I need to add custom methods to the Xml-Rpc file and have found the following: // Custom plugins add_filter('xmlrpc_methods', 'custom_xmlrpc_methods'); function custom_xmlrpc_methods($methods) { ...
0
votes
0answers
38 views

XML-RPC when using an extra login parameter

i am trying to build a local wordpress client for remote posting. so far its all good when testing in some demo site but the site i am building it for has an additional login field called celphone. ...
1
vote
3answers
653 views

Possible to filter the posts or categories that XML-RPC users see in their mobile application?

Is it possible to filter the posts or categories that XML-RPC users see in their mobile application? I have a plugin that hooks into pre_get_posts and list_terms_exclusions to do what I need it to ...
1
vote
0answers
29 views

Adding custom menu widget to sidebar programatically [duplicate]

I am trying to add custom menu widget to the sidebar. I am not working on wordpress directly, but I am using an xml-rpc calls to manage worpdress site (it is possible via ...
2
votes
2answers
712 views

Is it possible to change a blog's theme through XML-RPC command? (and if so how?)

I can't seem to find such an option listed here: http://codex.wordpress.org/XML-RPC_wp#wp.setOptions Does it exist? Thanks.
0
votes
2answers
266 views

How to process shortcodes in XML-RPC

Firstly, I know that XML-RPC is designed to send out the raw post data, but I need it to expand shortcodes out. I don't use it for posting so it won't be an issue there, but there are services that ...
4
votes
1answer
358 views

xmlrpc_enabled filter not called

Since WordPress 3.5, the core developers have decided to keep xml rpc enabled by default and there are no options in the Admin to disable it. This blog post explains how to disable it by modifying ...
2
votes
1answer
261 views

Storing an XML Response (Transient)?

Haven't worked much with XML so I'm hitting a bit of a wall: function getapi() { $api_response = wp_remote_get( "http://example.com/getXML" ); $data = wp_remote_retrieve_body( ...
1
vote
1answer
286 views

Multiple new posts using XML-RPC?

Is it possible to create multiple posts in one XML-RPC request? I've searched everywhere, but did not find any info. I suppose it isn't possible.
0
votes
2answers
621 views

Using Microsift Word/Outlook for content publishing to Wordpress

I am tasked with building an tool to allow users to publish to Wordpress from their PC using MS Word and Outlook. I know, completely defeat the purpose of having Wordpress, but the basic requirement ...
0
votes
1answer
195 views

xmlrpc how to check for errors

I am trying to post to wordpress with XMLRPC using this tutorial:http://wp.tutsplus.com/tutorials/creative-coding/xml-rpc-in-wordpress/ the problem is that tutorial does not have any kind of check ...
1
vote
1answer
116 views

Checking post format during xmlrpc_publish_post

WordPress apparently stores post format information outside of the $post object. During publish_post this isn't (usually) a problem because you can check on formats via get_post_format( $post->ID ) ...
0
votes
1answer
86 views

Create a “feed” from one WordPress site to another?

I know there a way to use XML-RPC to transfer past posts from one WordPress site to another, but I am wondering if there is a way to create a constantly updating feed of posts of a certain type. That ...
1
vote
1answer
25 views

Why is minimum_args protected?

Why is $wp_xmlrpc_server->minimum_args protected? It seems like as much of a utility method as $wp_xmlrpc_server->login. Is there some other way to sanitize the inputs for length or do I have to ...
4
votes
2answers
1k views

custom XMLRPC method plus authentication of user & WooCommerce order

I'm working with a custom XML-RPC method to capture some information for a plugin I am building. When activated the user has to authenticate themselves by entering there user/password given to them ...