🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #59189

[SLRN] "Importing" an article

#59189
From: Martijn van Buul
Date: Mon, 13 Mar 2000 00:00
36 lines
2183 bytes
Hello!

I've got a problem with SLRN (To be more precise: version 0.9.6.2, but
I'm quite sure that it's not specific to this particular version). I'm
trying to implement something similiar to the URLview-function provided
by SLRN, but for Message-ID's instead of URLs. Things go well for articles
still available on the newsserver. When an article isn't available on
the newsserver,however, I open Lynx for www.deja.com (with an appropriate
URL) to obtain the message text. I'd like to see this text 'imported' in
SLRN.

My questions:

1) I could make lynx dump the content of the article (if available) to a 
   file. How can I import this file within a S-Lang script?

2) Provided that I -can- 'import' this text, how can I fool SLRN into 
   displaying this article? replace_article() sounds promising, yet I do
   not want to 'replace' things, I want to insert things instead!

Any hints or suggestions please?

Martijn

PS: Ideally, this functionality could be implemented in the (intrinsic) 
    function locate_header_by_msgid() function.

PPS: My apologies to the readers of the (Dutch) newsgroup nl.comp.software.
     newsreaders for blatantly cross-posting a question in a foreign 
     language.  It might raise the quality of the postings, though...
     
-- 
    Martijn van Buul -  Pino@dohd.cx - http://www.stack.nl/~martijnb/
		Visit OuterSpace: mud.stack.nl 3333

Technical Details
Message-ID: <slrn8cqmna.fqt.pino+news_software_readers@mud.stack.nl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrn8cqmna.fqt.pino+news_software_readers@mud.stack.nl>
Subject: [SLRN] "Importing" an article
Date: Mon, 13 Mar 2000 00:00:00 +0000
From: pino+news_software_readers@dohd.cx (Martijn van Buul)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 597017424
Organization: Eindhoven University of Technology
User-Agent: slrn/0.9.6.2 (Linux)
Reply-To: pino+news_software_readers@dohd.cx (Martijn van Buul)
Newsgroups: news.software.readers,nl.comp.software.newsreaders
X-religion: mutt vim slrn C64 Fort Apocalypse