]> sipb.mit.edu Git - ikiwiki.git/commitdiff
new tip
authorJoey Hess <joey@gnu.kitenet.net>
Fri, 10 Apr 2009 21:47:39 +0000 (17:47 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Fri, 10 Apr 2009 21:47:39 +0000 (17:47 -0400)
doc/tips/add_twit_dent_box_to_blog.mdwn [new file with mode: 0644]

diff --git a/doc/tips/add_twit_dent_box_to_blog.mdwn b/doc/tips/add_twit_dent_box_to_blog.mdwn
new file mode 100644 (file)
index 0000000..b798853
--- /dev/null
@@ -0,0 +1,17 @@
+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="identi.ca posts"
+       feedurl="http://identi.ca/api/statuses/user_timeline/joeyh.atom"
+       url="http://identi.ca/joeyh"]]
+       \[[!inline pages="internal(identi.ca_posts/*)" archive=yes show=5
+       quick=yes template=titlepage]]
+       """]]