Drake (drakethedog) wrote in lj_clients,
Drake
drakethedog
lj_clients

I just got an Apple, and I thought I'd try to wade through the Mac OSX API by writing an LJ client. Currently, I'm working the calendar widget to display the history of posts. I'd like to store the just the subjects and such locally. I do not want to download the entire entries history. Still, the best way to go about this seems to be with syncitems.

I initially tried to use getdaycounts couples with getevents with a prefersubject which I like because I can use other journals besides the default one. However, there doesn't seem to be a way to use the same sync logic as syncitems with this mode. That is, I have to download all the getdowncounts each time.

Is there a way to fake the last sync date? I'd like to use the getdaycounts for the initial full download, but then use the lastsync on the subsequent updates. In the documentation, it is stressed to use this mode of getentries coupled with syncitems. Can I just use the events_n_eventtime in getentries by converting it to GMT to figure out the lastsyncdate for the next time?

Hopefully, that's clear and isn't too rambly. :)
Subscribe

  • 302: lj_dev

    In the interests of consolidating all LiveJournal development-related discussion, we're going to be closing down this community. The same…

  • Plain text to LJ

    I have an old blog from xanga that's in html/plain text and I want to move it over here. Which client would be the best to do this? I also want to…

  • ljKlient 0.2.0 Preview Release 1

    Today marks another milestone in the development of ljKlient — as the first preview of the 0.2 series is released.  Please go to the project…

  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 7 comments