Article View: news.software.readers
Article #59228Re: [SLRN] "Importing" an article
From: Martijn van Buul
Date: Tue, 14 Mar 2000 00:00
Date: Tue, 14 Mar 2000 00:00
33 lines
2067 bytes
2067 bytes
It occurred to me that John E. Davis wrote in nl.comp.software.newsreaders:
> >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?
>
> Use the fopen/fgets/fclose, etc. intrinsic functions.
Argh! I completely overlooked these functions! Time for another cup of
coffee...
[ A help_I_cant_find_my_article_hook is needed ]
> Yes, via a hook as mentioned above. Feel free to implement the hook
> and send it to me for incorporation into the next release.
Okay. I'll do my best. I've got one problem lurking around though:
All current slrn hooks do not return any value at all. However, since
this hook -has- to return the newly found article somehow, it will need
to feed the article back someway. I can't figure out any other way then
having this hook return the article as a string, but doing so would be
deviating from the current situation.
Are there other 'nice' options for returning such a string?
Kind regards,
Martijn.
--
Martijn van Buul - Pino@dohd.cx - http://www.stack.nl/~martijnb/
Visit OuterSpace: mud.stack.nl 3333
Technical Details
Message-ID:
<slrn8csji1.fkj.pino+nl_comp_software_newsreaders@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-mailReferences:
<slrn8cqmna.fqt.pino+news_software_readers@mud.stack.nl> <slrn8cqrgv.sal.davis@aluche.mit.edu>Show Full Headers
Complete Article Headers
Message-ID: <slrn8csji1.fkj.pino+nl_comp_software_newsreaders@mud.stack.nl> Subject: Re: [SLRN] "Importing" an article Date: Tue, 14 Mar 2000 00:00:00 +0000 From: pino+nl_comp_software_newsreaders@dohd.cx (Martijn van Buul) References: <slrn8cqmna.fqt.pino+news_software_readers@mud.stack.nl> <slrn8cqrgv.sal.davis@aluche.mit.edu> 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: 597355621 Organization: Eindhoven University of Technology User-Agent: slrn/0.9.6.2 (Linux) Reply-To: pino+nl_comp_software_newsreaders@dohd.cx (Martijn van Buul) Newsgroups: news.software.readers,nl.comp.software.newsreaders X-religion: mutt vim slrn C64 Fort Apocalypse