summaryrefslogtreecommitdiff
path: root/doc/tips/add_chatterbox_to_blog/discussion.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-05-19 13:06:35 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-05-19 13:06:35 -0400
commit53b1c6f559c1d09fbdbc28c8e4d5090dd455cd26 (patch)
treed379bb0acd2dd3e9370c37b27f03989398694977 /doc/tips/add_chatterbox_to_blog/discussion.mdwn
parent18695056917a2f34a36e5e89df7f01deff9ab640 (diff)
parent4558457402a4ab6bc795589a2e400fa66144f76e (diff)
Merge commit 'intrigeri/po' into po
Diffstat (limited to 'doc/tips/add_chatterbox_to_blog/discussion.mdwn')
-rw-r--r--doc/tips/add_chatterbox_to_blog/discussion.mdwn25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/tips/add_chatterbox_to_blog/discussion.mdwn b/doc/tips/add_chatterbox_to_blog/discussion.mdwn
new file mode 100644
index 000000000..bf7c9b1c3
--- /dev/null
+++ b/doc/tips/add_chatterbox_to_blog/discussion.mdwn
@@ -0,0 +1,25 @@
+The example you gave looks a bit odd.
+
+This is what I did from your example (still trying to learn the more complex things ;).
+
+<pre>
+\[[!template id=note text="""
+\[[!aggregate expirecount=5 name=kijkaqawej url=http://identi.ca/kjikaqawej
+feedurl=http://identi.ca/api/statuses/user_timeline/kjikaqawej.atom]]
+\[[!inline pages="internal(kijkaqawej/*)" template=microblog show=5 feeds=no]] """]]
+</pre>
+
+mine, live, here: <http://simonraven.kisikew.org/blog/meta/microblog-feed/>
+
+I expected something like: sidebar, with a number, and displaying them in the sidebar, but they don't display (similar to what you have on your blog).
+
+On the [[/ikiwiki/pagespec]] page, it says "internal" pages aren't "first-class" wiki pages, so it's best not to directly display them, so how do you manage to display them? I'd like to display their name, and what they link to in the sidebar, or otherwise in the main body.
+
+> That's what the inline does, displays the internal pages.
+>
+> You need to fix your pagespec to refer to where the pages are aggregated
+> to, under the page that contains the aggregate directive. In your example,
+> it should be `internal(./blog/meta/microblog-feed/kijkaqawej/*)` --[[Joey]]
+
+>> Oooh, I see, it's referring to an absolute path (relative to the site), right?
+>> Thanks :).