Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Doubt is not a pleasant condition, but certainty is absurd. -- Voltaire


computers / rocksolid.nodes.help / Re: How to manually add messages to a rslight newsgroup?

SubjectAuthor
* How to manually add messages to a rslight newsgroup?Syber Shock
`* How to manually add messages to a rslight newsgroup?Retro Guy
 `* How to manually add messages to a rslight newsgroup?Syber Shock
  +* How to manually add messages to a rslight newsgroup?Retro Guy
  |`* How to manually add messages to a rslight newsgroup?Retro Guy
  | `* How to manually add messages to a rslight newsgroup?Syber Shock
  |  `* How to manually add messages to a rslight newsgroup?Retro Guy
  |   `* How to manually add messages to a rslight newsgroup?Syber Shock
  |    `- How to manually add messages to a rslight newsgroup?Retro Guy
  `- How to manually add messages to a rslight newsgroup?Retro Guy

1
How to manually add messages to a rslight newsgroup?

<946cfff2b665dfa8c4f02e716f6bac85$1@sybershock.com>

  copy mid

https://novabbs.com/computers/article-flat.php?id=346&group=rocksolid.nodes.help#346

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!rocksolid2!.POSTED.nightbulb.net!not-for-mail
From: adm...@sybershock.com (Syber Shock)
Newsgroups: rocksolid.nodes.help
Subject: How to manually add messages to a rslight newsgroup?
Date: Sun, 7 May 2023 19:43:48 -0500
Organization: sybershock.com
Message-ID: <946cfff2b665dfa8c4f02e716f6bac85$1@sybershock.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: novabbs.org; posting-account="sybershock"; posting-host="nightbulb.net:216.24.252.247";
logging-data="820111"; mail-complaints-to="usenet@novabbs.org"
 by: Syber Shock - Mon, 8 May 2023 00:43 UTC

I want to add some messages to a local newsgroup. This way I can mirror
a blog to a newgroup just by copying over text files and giving them
numbered filenames.

Here is the scenario. Rslight php7.4 version.

The message files are numbered 15, 16.

There are no existing files in the spool folder that conflict with
these file names.

I want to copy these text files files to the spool folder then have them
show up when the next cron runs.

I tried this several times using the -reset command on import-db3.php
then running the cron. The files do not show up.

However I am able to telnet to the nntp server and pull the articles by
the commands, 'article 15' and 'article 16'. But the articles do not
show up in any newsreader.

What am I missing? And would the solution be different for the php8
version of rslight?

--

SugarBug | https://sybershock.com

Re: How to manually add messages to a rslight newsgroup?

<8e52c7149d8878011ff3ec0aa3926897@rocksolidbbs.com>

  copy mid

https://novabbs.com/computers/article-flat.php?id=347&group=rocksolid.nodes.help#347

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED.rocksolidbbs.com!not-for-mail
From: retro....@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: How to manually add messages to a rslight newsgroup?
Date: Mon, 8 May 2023 01:50:05 +0000
Organization: RetroBBS
Message-ID: <8e52c7149d8878011ff3ec0aa3926897@rocksolidbbs.com>
References: <946cfff2b665dfa8c4f02e716f6bac85$1@sybershock.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.i2pn2.org; posting-account="retrobbs"; posting-host="rocksolidbbs.com:2a03:b0c0:3:d0::fec:9001";
logging-data="315366"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light 0.8.0
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on novabbs.org
X-Rslight-Site: $2y$10$XR5RQllQKx7qgunUs9Ls0.qRk.lQYF76yHXgu0ljW9VohsqqplUuS
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
 by: Retro Guy - Mon, 8 May 2023 01:50 UTC

Syber Shock wrote:

> I want to add some messages to a local newsgroup. This way I can mirror
> a blog to a newgroup just by copying over text files and giving them
> numbered filenames.

> Here is the scenario. Rslight php7.4 version.

> The message files are numbered 15, 16.

> There are no existing files in the spool folder that conflict with
> these file names.

> I want to copy these text files files to the spool folder then have them
> show up when the next cron runs.

> I tried this several times using the -reset command on import-db3.php
> then running the cron. The files do not show up.

import-db3.php will only 'import' from an existing <group>-articles.db3 file.

> However I am able to telnet to the nntp server and pull the articles by
> the commands, 'article 15' and 'article 16'. But the articles do not
> show up in any newsreader.

