exec/load filebrowser.js NONE 1.1
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv21873
Added Files:
filebrowser.js
Log Message:
Lightbar filesystem browser object.
---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net
exec/load filebrowser.js NONE 1.1
Update of /cvsroot/sbbs/exec/load
In directory cvs:/tmp/cvs-serv21873
Added Files:
filebrowser.js
Log Message:
Lightbar filesystem browser object.
How did you create that when Synchronet lacks a JavaScript interface to the file libraries? I had been thinking of creating a mod like that for a
while (including features like tagging files for download), but without a JavaScript interface, it seems it would be fairly difficult (and some features might not be able to be done).
Re: exec/load/filebrowser.js
By: Nightfox to echicken on Tue Aug 18 2015 11:34:00
How did you create that when Synchronet lacks a JavaScript interface to the file libraries? I had been thinking of creating a mod like that for a
It's a filesystem browser rather than a browser for Synchronet's file libraries. (As in, you could point it at 'system.text_dir + "menu/"' in order to navigate your BBS' text/menu/ directory tree.)
while (including features like tagging files for download), but without a JavaScript interface, it seems it would be fairly difficult (and some features might not be able to be done).
This could conceivably be extended to such a point, whether in conjunction with Synchronet's built-in file area stuff or as a replacement.
The JS file_area object does provide info up to a certain point (on file libraries & directories) but IIRC falls short when it comes to listing the files themselves. At that point it would become a matter of reading Synchronet's data files for each directory to get descriptions, etc. for each file. I can see roughly how this would work, so I might tinker with it a bit soon.
This could conceivably be extended to such a point, whether in conjunction with Synchronet's built-in file area stuff or as a replacement.
files themselves. At that point it would become a matter of reading Synchronet's data files for each directory to get descriptions, etc. for each file. I can see roughly how this would work, so I might tinker with
Reading at least the basic file area data turns out to be fairly easy, though I've probably got some of it wrong. I'm going to take a peek at the extended file description stuff and see what's involved.
The filesystem browser wouldn't be necessary for this after all, and is probably the wrong tool for the job.
Yeah, I've written scripts that read the file group & directory information, but I don't think there's any more in the Synchronet JS API that lets you do more with the file areas.
| Sysop: | Ragnarok |
|---|---|
| Location: | Dock Sud, Bs As, Argentina |
| Users: | 137 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 364:34:14 |
| Calls: | 15,498 |
| Files: | 20,142 |
| D/L today: |
3 files (53K bytes) |
| Messages: | 1,869,843 |