diff --git a/code/sitefeatures/PageCommentInterface.php b/code/sitefeatures/PageCommentInterface.php index 4e4f04ba..df565534 100755 --- a/code/sitefeatures/PageCommentInterface.php +++ b/code/sitefeatures/PageCommentInterface.php @@ -81,6 +81,10 @@ class PageCommentInterface extends ViewableData { return $comments; } + function CommentRssLink() { + return Director::absoluteBaseURL() . "PageComment/rss?pageid=" . $this->page->ID; + } + } class PageCommentInterface_Form extends Form { diff --git a/templates/PageCommentInterface.ss b/templates/PageCommentInterface.ss index 9f58c81a..0d2e5674 100755 --- a/templates/PageCommentInterface.ss +++ b/templates/PageCommentInterface.ss @@ -40,6 +40,6 @@

No one has commented on this page yet.

<% end_if %> - + RSS feed for comments on this page