Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Workflow for syncing up a client repository
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Simone Chiaretta  
View profile  
 More options Jan 12 2011, 9:08 am
From: Simone Chiaretta <simone.chiare...@gmail.com>
Date: Wed, 12 Jan 2011 15:08:38 +0100
Local: Wed, Jan 12 2011 9:08 am
Subject: Workflow for syncing up a client repository

I'm building a client app that syncs with Google Reader and after having
understood the basics of getting lists of posts and setting tags I was
wondering how to sync my client-side repository with the one online.
Specifically, which is the best way to get updates on what the user read
online?

Imagine I use my client and download 100 new items.
I mark a few of them (let's say 7) as read then I quite the app. I still
have 93 items.

I open the app again, I ask for all the new items after the last time I
synced my app (to avoid downloading again all the old items). And I get 15
new items. Now I have 108 items.
I close the app again.

For some reason I go the google reader online, and I mark 50 items as read.

I go back to the client app: how can I know 50 items have been read if I
just ask for the updates to the reading list?
Or should I always use the stream/id to get all the reading list (without
using the last updated field) and then purge the local repository from the
ids that are in the list anymore?

What do you guys do? What do you recommend?

Thank you
Simone
--
Simone Chiaretta
Microsoft MVP ASP.NET - ASPInsider
Blog: http://codeclimber.net.nz
RSS: http://feeds2.feedburner.com/codeclimber
twitter: @simonech

Any sufficiently advanced technology is indistinguishable from magic
"Life is short, play hard"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »