🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #251534

Re: CLI tools that can handle snews:// URLs

#251534
From: Eli the Bearded
Date: Wed, 12 Sep 2012 18:52
35 lines
2561 bytes
In news.software.readers, Anonymous  <noreply@breaka.net> wrote:
> Is lynx the only commandline tool that can dump the contents of a
> newsgroup post?  

I've seen others, but I'm not sure how widespread they are.

> If I want to dump a newsgroup article, I can do:
> 
>   lynx --dump snews://news.gmane.org/gmane.comp.web.lynx.devel

I tried that and got:

Connecting to NewsHost ...
Looking up news.gmane.org
Making NNTPS connection to news.gmane.org
Alert!: Unable to make secure connection to remote host.

I'm not sure if that's a news.gmane.org problem or an issue with
my installed copy of lynx.

> (very slick!).  Problem is, when it comes to dumping an article, only
> basic headers are shown and it's hard-coded to do that.  I need a way
> to access obscure headers from a script (hence the CLI need).

I bet you'll find "lynx --dump --source" to work for you. I know that
makes the difference between formated and raw output on news: URLs
in lynx.

> FYI, cURL, w3m, and wget cannot handle snews:// URLs.

Do they handle news:// urls? I don't think so.

Elijah
------
LWP does news: URLs and can probably handle snews:
Technical Details
Message-ID: <eli$1209121451@qz.little-neck.ny.us>
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!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-out.readnews.com!transit3.readnews.com!panix!qz!not-for-mail
References: <6d04a9ecf59311767822dcc625427097@breaka.net>

Show Full Headers
Complete Article Headers
Message-ID: <eli$1209121451@qz.little-neck.ny.us>
Subject: Re: CLI tools that can handle snews:// URLs
Date: Wed, 12 Sep 2012 18:52:04 +0000
From: Eli the Bearded <*@eli.users.panix.com>
References: <6d04a9ecf59311767822dcc625427097@breaka.net>
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!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news-out.readnews.com!transit3.readnews.com!panix!qz!not-for-mail
Newsgroups: news.software.readers
Organization: Some absurd concept
Lines: 35
NNTP-Posting-Host: panix5.panix.com
X-Trace: reader1.panix.com 1347475924 871 166.84.1.5 (12 Sep 2012 18:52:04 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Wed, 12 Sep 2012 18:52:04 +0000 (UTC)
X-Liz: It's actually happened, the entire Internet is a massive game of Redcode
X-Motto: "Erosion of rights never seems to reverse itself." -- kenny@panix
X-US-Congress: Moronic Fucks.
X-Attribution: EtB
XFrom: is a real address
Encrypted: double rot-13
User-Agent: Vectrex rn 2.1 (beta)
X-Comments: "(Welcome to the desert of the real.)" -- eck@panix
 "... terrorism is open-source war ..." -- srini@unamerican
X-Original-Bytes: 2258