- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Name: Adam
Subject: Problem with default RSS template

Hello,

I'm trying to get working the new rss.htm template.
My rss.htm is the same as last snapshot default rss.htm.en but obviously
using my own parameters identical to these used in my seach.htm

To call my rss template I'm using the default call from samples like the 
following:

search.cgi?q=orange&c=&site=&m=any&sp=1&sy=0&&s=DRP&tmplt=rss.htm

But as output I get nothing, just blank page and the following in the logs 
(LogLevel 5):

search.cgi[14399]: {00} search.cgi started with 
'/usr/local/dpsearch/etc/rss.htm'
search.cgi[14399]: {00} VarDir: '/usr/local/dpsearch/var'
search.cgi[14399]: {00} Affixes: 0, Spells: 0, Synonyms: 6412, Acronyms: 0, 
Stopwords: 305
search.cgi[14399]: {00} Chinese dictionary with 0 entries
search.cgi[14399]: {00} Korean dictionary with 0 entries
search.cgi[14399]: {00} Thai dictionary with 0 entries
search.cgi[14399]: {00} Start DpsFind
search.cgi[14399]: {00} DpsFind for searchd://localhost:7007/
search.cgi[14399]: {00} DpsGetWords for searchd://localhost:7007/
search.cgi[14399]: {00} Received header cmd=2 len=21
search.cgi[14399]: {00} Message from searchd: 'Total_found=353(353)'
search.cgi[14399]: {00} Received header cmd=15 len=6
search.cgi[14399]: {00} Received header cmd=8 len=88
search.cgi[14399]: {00} wbuf :810f260, wwl: 810f260, p: 810f270 hdr.len:88
search.cgi[14399]: {00} Received WWL nwords=1 nuniq=1
search.cgi[14399]: {00} Word {7}: orange
search.cgi[14399]: {00} Received header cmd=12 len=40
search.cgi[14399]: {00} Received PerSite size=40 nwrd=0
search.cgi[14399]: {00} Received header cmd=13 len=200
search.cgi[14399]: {00} Received URLDATA size=200 nwrd=0
search.cgi[14399]: {00} Received header cmd=3 len=80
search.cgi[14399]: {00} Received words size=80 nwrd=10
search.cgi[14399]: {00} Received header cmd=5 len=7082
search.cgi[14399]: {00} Received DOCINFO size=7082 buf=<DOC     body="Orange....
search.cgi[14399]: {00} Start Clones
search.cgi[14399]: {00} Stop  Clones: 0,02
search.cgi[14399]: {00} Start Order, Last-Modified and Excerpts
search.cgi[14399]: {00} Stop  Order, Last-Modified and Excerpts: 0,00
search.cgi[14399]: {00} Start DpsTrack
search.cgi[14399]: {00} Stop  DpsTrack: 0,00
search.cgi[14399]: {00} Done  DpsFind 0,045

So it seems that my search.cgi is able to connect to the database through 
searchd
and it gets some results but my xml output remains blank ?

And in the source of my results blank page I can see only the following:

<code> <p>&nbsp;</p> </code>

I noticed also that comparing to rss link on this DPS forum my site parameter 
is empty in my search form while you have always a number like site=-572280698 
in your search link ?
Could this be the reason ?

Or maybe should I activate something during compilation ?
I have used the following options for compilation:
--prefix=/usr/local/dpsearch --enable-shared --enable-pthreads --enable-parser 
--disable-mp3 --enable-file --enable-http --disable-ftp --disable-htdb 
--disable-news --with-mysql=/usr/local/mysql --with-aspell=/usr/local  
--with-zlib  --enable-googlegrp --enable-pophops 

My Apache server is working fine with XML files because I'm able to display 
some other RSS feeds.

So I'm missing something somewhere ??


Thanks in advance for any help


Adam
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

Read the full topic here:
http://www.dataparksearch.org/cgi-bin/simpleforum.cgi?fid=02;post=

Reply via email to