🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rocksolid.nodes
Article #272

Re: hey, what do know ? vichan supports nntp

#272
From: anonymous
Date: Sun, 17 May 2020 16:46
40 lines
2530 bytes
>Is this post.php in vichan?

yes.

>Looking at this file, I agree it's probably better to send it as vichan expects (via http, whether get or post), instead of trying to insert a complete message as this would require major modification to this file (not fun).

yes, i concur. 

>If we can write one function to take a complete article, and break it into what's needed to send it as a post request for vichan, spoolnews can call that function as it's writing to it's own spool.

yes, i had that in mind too. it comes down to :
-parsing the message
-sending a post stream including the attachments (if any), probably using curl
-modying post.php on vichan to accept a message number from the post stream instead of creating it itself

>doesn't reject the post (like stripping down to one Reference and one group

either that or we modify vichan. guess it is better to modify the message.


















-- 
Posted on def2
z5bqfv5v75kxy7pj.onion
Technical Details
Message-ID: <c9e36818f5f202c43882d29e4e4f2454$1@z5bqfv5v75kxy7pj.onion>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!.POSTED!not-for-mail
References: <d1faafa624cda10417914a17419af431@def4> <a390a213fa3e1af81b3d8c884f62ef13@def4> <a4458e95f3eff77a31ee126a7152c46a$1@z5bqfv5v75kxy7pj.onion> <75cfd107a0bfe9a820be859f6cf8cf23$1@rslight.i2p> <be376db2cbfa3b8a1d806963fe77b0ed$1@z5bqfv5v75kxy7pj.onion> <189aa9e174ef124885b70b788c103036$1@z5bqfv5v75kxy7pj.onion> <6ec5bc71b514f58f97133ee8a54d21b8$1@z5bqfv5v75kxy7pj.onion> <f7d56637d486a71951cd87ff55181941$1@z5bqfv5v75kxy7pj.onion> <ae192c4892344f1c81d9158e2c909933$1@z5bqfv5v75kxy7pj.onion> <107cc61f0c42b36e4efad0880ff887d3$1@z5bqfv5v75kxy7pj.onion> <a5f9837619c6bbc8ae67608883c27443$1@z5bqfv5v75kxy7pj.onion> <21ccbadfaaabeff5c95cd3e7526fc37e$1@news.novabbs.com>

Show Full Headers
Complete Article Headers
Message-ID: <c9e36818f5f202c43882d29e4e4f2454$1@z5bqfv5v75kxy7pj.onion>
Subject: Re: hey, what do know ? vichan supports nntp
Date: Sun, 17 May 2020 16:46:00 +0000
From: anonymous@anon.com (anonymous)
References: <d1faafa624cda10417914a17419af431@def4> <a390a213fa3e1af81b3d8c884f62ef13@def4> <a4458e95f3eff77a31ee126a7152c46a$1@z5bqfv5v75kxy7pj.onion> <75cfd107a0bfe9a820be859f6cf8cf23$1@rslight.i2p> <be376db2cbfa3b8a1d806963fe77b0ed$1@z5bqfv5v75kxy7pj.onion> <189aa9e174ef124885b70b788c103036$1@z5bqfv5v75kxy7pj.onion> <6ec5bc71b514f58f97133ee8a54d21b8$1@z5bqfv5v75kxy7pj.onion> <f7d56637d486a71951cd87ff55181941$1@z5bqfv5v75kxy7pj.onion> <ae192c4892344f1c81d9158e2c909933$1@z5bqfv5v75kxy7pj.onion> <107cc61f0c42b36e4efad0880ff887d3$1@z5bqfv5v75kxy7pj.onion> <a5f9837619c6bbc8ae67608883c27443$1@z5bqfv5v75kxy7pj.onion> <21ccbadfaaabeff5c95cd3e7526fc37e$1@news.novabbs.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!.POSTED!not-for-mail
Newsgroups: rocksolid.nodes
Organization: def2
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="def2";
 logging-data="7833"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Rslight-Site: $2y$10$v/mkM.k4kmKmyL4KofcgGu4F5LGj7tCLlRxLq0yc60JgW9QFpZsHm