Wordpress supports the xml-rpc protocol, which is a way for third party software to communicate with the WP admin, for instance to create or delete posts. The protocol is a favourite target of hackers.

learn more… | top users | synonyms

0
votes
2answers
41 views

Weblog clients cannot retrieve posts: An invalid hexadecimal character (0x7) was found in the element content of the document

Error blog: www.DannyQuah.com/writings/en/ Problem: Unable to retrieve posts. Reproduced with Weblog clients Windows Live Writer, ScribeFire, and Qumana. The error message on the invalid hexadecimal ...
3
votes
1answer
812 views

XML-RPC: Add category to post data

I have a service that puts a daily post to my blog via XML-RPC. It doesn't offer me any control of what category it goes into so I want to just add a filter/hook to add the category I want into the ...
3
votes
1answer
378 views

Change post format using custom field

I'm creating a theme using the CF Post Formats plugin. But I've run into some trouble I don't know how to solve. Here's what I want to be able to do: Create a new standard-format post Enter a url ...
2
votes
1answer
589 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 ...
1
vote
1answer
34 views

Does blocking xmlrpc.php affect pinging update services like pingomatic

Because there are a lot of attacks lately on xmlrpc.php, I want to block access to this file or disable it. I am aware some remote updating functions won't work (like the mobile app) but that doesn't ...
0
votes
1answer
36 views

<script> tag is ignored when using xml-rpc

I create post using xml-rpc, in post_content I post HTML, in HTML I have js code. But after post is created in editor I don't see <script type="text/javascript"> tag. How I can fix it? Example ...
0
votes
1answer
34 views

Manage multiple wordpress installs (Best Practice)

Our company has multiple blogging platforms on which some of our people post on. The list of platforms keeps on growing and so keeping everything up to date can be rather bothersome. So we were ...
0
votes
1answer
238 views

XMLRPC - getPosts - How to call from remote site?

For the purpose of this question, I have two WordPress websites. Let's call them "Portfolio" and "News". Portfolio is a "pages" only website while "News" is a "posts" only website. On the Portfolio ...
0
votes
1answer
304 views

Access post ID in “content_save_pre”

First time poster, pardon my mistakes. I am trying to use the content_save_pre filter to grab a URL in the first line of a post and save it into a custom meta, and also set the post format as a link. ...
0
votes
1answer
70 views

Modifying Wordpress XML-RPC Built-Ins

In short, I want to be able to modify the wp.getPost response to also return additional data, like the permalink. I thought it would be as easy as just calling the same function the xml-rpc code ...
0
votes
1answer
617 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
1answer
322 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
105 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 ...
0
votes
1answer
169 views

Page content sent from XML RPC is corrupted

I am using python-wordpress-xmlrpc to edit a page to wordpress, I generate some HTML and I am sending it to wordpress. The content is a piece of valid html code, it consists of regular html tags and ...
0
votes
1answer
244 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 ...
1
vote
0answers
65 views

XMLRPC newPost post_content issue

My php script to post new content via xmlrpc to remote blogs occasionally fails due to the dreaded transport error. Usually I just end up manually posting this content, but now I'm trying to debug ...
1
vote
0answers
162 views

How to find a post using XML-RPC without knowing ID

I'm using the following function to retrieve individual posts from an external server using the WordPress XML-RPC Post API: public function get_post() {      include("lib/xmlrpc.inc"); ...
1
vote
0answers
262 views

Multisite -> XMLRPC

On my site I have Multisite enabled. XMLRPC works on the main site (www.hostname.com/xmlrpc.php), but when I try www.hostname.com/subblog/xmlrpc.php, it returns a 404 error.
1
vote
0answers
50 views

Send an extra parameter with xml-rpc login?

New to xml-rpc with wordpress. I am trying to add a 3rd login parameter for security reasons to the xml-rpc connection. As it stands the default login only accepts a username and password. On our ...
1
vote
0answers
68 views

Remotely search WordPress sites using xml-rpc

This is the scenario: There are say 3 sites - A, B and C. Sites A and B have several custom posts. Now, from site C, I'd like to make a search for the posts in sites A and B. After reading up ...
1
vote
0answers
203 views

Is there any image size limit for wordpress xml-rpc?

I'm creating a plugin using the xml-rpc to send images. I'm able to send small images, those that are less than 1 MB. But I can't send bigger images. They won't be uploaded using the wp.uploadFile. ...
1
vote
0answers
444 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 ...
1
vote
0answers
87 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 http://example.com/wp-admin/update.php?action=upgrade-plugin&...
1
vote
0answers
288 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: ...
1
vote
0answers
62 views

