Page 1 of 1

MetaWeblog Post.dateCreated attribute

Posted: Tue Oct 10, 2006 10:03 pm
by pilfjd
Hi,

First of all, thanks for the great software, it's very straightforward to use, seems to have a great community, and just about perfect for my blog.

I'm not sure if this is the correct place in the forums to post this question, but I'll go ahead anyway.

I'm writing software that will allow me to restore posts from an old Serendipity MySQL database backup.

When I try to use the MetaWeblog API to do this, it seems as if the XML-RPC plugin is ignoring the "dateCreated" attribute of a new post. This seems to be the case for the Blogger API as well. Is this done on purpose?

Regards,
Jay

Posted: Tue Oct 10, 2006 11:34 pm
by mgroeninger
Hey Jay,

You are right... It does not seem to honor dateCreated in metaWeblog_newPost... It does for metaWeblog_editPost, though.

I have patched this in CVS... plugin version 1.25 contains the fix.

I'm not sure if it is worth updating the blogger API, since it does not actually state that dateCreated should be used... It only loosely defines "content" for its post and edit functions (though I'm no expert... if someone can get me good documentation on what they want as "content" that would be cool!).

Posted: Wed Oct 11, 2006 4:40 am
by pilfjd
Thanks for the update, Matthew. I'll keep my eye out for the new version of the plugin. It's very much appreciated.

Yes, the Blogger API hasn't been worked on much since Blogger got acquired. I think that what is currently implemented for Serendipity seems to be on par with what I've seen out there. Thanks, again.

Regards,
Jay