[pmwiki-users] Formatting search results with feeds.php
Patrick R. Michaud
pmichaud at pobox.com
Sun Jul 19 14:08:13 CDT 2009
On Fri, Jul 17, 2009 at 10:08:38AM +0200, Martin Kerz wrote:
> I want to format the results from a search using feeds.php, and I need a
> bitt of help to get started. As I see it, I somehow have to give the
> search query to pagelist.php's FmtPageList() and then put the output in
> an array that I can pass over to feeds.php. Correct? Can anyone give me a
> hint how to start, or a deeper insight in pagelists.php's functions?!
The feeds.php script already knows to call PageList to get its
list of pages -- you just need to add codes for formatting the output.
My suggestion is to look at the way that ?action=rss and/or
?action=atom are set up in feeds.php, and mimic what you see there.
More information about the pmwiki-users