🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #59863

Re: Xnews as nsproto server

#59863
From: GM
Date: Thu, 30 Mar 2000 00:00
171 lines
5960 bytes
On 30 Mar 2000 Kenneth Porter wrote:

>I found a program, nsproto 
>(http://navasgrp.home.att.net/winpmail/index.htm#NsProto) which allows 
>Navigator to launch helper apps based on a link's protocol. It's
>targeted at launching Pegasus Mail for mailto: links, but I thought it
>would be nice if it could launch Xnews for news: links. Is this
>possible? Can Xnews take a command line argument of a news: URL and open
>with the requested server/group/article? I don't see anything in the
>manual about Xnews taking command line arguments. (There's also the
>issue of invoking Xnews if an instance is already running.)
>

It boils down to adding a few things at the registry.
For win9x copy and paste the code that follows (courtesy of a poster 
some time ago) into an ascii file. 
Name it xnews.reg, right click it and choose Merge.
This should make xnews available as a news handler.
The above works for IE4, IE5 so it should work with Netscape as well 
(at least the later versions).

For the other question, afaik, v.3.03.12 doesn't let two instances
run concurrently.


********************
Before manipulating the following registry codes, change the path
of XNews on all occurrences so that it reflects your own
configuration. 

Select and copy the text below this line (*****) and edit it in a
text editor like Notepad. Check whether end-of-lines are not
truncated, nor cut by a carriage return. Then, name and save the
file with a ".reg" extension, like: "XnewsByDefault.reg". Don't
forget the quotations (" "). Finally, right-click on the file and
select the command MERGE. The content of the file enters your
registry. XNews has now become your default newsreader program. 
******************** Copy everything from the next line on.
REGEDIT4

[HKEY_CLASSES_ROOT\news]
@="URL:news Protocol"
"URL Protocol"=""
"EditFlags"=hex:02,00,00,00

[HKEY_CLASSES_ROOT\news\shell]

[HKEY_CLASSES_ROOT\news\shell\open]

[HKEY_CLASSES_ROOT\news\shell\open\command]
@="D:\\XNEWS\\XNEWS.EXE /url=\"%1\""

[HKEY_CLASSES_ROOT\news\DefaultIcon]
@="D:\\Xnews\\Xnews.exe,1"

[HKEY_CLASSES_ROOT\nntp]
@="URL:nntp Protocol"
"URL Protocol"=""
"EditFlags"=hex:02,00,00,00

[HKEY_CLASSES_ROOT\nntp\shell]

[HKEY_CLASSES_ROOT\nntp\shell\open]

[HKEY_CLASSES_ROOT\nntp\shell\open\command]
@="D:\\XNEWS\\XNEWS.EXE /url=\"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\news]
@="URL:news Protocol"
"URL Protocol"=""
"EditFlags"=hex:02,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\news\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\news\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\news\shell\open\command]
@="D:\\XNEWS\\XNEWS.EXE /url=\"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\news\DefaultIcon]
@="D:\\Xnews\\Xnews.exe,1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\nntp]
@="URL:nntp Protocol"
"URL Protocol"=""
"EditFlags"=hex:02,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\nntp\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\nntp\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\nntp\shell\open\command]
@="D:\\XNEWS\\XNEWS.EXE /url=\"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews]
@="XNews"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\news]
@="URL:News Protocol"
"URL Protocol"=""
"EditFlags"=hex:02,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\news\DefaultIcon]
@="D:\\Xnews\\Xnews.exe\\,1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\news\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\news\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\news\shell\open\c
ommand]
@="D:\\XNEWS\\XNEWS.EXE /url=\"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\nntp]
@="URL:NNTP Protocol"
"URL Protocol"=""
"EditFlags"=hex:02,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\nntp\DefaultIcon]
@="D:\\Xnews\\Xnews.exe\\,1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\nntp\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\nntp\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\nntp\shell\open\c
ommand]
@="D:\\XNEWS\\XNEWS.EXE /url=\"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\snews]
@="URL:Snews Protocol"
"URL Protocol"=""
"EditFlags"=hex:02,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\snews\DefaultIcon
]
@="D:\\Xnews\\Xnews.exe\\,1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\snews\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\snews\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\Protocols\snews\shell\open\
command]
@="D:\\XNEWS\\XNEWS.EXE /url=\"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\News\XNews\shell\open\command]
@="D:\\XNEWS\\XNEWS.EXE /url=\"%1\""

******************** Stop copying at the line above.








-- 
Gregory

Make this a valid address:
put the land before the news.

Technical Details
Message-ID: <8F071C930SG2ALA3GS@206.132.11.105>
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
References: <8F06EDD35shivawellcom@207.126.101.100>

Show Full Headers
Complete Article Headers
Message-ID: <8F071C930SG2ALA3GS@206.132.11.105>
Subject: Re: Xnews as nsproto server
Date: Thu, 30 Mar 2000 00:00:00 +0000
From: marti@mainews.com.invalid (GM)
References: <8F06EDD35shivawellcom@207.126.101.100>
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: 604319027
X-Trace: tw11.nn.bcandid.com 954402988 206.148.209.47 (Thu, 30 Mar 2000 00:56:28 MST)
Organization: bCandid - Powering the world's discussions - http://bCandid.com
User-Agent: Xnews/03.03.11
NNTP-Posting-Date: Thu, 30 Mar 2000 00:56:28 MST
Newsgroups: news.software.readers