Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

SearchCache and XMLResults don't work together

Quote Reply
SearchCache and XMLResults don't work together
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:
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.
Subject Author Views Date
Thread SearchCache and XMLResults don't work together YoYoYoYo 2658 Aug 30, 2002, 7:13 PM
Thread Re: [YoYoYoYo] SearchCache and XMLResults don't work together
SeanP 2555 Aug 30, 2002, 7:44 PM
Post Re: [SeanP] SearchCache and XMLResults don't work together
YoYoYoYo 2536 Aug 30, 2002, 11:58 PM
Thread Re: [SeanP] SearchCache and XMLResults don't work together
YoYoYoYo 2522 Sep 2, 2002, 3:38 AM
Post Re: [YoYoYoYo] SearchCache and XMLResults don't work together
SeanP 2499 Sep 11, 2002, 11:36 AM