Using your Own Full Text Search
Many organizations will have their own internal search engines and requirements, or may not support Perl CGI. If you need to use your own search engine you can integrate it with Author-it as follows:
- Implement your search engine and test it to make sure you can index and search the Author-it published HTML on your site. You should avoid indexing any of the Contents pages (
toc###.htm), the Index (indexpage.htm), tab pages (tab_toc.htm, tab_index.htm, tab_search.htm), or any other file you do not want returned by a search. - Modify the
tab_toc.htm, and tab_index.htm files to link to your own search engine page instead of our CGI scripts. The current default is cgi-bin/search_form.cgi?SEARCHDIR=tripane.Note: You may want to rename and save these changed files. If you do, make sure that the new files are referenced in the HTML Additional Files property of your Author-it Book.
- You will need to include in your search page some JavaScript that executes in the
onLoad event to load the search_toc.htm file in the TAB frame. We use the following code in the <BODY> tag of the HTML:onLoad="open('/myfoder/tab_search.htm','TAB');"
where /myfolder is the folder location of your Author-it book.
|