MetaWeblog Post.dateCreated attribute

Found a bug? Tell us!!
Post Reply
pilfjd
Posts: 2
Joined: Tue Oct 10, 2006 9:51 pm

MetaWeblog Post.dateCreated attribute

Post 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
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post 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!).
pilfjd
Posts: 2
Joined: Tue Oct 10, 2006 9:51 pm

Post 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
Post Reply