🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #82402

Re: nntp Software Inadequacy

#82402
From: tribalzidane
Date: Fri, 03 Aug 2001 02:01
160 lines
10362 bytes
curt@kcwc.com (Curt Welch) posted:

> tribalzidane@earthlink.net wrote:
> > curt@kcwc.com (Curt Welch) posted:
> > Are you clear on the fact that I'm not worried about doing what hamster
> > and NewsPlex do?  I want to use ONE news server to access ONE newsgroup.
> > I do NOT want to use five news servers to access one newsgroup.  I'm
> > more concerned with actual access to groups more than completion.
> 
> No, I wasn't clear about that at all.  If you stick to one server per
> group, then you can just toss everything I said in the trash. What
> you are trying to do is very doable.  But there are non-obvious issues
> to deal with.
> 
> When articles are posted, you have to figure out which server to send
> them to.  Maybe in your case, you can make it work by sending all post
> to one place.  But if not, then you have parse the new article to check
> it's groups, and then send it to different places depending on what group
> you posted to.  And if you cross-post to two groups and those groups
> aren't on the same server?  For your needs, you can probably get away with
> just ignoring the problem.  But to create what you are talking about as
> a real product, that issue would have to be addresed.

I COULD try to find a way to have the "virtual server" report a custom
error if a post is detected going to two different groups on two
different servers.  Or since this virtual server is going to simply use
the data that's sent by Agent, since Agent generates the message ID,
perhaps it would be possible to send the same message to two different
servers using the same message ID and when it's downloaded on a news
server that carries both newsgroups, it would be detected as a
crosspost.  If not, I could just "forbid" posts to two different news
servers.  The program might pop up and ask me which newsgroup(s) I want
to delete from the post.

The Agent help file says this about crosspost detection by Subject,
author, date and lines, and then by message ID:

Help - Subject, author, date and lines
Help - 
Help - If you check "Subject, author, date and lines", Agent scans
Help - the list of messages, looking for matching subjects,
Help - authors, dates, and line counts.  Checking for these header
Help - field criteria enables Agent to detect crossposts that the
Help - "Message ID" criteria can miss, such as a message that was
Help - posted separately to each group, rather than as a single
Help - message to multiple groups.
Help - 
Help - Message ID
Help - 
Help - Each message is assigned a unique message identifier.  If
Help - you check "Message ID" for detecting crossposts, Agent scans
Help - the messages, looking for matching Message Ids.  This works
Help - well on a general basis, but can fail in cases where a
Help - message is posted separately to each group, rather than as a
Help - single message to multiple groups.

I just did an experiment with Agent.  I made a fake message and then
moved it from the outbox to a temporary folder.  I then highlighted that
message and clicked "Post New Copy" three times and they all went to the
outbox.  I moved them all into the temp folder and each message had a
different message ID and a different time/date, even though all were
spawned from the same message.  I'm just wondering about the time/date.
I assume that Agent creates the time/date for the message and that is
what's posted on the server.  It has to be or else we wouldn't have
these people from the future posting messages all the time.  So since
the message ID can be duplicated for multiple servers by this "virtual
server", and since the time/date would be the same, then it seems like
servers which carry all the newsgroups would detect the post as a
crossposted message and handle it accordingly, as would the software of
the readers of such newsgroups.  Then again, perhaps the news server
looks at the Newsgroups header to detect which groups the message was
posted to.  Of course, in that case I might be able to simply include
the full newsgroup list to both servers, whether the server carries the
group or not.  I know that Earthlink allows me to have newsgroups listed
in a crosspost list, whether they actually carry the group or not.  When
I get the message back after downloading new headers, that group they
don't carry is always listed along with the ones they do carry.

Another thing I thought about is altering the active list to have Agent
download newsgroup names which include the name of the news server.  For
example, a newsgroup on Earthlink might appear like:

news.earthlink.net._-_.news.software.readers

When it comes time to post a message, Agent would naturally try to post
it to news.earthlink.net._-_.news.software.readers, but the virtual
server would crop the server and seperator out of the newsgroup name
before sending it on to the news server for posting.  That would result
in a rather sloppy list in Agent.  I'm looking for SEAMLESS integration
and having my groups sorted by server is not my idea of seamless.  The
only reason I'd include the server name in the newsgroup name is so I
could tell beforehand if I was crossposting to two different servers and
I could trim my newsgroup list accordingly.  It would be less sloppy to
just figure out how to pull off a crosspost to multiple servers, most
likely.