That's because the articles are not in the overview, only the spool. Telnet
and asking for the article will work because it does not consult the overview,
but most readers (including rslight) will send an XOVER command. Since they
are not in the overview, XOVER will not list the articles as available.

> What am I missing? And would the solution be different for the php8
> version of rslight?

Can you feed the articles via nntp? Maybe a script to read through a dir file
by file, and post each file's contents? This will also allow rslight to
assign the article numbers and write the overview properly.

There are no changes in code for php8 that should make finding ways to do
this any different.

--
Posted on Rocksolid Light

Re: How to manually add messages to a rslight newsgroup?

<45862800f4361be65be3e55e9dfaedbd$1@sybershock.com>

  copy mid

https://novabbs.com/computers/article-flat.php?id=348&group=rocksolid.nodes.help#348

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!rocksolid2!.POSTED.nightbulb.net!not-for-mail
From: adm...@sybershock.com (Syber Shock)
Newsgroups: rocksolid.nodes.help
Subject: Re: How to manually add messages to a rslight newsgroup?
Date: Sun, 7 May 2023 23:41:41 -0500
Organization: sybershock.com
Message-ID: <45862800f4361be65be3e55e9dfaedbd$1@sybershock.com>
References: <946cfff2b665dfa8c4f02e716f6bac85$1@sybershock.com>
<8e52c7149d8878011ff3ec0aa3926897@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: novabbs.org; posting-account="sybershock"; posting-host="nightbulb.net:216.24.252.247";
logging-data="843889"; mail-complaints-to="usenet@novabbs.org"
 by: Syber Shock - Mon, 8 May 2023 04:41 UTC

On Mon, 8 May 2023 01:50:05 +0000
retro.guy@rocksolidbbs.com (Retro Guy) wrote:

> Can you feed the articles via nntp? Maybe a script to read through a
> dir file by file, and post each file's contents? This will also allow
> rslight to assign the article numbers and write the overview properly.

I can use a telnet script locally to do as you suggest. It's not ideal
but it is what it is.

One of the reasons I wanted to cheat with just writing to the file system is
so I could provide a custom spool numbering scheme based on dates and
times.

For example I could number files by date and add a suffix. The first
article copied today would be in the spool as file '20230507000001'.
Then I could point my gopher and gemini servers at the directory so the
blog is also a phlog and a gemlog easily browsed by dates. See here for
an ugly example of what I hoped to organize by dates just by naming the
files: gopher://sybershock.com

I could script symlinks based on the date in each article and point
gopher, gemini and hypertext at a directory of those.

I suppose what I will do is just put the date and sequence number in
the message ID for each article, or just insert a custom X-Post-Number:
header or such and parse that with some scripts to generate links.

My goal is to unify NNTP, gopher, gemini, hypertext, and toot,
all pointing to the same spool files, each protocol presenting their
links as date-based numbers.

If you or anyone else has any better ideas I'd be glad to see them.

--

SugarBug | https://sybershock.com

Re: How to manually add messages to a rslight newsgroup?

<57416e3b0ae2e6f478c0d7d1f65ae6f9@rocksolidbbs.com>

  copy mid

https://novabbs.com/computers/article-flat.php?id=349&group=rocksolid.nodes.help#349

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED.rocksolidbbs.com!not-for-mail
From: retro....@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: How to manually add messages to a rslight newsgroup?
Date: Mon, 8 May 2023 12:25:48 +0000
Organization: RetroBBS
Message-ID: <57416e3b0ae2e6f478c0d7d1f65ae6f9@rocksolidbbs.com>
References: <946cfff2b665dfa8c4f02e716f6bac85$1@sybershock.com> <8e52c7149d8878011ff3ec0aa3926897@rocksolidbbs.com> <45862800f4361be65be3e55e9dfaedbd$1@sybershock.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.i2pn2.org; posting-account="retrobbs"; posting-host="rocksolidbbs.com:2a03:b0c0:3:d0::fec:9001";
logging-data="382279"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light 0.8.0
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on novabbs.org
X-Rslight-Site: $2y$10$Cniz5fb2vBnlbdn1CZ3cZuu9Fv5gkOfYqm6kPXVjHbdQurbg2/UBq
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
 by: Retro Guy - Mon, 8 May 2023 12:25 UTC

Syber Shock wrote:

> On Mon, 8 May 2023 01:50:05 +0000
> retro.guy@rocksolidbbs.com (Retro Guy) wrote:

