[wp-xmlrpc] API support for post formats?

Eric Mann eric at eam.me
Sat Nov 13 15:53:22 UTC 2010


I've now submitted a patch for #15405.  It adds support for a
'wp_post_format' parameter in metaWeblog.newPost, metaWeblog.editPost,
metaWeblog.getPost, and metaWeblog.getRecentPosts.  It also adds a new
wp.getPostFormats method to return an array of supported post formats for a
site.

Take a look, give it a test, and let's see if we can get this committed
ASAP.

On Fri, Nov 12, 2010 at 7:34 AM, Eric Mann <eric at eam.me> wrote:

> Ticket #15405 (http://core.trac.wordpress.org/ticket/15405).  I hope to
> crack out a patch tonight, but if someone wants to beat me to it, feel free
> :-)
>
>
> On Fri, Nov 12, 2010 at 6:47 AM, Peter Westwood <peter.westwood at ftwr.co.uk
> > wrote:
>
>>
>> On 12 Nov 2010, at 14:35, Daniel Jalkut wrote:
>>
>> >
>> > I am just catching up on progress that has been made to add post formats
>> in WordPress:
>> >
>> > http://codex.wordpress.org/Post_Formats
>> >
>> > I don't see anything obvious in xmlrpc.php to indicate that this is
>> being exposed yet for API clients. Does anybody have thoughts about adding
>> this support?
>> >
>> > The rules seems to be pretty simple: a post format indicates that the
>> conventional post content should be interpreted according to certain rules.
>> So I think from a client point of view it would be sufficient to be able to
>> read and write the post format term on the post.
>>
>> This sounds like a sensible proposal.
>>
>> Could you open a trac ticket for this?
>>
>> Cheers
>> --
>> Peter Westwood
>> http://blog.ftwr.co.uk | http://westi.wordpress.com
>> C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5
>>
>> _______________________________________________
>> wp-xmlrpc mailing list
>> wp-xmlrpc at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-xmlrpc
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.automattic.com/pipermail/wp-xmlrpc/attachments/20101113/9de12408/attachment.htm>


More information about the wp-xmlrpc mailing list