|
Site Search Making it a part of your site |
· Excluding areas · Creating a search form · Custom results page |
Excluding areas:
/boards
<INPUT TYPE=hidden NAME=template VALUE="/filename">with filename being the name of the template file. That is usually adequate for a sidebar item. If you have an actual search page, you may also want to allow searches for any word, boolean tags, and/or file names. You can add this pop-up menu to allow those options:
| -- head | This marks the pre-results portion of the page. It should be the first line of the file, but it is optional. |
| -- loop | This portion is repeated for every result that is printed. It is required. |
| -- foot | This marks the end of the loop portion and the start of the post-results portion of the HTML. It is required. |
| %hits% | The total number of hits displayed. |
| %query% | The key words the user searched for. |
| %count% | The current hit number (1, 2, 3, ...) |
| %hits% | The total number of hits displayed. |
| %mtime% | When the file was last updated. |
| %rank% | Estimated usefullness of the hit. |
| %size% | Size of the file. |
| %title% | The document title, if any. |
| %url% | URL of the hit. |
<INPUT TYPE=hidden NAME=template VALUE="/filename">