aboutsummaryrefslogtreecommitdiff
path: root/doc/tips/add_chatterbox_to_blog/discussion.mdwn
blob: bf7c9b1c3f53dcc761e88b334e1386344f58ae8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 :).