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.
---
echicken
electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com