From e0d1e84b8db54338512ee1ca4b20817d4e338362 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 10 Apr 2009 21:44:25 -0400 Subject: better name --- doc/tips/add_chatterbox_to_blog.mdwn | 20 ++++++++++++++++++++ doc/tips/add_twit_dent_box_to_blog.mdwn | 20 -------------------- 2 files changed, 20 insertions(+), 20 deletions(-) create mode 100644 doc/tips/add_chatterbox_to_blog.mdwn delete mode 100644 doc/tips/add_twit_dent_box_to_blog.mdwn (limited to 'doc') diff --git a/doc/tips/add_chatterbox_to_blog.mdwn b/doc/tips/add_chatterbox_to_blog.mdwn new file mode 100644 index 000000000..ee5ead64b --- /dev/null +++ b/doc/tips/add_chatterbox_to_blog.mdwn @@ -0,0 +1,20 @@ +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](http://kitenet.net/~joey/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/*)" archive=yes show=5 feeds=no]] + """]] + +For a cleaner look without the post dates, add `template=titlepage` +to the `inline` directive. + +Note: Works best with ikiwiki 3.10 or better. diff --git a/doc/tips/add_twit_dent_box_to_blog.mdwn b/doc/tips/add_twit_dent_box_to_blog.mdwn deleted file mode 100644 index ee5ead64b..000000000 --- a/doc/tips/add_twit_dent_box_to_blog.mdwn +++ /dev/null @@ -1,20 +0,0 @@ -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](http://kitenet.net/~joey/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/*)" archive=yes show=5 feeds=no]] - """]] - -For a cleaner look without the post dates, add `template=titlepage` -to the `inline` directive. - -Note: Works best with ikiwiki 3.10 or better. -- cgit v1.2.3