Writing plugin, needing tips :)
Posted: Fri Feb 16, 2007 7:55 pm
Hi,
I'm currently writing a Lucene-based Index&Search-plugin with Zend_Search_Lucene. Currently the whole core stuff (indexing, searching, deleting and updating of entries) is working quite good.
Now it comes to the finer (read: harder
) parts, at least for me as I don't know much of the s9y-internals. I need a way to display the search-result with the current template. I had a look into the static-page-plugin, but this seems to be very low level.
Then I tried serendipity_printEntries, but this outputs nothing in my current context. I'm currently using it in a function which is called by entries_header.
Any hints how I could implement that in an (quite easy) way?
Garvin hinted a while ago in a PN, that he could imagine to implement some kind of search-abstraction to allow different search-plugins. But until that's available, I'm looking for a sane solution to display my results in a nice a. (currently it's only plain text).
I'm currently writing a Lucene-based Index&Search-plugin with Zend_Search_Lucene. Currently the whole core stuff (indexing, searching, deleting and updating of entries) is working quite good.
Now it comes to the finer (read: harder
Then I tried serendipity_printEntries, but this outputs nothing in my current context. I'm currently using it in a function which is called by entries_header.
Any hints how I could implement that in an (quite easy) way?
Garvin hinted a while ago in a PN, that he could imagine to implement some kind of search-abstraction to allow different search-plugins. But until that's available, I'm looking for a sane solution to display my results in a nice a. (currently it's only plain text).