🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by t.h.i.s.n.t.h.a.t DS Thu, 10 Oct 2002 11:20
Custom Client Software - Thank you
#61272
Author: t.h.i.s.n.t.h.a.t DS
Date: Thu, 10 Oct 2002 11:20
21 lines
1643 bytes
Thank you all for the answers. Not the one I wanted to hear tho.

I was concerned that my researching was deficient, where is turns out that 
the RFC specs are deficient. I can almost always find any information on 
the www that I'm looking for.

You'd think there'd be an Attachment: field like in e-mail headers.

As long as the (xx/xx) is located at the end of every binary post part, I 
think I should be able to detect that, and process that. I may not be an 
all-knowing programmer, but I like to the one thing I am a master at is 
string condition testing and manipulation.

Then it appears that the tricky part is combining them all in the viewer. 
(I'm NOT writing another Outlook Xpress newsreader.)


Thank you again.

DS
Re: Custom Client Software - Thank you
#61273
Author: Bas Ruiter
Date: Thu, 10 Oct 2002 13:57
41 lines
2329 bytes
> I was concerned that my researching was deficient, where is turns out that 
> the RFC specs are deficient.

The RFC's are good at explaining what NNTP was intended to be used for.

To transmit binaries was never intended.. people just started doing it.

> You'd think there'd be an Attachment: field like in e-mail headers.

Yeah.. that kinda puzzles me as wel. Since 95% of the traffic on
Usene is binaries you'd think they'd have added "Attachment:" or
whatever to the headers/XOVER 10 years ago.

> As long as the (xx/xx) is located at the end of every binary post part, I 
> think I should be able to detect that, and process that.

Just look for the (n/N) part ANYWHERE in the Subject.

Posting tools -usually- put it at the end of the line tho because
some download tools (Forte Agent) gets confused if it's not the last
thing. But Forte fixed that now.

And anyway.. it's never garaneed to be at the end.

> .. but I like to the one thing I am a master at is string condition
> testing and manipulation.

Then you're going to love this ;)



 Bas Ruiter

-- 

[ l o r d s n o w @home.nl    http://members.home.nl/ l o r d s n o w ]

 Only when the population of 50 mysteriously dropped to 7 did the
 remainder start to suspect Hungry.
Re: Custom Client Software - Thank you
#61275
Author: Curt Welch
Date: Thu, 10 Oct 2002 13:59
27 lines
2203 bytes
t.h.i.s.n.t.h.a.t@a.d.e.l.p.h.i.a..n.e.t (DS) wrote:
> As long as the (xx/xx) is located at the end of every binary post part

Many times it's not at the very end.  And many times it's not the only
marker in the subject.  You have to scan the subject and take what looks
like the best one which will normally be the last (X/Y) in the subuject.

Here's an example from the mp3 groups today:

BILL HICKS FLOOD Day 3/9 'Dangerous' (08/10] "08. Burning Issues.mp3" yEnc
(01/11) [Request reposts in a.b.s.m.comedy]

Notice also the typo which caused the strange (] combination in the song
8/10 marker which you should be ignoring in your code.

Sometimes people use [X/Y] as well instead if () and sometimes they just
use X/Y with nothing around it (though that seems very rare these days).

You just have to write something and test it against a few million real
subjects and decide for yourself if what you have done is good enough
or whether you want to add some more logic to try and get a few more
wierd cases covered.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Custom Client Software - Thank you
#61277
Author: Unknown
Date: Thu, 10 Oct 2002 16:18
51 lines
3060 bytes
curt@kcwc.com (Curt Welch) wrote in <20021010095921.529$Be@newsreader.com>:

>t.h.i.s.n.t.h.a.t@a.d.e.l.p.h.i.a..n.e.t (DS) wrote:
>> As long as the (xx/xx) is located at the end of every binary post part
>
>Many times it's not at the very end.  And many times it's not the only
>marker in the subject.  You have to scan the subject and take what looks
>like the best one which will normally be the last (X/Y) in the subuject.
>
>Here's an example from the mp3 groups today:
>
>BILL HICKS FLOOD Day 3/9 'Dangerous' (08/10] "08. Burning Issues.mp3" yEnc
>(01/11) [Request reposts in a.b.s.m.comedy]
>
>Notice also the typo which caused the strange (] combination in the song
>8/10 marker which you should be ignoring in your code.
>
>Sometimes people use [X/Y] as well instead if () and sometimes they just
>use X/Y with nothing around it (though that seems very rare these days).
>
>You just have to write something and test it against a few million real
>subjects and decide for yourself if what you have done is good enough
>or whether you want to add some more logic to try and get a few more
>wierd cases covered.
>


even more info to figure into the equation....geeesh!  but NOT 
unnapreciated.

i've come up with a workable scenerio, in my mind tho (and not any code 
written on it yet), that may work.

if i remember correctly, when yEnc came out, i can't remember if it was a 
problem with yEnc itself, or with one of the posting programs, but whatever 
it was, 'yEnc'was added to the end of the subject line, which caused a 
problem for some readers (? or a problem for the autoposting app). i wish i 
could recall which one it was. i know this was fixed by not adding the yEnc 
to the end.

here is my plan, and please let me know if it is faulty.
---------------
i will first write code assuming that the (x/x) is always at the end.

after i get satisfactory results, i will make a decision on whether or not 
to address the (x/x) being in other parts of the subject, depending on what 
i can tell is missing.
---------------

DS
Re: Custom Client Software - Thank you
#61279
Author: Bas Ruiter
Date: Thu, 10 Oct 2002 17:41
47 lines
2954 bytes
> if i remember correctly, when yEnc came out, i can't remember if it was a 
> problem with yEnc itself, or with one of the posting programs, but whatever 
> it was, 'yEnc'was added to the end of the subject line, which caused a 
> problem for some readers (? or a problem for the autoposting app).

Forte Agent had a problem if (n/N) wasn't the last thing in the Subject:

I mentioned this in my last post.

> I know this was fixed by not adding the yEnc to the end.

It's also fixed by Forte. Now Agent doens't have problems with
anything appearing after the (n/N).

> here is my plan, and please let me know if it is faulty.
> ---------------
> i will first write code assuming that the (x/x) is always at the end.
> 
> after i get satisfactory results, i will make a decision on whether or not 
> to address the (x/x) being in other parts of the subject, depending on what 
> i can tell is missing.

The problem is, there's NO standard Subject: layout - so theorethically
you have to code for all possibilities. It's up to yourself really, how
far you want to take it... how much work you want to put into it to get
it as "perfect" as possible.

I know the author of NewsBin Pro looks for the (n/N) part in Subject:
lines, taking into account the possible brackets fiasco, and also
scans the subject for common filename extensions. There's some other
things, I assume, but he hasn't told me what they were.

If you want you could ask him (nick= Quade) for tips on the NewsBin
forum, on their website: www.newsbin.com. He's a nice guy, and always
seemed very willing to asnwer questions about NewsBin.


 Bas Ruiter

-- 

[ l o r d s n o w @home.nl    http://members.home.nl/ l o r d s n o w ]

 Only when the population of 50 mysteriously dropped to 7 did the
 remainder start to suspect Hungry.
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