The xml-rpc tag has no wiki summary.
0
votes
0answers
26 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
19 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
233 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: ...
4
votes
1answer
107 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 ...
2
votes
3answers
771 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
26 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
8 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.
...
0
votes
1answer
116 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
1answer
234 views
Set default custom post type for XML-RPC
So now that it is possible to work with Custom Post Types over XML-RPC,
http://www.maxcutler.com/2012/04/04/xml-rpc-in-wordpress-3-4/
has anyone figured out a way to set the post type for all items ...
1
vote
3answers
421 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 ...
0
votes
0answers
58 views
Can Contributor post to WordPress via XML RPC?
I have a function that creates a post in my WordPress site every time a specific function runs. It uses XML-RPC and works great with my admin user, but when I try to use a contributor account, nothing ...
1
vote
0answers
25 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
574 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
98 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
0answers
143 views
xmlrpc.php diagnostics test?
What's the best way to test if xmlrpc.php is working properly? Is there a "gold standard" app you test with?
For example, a client is using Live Writer and she was getting the following error last ...
3
votes
1answer
98 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
221 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
186 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
1answer
94 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
2answers
449 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
77 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
61 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
61 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
0answers
95 views
Publish HTML using XML-RPC
I have looked at a number of apps which can publish blog posts to Wordpress from mobile phone be it Android, Blackberry, iPhone or Windows Phone.
All of them publish the content entered by the user ...
1
vote
1answer
23 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
2answers
690 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 ...
2
votes
0answers
142 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
317 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
1answer
276 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
83 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 ...
1
vote
4answers
3k 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 ...
0
votes
1answer
76 views
How to list the updates using wordpress xml-rpc methods
can any one tell me , how can i list the updates using wordpress xml rpc methods , like how we list posts and comments using wp.getPosts and wp.GetComments, i have searched for the method but i didnt ...
1
vote
0answers
101 views
which plugin should i install to use these XML-RPC methods
Can any one tell me which plugin should i install to access these XML-RPC methods,
// - Demo
0115
'demo.sayHello' => 'this:sayHello',
0116
...
3
votes
4answers
3k 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 ...
1
vote
0answers
39 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
1answer
192 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
185 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 ...
-1
votes
2answers
281 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
692 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
vote
1answer
34 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 ...
2
votes
1answer
210 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 ...
1
vote
2answers
468 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
158 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
98 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
129 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
348 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 ...
-1
votes
1answer
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
108 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
214 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 ...
0
votes
4answers
5k 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 ...
