|I'm sure there are better ways but I can suggest 2 methods to get you started.
First thing to do is create a new catalog in your Squish folder. Have it automatically create a new vocabulary. After creating the catalog, go to it's management interface and into the 'Find Objects' tab. Select DTML documents from the first list and click 'Find and Catalog'. You may want to catalog other stuff , but I'm keeping this to the basics ( you can multi-select in the box with ctrl-click ).
Now go back to your squish folder and create a 'Z Search Interface'. In the 'Searchable Objects' box select both 'news' and your new catalog. Provide id's for both the search DTML method and report method and create the object.
Zope will create both a unified search interface and report DTML method for both catalogs. They are plain vanilla and will have to be modified to fit the Squish look and feel.
The routine that implements Squish searches is on line 742 of the SquishSite.py file in the Squishdot product folder. You can see this method being called in the dtml with lines like:
- ./search?subject=(dtml-var ...)
You could make the calls from your own report form to this method. The results of the search are returned in a variable called 'search_results'. Instead of selecting both 'news' and the new catalog you could just create an interface to the new one and add your own code to search the Squish articles.
At anyrate, you will have to create a new ZCatalog in order to get the other content on your site indexed. From there it's just integrating the search results page.