[pmwiki-users] Formatting search results with feeds.php

Martin Kerz mkerz at me.com
Mon Jul 20 02:57:40 CDT 2009

Dear Pm,

>> 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.

I already defined a perfectly working formatting for my needs. All I  
need now is the ability to get search results formatted using  
feeds.php with my own action. Perhaps I make a mistake, but I have the  
impression, that I have to pass over the search query (or results?) to  
feeds.php in some way, i.e. combining the search with feeds.php.

I therefor thought that I had to write my wn recipe that calls the  
respective funtions in feeds.php and pagelist.php manually.

Am I on the right track here?



More information about the pmwiki-users mailing list