🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.infosystems.wais
1 messages
1 total messages Started by Ed Klein Wed, 30 Dec 1992 19:35
Filtering data in the server
#307
Author: Ed Klein
Date: Wed, 30 Dec 1992 19:35
48 lines
2293 bytes
I'm working on a project wherein I'd need to make a particular
database's documents available in two forms.  One would be a the full
text of the item, and the other would be a portion of it.  I had hoped
I could just insert some code into the server that would, if a given
command-line switch, filter out the sections that were supposed to be
in omitted.

I marked the areas-to-be-omitted with characters that I knew wouldn't
appear in the database.  For example:


stuff that always gets seen
more stuff that always gets seen
%%%
some stuff that shouldn't be seen
more stuff that shouldn't be seen
&&&
still more stuff that always gets seen
yet still more stuff that always gets seen

This works wonderfully when using the xwais client.  However, it fails
miserably when using the Mac client.  It appears to me that this is
due to the difference in the "chunkCode".  I've tried various means of
getting around this but mostly so far, all I've done is bring myself a
few days closer to baldness from all the hair I've pulled out.

I could go into greater detail, but I will save the bandwidth.

So what I'm asking is:

1) has anyone already written something like this?

2) does anyone have any ideas how I might implement this without all
the hair loss?

I realize I could just have two copies of the data, but it's a very
database, and I'm already going to have enough disk-space problems.

Send email and I will summarize if there's any demand,

Ed

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=  Ed Klein                              SURAnet                      = 
=  Network Information Technologist      Network Information Center   =
=  eklein@sura.net                       301-982-4600                 =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads