<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<meta name="Generator" content="Cocoa HTML Writer">
<meta name="CocoaVersion" content="1038.35">
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Calibri}
p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Calibri; min-height: 17.0px}
</style>


<p class="p1">Hello,</p>
<p class="p2"><br></p>
<p class="p1">I am working on a recipe that adds a lot of AJAX-y tools to the edit form — things like searching/browsing pages/attachments, etc. — that rely heavily on pagelists. I have cobbled together a working prototype by reverse-engineering other recipes and going through the documentation on <a href="http://pmwiki.org">pmwiki.org</a>, but I have to admit I still do not really understand how or why it works at all. I would really appreciate it if someone could explain, from the beginning, how to build pagelists from a recipe. </p>

<p class="p2"><br></p>
<p class="p1">Ideally, I would like to see a "hello world" recipe for recreating something basic like "(:pagelist:)" or "(:pagelist group=Main:)" without actually using the pagelist markup on a wiki page. Perhaps a recipe that takes a directive like "(:pagelistexample:)" and returns the actual pagelist result. Hopefully from there, I can deduce how to construct more elaborate pagelists.</p>

<p class="p2"><br></p>
<p class="p1">On another note, I would like to know how to create (both in markup and in a recipe) a pagelist based on a page's (:keywords:). </p>
<p class="p2"><br></p>
<p class="p1">Thanks,</p>
<p class="p1">Ryan</p>