Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > d8544620e4ac7bee48ddb48c85d55709 > files > 545

ikiwiki-3.20190228-1.mga7.noarch.rpm

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>add chatterbox to blog</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />

<link rel="stylesheet" href="../style.css" type="text/css" />

<link rel="stylesheet" href="../local.css" type="text/css" />










</head>
<body>

<div class="page">

<div class="pageheader">
<div class="header">
<span>
<span class="parentlinks">

<a href="../index.html">ikiwiki</a>/ 

<a href="../tips.html">tips</a>/ 

</span>
<span class="title">
add chatterbox to blog

</span>
</span>



</div>









</div>





<div id="pagebody">

<div id="content" role="main">
<p>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 <a href="http://kitenet.net/~joey/blog/">my blog</a>
--<span class="createlink">Joey</span> </p>

<ul>
<li>Enable the <a href="../plugins/aggregate.html">aggregate</a> plugin, and set up a cron
job for it.</li>
<li><p>At the top of your blog's page, add something like the following.
You'll want to change the urls of course. Be sure to also change
the inline directive's <span class="createlink">PageSpec</span> 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):</p>

<p>[[!template  id=note text=""" <br />
[[!aggregate expirecount=5 name="dents" url="http://identi.ca/joeyh" <br />
feedurl="http://identi.ca/api/statuses/user_timeline/joeyh.atom"]] <br />
[[!inline pages="internal(./blog/dents/*)" template=microblog
show=5 feeds=no]]
"""]]</p></li>
<li><p>To filter out <code>@-replies</code>, append "and !<em>@</em>" to the <a href="../ikiwiki/pagespec.html">PageSpec</a>.
The same technique can be used for other filtering.</p></li>
</ul>

<p>Note: Works best with ikiwiki 3.10 or better.</p>

</div>







</div>

<div id="footer" class="pagefooter" role="contentinfo">

<div id="pageinfo">











<div class="pagedate">
Last edited <span class="date">Tue Feb 26 23:01:54 2019</span>
<!-- Created <span class="date">Fri Apr 10 21:47:39 2009</span> -->
</div>

</div>


<!-- from ikiwiki -->
</div>

</div>

</body>
</html>