Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove the "add comment" button from printed media
[git.ikiwiki.info.git]
/
doc
/
tips
/
add_chatterbox_to_blog.mdwn
diff --git
a/doc/tips/add_chatterbox_to_blog.mdwn
b/doc/tips/add_chatterbox_to_blog.mdwn
index ee5ead64b40cf9915b022b302c6946b16b0418b4..0414d1804c4947cfefeba9041251fbcf4af1c078 100644
(file)
--- a/
doc/tips/add_chatterbox_to_blog.mdwn
+++ b/
doc/tips/add_chatterbox_to_blog.mdwn
@@
-1,3
+1,5
@@
+[[!meta date="2009-04-10 17:47:39 -0400"]]
+
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/)
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/)
@@
-6,15
+8,19
@@
from there, like I have on [my blog](http://kitenet.net/~joey/blog/)
* 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.
* 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.
+ You'll want to change the urls of course. Be sure to also change
+ the inline directive's [[PageSpec]] to link to the location the
+ feed is aggregated to, which will be a subpage of the page
+ you put this on (blog in this example):
\[[!template id=note text="""
\[[!aggregate expirecount=5 name="dents" url="http://identi.ca/joeyh"
feedurl="http://identi.ca/api/statuses/user_timeline/joeyh.atom"]]
\[[!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]]
+ \[[!inline pages="internal(./blog/dents/*)" template=microblog
+ show=5 feeds=no]]
"""]]
"""]]
-For a cleaner look without the post dates, add `template=titlepage`
-
to the `inline` directive
.
+* To filter out `@-replies`, append "and !*@*" to the [[ikiwiki/PageSpec]].
+
The same technique can be used for other filtering
.
Note: Works best with ikiwiki 3.10 or better.
Note: Works best with ikiwiki 3.10 or better.