]> sipb.mit.edu Git - ikiwiki.git/blob - doc/tips/add_chatterbox_to_blog.mdwn
ee5ead64b40cf9915b022b302c6946b16b0418b4
[ikiwiki.git] / doc / tips / add_chatterbox_to_blog.mdwn
1 If you use twitter or identi.ca, here's how to make a box
2 on the side of your blog that holds your recent status updates
3 from there, like I have on [my blog](http://kitenet.net/~joey/blog/)
4 --[[Joey]] 
5
6 * Enable the [[plugins/aggregate]] plugin, and set up a cron
7   job for it.
8 * At the top of your blog's page, add something like the following.
9   You'll want to change the urls of course.
10
11         \[[!template id=note text="""  
12         \[[!aggregate expirecount=5 name="dents" url="http://identi.ca/joeyh"  
13         feedurl="http://identi.ca/api/statuses/user_timeline/joeyh.atom"]]  
14         \[[!inline pages="internal(dents/*)" archive=yes show=5 feeds=no]]  
15         """]]
16
17 For a cleaner look without the post dates, add `template=titlepage`
18 to the `inline` directive.
19
20 Note: Works best with ikiwiki 3.10 or better.