>> Can you feed the articles via nntp? Maybe a script to read through a
>> dir file by file, and post each file's contents? This will also allow
>> rslight to assign the article numbers and write the overview properly.

> I can use a telnet script locally to do as you suggest. It's not ideal
> but it is what it is.

> One of the reasons I wanted to cheat with just writing to the file system is
> so I could provide a custom spool numbering scheme based on dates and
> times.

> For example I could number files by date and add a suffix. The first
> article copied today would be in the spool as file '20230507000001'.
> Then I could point my gopher and gemini servers at the directory so the
> blog is also a phlog and a gemlog easily browsed by dates. See here for
> an ugly example of what I hoped to organize by dates just by naming the
> files: gopher://sybershock.com

> I could script symlinks based on the date in each article and point
> gopher, gemini and hypertext at a directory of those.

> I suppose what I will do is just put the date and sequence number in
> the message ID for each article, or just insert a custom X-Post-Number:
> header or such and parse that with some scripts to generate links.

> My goal is to unify NNTP, gopher, gemini, hypertext, and toot,
> all pointing to the same spool files, each protocol presenting their
> links as date-based numbers.

> If you or anyone else has any better ideas I'd be glad to see them.

I see what you're doing now, it makes sense. It is beyond the design
of rslight, but not too complicated (as you mention).

I will try to modify import-db3.php to better support tradspool (I had
considered that deprecated when I wrote that script).

Take a look at 'send.php'. That script already takes files from a
directory and feeds them to a nntp server. That's the purpose of the
script. Maybe with some minor mods it may help.

--
Retro Guy

Re: How to manually add messages to a rslight newsgroup?

<9bb9cae91ce20377419283f7eeb37493@news.novabbs.org>

  copy mid

https://novabbs.com/computers/article-flat.php?id=350&group=rocksolid.nodes.help#350

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED.novabbs-org!not-for-mail
From: retro....@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: How to manually add messages to a rslight newsgroup?
Date: Mon, 8 May 2023 16:59:23 +0000
Organization: Rocksolid Light
Message-ID: <9bb9cae91ce20377419283f7eeb37493@news.novabbs.org>
References: <946cfff2b665dfa8c4f02e716f6bac85$1@sybershock.com> <8e52c7149d8878011ff3ec0aa3926897@rocksolidbbs.com> <45862800f4361be65be3e55e9dfaedbd$1@sybershock.com> <57416e3b0ae2e6f478c0d7d1f65ae6f9@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.i2pn2.org; posting-account="novabbs.org"; posting-host="novabbs-org:10.136.143.187";
logging-data="413218"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light 0.8.0
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on novabbs.org
X-Rslight-Site: $2y$10$8gGfMfgJ0sm/hILcfRE/lOP7iXvBstuofkdL0jJkdGp1AowX/G1UG
X-Rslight-Posting-User: 91053d4a47d51b416144568e5a1040f05e31ed1b
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
 by: Retro Guy - Mon, 8 May 2023 16:59 UTC

Retro Guy wrote:

> Syber Shock wrote:

>> On Mon, 8 May 2023 01:50:05 +0000
>> retro.guy@rocksolidbbs.com (Retro Guy) wrote:

>>> Can you feed the articles via nntp? Maybe a script to read through a
>>> dir file by file, and post each file's contents? This will also allow
>>> rslight to assign the article numbers and write the overview properly.

>> I can use a telnet script locally to do as you suggest. It's not ideal
>> but it is what it is.

>> One of the reasons I wanted to cheat with just writing to the file system is
>> so I could provide a custom spool numbering scheme based on dates and
>> times.

>> For example I could number files by date and add a suffix. The first
>> article copied today would be in the spool as file '20230507000001'.
>> Then I could point my gopher and gemini servers at the directory so the
>> blog is also a phlog and a gemlog easily browsed by dates. See here for
>> an ugly example of what I hoped to organize by dates just by naming the
>> files: gopher://sybershock.com

>> I could script symlinks based on the date in each article and point
>> gopher, gemini and hypertext at a directory of those.

>> I suppose what I will do is just put the date and sequence number in
>> the message ID for each article, or just insert a custom X-Post-Number:
>> header or such and parse that with some scripts to generate links.

>> My goal is to unify NNTP, gopher, gemini, hypertext, and toot,
>> all pointing to the same spool files, each protocol presenting their
>> links as date-based numbers.

