Article View: news.admin.peering
Article #1674Re: Renumber newsgroups by post date
From: Eli
Date: Sat, 06 May 2023 07:22
Date: Sat, 06 May 2023 07:22
50 lines
2787 bytes
2787 bytes
On 5 May 2023 at 21:37:05 CEST, "Julien ΓLIE" <iulius@nom-de-mon-site.com.invalid> wrote: > Hi Eli, > >> So it would actually be better if pullnews would download all articles per >> newsgroup and ignore the crossposts. Just download everything first, save the >> articles in their folders and add the xref field. Nothing more. > > I'm wondering whether you could just: > > - Download all the articles with "pullnews -r" (it will write a file > with all the articles within). You may run several instances of > pullnews to have several files. > > - Parse the articles within these files (they are separated with "#! > rnews <size>" lines) to take the dates and write the articles in a new > batch file, ordered by posting date. > > - Inject these batch files into innd (with rnews). No need to change > any Xref header fields. The articles will be treated in order, assigned > new Xref, and you'll have article numbers and history file sorted as you > want. Hi Julien, I don't think this solves the problem either As an example: Suppose there are two newsgroups, named A and B. Both newsgroups have articles from the years 2003 to 2023. First, newsgroup A is downloaded using 'pullnews -r'. Then, newsgroup B is downloaded using 'pullnews -r'. Both groups are downloaded into two separated batchfiles. When finished downloading, the batchfile created for newsgroup A is feeded to INN using rnews. It contains an article from 2022 that has been crossposted to newsgroup B. Since the batchfile for newsgroup B is not feeded to INN yet, this article will get article number 1 in newsgroup B. So the problem arises again. After both batchfiles are feeded to INN, newsgroup B looks like: Article number 1: 2022 Article number 2: 2003 I haven't tried this in practice yet, but it doesn't seem like this method will work. Or am I wrong?
Technical Details
Message-ID:
<Wen5M.5493900$MJk2.2327113@fx06.ams4>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailReferences:
<7Qb1M.3786652$nwq3.3523857@fx13.ams4> <u33go3$193a$1@news.trigofacile.com> <48c5M.5661290$vSy3.1679257@fx04.ams4> <u33lt2$1c60$3@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <Wen5M.5493900$MJk2.2327113@fx06.ams4> Subject: Re: Renumber newsgroups by post date Date: Sat, 06 May 2023 07:22:30 GMT From: Eli <eliistheman@gmail.com> References: <7Qb1M.3786652$nwq3.3523857@fx13.ams4> <u33go3$193a$1@news.trigofacile.com> <48c5M.5661290$vSy3.1679257@fx04.ams4> <u33lt2$1c60$3@news.trigofacile.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: news.admin.peering Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=fixed Content-Transfer-Encoding: 8bit User-Agent: Usenapp for MacOS X-Usenapp: v1.26.6/l - Full License Lines: 50 X-Complaints-To: abuse@eweka.nl Nntp-Posting-Date: Sat, 06 May 2023 07:22:30 UTC Organization: Eweka Internet Services