Thanks for the response, but unfortunately that recipe is a bit too dense for me to make sense of.
In particular, I do not understand the $opt parameter -- how it is built, what is necessary for pagelists, etc. I have a vague idea of how markup is translated, but I have no idea how to achieve the same effect without markup. To give a specific example, I have some client-side Javascript that fires off an AJAX call to PmWiki with a custom action handler. I want to return a JSON response, but I do not know how to use MakePageList() without starting with (:pagelist:) markup. I think a simple example that explains the process from beginning to end would help me understand more complex recipes like the one you provided below. Does that make sense? Thanks, Ryan On Sat, Jul 2, 2011 at 6:29 AM, Peter Bowers <[email protected]> wrote: > On Thu, Jun 30, 2011 at 1:55 PM, Ryan Varick <[email protected]> wrote: > >> 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. >> >> >> Check out Hans's "Powertools" recipe. He has pagelist being used within a > markup expression context which should be very helpful. > > -Peter > >
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
