?

Log in

No account? Create an account
How can a client tell if a journal entry has been deleted? I read… - LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

[Jun. 25th, 2006|04:48 pm]
LiveJournal Client Discussions

lj_clients

[jayssite]
How can a client tell if a journal entry has been deleted?

I read somewhere that the entry would be updated with an empty body, but this doesn't seem to be the case. As a test, I deleted a dummy journal entry, but syncitems still reported 0 updated items.
linkReply

Comments:
[User Picture]From: archon
2006-06-25 11:02 pm (UTC)
i don't think that's possible. updating an entry with an empty body is what deletes the entry, afaik. once it's gone, you can't tell it was ever there.
(Reply) (Thread)
[User Picture]From: jayssite
2006-06-25 11:16 pm (UTC)
Oh okay, thanks.
(Reply) (Parent) (Thread)
From: (Anonymous)
2006-06-26 09:41 am (UTC)
You can't tell, but you can guess from the itemid - if you divide the itemid by 256 and discard the remainder, the result should be a series of numbers that start from 0 (or 1, I don't remember) and increase by 1 with every post. Any "holes" in this series will (presumably, I don't know of anything else that would cause it) be deleted posts.
(Reply) (Thread)