The tag has no wiki summary.

learn more… | top users | synonyms

10
votes
1answer
3k views

WordPress as XML-RPC client?

I want to sync post edits on two sites. Test environment, not production. Single direction (site A to site B, but not backwards). Basically I edit post at my local test stack and same post (part of ...
5
votes
1answer
480 views

How to enable wpautop for XMLRPC content

I'm using Wordpress XMLRPC support. The content fetched through an XMLRPC client does not have the automatically added <p> tags, whereas pages rendered on the blog of the Wordpress install ...
4
votes
4answers
4k views

SSO / authentication integration with external 'directory service'

I'm about to start working on a prototype for a client - and one of the required features is integration with an in-house user authentication / registration system. This system will act as the ...
4
votes
1answer
435 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 ...
4
votes
1answer
161 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 ...
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 ...
3
votes
4answers
347 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, ...
3
votes
1answer
28 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
269 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 ...
3
votes
2answers
355 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 ...
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) { ...
2
votes
1answer
273 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( ...
2
votes
1answer
936 views

Problem with Create Post using metaWeblog.newPost or wp_insert_post

I have succesfully create new post by using the api metaWeblog.newPost. I can see the new post created under the All Posts admin page. But the problem is it won't show on the homepage. Ii will only ...
2
votes
1answer
283 views

How pull wordpress blog data using Blogger API using python

Wordpress mentioned that it supports Blogger API (link). So, can anyone tell me how to use Blogger API (using python) v3 to pull wordpress public blogs data. Or, is there any wordpress API to pull ...
2
votes
1answer
297 views

Overwrite default XMLRPC function from plugin

I want to overwrite the "metaWeblog.newMediaObject" xmlrpc call so the file is saved remotely. From mw_newMediaObject in class-wp-xmlrpc-server.php, i see that there is a hook: ...
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 ...
2
votes
2answers
745 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.
2
votes
1answer
216 views

Is it possible to post with Word 2007 via XML-RPC and limit categories by user?

I'm working on a project for a school district I work at where we want to use Word Press to have employees from all of the buildings post announcements and press releases via Word 2007. We will then ...
2
votes
1answer
438 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
4answers
4k views

XML-RPC and Custom Post Types

I can't find much documentation on using XML-RPC and custom post types. I have a specific requirement that remote posting and management (the client has an in-house cms) must be used for a custom ...
1
vote
2answers
91 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 ...
1
vote
2answers
309 views

Help Me Choose RSS or XML-RPC

Scenario: I have a mother site example.com which has a blog and say about 12 category. I also have 12 other wordpress site. Some in the subdomain of example.com and some are different domains. 12 ...
1
vote
2answers
973 views

PHP library that can merge stylesheet with inline style [closed]

I am working with html document generated from Micrsoft Word 2007/2010. Besides generating incredibly dirty html, word also has the tendency of using both block and inline style. I am looking for a ...
1
vote
2answers
512 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 ...
1
vote
1answer
339 views

Automated posting to wordpress from commandline or XMLRPC API on Dreamhost

I operate several wordpress sites on Dreamhost. I have some automated scripts that I want to be able to automatically post to the wordpress blogs. I can do this via a command-line tool or via the ...
1
vote
1answer
124 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 ) ...
1
vote
1answer
27 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 ...
1
vote
1answer
656 views

XML-RPC and post_date

I'm trying to set the post_date via XML-RPC and keep getting an error saying the XML isn't formatted properly. The code goes something like: $post = get_post( $post_id ); $response = ...
1
vote
3answers
751 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
1answer
321 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.
1
vote
1answer
39 views

Getting trackpacks/pingbacks for a post via wordpress?

Is there a way for someone to query the wordpress API of a blog in order to get the pingbacks/trackbacks for a post? E.g a blog is hosted on example.com. I want to query example.com's wordpress API ...
1
vote
1answer
204 views

Is it possible write, publish and edit posts with Wordpress from console aka terminal?

I would like to write things like LaTex with Wordpress i.e. a title would be a section, to use vimlatex -plugin to speed up writing etc. Also, it would be cool if I could publish things without going ...
1
vote
0answers
9 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
71 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 ...
1
vote
0answers
164 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
68 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 ...
1
vote
0answers
162 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
30 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 ...
1
vote
0answers
57 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 ...
1
vote
0answers
155 views

Plugin to check for duplicate attachments via XMLRPC [closed]

I am trying to create a plugin to prevent duplicate attachments from XMLRPC calls "metaWeblog.newMediaObject". The idea is, before wp_insert_attachment function is called, you generate a unique hash ...
0
votes
5answers
7k 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 ...
0
votes
2answers
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
1answer
53 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
1answer
91 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 ...
0
votes
1answer
48 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
1answer
244 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 ...
0
votes
2answers
329 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 ...
0
votes
1answer
1k 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: ...
0
votes
1answer
246 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 ...
0
votes
2answers
673 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 ...