wp.getComments is returning nill, when i called from my iphone app

i have called wp.getComments from my iphone app, but its returning nil,, following r my parameters can anybody tell me where i gone wrong NSDictionary *DicCommentStructure = [NSDictionary ...
0
votes
0answers
16 views

Wordpress XML-RPC wp.newPage adding category to Page

I've been beating my head on the wall trying to figure out how to add a category to wp.newPage with WordPress' XML-RPC. In the WordPress docs, it says there is a parameter for wp.newPage called "...
0
votes
0answers
25 views

Add alt text to image posts using XML-RPC/functions.php

I am using the following part of code to upload images using xmlrpc: $content = array( 'name' => $title.".".$ext, 'type' => $type, 'bits' => new ...
0
votes
0answers
27 views

XML-RPC add category

I am using the following function to make new posts using xml-rpc: function wpPostXMLRPC($title,$body,$category,$keywords='',$encoding='UTF-8') { $rpcurl = 'http://example.net/xmlrpc.php'; $...
0
votes
0answers
31 views

flush_rewrite_rules with wp_cron

I'm trying to build myself a plugin for remote viewing data of all my WordPress installations in one overview. Therefore I'm generating a list using xmlrpc to remote connect to all the WordPress ...
0
votes
0answers
28 views

XML RPC faultCode 401 error with contributor

I've an external php platform that needs to push new posts to Wordpress using XML-RPC. Problem is that when creating post with "Contributor" XML-RPC reply with "faultCode 401 faultString You are not ...
0
votes
0answers
62 views

xml-rpc.php giving 403 error

I'm a beginner at using Wordpress. I have been using emacs to remotely post to my blog with http://stevenarntson.com/xmlrpc.php. It has been working well, but recently when I try to post, that address ...
0
votes
0answers
36 views

XMLRPC: How to retrieve possible custom fields for a new post?

I'm planning to implement certain XMLRPC elements in my external web application. If I'm passing wp.newPost as the method, how can I get the possible custom_fields? I don't have access to the ...
0
votes
0answers
24 views

Why none of xmlrpc filters work

I disabled all of the plugins and used fresh install of wordpress but it seems none of xmlrpc filters works for me... . for example add_filter( 'xmlrpc_wp_insert_post_data', 'ffff' ); //or ...
0
votes
0answers
37 views

Getting a plugin to activate when remote publishing

I deleted my other post as the problem is technically a new one. the following works perfectly fine when updating a post / publishing a post manually. However the plugin wont activate when a post is ...
0
votes
0answers
54 views

Using XML-RPC on a multisite enabled instance

I am using node-wporg (https://github.com/sayar/node-wporg) to interact with WP-XML-RPC which works fine until I direct it to a sub-site on a multisite instance. The blog id does not take effect and ...
0
votes
0answers
33 views

Send post via XMLRPC with open comment

I'm trying to send post via xmlrpc to wordpress but I don't know how to send comment_open to the wordpress. Is there any options to do so? I read the documentation but didn't find any option regarding ...
0
votes
0answers
28 views

posting to a wordpress blog using XML-RPC without credentials

I would like to be able to create a post from within my iPhone app/server code. I'm guessing there is no problem doing it with XML-RPC. The thing is that my app user needs to give me his admin user/...
0
votes
0answers
33 views

Anomaly with response coming from XML RPC Api get Post (integer out of range)

I am getting the following xml snippet back from a getPost call... <member> <name>image_meta</name> <value> <struct> <member> ...
0
votes
0answers
163 views

XML RPC -> Create User

I am using the WordPress API via XML RPC and it does not support creating new users. How can I go about sending a users first name, last name, email, password and photo to the XML RPC to achieve this?...
0
votes
0answers
59 views

Custom xmlrpc request does not pass parameters?

Here is what I have: function xmlrpc_login($args){ //this code actually runs var_dump($args); // is NULL ...other logic that needs the args values... } function xmlrpc_add_methods($...
0
votes
0answers
110 views

How to remove Pingbacks and xmlrpc?

How can I remove totally the pingbacks and xmlrpc? I've already disabled the allow pingbacks in my wp settings but nothing happen. Also I put this code in functions.php. function remove_x_pingback($...
0
votes
0answers
214 views

Using XML RPC to import data into WordPress

I've been asked to create a website in WordPress that should display many phone operators/agents who can be called from a given phone number on the website. So far so good but the website should ...
0
votes
0answers
145 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
0answers
71 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 info,...