🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #47052

Re: fetching expired articles with slrn

#47052
From: Peppe
Date: Thu, 04 Mar 1999 00:00
47 lines
2681 bytes
Thus wrote Peppe <c928400@student.dtu.dk>
> For those who would like to use the script, here it is again (hopefully in
> the right shape by now :-)

Oops, wrong key when recalling the article :-(

Here we go.

I included JED's corrections and discarded the call to
str_replace_all().

Also John Moreno pointed out indirectly that I had used some extra,
seemingly irrelevant, info to the URL.

    define dejanews_mid ()
    {
        variable mid, len, data, command;

        mid = read_mini ("Find which message ID on dejanews", "", "");
        mid = strtrim (mid);
        len = strlen (mid);
        if (len == 0)
            return;
        if (mid[0] == '<' and mid[len-1] == '>')
            mid = substr (mid, 2, len-2);

        % Format a proper query for dejanews:
        while (str_replace (mid, "+", "%2B"))
            mid = ();
        data = strcat ("?'MID=%3C", mid);
        data = strcat (data, "%3E'");

        command = strcat ("lynx http://www.dejanews.com/msgid.xp", data);

        () = system (command);
    }

Thanks for the help.

Peppe
-- 
Preben Guldberg          __/-\__
c928400@student.dtu.dk    (o o)        Fare thee well! and if for ever,
----------------------oOOo (_) oOOo    Still for ever, fare thee well.
http://www.student.dtu.dk/~c928400/    --Byron (1788-1824)

Technical Details
Message-ID: <slrn7du0ol.38m.c928400@urdybet.pbk.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.pine.mbox.zip!not-for-mail
References: <Pine.LNX.4.04.9902281839210.5878-100000@paule.ncpa.olemiss.edu> <36d9ff6d.641177409@nntp3.site1.csi.com> <slrn7dktrf.6tn.guckes@rudin.math.fu-berlin.de> <36dacea6.23183718@news.washburn.edu> <slrn7dlrof.6tn.guckes@rudin.math.fu-berlin.de> <Pine.WNT.4.10.9903011547180.-395821@aleph> <slrn7dnh2c.6tn.guckes@rudin.math.fu-berlin.de> <Pine.WNT.4.10.9903020911460.-421041@aleph> <slrn7dq7dj.edv.guckes@rudin.math.fu-berlin.de> <slrn7dr6m3.f16.c928400@urdybet.pbk.dk> <slrn7dtjm4.pap.davis@aluche.mit.edu> <slrn7du09c.38m.c928400@urdybet.pbk.dk>

Show Full Headers
Complete Article Headers
Message-ID: <slrn7du0ol.38m.c928400@urdybet.pbk.dk>
Subject: Re: fetching expired articles with slrn
Date: Thu, 04 Mar 1999 00:00:00 +0000
From: c928400@student.dtu.dk (Peppe)
References: <Pine.LNX.4.04.9902281839210.5878-100000@paule.ncpa.olemiss.edu> <36d9ff6d.641177409@nntp3.site1.csi.com> <slrn7dktrf.6tn.guckes@rudin.math.fu-berlin.de> <36dacea6.23183718@news.washburn.edu> <slrn7dlrof.6tn.guckes@rudin.math.fu-berlin.de> <Pine.WNT.4.10.9903011547180.-395821@aleph> <slrn7dnh2c.6tn.guckes@rudin.math.fu-berlin.de> <Pine.WNT.4.10.9903020911460.-421041@aleph> <slrn7dq7dj.edv.guckes@rudin.math.fu-berlin.de> <slrn7dr6m3.f16.c928400@urdybet.pbk.dk> <slrn7dtjm4.pap.davis@aluche.mit.edu> <slrn7du09c.38m.c928400@urdybet.pbk.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.mail.pine.mbox.zip!not-for-mail
X-Deja-AN: 451326909
X-Complaints-To: usenet@news.net.uni-c.dk
X-Trace: news.net.uni-c.dk 920587339 13920 130.225.71.226 (4 Mar 1999 22:42:19 GMT)
Organization: Home of Peppe
User-Agent: slrn/0.9.5.4 (UNIX)
Reply-To: c928400@student.dtu.dk
NNTP-Posting-Date: 4 Mar 1999 22:42:19 GMT
Newsgroups: comp.mail.pine,news.software.readers