MarsEdit on LiveJournal (marsedit) wrote in lj_dev,
MarsEdit on LiveJournal

Atom GET yields blank post content

I notice that if I PUT an update to a LiveJournal post through the Atom interface, e.g. while authenticated to "marsedit" I update an entry:

PUT /interface/atom/edit/3

The result comes back 200 OK and the post is in fact updated as I specified, but an immediate GET to request the updated content yields a weird content-free entry:

<entry xmlns="">
<name>MarsEdit on LiveJournal</name>
<link rel="alternate" href="965.html" type="text/html"/>
<link rel="service.edit" href="" type="application/x.atom+xml" title="Edit this post"/>
<title>marsedit @ 2007-03-18T18:53:00</title>

The workaround is to GET the entire collection again, so I can get all items including elements.

Daniel Jalkut
Red Sweater Software

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded