Home | Index

SearchMonkey Guide

Step 4: Appearance

The fourth step of creating a presentation application is to map data services to the presentation layer using PHP. Given a particular set of input DataRSS, you must specify PHP code to map that data to different components of a PHP associative array. This step is the heart of your data service.

Figure 2.20. Appearance Screen

Appearance Screen

At the bottom of the screen is the Preview Pane, which displays the results of your data service for one of your test URLs.

Figure 2.21. Preview Pane: Appearance Screen

Preview Pane: Appearance Screen

If all is well, the Preview Pane should display the actual enhanced search result that your presentation application would produce for the given test URL. If there are any problems with the display code, the Preview Pane displays a bulleted list of warnings and errors.

The Preview Pane contains several controls for cycling through your test URLs and determining your data inputs and outputs: