summaryrefslogtreecommitdiff
path: root/doc/tips/add_chatterbox_to_blog.mdwn
blob: 3497da9ff04e6dde73734c108123e00abbe7aaa3 (plain)

If you use twitter or identi.ca, here's how to make a box on the side of your blog that holds your recent status updates from there, like I have on my blog --[[Joey]]

  • Enable the [[plugins/aggregate]] plugin, and set up a cron job for it.

  • At the top of your blog's page, add something like the following. You'll want to change the urls of course.

    [[!template id=note text="""
    [[!aggregate expirecount=5 name="dents" url="http://identi.ca/joeyh"
    feedurl="http://identi.ca/api/statuses/user_timeline/joeyh.atom"]]
    [[!inline pages="internal(dents/*)" template=microblog show=5 feeds=no]] """]]

Note: Works best with ikiwiki 3.10 or better.