?

Log in

No account? Create an account
November 8th, 2007 - LiveJournal Development — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Development

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

November 8th, 2007

comment editing and export_comments.bml [Nov. 8th, 2007|08:05 pm]
LiveJournal Development

lj_dev

[ghewgill]
[Tags|, , ]

http://www.livejournal.com/developer/exporting.bml says that "Comment body data is to be heavily cached. None of this data can change. Once you have downloaded a comment, you do not need to do so again." However, experimentation with the new comment editing feature appears to show that this is no longer the case.

My ljdump tool downloads all journal entries and comments. If you edit a comment after ljdump has downloaded it, then ljdump will never see the edited comment. After all, it already downloaded the immutable comment body, and does not expect it to change. Even the <date> field in the comment_body download does not change when a comment is edited!

How did people edit comments before this feature? Well, they deleted the old comment and created a new one with changed content. Why not simply automate this process with the new edit comment feature? That way, you won't play havoc with your APIs and people who depend upon them.
link4 comments|post comment

navigation
[ viewing | November 8th, 2007 ]
[ go | Previous Day|Next Day ]