This is how I do it (I'm sure there are other ways, this is just what I came up with):
1. Install the XMLResults plugin.
2. Format xml_search_results.xml as you need it.
3. Add a rewrite rule to generate a 'virtual' .xml file based off the XML results from search.cgi:
Code:
RewriteRule rss.xml /cgi-bin/search.cgi?query=;isNew=Yes;sb=ID;so=DESC;xml_feed=1
4. Make your XML feed available on your home page (the 'Add to Google' and 'Add to MyYahoo!" buttons can be used as well).
The main part you need to customise in xml_search_results.xml is this:
Code:
<%loop link_results_loop%>
<%if row_num < 10%> <!-- number of items in feed -->
<item>
<title><%Title%></title>
<link><%URL%></link>
etc. etc.
</item>
<%endif%>
<%endloop%>
Hopefully that gets you started and I didn't leave anything out
.