🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #165680

Fetching Message-ID's (was Re: [slrn] Not Showing Body)

#165680
From: Neil Woods
Date: Fri, 22 Apr 2005 02:41
47 lines
2745 bytes
begin  Neil Woods <cnw+usenet@pobox.com> wrote:

>> (I can see the article in question by using Lynx to fetch it from my ISP's 
>> news-server, but that doesn't show me all the article's headers - the body 
>> looks as though it's 'binary', but only two 'lines').
>
> Looking in my slrn macros directory, I have a file called
> get-by-mid.sl. I don't recall whether it was part of the slrn
> distribution or not, but "Google is your friend" :-)
>
> get-by-mid.sl - retrieve article by message-id from server or deja.com
>
> I've never used it, but it looks as though it could be useful. 

Update: It works fine, with a minor tweak for the new google groups
interface (see below). You need another file, in addition to
get-by-mid.sl, both available here:

<http://cvs.pld-linux.org/cgi-bin/cvsweb/slrn-pl/macros/get-by-mid.sl?rev=1.5>
<http://cvs.pld-linux.org/cgi-bin/cvsweb/slrn-pl/macros/slrn-pl.sl?rev=1.6>

Place these two files in your macros directory, and add the following

interpret "get-by-mid.sl"
setkey article GetByMid->get_article    "\el"

to your ~/.slrnrc.

To make it work with the latest google groups beta, replace the line
in get-by-mid.sl

Prefs["deja_url"]     = "http://groups.google.com/groups?selm=%s&oe=ISO-8859-2&output=gplain";

with

Prefs["deja_url"]     = "http://groups.google.co.uk/groups?selm=%s&output=gplain";

(sorry about the long lines).

Pressing 'ESC-1 ESC-l' when looking at an article will now present you
with a menu of message-ids within the article body (if any) from which
you can select the one you want to fetch (it will try your server
first, then google). This works well and is reasonably fast.

HTH.
-- 
Neil.
Technical Details
Message-ID: <ls4mj2-ehb.ln1@phun.phasmic.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!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <slrnd6fp65.lfq.no.spam@thurston.blinkynet.net> <0lblj2-t6g.ln1@ID-107770.user.individual.net> <bfjlj2-eii.ln1@ID-107770.user.individual.net> <874qdz8twc.fsf@phun.phasmic.org>

Show Full Headers
Complete Article Headers
Message-ID: <ls4mj2-ehb.ln1@phun.phasmic.org>
Subject: Fetching Message-ID's (was Re: [slrn] Not Showing Body)
Date: Fri, 22 Apr 2005 03:41:57 +0100
From: Neil Woods <cnw+usenet@pobox.com>
References: <slrnd6fp65.lfq.no.spam@thurston.blinkynet.net> <0lblj2-t6g.ln1@ID-107770.user.individual.net> <bfjlj2-eii.ln1@ID-107770.user.individual.net> <874qdz8twc.fsf@phun.phasmic.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!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 47
X-Trace: individual.net JujfAxlbqZlVCtgLxGnRWwRAEPLL9nE8K18hn0rSo5MqkkOn9I
X-Orig-Path: phun.phasmic.org!news
Mail-Copies-To: nobody
User-Agent: slrn/0.9.8.1 (FreeBSD)