>> If you or anyone else has any better ideas I'd be glad to see them.

> I see what you're doing now, it makes sense. It is beyond the design
> of rslight, but not too complicated (as you mention).

> I will try to modify import-db3.php to better support tradspool (I had
> considered that deprecated when I wrote that script).

> Take a look at 'send.php'. That script already takes files from a
> directory and feeds them to a nntp server. That's the purpose of the
> script. Maybe with some minor mods it may help.

I'm looking at import-db3.php now, and it should be fairly simple to modify
it to handle tradspool. I will work on this, but cannot guarantee a time
frame. I like where you are trying to go with this, and would like to support
this effort.

--
Retro Guy

Re: How to manually add messages to a rslight newsgroup?

<7c3572cb4c831106661ffa2e28c6249c@news.novabbs.org>

  copy mid

https://novabbs.com/computers/article-flat.php?id=351&group=rocksolid.nodes.help#351

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED.novabbs-org!not-for-mail
From: retro....@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: How to manually add messages to a rslight newsgroup?
Date: Mon, 8 May 2023 18:41:10 +0000
Organization: Rocksolid Light
Message-ID: <7c3572cb4c831106661ffa2e28c6249c@news.novabbs.org>
References: <946cfff2b665dfa8c4f02e716f6bac85$1@sybershock.com> <8e52c7149d8878011ff3ec0aa3926897@rocksolidbbs.com> <45862800f4361be65be3e55e9dfaedbd$1@sybershock.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.i2pn2.org; posting-account="novabbs.org"; posting-host="novabbs-org:10.136.143.187";
logging-data="426522"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light 0.8.0
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on novabbs.org
X-Rslight-Site: $2y$10$5veInGFWCxtcFsBsAT7JlumY130lmMqNRJwFndSCQk5uegj.iVlHi
X-Rslight-Posting-User: 91053d4a47d51b416144568e5a1040f05e31ed1b
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
 by: Retro Guy - Mon, 8 May 2023 18:41 UTC

Syber Shock wrote:

> My goal is to unify NNTP, gopher, gemini, hypertext, and toot,
> all pointing to the same spool files, each protocol presenting their
> links as date-based numbers.

Do you want the files to be written by each protocol, or are the
messages provided from an external source?

--
Retro Guy

Re: How to manually add messages to a rslight newsgroup?

<6b8f1c809b0c99cc80a5adbb2c2c94df$1@sybershock.com>

  copy mid

https://novabbs.com/computers/article-flat.php?id=352&group=rocksolid.nodes.help#352

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!rocksolid2!.POSTED.nightbulb.net!not-for-mail
From: adm...@sybershock.com (Syber Shock)
Newsgroups: rocksolid.nodes.help
Subject: Re: How to manually add messages to a rslight newsgroup?
Date: Mon, 8 May 2023 18:48:19 -0500
Organization: sybershock.com
Message-ID: <6b8f1c809b0c99cc80a5adbb2c2c94df$1@sybershock.com>
References: <946cfff2b665dfa8c4f02e716f6bac85$1@sybershock.com>
<8e52c7149d8878011ff3ec0aa3926897@rocksolidbbs.com>
<45862800f4361be65be3e55e9dfaedbd$1@sybershock.com>
<57416e3b0ae2e6f478c0d7d1f65ae6f9@rocksolidbbs.com>
<9bb9cae91ce20377419283f7eeb37493@news.novabbs.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: novabbs.org; posting-account="sybershock"; posting-host="nightbulb.net:216.24.252.247";
logging-data="977014"; mail-complaints-to="usenet@novabbs.org"
 by: Syber Shock - Mon, 8 May 2023 23:48 UTC

On Mon, 8 May 2023 16:59:23 +0000
retro.guy@rocksolidbbs.com (Retro Guy) wrote:

<snip>

> I'm looking at import-db3.php now, and it should be fairly simple to
> modify it to handle tradspool. I will work on this, but cannot
> guarantee a time frame. I like where you are trying to go with this,
> and would like to support this effort.

Thank you, sir. No rush. Rome was not built in a day.

--

SugarBug | https://sybershock.com

Re: How to manually add messages to a rslight newsgroup?

<086df1525dd06f35d2e4ba3bdb1e495f@rocksolidbbs.com>

  copy mid

