]> sipb.mit.edu Git - ikiwiki.git/commitdiff
document how to make a global comments feed
authorJoey Hess <joey@gnu.kitenet.net>
Fri, 19 Dec 2008 01:20:42 +0000 (20:20 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Fri, 19 Dec 2008 01:20:42 +0000 (20:20 -0500)
doc/tips/comments_feed.mdwn [new file with mode: 0644]

diff --git a/doc/tips/comments_feed.mdwn b/doc/tips/comments_feed.mdwn
new file mode 100644 (file)
index 0000000..6851390
--- /dev/null
@@ -0,0 +1,10 @@
+You've enabled the [[plugins/comments]] plugin, so a set of pages on your
+blog can have comments added to them. Pages with comments even have special
+feeds that can be used to subscribe to those comments. But you'd like to
+add a feed that contains all the comments posted to any page. Here's how:
+
+       \[[!inline pages="internal(*/comment_*)" template=comments_display]]
+
+The special [[ikiwiki/PageSpec]] matches all comments. The
+[[template|wikitemplates]] causes the comments to be displayed formatted
+nicely.