🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Kugar Wed, 03 Aug 2005 00:32
[Dialog] Another Scoring Question
#170369
Author: Kugar
Date: Wed, 03 Aug 2005 00:32
17 lines
1740 bytes
The following rule does not appear to work, as I want it to, at any given
time when I make such a rule using a particular IP address and then apply
it to the selected group, it only deletes the downloaded message(s). It
does not affect the messages of which only the headers (not bodies) are
downloaded.

[*]
!Delete Header "NNTP-Posting-Host: xx.xxx.xx.xxx"

Can I somehow delete all headers from a particular posting host without 
actually having to download the message bodies?

If so, then how?

Any help/comment will be appreciated.

Matt 
Re: [Dialog] Another Scoring Question
#170371
Author: Korbinian Abenthum
Date: Wed, 03 Aug 2005 01:21
32 lines
2720 bytes
Kugar wrote:

> The following [...] does not affect the messages of which only the headers
> (not bodies) are downloaded. 
> 
> [*] !Delete Header "NNTP-Posting-Host: xx.xxx.xx.xxx" 
> 
> Can I somehow delete all headers from a particular posting host without
> actually having to download the message bodies?

No, since when getting "headers", newsreaders do in fact only get the
Overview of an article, not the complete header => you can only score on:

| From        The From header field 
| Subject     The Subject of the message 
| Date        The Date of the message 
| Message-ID  The Message-ID of the message 
| References  The contents of the References header field 
| Bytes       The number of bytes of the message 
| Lines       The number of lines of the message 
| XRef        The contents of the XRef header field 
| XPost       A virtual, numerical field holding the number of groups this message was posted to. 
| Age         A virtual, numerical field holding the age of the article in numbers of days. 
| Score       The score of the message 

You have to find a way to score based on these headers if you don't want to
retrieve the whole article.

-- 
"And I am Daenerys Stormborn, Daenerys of House Targaryen, of the blood of
 Aegon the Conqueror and Maegor the Cruel and old Valyria before them. I am
 the dragon's daughter, and I swear to you, these men will die screaming."
Re: [Dialog] Another Scoring Question
#170377
Author: /betty/
Date: Wed, 03 Aug 2005 04:14
61 lines
3128 bytes
On Tue, 2 Aug 2005 20:32:16 -0400, Kugar used 17 lines to assert:

> [*]
> !Delete Header "NNTP-Posting-Host: xx.xxx.xx.xxx"
> 
> Can I somehow delete all headers from a particular posting host without 
> actually having to download the message bodies?
> 

No, because N-P-H is not carried in the base headers transported by
overview.

> If so, then how?
> 

Here's a suggestion for one possible solution:

Front end Dialog with a product called Newsproxy [aka nFilter], it
supports filtering on *any* header but... only under News provider
compatible circumstances. 

ie. You MUST read, AND understand; the full instructions (provided on
the website) for the utility regarding required setup/config/usage, and
especially take note of the limitations and caveats that might apply to
your specific needs.

Get it here: www.nfilter.org  -- and please, _don't_ scream that it
won't install on XP and/or the archive is corrupted.

Because it will, and it's not. 

There's a small problem in that the web server that it's hosted on
short-changes some of the files by one byte. So to fix it you only have
to create a single [null] byte file and, append it to the end of the
'corrupt' downloaded file and it will then run or archive-extract
perfectly. 

You can do that quite easily at the Console. (DOS prompt, with cmd.exe
or command.com)

Like this:

  prompt:> copy con 1.byte
  prompt:> Ctrl_2 F6

(hit ENTER after each line) 

nb: That 2nd line means hold the Control key and press "2" (on the
alpha-pad, not the numeric), and then press the F6 function key (no
space between them).

What you see is "^@^Z", and the file is created and saved on disk.

And to concatenate that to each so-called "corrupt" file, simply use;

  prompt:> copy /b bad_file.zip + 1.byte = fixed_file.zip

And that's that.

-- 
/betty/ [2005-08-03 01:21:49 pm aest]
Re: [Dialog] Another Scoring Question
#170380
Author: /betty/
Date: Wed, 03 Aug 2005 04:28
15 lines
1645 bytes
On Wed, 03 Aug 2005 04:14:30 GMT, /betty/ used 61 lines to assert:

[..]
> 
> nb: That 2nd line means hold the Control key and press "2" (on the
> alpha-pad, not the numeric), and then press the F6 function key (no
> space between them).
> 

And obviously easier still, simply bang Ctrl_2z  :)