https://novabbs.com/computers/article-flat.php?id=353&group=rocksolid.nodes.help#353

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED.rocksolidbbs.com!not-for-mail
From: retro....@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: How to manually add messages to a rslight newsgroup?
Date: Fri, 12 May 2023 18:11:21 +0000
Organization: RetroBBS
Message-ID: <086df1525dd06f35d2e4ba3bdb1e495f@rocksolidbbs.com>
References: <946cfff2b665dfa8c4f02e716f6bac85$1@sybershock.com> <8e52c7149d8878011ff3ec0aa3926897@rocksolidbbs.com> <45862800f4361be65be3e55e9dfaedbd$1@sybershock.com> <57416e3b0ae2e6f478c0d7d1f65ae6f9@rocksolidbbs.com> <9bb9cae91ce20377419283f7eeb37493@news.novabbs.org> <6b8f1c809b0c99cc80a5adbb2c2c94df$1@sybershock.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.i2pn2.org; posting-account="retrobbs"; posting-host="rocksolidbbs.com:2a03:b0c0:3:d0::fec:9001";
logging-data="36540"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light 0.8.0
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on novabbs.org
X-Rslight-Site: $2y$10$4kPU5hTfu6mRSzfjk7wxaOEUv.OASbGa4gVbYaGLH0Hn64a045U8C
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
 by: Retro Guy - Fri, 12 May 2023 18:11 UTC

Syber Shock wrote:

> On Mon, 8 May 2023 16:59:23 +0000
> retro.guy@rocksolidbbs.com (Retro Guy) wrote:

> <snip>

>> I'm looking at import-db3.php now, and it should be fairly simple to
>> modify it to handle tradspool. I will work on this, but cannot
>> guarantee a time frame. I like where you are trying to go with this,
>> and would like to support this effort.

> Thank you, sir. No rush. Rome was not built in a day.

I've complete this script and it seems to work ok in my limited testing.

It will read the tradspool dir for a group, and add any articles existing
to the overview if not already included in same.

Run the same as import (from <webdir>/spoolnews) as web user.

I added it to the rslight/scripts dir of the php8 branch on github.

Right now it uses the date from the article header. Not sure if that's what
you want, but it can be changed.

--
Retro Guy

Re: How to manually add messages to a rslight newsgroup?

<24f514deac05125a32f18c517b19c79b$1@sybershock.com>

  copy mid

https://novabbs.com/computers/article-flat.php?id=354&group=rocksolid.nodes.help#354

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!rocksolid2!.POSTED.nightbulb.net!not-for-mail
From: adm...@sybershock.com (Syber Shock)
Newsgroups: rocksolid.nodes.help
Subject: Re: How to manually add messages to a rslight newsgroup?
Date: Fri, 12 May 2023 18:01:21 -0500
Organization: sybershock.com
Message-ID: <24f514deac05125a32f18c517b19c79b$1@sybershock.com>
References: <946cfff2b665dfa8c4f02e716f6bac85$1@sybershock.com>
<8e52c7149d8878011ff3ec0aa3926897@rocksolidbbs.com>
<45862800f4361be65be3e55e9dfaedbd$1@sybershock.com>
<57416e3b0ae2e6f478c0d7d1f65ae6f9@rocksolidbbs.com>
<9bb9cae91ce20377419283f7eeb37493@news.novabbs.org>
<6b8f1c809b0c99cc80a5adbb2c2c94df$1@sybershock.com>
<086df1525dd06f35d2e4ba3bdb1e495f@rocksolidbbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: novabbs.org; posting-account="sybershock"; posting-host="nightbulb.net:216.24.252.247";
logging-data="1848539"; mail-complaints-to="usenet@novabbs.org"
 by: Syber Shock - Fri, 12 May 2023 23:01 UTC

On Fri, 12 May 2023 18:11:21 +0000
retro.guy@rocksolidbbs.com (Retro Guy) wrote:

> Syber Shock wrote:
>
> > On Mon, 8 May 2023 16:59:23 +0000
> > retro.guy@rocksolidbbs.com (Retro Guy) wrote:
>
> > <snip>
>
> >> I'm looking at import-db3.php now, and it should be fairly simple
> >> to modify it to handle tradspool. I will work on this, but cannot
> >> guarantee a time frame. I like where you are trying to go with
> >> this, and would like to support this effort.
>
> > Thank you, sir. No rush. Rome was not built in a day.
>
> I've complete this script and it seems to work ok in my limited
> testing.
>
> It will read the tradspool dir for a group, and add any articles
> existing to the overview if not already included in same.
>
> Run the same as import (from <webdir>/spoolnews) as web user.
>
> I added it to the rslight/scripts dir of the php8 branch on github.
>
> Right now it uses the date from the article header. Not sure if
> that's what you want, but it can be changed.
>

