Wonderful use of Page Variables, Kathryn. Very clever. <br><br>I&#39;ll have to play with it. I use categories extensively, so I&#39;ll need to figure out if tagger can play nice with what I already have in place--but regardless, thanks for sharing this recipe. Really cool idea and execution.<br>

<br>Best,<br>Brent<br><br><div class="gmail_quote">On Tue, Jan 27, 2009 at 4:32 PM, Kathryn Andersen <span dir="ltr">&lt;<a href="mailto:kat_lists@katspace.homelinux.org" target="_blank">kat_lists@katspace.homelinux.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>On Wed, Jan 28, 2009 at 12:49:13AM +0100, <a href="mailto:kirpi@kirpi.it" target="_blank">kirpi@kirpi.it</a> wrote:<br>


&gt; I am failing to understand how the Tagger[1] recipe is to be used.<br>
&gt; So, I enabled it with<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;$TaggerGroups[&#39;Tags&#39;] = &#39;Tags&#39;;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;include_once(&quot;$FarmD/cookbook/tagger.php&quot;);<br>
&gt;<br>
&gt; Now, somebody visits a A page and adds<br>
&gt; &nbsp; &nbsp; &nbsp; Tags: dog, cat, mouse<br>
&gt; Somebody else visits another page and adds<br>
&gt; &nbsp; &nbsp; &nbsp; Tags: mouse, rabbitt, lion<br>
&gt;<br>
<br>
</div>The idea of Tagger is an extension of the idea of Categories[2], so<br>
one needs to understand how Categories work before one can understand<br>
how Tagger works. &nbsp;Categories gives one special markup which creates a<br>
link to the given page in the Category group, which itself needs to be<br>
set up to display the pages that link to it.<br>
<br>
What Tagger gives one is *multiple* category groups, each one of which<br>
needs to be set up like one would set up a standard PmWiki Category<br>
group.<br>
<br>
I use this extensively in my wiki, for example with my pages on books.<br>
For example take the page about a book I read recently, &quot;An Assembly<br>
Such as This&quot;[3].<br>
<br>
I have tagger groups for Author, Genre, Series and Status.<br>
$TaggerGroups[&#39;Author&#39;] = &#39;Reviews-Book-Author&#39;;<br>
$TaggerGroups[&#39;Genre&#39;] = &#39;Reviews-Genre&#39;;<br>
$TaggerGroups[&#39;Series&#39;] = &#39;Reviews-Series&#39;;<br>
$TaggerGroups[&#39;Status&#39;] = &#39;Reviews-Book-Status&#39;;<br>
<br>
Author: Pamela Aidan<br>
Genre: Historical, Romance<br>
Series: Fitzwilliam Darcy, Gentleman<br>
Status: Owned<br>
<br>
This gives me different &quot;category groups&quot; for different kinds of<br>
information, so that I can look at the books by author, by genre, by<br>
series, and by status (whether I own the book or whether I am just<br>
reading it).<br>
<br>
For example, the &quot;Author: Pamela Aidan&quot; will give me a link to<br>
[[Reviews-Book-Author/PamelaAidan]] without me having to type<br>
in the link code. &nbsp;This also has the advantage that I can use the<br>
&quot;Author: Pamela Aidan&quot; as a page-text-variable in pagelists or display<br>
templates.<br>
<div><br>
&gt; &nbsp;- Now, how can I have a list of those pages which bear the &#39;dog&#39; tag?<br>
</div>By looking at the Tags/Dog page, if the Tags group has been set up<br>
correctly as a &quot;category&quot; group.<br>
<div><br>
&gt; &nbsp;- How can I have a list of all the tags used, site-wide?<br>
</div>By setting up the Tags group to (a) auto-create pages and (b) setting up<br>
the Tags/Tags page to list all pages in the Tags group.<br>
<div><br>
&gt; &nbsp;- What are those Tags/Dog, Tags/Cat pages supposed to be used for?<br>
</div>For listing all pages that link to them.<br>
<div><br>
&gt; &nbsp;- What are those Page Variables listed in the recipe for?<br>
</div>The PageVariables listed in the recipe are used in two ways:<br>
a) in pagelists<br>
b) in display templates<br>
<div><br>
[1] <a href="http://www.pmwiki.org/wiki/Cookbook/Tagger" target="_blank">http://www.pmwiki.org/wiki/Cookbook/Tagger</a><br>
</div>[2] <a href="http://www.pmwiki.org/wiki/PmWiki/Categories" target="_blank">http://www.pmwiki.org/wiki/PmWiki/Categories</a><br>
[3] <a href="http://www.katspace.org/Reviews/Book/Volume/AssemblySuchAsThis" target="_blank">http://www.katspace.org/Reviews/Book/Volume/AssemblySuchAsThis</a><br>
<br>
Kathryn Andersen<br>
<font color="#888888">--<br>
&nbsp;_--_|\ &nbsp; &nbsp; | Kathryn Andersen &nbsp;&lt;<a href="http://www.katspace.com" target="_blank">http://www.katspace.com</a>&gt;<br>
/ &nbsp; &nbsp; &nbsp;\ &nbsp; &nbsp;|<br>
\_.--.*/ &nbsp; &nbsp;| GenFicCrit mailing list &lt;<a href="http://www.katspace.com/gen_fic_crit/" target="_blank">http://www.katspace.com/gen_fic_crit/</a>&gt;<br>
 &nbsp; &nbsp; &nbsp;v &nbsp; &nbsp; |<br>
------------| Melbourne -&gt; Victoria -&gt; Australia -&gt; Southern Hemisphere<br>
Maranatha! &nbsp;| &nbsp; -&gt; Earth -&gt; Sol -&gt; Milky Way Galaxy -&gt; Universe<br>
</font><div><div></div><div><br>
_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com" target="_blank">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Brent Zupp<br><a href="http://www.wanderings.net/" target="_blank">http://www.wanderings.net/</a><br><br>Shared joy is double joy. Shared sorrow is half sorrow.<br>
~ Swedish Proverb<br>