Article View: news.software.readers
Article #203086Re: How to access a post by Message-ID
From: Stefano Sabatini
Date: Sat, 04 Aug 2007 11:54
Date: Sat, 04 Aug 2007 11:54
49 lines
2526 bytes
2526 bytes
On 2007-08-04, Sn!pe <snipe@spambin.fsnet.co.uk> wrote:
> Stefano Sabatini <stefano.sabatini@caos.org> wrote:
>
>> Hi all news-readers.
>>
>> It's very frequent to see references to other messages in post
>> referring to some message id.
>>
>> I would like to access them even in the case the message isn't
>> present anymore on the server.
>> How can I achieve this?
>
> This is useful: <http://howardk.freenix.org/>
Hi Sn!pe, and thanks, yes I already knew that address.
Well, I've managed to prepare the freeni.org url corresponding to a
message id, basically with something like this:
message_id=$(grep -i "^Message-id:" $1 | sed -e 's/.*<\(.*\)>/\1/')
if [ -z "$message_id" ]; then
echo "$my_name: no message-id found in input or no input." 1>&2
exit 1
fi
url_base='http://howardk.freenix.org/msgid.cgi?STYPE=msgid&MSGI='
mangled_message_id=$(echo "%3C${message_id}%3E" | \
# %foo -> %25foo, %123 is left as it is
sed -e 's/%\([[:alpha:]]\)/%25\1/g' | \
# @ -> %40
sed -e 's/@/%40/g')
url=${url_base}${mangled_message_id}
(I'll eventually post the script at the end of the discussion).
The problem is that I would like to see also thread information (like
that of G-mane threads, see my OP).
Another question: is it possible in SLRN to launch a command which
filter the message displayed (something like the pipe-command
function of mutt)?
Thanks again.
Cheers.
--
Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)
Technical Details
Message-ID:
<slrnfb8q76.usu.stefano.sabatini@santefisi.caos.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news2.arglkargh.de!feeder.erje.net!aioe.org!not-for-mailReferences:
<slrnfb8lfe.usu.stefano.sabatini@santefisi.caos.org> <1i2bkk2.kiv9471ax6jlbN%snipe@spambin.fsnet.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <slrnfb8q76.usu.stefano.sabatini@santefisi.caos.org> Subject: Re: How to access a post by Message-ID Date: Sat, 04 Aug 2007 11:54:15 +0000 From: Stefano Sabatini <stefano.sabatini@caos.org> References: <slrnfb8lfe.usu.stefano.sabatini@santefisi.caos.org> <1i2bkk2.kiv9471ax6jlbN%snipe@spambin.fsnet.co.uk> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.karotte.org!news2.arglkargh.de!feeder.erje.net!aioe.org!not-for-mail Newsgroups: news.software.readers Organization: Debian GNU/Linux site Lines: 49 Reply-To: stefano.sabatini@santefisi.caos.org.invalid NNTP-Posting-Host: TUomdNeeIGiyVCLry0CQlQ.user.aioe.org X-Complaints-To: abuse@aioe.org User-Agent: slrn/0.9.8.1pl1 (Debian)