🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #76711

Re: Muliti-Part Posts

#76711
From: Curt Welch
Date: Mon, 16 Apr 2001 23:38
30 lines
2492 bytes
"Jack" <jkt@home.net> wrote:
> I am trying to write my own newsreader. Some questions:
>
> (1) What's the most reliable way to find out if the post is multi-part
> attachment?

It's not easy.  It's done mostly just by looking at the subject and then
seeing if there are other articles with similar subjects posted by the
same guy.  There's a mime standard for multipart articles but it's not
used much on Usenet.  But if you want to be complete, you should support
that as well.

> (2) If the post is incomplete(i.e. if some parts are missing), I want my
> program to search other news servers and try to complete the post. What
> would be the best way (i.e. command sent to server) to look for the
> missing part on other servers?

You just have to download all the headers (using XOVER) from the other
server and look for your missing articles.  There's no simple way to get
the server to search for you.  Trying to use XPAT for example would be a
bad solution. If you want to download headers from multiple server you need
to keep a local database of XOVER data on your side and then download new
headers to add to the database every time you check the servers.  You then
search your local XOVER data after it's updated when looking for missing
parts.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20010416193817.627$0L@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!news.litech.org!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!news.stealth.net!news-east.rr.com!news.rr.com!portc01.blue.aol.com!feed.newsreader.com!news2.newsreader.com!news3.newsreader.com!not-for-mail
References: <ilrmdtkh8cmm2jpd1o6abgpvh29gq30vra@4ax.com>

Show Full Headers
Complete Article Headers
Message-ID: <20010416193817.627$0L@newsreader.com>
Subject: Re: Muliti-Part Posts
Date: Mon, 16 Apr 2001 23:38:17 +0000
From: curt@kcwc.com (Curt Welch)
References: <ilrmdtkh8cmm2jpd1o6abgpvh29gq30vra@4ax.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!news.litech.org!news.ems.psu.edu!news.cis.ohio-state.edu!news.maxwell.syr.edu!news.stealth.net!news-east.rr.com!news.rr.com!portc01.blue.aol.com!feed.newsreader.com!news2.newsreader.com!news3.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.readers
X-User: Curt@NewsReader.Com
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 29