SoylentNews
SoylentNews is people
https://soylentnews.org/

Title    Request For Comments: SoylentNews->Netnews (NNTP) Gateway
Date    Monday July 21 2014, @07:00PM
Author    NCommander
Topic   
from the because-code-bunnies-don't-go-away-until-you-code-it dept.
https://soylentnews.org/article.pl?sid=14/07/21/1627239

So, on a less serious topic than incorporation, I wanted to open the floor on a possible new feature to Slashcode; the possibility of reading and posting via a standard newsreader. This idea has gnawed on my brain since GoLive, so a few weeks ago, I started coding a proof-of-concept in my spare time to see if the idea is even feasible.

The answer: Yes, it is.
I'm mostly interested in seeing if there's enough people who would like this feature to develop it fully. As of right now, this is a single-shot export of the site, but it would be relatively easy to expand (at least in terms of SN->NetNews. Full bidirectionality is more difficult). For more information (as well as access to the proof-of-concept), read more past the break.

Just to prove this actually exists:
SN, as rendered in Pan

Now, obviously, this isn't a new idea; NNTP (Network News Transfer Protocol) access for the other site was promised WAY back in 2000-ish, but I wanted to see if it could reasonably be done. Because of the quirks (and headache) of running INN (InterNet News), combined with the fact that most discussion forums these days are flat vs. threaded, very few (if any) forums offer access by NNTP. In addition, given our community is very tech-savy, I could see a fair number of users wanting a way to participate in SN without even using their web browser (the NNTP feed looks good with a newsreader on my phone).

These two aspects led me to spend a few weekends reading through RFC 1036, and learning the ins and outs of how NetNews/USENET works, and seeing how it would be possible to interface slashcode to an instance of INN. (I didn't really want to implement an NNTP server that read against our database). I discovered the "easiest" solution was to make slashcode appear as a remote news server accessible via UUCP (Unix-To-Unix Copy), which meant it was simply a matter of writing out a massive spool file, then feeding it into INN with rnews.

After a fair bit of hacking, swearing at perl, and other fun, I was successfully able to export both stories and comments into INN. This opens some interesting possibilities in terms of accessibility to the site. Assuming I continue work on this, it would allow mirroring SoylentNews across the entirety of USENET. From the progress I made thus far, I do think full bi-directionality is indeed possible (with "creative" use of moderated groups on the INN side). There are some headaches, such as some newsreaders (like Thunderbird) handle cancels and supersedes headers poorly (required for times we edit articles), but I do believe the most basic problems are surmountable.

Now, obviously, being a proof of concept, some caveats apply:

All of the above should be considered pre-alpha quality, more like a whiteboard of insanity. If, despite all these caveats, you'd still like to check out the spool for yourself, point your newsreader at nntp-test.soylentnews.org. There are three groups on the server, soylentnews.discuss, just for general discussion for folks who come by, a test group for testing posting, and the spool itself at soylentnews.test.mainpage.

I look forward to hearing your thoughts and comments below.

[UPDATE: Corrected typos and added links]

Links

  1. "NNTP" - https://en.wikipedia.org/wiki/Nntp
  2. "INN" - https://en.wikipedia.org/wiki/InterNetNews
  3. "RFC 1036" - http://tools.ietf.org/html/rfc1036
  4. "UUCP" - https://en.wikipedia.org/wiki/UUCP
  5. "rnews" - http://rnews.sourceforge.net/

© Copyright 2025 - SoylentNews, All Rights Reserved

printed from SoylentNews, Request For Comments: SoylentNews->Netnews (NNTP) Gateway on 2025-02-09 15:59:01