January 16th, 2006

  • vzaliva

ATOM posting

I am playing with ATOM posting to live journal. My first problem is that it does not return URL of newly created entry. In response to atom posting request I receive:

Collapse )

First problem is that Location header supposed to contain URL of newly created entry, something like:


Now it returns 'service.edit' URL which is wrong.

Second problem is that returned entry contains weird LINK element with empty HREF. From what I see there is no way to deduct from server response URL of newly created entry. How people get around this? Is it supposed to be like this or it is just a bug?

Good news is that it seems that when posting from ATOM date is correct and there is no timezone problems I've was encountering earlier when using XMLRPC.