?

Log in

No account? Create an account
syncitems question - LiveJournal Client Discussions [entries|archive|friends|userinfo]
LiveJournal Client Discussions

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

syncitems question [Jul. 21st, 2003|04:31 pm]
LiveJournal Client Discussions

lj_clients

[quirrc]
From what I've found reading the protocol documentation there's a way to get changed journal entries but no way to do it for the comments.
But do those changed entry ids include the ones having new comments (since there's a meta data with last coment time) or the "changed" term means only the entry text so that to synchronize both entires and comments I have to download the whole journal?
linkReply

Comments:
[User Picture]From: wooble
2003-07-21 07:11 am (UTC)
Entries returned by syncitems are changed entries. Adding a comment to an entry does not change it. Even if syncitems considered an entry changed when comments were posted to it, this would do you no good as fetching the entry again using the protocol would just get the exact same thing you'd already downloaded; comments are not included when you fetch an entry and there is no way to fetch comments using the protocol.
(Reply) (Thread)
[User Picture]From: quirrc
2003-07-21 07:22 am (UTC)

Re:

i new syncitems doesn't return comments, i just wanted to know if there's a possibility to at least use it to get ids of entries with changed comments. (to download them in other way like directly get the .html file).
So if what you said is true, modifying any meta fields like date or music won't be considered by syncitems as a change?
(Reply) (Parent) (Thread)
[User Picture]From: wooble
2003-07-21 07:27 am (UTC)

Re:

Syncitems does return comments. The protocol just doesn't provide any way to fetch them because of the database load it would create.

As for metadata, that has nothing to do with comments. Editing an entry in any way, including changing the currents or the subject or the text of the entry, is a change to the entry. Posting a comment to it is not.
(Reply) (Parent) (Thread)
[User Picture]From: quirrc
2003-07-21 07:39 am (UTC)

Re:

there's a meta field called "commentalter". You mean that only editing manually changes the entry (for syncitems)?
(Reply) (Parent) (Thread)