Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Blog / RSS Comments

RSS Comments

by Ross Patterson last modified Feb 11, 2008 07:22 AM
an OOTB substitute for email notification

There's already a lot of discussion of what's lacking with Plone's OOTB commenting support and looming large among them is lack of notification.  Many of the blogging and forum add-ons out there have notification solutions, but I wanted to stay OOTB if possible.

Enter RSS searches.  As a site administrator I can keep abreast of the comments on my site by subscribing to a simple RSS feed so a search query on the comment content type and sorted by the creation date:

${portal_url}/search_rss?portal_type:list=Discussion%20Item&sort_on=created

If I wanted to be notified of comments on a particular object, I can add that object's talkback path to the query and subscribe to the resulting feed:

${portal_url}/search_rss?portal_type:list=Discussion%20Item&sort_on=created&path=${object_path}/talkback

It's even possible to build a search query that tracks the replies to a specific comment using the in_reply_to index and the comment's number:

${portal_url}/search_rss?portal_type:list=Discussion%20Item&sort_on=created&in_reply_to=${comment_number}

Of course, this isn't hierarchical in the sense that replies to a reply won't appear in this query.  That, however, could be fixed with a small change by making the in_reply_to index a KeywordIndex that indexed multiple comment number values.

It would also be tres cool to add these RSS feed links to the comments UI somewhere making it convenient to subscribe to the particular comment threads a user might be interested in.

Anyone want to sponsor this?  :)

This combined with any of the many RSS to email web services out there would actually make quite a powerful poor-person's email notification system if you absolutely had to have email notification.  I could even make the argument that RSS is a more appropriate channel for comment notification than email anyways.  In the manner of confessions, I use rss2email.

 

Navigation
OpenID Login

Contact

me@rpatterson.net

IRC: zenwryly@irc.freenode.net
plone.org: rossp
GTalk: mer@patterson.net
Yahoo IM: patterson_ross
AIM: rosspatters
MSN: me@rpatterson.net
Skype: merpattersonnet

PO Box 7775 #10587
San Francisco, CA
94120-7775

Phone
+1 (415) 894-5323