Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > rocksolid.programming > #251
| From | Retro Guy <retro_guy@novabbs.com> |
|---|---|
| Newsgroups | rocksolid.programming |
| Subject | import script from several formats |
| Date | 2021-02-07 03:01 -0700 |
| Organization | novaBBS |
| Message-ID | <20210207030130.3d1aec8d@desktop14.dt> (permalink) |
I'm working on an import script for news archives into rslight. The main reason was to easily copy a newsgroup from one rslight site to another without just copying the entire spool, just copy the group .db3 file. Then I realized I have old .mbox files of some newsgroups dating back to around 1998 and thought it would be fun to import these messages also. I can easily pull the articles from .mbox, and I'll use the code from spoolnews.php to plug them into rslight. The idea is I can just drop a .mbox or rslight.db3 file into a directory and it will be automatically imported. It shouldn't be difficult to get this done, so hopefully I can spend some time next week and finish it up. I've been reading through some of the old articles and it's interesting. I also need to make sure the date format will work, or I'll convert the dates during import. Some old news has dates like Date: 1998/08/10 Just need to make sure these dates are read properly. Retro Guy
Back to rocksolid.programming | Previous | Next — Next in thread | Find similar | Unroll thread
import script from several formats Retro Guy <retro_guy@novabbs.com> - 2021-02-07 03:01 -0700
Re: import script from several formats retro.guy@rocksolidbbs.com (Retro Guy) - 2021-02-09 10:10 +0000
Re: import script from several formats retro.guy@rocksolidbbs.com (Retro Guy) - 2021-02-09 10:28 +0000
csiph-web