Hello All,
I have updated my SBBS install to 3.19 and am using addfiles.js to import files listed in files.bbs. It is working well for me but the extended file description is not imported, only the first line of the description from the files.bbs is used as a short description.
Do I need to take extra steps to get the extended description into the filebase?
Do I need to take extra steps to get the extended description into the
filebase?
No. Are the additional lines specified with | symbols prefixed (as is standard files.bbs)?
Perhaps post a link to your files.bbs or paste an example here. I'm guessing that it's a variant that just isn't (yet) supported by addfiles.js.
Re: Extended file descriptions
By: Digital Man to Al on Sun Apr 04 2021 03:22 pm
Do I need to take extra steps to get the extended description into the
filebase?
No. Are the additional lines specified with | symbols prefixed (as is standard files.bbs)?
No, there is no | in the files.bbs, I'll add those and try again.
Perhaps post a link to your files.bbs or paste an example here. I'm guessing that it's a variant that just isn't (yet) supported by addfiles.js.
This is the files.bbs I tried previously. I'll try adding the | symbol.
contract.zip Contract Revoked by Kell. Small episode
consisting of 4 levels and a start map,
with knave textures, some modified models
and sounds.
chapters.zip Contract Revoked: The Lost Chapters. Hub-based
SP episode with 9 medium to large levels
(including start and secret maps). Uses Knave
textures and features new monsters/powerups.
An option to delete the files.bbs after import would good.
Where did this files.bbs file come from?
Re: Extended file descriptions
By: Digital Man to Al on Sun Apr 04 2021 06:31 pm
Where did this files.bbs file come from?
It's the format I've been using with addfiles. I get the info from files within the .zip or the web for files that don't have a file_id.diz.
It's the format I've been using with addfiles. I get the info from
files within the .zip or the web for files that don't have a
file_id.diz.
Oh, so you're generating them? By hand?
If the file's have FILE_ID.DIZ's, you don't need to put extended descriptions in the list file.
Re: Extended file descriptions
By: Digital Man to Al on Sun Apr 04 2021 09:48 pm
It's the format I've been using with addfiles. I get the info from
files within the .zip or the web for files that don't have a
file_id.diz.
Oh, so you're generating them? By hand?
Yes, when the files to be imported don't have a description within.
If the file's have FILE_ID.DIZ's, you don't need to put extended descriptions in the list file.
True but unfortunately outside of our BBS community files don't normally have a file_id.diz these days and I rarely see them anymore.
Okay, if you're okay adding the pipe char to the additional lines, that'll work fine. If you want/need for addfiles.js to support the other format, I could add support for that, but it'd likely require another command-line option (so I would rather not, unless it's an actual "in wild" BBS file listing format).
Okay, cool. If you could another widely used discription file format that we could possibly support, let me know. I know there's been others defined over the years, but not sure what's stuck around.
P.S. I'm going to need help with filelist.js and delfiles.js. :)
P.S. I'm going to need help with filelist.js and delfiles.js. :)
Sure. filelist.js is off to a good start but will likely need new features.
I haven't started on delfiles.js yet. The old DELFILES will
likely still work.
Re: Extended file descriptions
By: Digital Man to Al on Mon Apr 05 2021 02:03 am
P.S. I'm going to need help with filelist.js and delfiles.js. :)
Sure. filelist.js is off to a good start but will likely need new features.
I am currently using this script to create an all/new files text and upload them to the BBS so looking for something along those lines.
#!/bin/bash
# This script will run filelist to create all/new files lists and
# upload them.
/sbbs/exec/filelist - -hdr -dfd -noe -ext -jst /sbbs/data/dirs/uploads/trmbfile .txt
/sbbs/exec/filelist - -new 10 -hdr -dfd -noe -ext -jst /sbbs/data/dirs/uploads/ trmbnew.txt
/sbbs/exec/addfiles local-uploads -o -x "-> ADDFILES <-" trmbfile.txt desc /sbbs/exec/addfiles local-uploads -o -x "-> ADDFILES <-" trmbnew.txt desc
I haven't started on delfiles.js yet. The old DELFILES will
likely still work.
Will the old exec/delfiles update the new SMB based file areas? If so I'll use that until delfiles.js is recommended.
Sysop: | Tandy |
---|---|
Location: | New York, USA |
Users: | 15 |
Nodes: | 13 (0 / 13) |
Uptime: | 00:40:58 |
Calls: | 335 |
Messages: | 113,793 |