[pmwiki-users] Adjusting search results of the search query

Martin Kerz mkerz at mac.com
Wed Jan 7 13:53:25 CST 2009

Hi there,

I'm about to implement this LiveSearch function for a project: http://wiki.flux-cms.org/display/BLOG/LiveSearch

Everything works fine so far, except that I need to adjust the format  
of the returned search results for the query according to the following:

"Resulting output has to be a text/xml file (check http://blog.bitflux.ch/livesearch.php?q=PHP 
  as a reference) in the form of a parent <div class="LSRes"></div>,  
containing one more <div class="LSRow"></div> for each record: inside  
the latter put whatever code had to be displayed (typically a link)."

Can anyone give me a hint if a) that is possible, and b) if it's  
possible where I should start reading?!

I would love to implement it the way that another argument is given to  
the standard pmwiki search query, which changes the returned results  
to the needed format perhaps something like "&output=livesearch".

Thanks a lot in advance.


More information about the pmwiki-users mailing list