At 11:06 AM +0200 9/7/01, P�rez Hern�ndez, Angel luis wrote:
>Is there any way I could add another "sort by" option. I need to sort
>documents by Author (wich is a meta_keyword) and can't figure how to do it.

That's because it'd be quite difficult to do this. Right now, you
could add code to sort by anything stored by ht://Dig in the
DocumentRef structure--it's the record type of the doc_db database.
The meta keywords aren't part of this structure, so you'd need to add
them in (or an Author field or co-opt the MetaDsc field), then hack
the parsers and then add the sorting code in htsearch.

If you want specific pointers into the code, feel free to ask and
I'll give you a more concrete outline of this.

>By the way, I'm using 3.16b, because I think that 3.2b still doesn't work
>with meta_description_factor.

While this is a reported bug (and listed as one of my "Showstoppers,"
I still can't find out what's causing it. The words are certainly
flagged properly in the database and somehow the flags get garbled by
the current htsearch code. (But I'm keeping an eye out for this bug
as I redo some of the htsearch code.)

Regards,
--
--
-Geoff Hutchison
Williams Students Online
http://wso.williams.edu/

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to