The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
511 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 ...
3
votes
1answer
337 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 ...
1
vote
0answers
121 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. ...
0
votes
0answers
11 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
1answer
55 views

Best way for plugin to accept POSTs?

The problem: I'm developing a plugin which needs to accept POST data (webhooks from an external source). I do not have control over the format of the data POSTed. My only option for passing my own ...
1
vote
1answer
28 views

Is there a way to know if a post has been published through XML-RPC?

It's all in the title, I'm looking for a way to know if a given post was published through XML-RPC, versus published by hand in the WP admin. Pseudo code : if( !wpse_from_xmlrpc( $post -> ID ) { ...
1
vote
2answers
453 views

Working code example of PHP XML-RPC connex to site?

I'm working on an integration between an outside app (which needs to pull user names and some taxonomy data, and create new posts) and a WordPress site. I'm running the latest build of WP (4.0). The ...
1
vote
1answer
22 views

Can XMLRPC set show_on_front/page_on_front?

Is it possible to set show_on_front and page_on_front via XMLRPC? They do not appear in the list returned from wp.getOptions and using wp.setOptions does not appear to change the values.
0
votes
1answer
13 views

Execute upgrade-theme with coding

I'm executing some functions remotely from xmlprc with wordpress. I would like to run upgrade-theme remotely for theme that I develop. Assume that wp knows there is new version of theme. ...
0
votes
0answers
26 views

How to get all articles from a master category via API

I'm building a CMS-to-Wordpress migrator tool, for a custom hand-made CMS. I'm using XML-RPC API with JWordpress wrapper (I also used WordpressSharp, but I found out that it's very limited in ...
0
votes
3answers
3k 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
2answers
25 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 ...
0
votes
0answers
82 views

32300 Transport Error

I am using a PHP based system to post remotely to WordPress sites. A few of the sites return a -32300 : transport error - HTTP status code was not 200 Spending some time on Google showed me that ...
0
votes
0answers
244 views

How to enable XML RPC for WordPress Multisite

Im trying to activate the plugin Jetpack on my multisites. On the main domain (network admin), the plugin is able to activate and work. However, when I tried to active on the sub domain, it gives the ...
4
votes
2answers
1k views

wp.getUsersBlogs XMLRPC Brute Force Attack/Vulnerability

After the holiday weekend, one of the larger sites I manage had a brute force attack on it. The attacker was attempting to use the wp.getUsersBlogs function and a list of popular usernames and ...
1
vote
1answer
117 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 ...
1
vote
2answers
250 views

XMLRPC and Underscored custom fields

I was creating my application to automate all of my blogs from my desktop. Target, I'll post blog. That's all. I used XMLRPC service, as you know "xmlrpc.php". I built many of parts, near to done... ...
5
votes
1answer
187 views

How to validate XML-RPC post creation and cancel when needed?

I have an IFTTT recipe that creates posts for me on some occasion, but for some weird reason it creates three, sometimes four posts of the same content. I would like to add an add_action ...
3
votes
1answer
2k 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: ...
1
vote
0answers
128 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.
0
votes
1answer
112 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
0answers
36 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 ...
0
votes
0answers
239 views

Can't connect to blog with Windows Live Writer

Until recently I was able to use Windows Live Writer to write my blog posts. A few days ago I had to reinstall my computer. I also reinstalled WLW and tried to reconfigure my blog, but I got this ...
0
votes
1answer
211 views

XML-RPC: How to add media caption to uploaded image?

I need to migrate non-WP data from an SQL database to posts in WP, and thought that using XML-RPC in a closed environment before deploying was a smart solution. This is my first WP project, so I'm ...
0
votes
0answers
34 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 ...
1
vote
3answers
3k views

Restrict access to xmlrpc.php

I am fairly new to Wordpress and I recently noted a huge amount of traffic hitting the following: 162.242.170.222 - - [01/Aug/2014:08:18:54 -0500] "POST /xmlrpc.php HTTP/1.0" 503 4859 162.242.170.222 ...
0
votes
1answer
88 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. ...
1
vote
0answers
33 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 ...
0
votes
1answer
62 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
0answers
92 views

Media is not getting uploaded on specific site using wordpress xml-rpc

I am using WordPress XML-RPC to create post from one WordPress site to another WordPress site. Following is my code, my code is using these two functions. function ...
1
vote
0answers
50 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 ...
0
votes
0answers
77 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 ...
0
votes
0answers
153 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 ...
2
votes
3answers
2k 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
285 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 ...
3
votes
4answers
600 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
60 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
278 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
1answer
354 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 ...
0
votes
1answer
214 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> ...
1
vote
0answers
298 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
462 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: ...
1
vote
0answers
75 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
215 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
1answer
259 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
451 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
182 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 ...
1
vote
0answers
211 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
5answers
8k 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
746 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 ...