The tag has no usage guidance.

learn more… | top users | synonyms

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 ...
0
votes
1answer
695 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 ...
1
vote
0answers
276 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
2answers
1k 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
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
69 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
1answer
596 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
33 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 ...
0
votes
2answers
478 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
890 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 ...
3
votes
1answer
3k 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
316 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
477 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
219 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
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 ...
1
vote
1answer
31 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 ...
3
votes
1answer
377 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
1answer
922 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 = ...
0
votes
1answer
167 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
103 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
243 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
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 ...
-1
votes
1answer
525 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 ...
1
vote
1answer
415 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.
2
votes
1answer
526 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
580 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
41 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 ...
4
votes
1answer
205 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
2answers
2k 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 ...
2
votes
1answer
474 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: ...
1
vote
0answers
182 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 ...
1
vote
1answer
298 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 ...
5
votes
1answer
642 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 ...
0
votes
3answers
4k 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
865 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 ...
5
votes
2answers
2k 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 ...
1
vote
1answer
383 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 ...
0
votes
1answer
162 views

Getting the Posts' permalinks from XLMRPC

I'm new to WP and I must fetch pages/posts from a blog in another subdomain. I'm using ZF to do this. I've recently found out the getPages doesn't get me what I want (posts; duh!). I didn't see any ...
1
vote
2answers
374 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 ...
2
votes
1answer
1k 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 ...
-1
votes
2answers
384 views

Enabling XML-RPC Accross 500 blogs

How would I update 500 different blogs hosted on separate hosting accounts and enable xml-rpc publishing? We are writing a unified system for our clients who use a customized deployment of WP, ...
2
votes
1answer
358 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( ...
0
votes
1answer
249 views

Post via wp-admin and via iOS app, same hooks and triggers involved?

I've got an add_action in functions.php, the action is for save_post and the function I'm running I've named set_attachment_url. I'm simply getting the first attachment on a post and setting a custom ...
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 ...
10
votes
1answer
4k 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 ...
2
votes
2answers
918 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.
3
votes
3answers
2k 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) { ...
1
vote
3answers
1k 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 ...
2
votes
1answer
217 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 ...
6
votes
3answers
6k 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 ...