开发者

Question about Django's feed framework

I'm trying to setup a feed for my 开发者_开发问答app, but I'm a little confused.

I'm aiming for something like the one on bitbucket/github's dashboard.

So my user creates lists, and the lists will have items. Users can also follow other users and their lists.

I want my feed to show:

  • The activities for the user on his lists
  • The activities of other (followed) users on their lists

How is this set up?


The Django Syndication Framework focuses on providing RSS (or other syndication format) feeds. Feeds are usually just an XML document that provide the fields required for the format involved. The framework does not include any kind of feed reader, which is what the front-end to githubs dashboard is.

I believe you're on your own for the frontend, but you can look at a number of RSS readers source for inspiration.

Also, re-reading what you wrote again, it sounds like you're after a twitter-like following system. There is a question that explores OS twitter clones. Try to take a look at the model structure, and UI, for following users. This should be a fairly good jumpstart. Correct me if I'm wrong about this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