Google Reader – "Mark As Read" issue fixed!

Devdatta few days back informed about a bug. Even if he was marking scraps as read they were appearing again.

Actually it took 3 days to figure out where the bug is. Fixing it after that was childs play! πŸ˜‰

There is guid tag is RSS Feed which supposed to be unique per atom. I guess Google Reader uses this to keep track of which item was marked.

Now problem was if look at scrapbook at any time  there might be more than one scrap from same friend. So using friends orkut profile link was resulting is collision.

Then I appended small random string to URL to avoid collision. Here at this point I messed code. Now guid was unique but random so for same item on every access Google Reader was getting new guid’s! So it was failing to keep track of read scraps!

Now change I made is: replaced random string by md5 hash! Now its unique and permanent as md5 has is computed using scraps content part only which is uneditable in any way!

Point of this story is – feeds produced by Orkutfeeds now should work with Google Reader & other feed reader without any problem!

If problem persists, let us know… πŸ™‚

4 Replies to “Google Reader – "Mark As Read" issue fixed!”

  1. @Varun
    Issue is fixed again (for a while)

    You have nice idea but there is a problem.
    Timestamps on orkut keeps changing so we can’t use something like 200803282225…

    We need something “fixed” in guid field and scraps/posts are uneditable so their content works fine… atleast in our case!

    Please feel free to correct me if I am missing something… πŸ™‚

  2. not working fine at all

    man instead of random or md5 in end of use date and time
    like 200803282225

    this trick is used even by mybloglog when a communty is created

    gr8 work any how
    review soon on my blog too
    already email friends

  3. @TechPavan
    Actually bug was fixed but while updating old scrapbook code without fix was uploaded to server… πŸ™
    So sorry for trouble bro..
    Everything should work now as fix is reapplied! πŸ™‚

Leave a Reply