murklins: white woman with elephant head (Default)
murklins ([personal profile] murklins) wrote in [site community profile] dw_dev2010-05-22 12:19 pm
Entry tags:

XML-RPC log time

A few days ago I asked some XML-RPC questions, one of which was about how to obtain the entry log time (the server-based creation time) through the protocol. It turns out there isn't a way!

The getevent call returns the eventtime parameter, which is the poster-specified datetime, not the log time. The syncitems call returns a list of all the items that have been created or updated for a user, along with the server time -- but once an item has been updated, it only returns the update time, and the create time cannot be obtained.

[personal profile] pauamma thought there would be value in returning the log time and the update time separately, and I agree, but suggested we get some opinions on that change here. So: thoughts?
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2010-05-23 11:51 am (UTC)(link)
Hm, I like the sound of that. I don't know the reasoning behind the original behavior, but while I can see the time of last edit being useful for RSS feeds, I don't think it's as useful for the protocol in general.

So, um, yeah, I think it would be useful to have the date that the entry was created.
afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)

[personal profile] afuna 2010-06-08 05:22 pm (UTC)(link)
http://bugs.dwscoalition.org/show_bug.cgi?id=2673

(And if no one grabs it soon, I'll take it *g*)