Has anyone else noticed this, or got a remedy?
The XMLResults and SearchCache (tandat, 1.01) plugins are both very useful, but don't work as a team.
If SearchCache is installed, it doesn't cache XML search results, but the HTML results instead. So a first hit on http://OUR_DOMAIN.org/cgi-bin/directory/search.cgi?query=elephants&bool=and&substring=0&xml_feed=1 produces the expected result, like this:
<rss version="0.91">
<channel>
<title> OUR_DOMAIN Directory </title>
<item>
<title> TITLE_1 </title>
<link> URL_1 </link>
<description> DESCRIPTION_1 </description>
</item>
<item>
<title> TITLE_2 </title>
<link> URL_2 </link>
<description> DESCRIPTION_2 </description>
</item>
</channel>
</rss>
but subsequent hits omit the items:
<rss version="0.91">
<channel>
<title> OUR_DOMAIN Directory </title>
</channel>
</rss>
It would be great if we could cache the XML results, but we can't figure out why it doesn't happen.
The XMLResults and SearchCache (tandat, 1.01) plugins are both very useful, but don't work as a team.
If SearchCache is installed, it doesn't cache XML search results, but the HTML results instead. So a first hit on http://OUR_DOMAIN.org/cgi-bin/directory/search.cgi?query=elephants&bool=and&substring=0&xml_feed=1 produces the expected result, like this:
Code:
<?xml version="1.0" encoding="ISO-8859-1" ?> <rss version="0.91">
<channel>
<title> OUR_DOMAIN Directory </title>
<item>
<title> TITLE_1 </title>
<link> URL_1 </link>
<description> DESCRIPTION_1 </description>
</item>
<item>
<title> TITLE_2 </title>
<link> URL_2 </link>
<description> DESCRIPTION_2 </description>
</item>
</channel>
</rss>
but subsequent hits omit the items:
Code:
<?xml version="1.0" encoding="ISO-8859-1" ?> <rss version="0.91">
<channel>
<title> OUR_DOMAIN Directory </title>
</channel>
</rss>
It would be great if we could cache the XML results, but we can't figure out why it doesn't happen.