|
Cookbook /
XajaxSearchSummary: Provide a better way to show search results.
Version: 2005
Prerequisites: pmwiki-2.0
Last-tested-on: pmwiki-2.0.12
Status: development
Maintainer:
Categories: Searching
Votes:
GoalProvide a better way to show search results. AnswerThis recipe uses ajax to provide a preview of the found pages (see example here).
$XajaxInclude[] = "xajaxsearch";
include_once("
<!--markup:(:XajaxArgs:)-->
(:searchbox:)
(:searchresults:) with
(:searchboxajax:)
(:searchresultsajax:)
NotesI just wanted to play a little bit with ajax and this receipt was the result. Because it is not completly useless I put it up here. This receipt was tested with Safari, Opera, Firefox and Camino. The recipe works fine with PmWiki 2.0.12. Between this version and 2.1 it breaks and needs to be updated. ReleasesComments
Yes. I thought about this direction too and this is why I already started splitting up the files in this way. But I didn't decided yet what would be the easiest way and is it really clever to use a <div> and ParseArgs() arguments to interchange between PmWiki and xajax. From my php amateur point of view it is ;). So I really appreciate your comments. - Schlaefer October 29, 2005, at 03:52 AM On the latest version I tried to simplify the process and put all the glue stuff into one single file. To get things started I ported a simple example from the xajax homepage that reflects the current usage. - Schlaefer October 29, 2005, at 02:41 PM See AlsoContributors |