Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A news feed becomes a very interesting problem once you release it to the live server. I'm dealing with one for the last year, and enjoy reading about them whenever I can. Thanks for the article.

One problem for your approach would be handling of deletions. You should visit all the recipient feeds to delete the item, and it's not that uncommon.

Another one is handling comments, which is the real thing creating the buzz if you're providing the feed for the network effect. The article assumes a twitter like publishing if I got it right. In a Facebook like feed, you may want to include a couple of comments with the original item to display the action (first two is always displayed with the feed item, for examle)and async. load the rest. You may want to keep the exact number of comments to display something like "6 more comments", and this means updating all the copies with every comment.

There's also the problem of changing permissions, if you have one. In my case, a parenting social network, user can set feed permission to "family only" or "friends" or "my partner" etc. anytime, hence adding and deleting again to other user's feed in your case.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: