Gossamer Forum
Home : Products : Gossamer Links : Discussions :

xml_search_results.xml

Quote Reply
xml_search_results.xml
Hi

Does anyone know how I edit this for use with remote_search.cgi so at the end of the results it can put a "powered by.." message.

I know I could put it in the template but that could be removed easily by anyone but if its embeded in the xml_search_results.xml its much harder.

Thanks



Mike
Quote Reply
Re: [Mike_H] xml_search_results.xml In reply to
Hi,

In your template:

<%loop link_results_loop%>
<item>
<title><%Title%></title>
<link><%URL%></link>
<description><%Description%></description>
</item>
<%endloop%>

Replace:

<description><%Description%></description>

with:

<description><%Description%><%if last%>Powered By: Mysite!<%endif%></description>

or something similiar.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] xml_search_results.xml In reply to
Thanks Alex

That worked a treat... What tags can be used in template?

Regards

Mike