Article View: news.software.readers
Article #5940Obtaining Message ID's assigned by inews
From: Jonathon
Date: Wed, 22 Sep 1993 17:45
Date: Wed, 22 Sep 1993 17:45
34 lines
2199 bytes
2199 bytes
Question for all you UNIX people who've written posting scripts: How do I obtain the Message ID of a post that has just been performed in batch mode by inews (invoked from Pnews)? To give you the context: I'm trying to write a script that will automatically uuencode, split, and post binary files to a specified newsgroup. Because so many people are using threaded newsreaders with automatic extraction features (trn, nn, etc), I feel it would be good to post each part of the binary as a followup to the previous part, so you can tag and extract the whole thread at once, rather than having to tag each part individually. People without threaded newsreaders would naturally not see any difference, but I for one certainly appreciate more posts like this (I use trn). The problem is, I don't know how to make followup posts without being inside my newsreader. To take a guess, you'd just add a Reference: header item to the headers, containing the message ID's of the previous posts, oldest to youngest? This is easy enough, provided you get the message ID of the most recent post somehow. This, of course, is my question above. Answers by email or posting are equally appreciated. I'll summarize any direct responses to this group. Thanks in advance, Jonathon. PS: Are there any programs around that do this already? I don't want to re-invent the wheel here...
Technical Details
Message-ID:
<27q2vm$m92@sunb.ocs.mq.edu.au>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!ra!darwin.sura.net!europa.eng.gtefsd.com!uunet!munnari.oz.au!metro!sunb.ocs.mq.edu.au!laurel.ocs.mq.edu.au!jshepherShow Full Headers
Complete Article Headers
Message-ID: <27q2vm$m92@sunb.ocs.mq.edu.au> Subject: Obtaining Message ID's assigned by inews Date: Wed, 22 Sep 1993 17:45:26 +0000 From: jshepher@laurel.ocs.mq.edu.au (Jonathon) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!news.cac.psu.edu!news.pop.psu.edu!ra!darwin.sura.net!europa.eng.gtefsd.com!uunet!munnari.oz.au!metro!sunb.ocs.mq.edu.au!laurel.ocs.mq.edu.au!jshepher Newsgroups: news.software.readers Organization: Macquarie University, Sydney. Lines: 36 Distribution: world Reply-To: jshepher@laurel.ocs.mq.edu.au NNTP-Posting-Host: laurel.ocs.mq.edu.au