Monday, June 21, 2010

Re: Weekly rss feed

On 2010-06-21, at 5:48 PM, TheIvIaxx wrote:
> I was wondering how to create a weekly feed for django. Lets say i
> have a table of objects that gets added to all week long. I'd like to
> allow people to subscribe to a feed that would give a single update
> with all items that were added that week. Since the client doesn't
> send anything about when it last checked for updates, it's hard to
> determine if the requesting client needs to be given an update or not.

A few points:

- RSS readers keep track of all the things that have been read and don't display duplicates, so I don't really see a need for doing this anyway

- You maybe want a script that runs once a week and produces a summary post of all the things entered that week, but that just gives you one item.

- Or you just do a query that specifies the time range, eg: filter and only show posts in the last seven days.
--
Andy McKay, @andymckay
Django Consulting, Training and Support

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate