Support » Everything else WordPress » XML-RPC adding publishing date to new post?

  • I’m currently experimenting with XML-RPC and discovered that you can use <title> and <category> tags within the newPost() function. But I couldn’t find a source that says which commands are available and especially if it is possible to set a publishing date for the new post?

    Thanks for any answer,


Viewing 3 replies - 1 through 3 (of 3 total)
  • ok, as far as I have discovered is there no way to add a date. So I have implented it on my own, maybe the wordpress developer can consider implementing their own standard instead of accepting only other xml-rpc standards…
    It would be nice to be able to add a new category with xml-rpc and to add a publish-date.
    Here you get a description what I have done to implement the code, and also *.zip file to download and use it right now:

    Maybe someone can move this to the “request”-forum?

    Why not use the metaweblog API newPost method and pass in the appropriate fields (title and date). Here is a link to the MT API

    (I could not find the original doc at SA website).

    The dateCreated param takes ISO 8601 date.

    I can confirm this works for me, I have successfully used the metaBlog API and it accepts a date. One thing to note though, the date format is not 100% ISO 8601, it doesn’t accept a time zone.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘XML-RPC adding publishing date to new post?’ is closed to new replies.