(yes, it's slow day..)

-- 
/betty/ [2005-08-03 02:25:13 pm aest]
Re: [Dialog] Another Scoring Question
#170398
Author: Kugar
Date: Wed, 03 Aug 2005 11:50
27 lines
2051 bytes
On Wed, 03 Aug 2005 04:28:54 GMT, /betty/ wrote:

> On Wed, 03 Aug 2005 04:14:30 GMT, /betty/ used 61 lines to assert:
> 
> [..]
> > 
> > nb: That 2nd line means hold the Control key and press "2" (on the
> > alpha-pad, not the numeric), and then press the F6 function key (no
> > space between them).
> > 
> 
> And obviously easier still, simply bang Ctrl_2z  :)
> 
> (yes, it's slow day..)

==============================================

Thanks Betty, your reply does clarify many things.

The available Newsproxy file is an executable and not an archive, gives me
an error message on my XP Pro, that it is not a valid Win 32 application.

How to proceed now ?

Thanks

Matt
Re: [Dialog] Another Scoring Question
#170405
Author: /betty/
Date: Wed, 03 Aug 2005 14:51
52 lines
2930 bytes
On Wed, 3 Aug 2005 07:50:37 -0400, Kugar used 27 lines to assert:

> On Wed, 03 Aug 2005 04:28:54 GMT, /betty/ wrote:
> 
>> 
>> And obviously easier still, simply bang Ctrl_2z  :)
>> 
>> (yes, it's slow day..)
> 
> ==============================================
> 
> Thanks Betty, your reply does clarify many things.
> 
> The available Newsproxy file is an executable and not an archive, gives me
> an error message on my XP Pro, that it is not a valid Win 32 application.
> 

nb: The 1.20 is an SFX .zip, it IS an archive -- the full nF package. 

And the 1.2.1.b1 (beta) [much smaller d/l, exe only] is a win32
executable.

Don't be alarmed, that is simple truth.

> How to proceed now ?
> 

Hmm, I really don't know how I could have explained it any clearer, try
this:

DO **EXACTLY** AS I SAID IN THE PREVIOUS POST. 

   http://www.thefreedictionary.com/exactly

FOLLOW THE INSTRUCTIONS, EXACTLY. 
FIRST; TO CREATE THE 1 (NULL) BYTE FILE AND THEN PROCEED TO THE NEXT
STEP, WHICH WILL APPEND THAT 1 BYTE FILE YOU CREATED TO THE .EXE (OR THE
.ZIP) THAT YOU DOWNLOADED.

THEN IT WILL RUN, OR EXTRACT, LIKE I SAID IT WOULD. 

IN FACT I JUST DID IT AGAIN MYSELF (for about the thousandth time in
past few years, with both the 1.20 and the patch beta) TO PROVE THAT I
WASN'T BULLSHITTING YOU!

Oh yeah, if you cannot follow instructions or you don't believe me; then
sorry, I simply cannot help you.

Have fun and enjoy your day and I'll go back to enjoying my night. :)

-- 
/betty/ [2005-08-04 12:15:04 am aest]
Re: [Dialog] Another Scoring Question
#170498
Author: Kugar
Date: Thu, 04 Aug 2005 03:49
33 lines
2369 bytes
> nb: The 1.20 is an SFX .zip, it IS an archive -- the full nF package. 
> 
> And the 1.2.1.b1 (beta) [much smaller d/l, exe only] is a win32
> executable.
> 
> Don't be alarmed, that is simple truth.
> 
> > How to proceed now ?
> > 
> 
> Hmm, I really don't know how I could have explained it any clearer.

===================================================

Thanks again, Betty.

I have both NewsProxy files (v120 and v121 beta) in working order now by 
following your directions.

Your kindness and patience alone deserve the credit, otherwise, I would not 
have figured out this 1.byte business ever.

Interestingly, I wanted to switch from Agent to Dialog, for its filtering 
capabilities, since in the Agent NG, NewsProxy was widely recommended for 
use with Agent and I could not get anywhere with NewsProxy, but that was 
before you had shown me the way out.

Now, I will try to configure NewsProxy and see how far I get.

Thanks again

Matt 
Re: [Dialog] Another Scoring Question
#170503
Author: /betty/
Date: Thu, 04 Aug 2005 08:03
44 lines
3059 bytes
On Wed, 3 Aug 2005 23:49:15 -0400, Kugar used 33 lines to assert:

>> 
>> Hmm, I really don't know how I could have explained it any clearer.
> 
> 
> I have both NewsProxy files (v120 and v121 beta) in working order now by 
> following your directions.
> 

Glad to hear that it's now sorted.

> Your kindness and patience alone deserve the credit, otherwise, I would not 
> have figured out this 1.byte business ever.
> 

Oh great, grovel on and bore me to death why don't you?  

Yeah, I'm known to be as patient and tactful as a hyper-neurotic serial
murderer with a hair trigger machine gun.
When they were handing out perfect, I chose deadshit instead. (it was
slightly cheaper when taken on the lifetime plan)

> Interestingly, I wanted to switch from Agent to Dialog, for its filtering 
> capabilities, since in the Agent NG, NewsProxy was widely recommended for 
> use with Agent and I could not get anywhere with NewsProxy, but that was 
> before you had shown me the way out.
> 
> Now, I will try to configure NewsProxy and see how far I get.
> 

Good stuff, make sure you read, and reread, and re-reread Mark's FAQ and
examples off the website.  
nF [aka NP] can be a ruthless take-no-prisoners beast for many people
often due to them using minor errors in their syntax structures. 

Which in turn leave filters not working as expected, or at all, and
subsequently time consuming to pinpoint the often simple causes.
Actually it's not that complicated to get working.
Take it step at a time and cross check for results as you go. It will
pay off.

-- 
/betty/ [2005-08-04 05:37:00 pm aest]
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