🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rocksolid.nodes
Article #305

Re: basics are working

#305
From: Retro Guy Retro Guy
Date: Tue, 26 May 2020 19:45
22 lines
1916 bytes
Anonymous wrote:

> with some 11 exceptions my routine could glue all the threads together again.
> this is still far from being elegant, mind you....

> this code handles all the exporting from rslight to vichan.
> -it checks the articles in the spool, 
> -builds an index file and a watermark file (if necessary), 
> -then resolves all the broken threads (fixed 10 iterations, have to make that dynamic later),
> -then exports everything to vichan.

> on the vichan side there is a modified post.php to get the messages.

> so far the three parts (rslight, vichan and the script) are fully decoupled and individually called from cron.

That looks like a great way to handle it. So when complete, if I just add a $enable_vichan in config, then reference that in cron.php, I can just use that to decide whether to run the code at all. Is that correct?

Retro Guy

-- 
Posted on: Rocksolid Light
www.novabbs.com
Technical Details
Message-ID: <af0db666e6c7dab4838ec58b91d4418e$1@www.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
References: <7b6448e9ac3e8f40f5ff6b8fa9b433b6@def4> <n.232.195omy@anon.com>

Show Full Headers
Complete Article Headers
Message-ID: <af0db666e6c7dab4838ec58b91d4418e$1@www.novabbs.com>
Subject: Re: basics are working
Date: Tue, 26 May 2020 19:45:00 +0000
From: Retro Guy@rslight.i2p (Retro Guy)
References: <7b6448e9ac3e8f40f5ff6b8fa9b433b6@def4> <n.232.195omy@anon.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: Rocksolid Light
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org; posting-account="retrobbs1";
 logging-data="21772"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$g7YtmFskVIFxmMkGAojHlOKYpZO46BfnmFNJpEirjYB5v/DP.aOZW