[PyCS-devel] New feature in CVS: comment monitor alike behaviour
Status: Alpha
Brought to you by:
myelin
|
From: Georg B. <gb...@mu...> - 2003-01-01 14:32:09
|
Hi! I just checked in a change to comments.py and the related comments/*.py files so that comments.py now can return a full feed for all comments for a usernumber. The URL format is as follows: http://muensterland.org/system/comments.py?u=0000001&format=rss&full=1 This returns an rss feed for this weblog with all comments attached. Comments are ordered by date, newest first. I did this because this way we can return more data in the comment - this comment has more flesh in the title (the author name, the date when it was posted) and carries the actual comment in the body. I think there should be a way to limit posts to "last X days" or "newest X comments", but since I don't have much comments on my site, I didn't implement it now. Might ponder a bit over that - maybe a "new comments since my last run with new comments" and a user preference would be an alternative, I can't say at the moment. Since this feed would be used to monitor your comments to be able to weed out bad stuff, I think it should guarantee as best as it could that you don't miss on comments (just because you were flooded by comments and so it broke the limit or just because you didn't check for some weeks and so miss some old comments). To enable this I implemented a commentfeed formatter rssfull.py (new module in comments/) and made some small changes to the system. Since my MacReporterForge beta expired again, I can't check it with that tool, but the feed looks ok, so I think it's useable. I hope I didn't break anything with normal posting-related comment feeds. bye, Georg |