Add a microblog template that is useful for inlining microblogging posts.
[ikiwiki] / 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/*)" template=microblog
15         show=5 feeds=no]]
16         """]]
17
18 Note: Works best with ikiwiki 3.10 or better.