It sounds like it does what is needed. This looks nifty. I'll have a
look.

If I change the numerical name of a file, or the date header, will it
rename the file or make a new file of the new name?

The basic idea in my mind is just the ability to point it at the
tradspool folder with arbitrarily numbered files and then be able to
point nntp and the other services (gopher, etc) at the same folder or a
symlink to a spool folder. Most services will list or index the files
in numerical order, so date-based naming makes it easy to choose by
date.

I think this might work. I'll let you know when I figure it out.

--

SugarBug | https://sybershock.com

Re: How to manually add messages to a rslight newsgroup?

<fada0faecc7c01804dea53aac7c2df20@rocksolidbbs.com>

  copy mid

https://novabbs.com/computers/article-flat.php?id=355&group=rocksolid.nodes.help#355

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!.POSTED.rocksolidbbs.com!not-for-mail
From: retro....@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: How to manually add messages to a rslight newsgroup?
Date: Sat, 13 May 2023 17:15:39 +0000
Organization: RetroBBS
Message-ID: <fada0faecc7c01804dea53aac7c2df20@rocksolidbbs.com>
References: <946cfff2b665dfa8c4f02e716f6bac85$1@sybershock.com> <8e52c7149d8878011ff3ec0aa3926897@rocksolidbbs.com> <45862800f4361be65be3e55e9dfaedbd$1@sybershock.com> <57416e3b0ae2e6f478c0d7d1f65ae6f9@rocksolidbbs.com> <9bb9cae91ce20377419283f7eeb37493@news.novabbs.org> <6b8f1c809b0c99cc80a5adbb2c2c94df$1@sybershock.com> <086df1525dd06f35d2e4ba3bdb1e495f@rocksolidbbs.com> <24f514deac05125a32f18c517b19c79b$1@sybershock.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.i2pn2.org; posting-account="retrobbs"; posting-host="rocksolidbbs.com:2a03:b0c0:3:d0::fec:9001";
logging-data="190410"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light 0.8.0
X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on novabbs.org
X-Rslight-Site: $2y$10$enNBpxOsm76MjmS/lrzWLOSSw0HrFWJeP.XpuKReIyDmbYKYrY6EW
X-Rslight-Posting-User: 7f2224730128256930309c9186f6203084896743
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
 by: Retro Guy - Sat, 13 May 2023 17:15 UTC

Syber Shock wrote:

> On Fri, 12 May 2023 18:11:21 +0000
> retro.guy@rocksolidbbs.com (Retro Guy) wrote:

>> Syber Shock wrote:
>>
>> > On Mon, 8 May 2023 16:59:23 +0000
>> > retro.guy@rocksolidbbs.com (Retro Guy) wrote:
>>
>> > <snip>
>>
>> >> I'm looking at import-db3.php now, and it should be fairly simple
>> >> to modify it to handle tradspool. I will work on this, but cannot
>> >> guarantee a time frame. I like where you are trying to go with
>> >> this, and would like to support this effort.
>>
>> > Thank you, sir. No rush. Rome was not built in a day.
>>
>> I've complete this script and it seems to work ok in my limited
>> testing.
>>
>> It will read the tradspool dir for a group, and add any articles
>> existing to the overview if not already included in same.
>>
>> Run the same as import (from <webdir>/spoolnews) as web user.
>>
>> I added it to the rslight/scripts dir of the php8 branch on github.
>>
>> Right now it uses the date from the article header. Not sure if
>> that's what you want, but it can be changed.
>>

> It sounds like it does what is needed. This looks nifty. I'll have a
> look.

> If I change the numerical name of a file, or the date header, will it
> rename the file or make a new file of the new name?

No, it will just verify that the Message-ID already exists and skip it.
Once it's in the spool and overview, it's there as is until deleted or
expired.

> The basic idea in my mind is just the ability to point it at the
> tradspool folder with arbitrarily numbered files and then be able to
> point nntp and the other services (gopher, etc) at the same folder or a
> symlink to a spool folder. Most services will list or index the files
> in numerical order, so date-based naming makes it easy to choose by
> date.

I like it.

--
Retro Guy

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor