RSS/Atom Feeds#
This site demonstrates how visitors can receive notifications on different topics, such as comments, via RSS. It works by generating an atom.xml for each of these topics, and then exposes links allowing users to "subscribe" to something.
More specifically, visitors of this site can subscribe to receive notifications when there are new comments on:
- specific pages -- each page has a its own RSS feed for comments
- other comments -- each comment has an RSS feed of direct replies to it
Each author also has an RSS feed, and there's a general feed for all comments.
This allows notifications to be delivered to a reader without requiring them to sign up for an account, via an open and standard protocol. Feel free to browse and explore the comments, and experiment with this commenting + notifications functionality.
The site is able to do this automatically during the static compilation phase. Every comment that's received for this site adds the necessary frontmatter via the r3ply comment template.
You can experiment with it right on this page.
Comments (0) #
Write Comment Comment [-] Collapse All Collapse [+] Expand All ExpandWhole Thread Thread
Commenting Info:
This is a demo of commenting using r3ply. You can leave comments on this website by sending an email.
Your email address will be anonymized, and can never be shared with anyone.
To try it out click the Write Comment button, or draft an email manually 1. Your email client with a template already filled out that looks as follows:
Pending Comments (0)
This comment shouldn't actually normally be rendered. It's used to by the base.html template to render one instance of a templat… root / parent .. # . next ⭣ prev. ⭡
This comment shouldn't actually normally be rendered. It's used to by the base.html template to render one instance of a template that's wrapped in
<template>tags. That template is then later cloned and appended to the page for each comment that's pending in the comment cache. For more details, and to view this comment, go to /debug-comment-template/.