> And watch out for xref: headers.  If an article from server A
> is posted to group x and group y, and you carry both group x and y
> on your "virtual server", but x is from server A, and grouop y
> is from server B, then the xref article numbers will be wrong for
> the "other" group.
> 
> News readers use that xref info to mark articles as "read" in the
> cross posted groups so you don't have to read the same group twice. But
> if the xref data is wrong for your "virtual server", then the newsreader
> will be marking the wrong article in the other group as "read".

Well, for my own personal uses, I don't use crosspost detection in
Agent, anyway.  I have it disabled.  But as you said, this would be
another issue that would have to be addressed if I intend to market the
software.  And I would like to do that if I can get it working well
enough to at least be partially useful.

And yeah, it would be nice if I could make a living writing shareware.
If I can't market this software, then at least the process of learning
to write it would yeild programming skills that could be applied to
other projects.  But getting this done is going to be like swimming in
peanut butter because I have no idea what I'm doing beyond the
appearance of the forms in the program.

> And you have to figure out what to do about errors.  What happens when
> your virt server can't access a remote server in the middle of a
> session?

Hopefully I could figure out some way to send a custom error message to
Agent that says that server [x] is not responding, but still allow Agent
to remain open to continue waiting for data from the virtual server as
it continues on.  Then again, Agent might interpret this as an online
error and stop expecting responses.  If the virtual server can't get a
response from a particular server, then perhaps it could be made to
create a "dummy message" that will be sent to Agent to trick it into
thinking it's received the headers.  The message body would contain the
error message.  Only problem there is that if Agent receives a header
for the group, it will "catch up" with the group and maybe the next time
the server can be contacted, it won't get the headers it's due.  If the
virtual server can parse the data files for the newsgroup in Agent and
determine what kind of message count it has, then the dummy message can
be sent with the next highest number.  That way, when the next attempt
to connect with the server comes around, only one message will be
missed.  I would simply send as message 1, but that would probably cause
Agent to reset to 1 and next time ALL the headers would be downloaded.
I'd rather miss one message than have to download them all again.
Pardon me if all that sounds ignorant.  I'm just going on what I
understand about how newsreaders keep up with these things and my
knowledge is probably incomplete.

> you might be able to get some basic stuff working in days (which for your
> own use may be all you need), but to make it work well for all those little
> problems you may find that it's as hard as writting a full client and a
> full server combined. :)

And for the task I want to accomplish, it sounds so easy. :-)  But as
they say, it's easier said than done. :-)

Thanks a lot for the additional comments.  At least it's probably
simpler to write this kind of program than one that will both combine
active lists AND individual articles. :-)

Damaeus
Technical Details
Message-ID: <9tujmtg6oli69tiq9ujhab7f6g7t280ncu@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!cyclone2.usenetserver.com!usenetserver.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail
References: <u71jmt4omd1m09n2dab2m68p4dkdbcee87@4ax.com> <20010802164042.176$E3@newsreader.com> <0hhjmtodlqa25g1f12eggpit1f4ns01vai@4ax.com> <20010802191405.657$Cq@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <9tujmtg6oli69tiq9ujhab7f6g7t280ncu@4ax.com>
Subject: Re: nntp Software Inadequacy
Date: Fri, 03 Aug 2001 02:01:24 GMT
From: tribalzidane@earthlink.net
References: <u71jmt4omd1m09n2dab2m68p4dkdbcee87@4ax.com> <20010802164042.176$E3@newsreader.com> <0hhjmtodlqa25g1f12eggpit1f4ns01vai@4ax.com> <20010802191405.657$Cq@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!cyclone2.usenetserver.com!usenetserver.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsmaster1.prod.itd.earthlink.net!newsread2.prod.itd.earthlink.net.POSTED!not-for-mail
Newsgroups: news.software.readers,microsoft.public.vb.controls.internet
Organization: Prefix that with "Dis"
Reply-To: tribalzidane@earthlink.net
X-Newsreader: Forte Agent 1.8/32.548
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 159
NNTP-Posting-Host: 158.252.159.179
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread2.prod.itd.earthlink.net 996804084 158.252.159.179 (Thu, 02 Aug 2001 19:01:24 PDT)
NNTP-Posting-Date: Thu, 02 Aug 2001 19:01:24 PDT
X-Received-Date: Thu, 02 Aug 2001 18:58:27 PDT (newsmaster1.prod.itd.earthlink.net)