I'd like to get the text of a dokuwiki onto my BBS. I don't like the idea of some sort of automated text export, then updated to text files on the BBS, but I suppose that's the ultimate fallback. Gopher seemed interesting, but I don't think there's a good way to do that.
So I was thinking, why not just make a browser door? Ended up playing around with adding Links2 as a door, as described in http://wiki.synchro.net/howto:linuxapps . But as I suspected, there are multiple security issues, the worst of which is that Links2 in text mode has File->OS Shell in the menu with no way I can find to disable it.
Hey all,
I'm trying to work through a problem and so far haven't found a solution, so wondering if anyone has either of these two challenges figured out. Searched messages a bit to no avail.
Actual problem:
I'd like to get the text of a dokuwiki onto my BBS. I don't like the idea of some sort of automated text export, then updated to text files on the BBS, but I suppose that's the ultimate fallback. Gopher seemed interesting, but I don't think there's a good way to do that.
Crappy solution:
So I was thinking, why not just make a browser door? Ended up playing around with adding Links2 as a door, as described in http://wiki.synchro.net/howto:linuxapps . But as I suspected, there are multiple security issues, the worst of which is that Links2 in text mode has File->OS Shell in the menu with no way I can find to disable it.
Anyone solved either of these problems or have any good (or bad) ideas to try?
Re: wiki browsing with links2 ?
By: Andre to All on Mon Feb 07 2022 08:36:04
An> I'd like to get the text of a dokuwiki onto my BBS. I don't like the idea
An> of some sort of automated text export, then updated to text files on the
An> BBS, but I suppose that's the ultimate fallback. Gopher seemed
An> interesting, but I don't think there's a good way to do that.
It may be possible to do this in Synchronet's javascript environment, depending on how you can pull content from Dokuwiki.
We have exec/load/http.js, which does HTTP(S) and could query your wiki.
We also have exec/load/wiki-markup.js which parses DokuWiki markup (to some extent anyway) and will render it to a terminal-friendly format.
This may be worth pursuing if you can't sufficiently lock down a web browser.yeap.. anonymous is mandatory... also you must check the configured
An> So I was thinking, why not just make a browser door? Ended up playing
An> around with adding Links2 as a door, as described in
An> http://wiki.synchro.net/howto:linuxapps . But as I suspected, there are
An> multiple security issues, the worst of which is that Links2 in text mode
An> has File->OS Shell in the menu with no way I can find to disable it.
I think what you want is to run links2 with the -anonymous switch. It does a lot of "kiosk mode" type things that you'd want here, and it appears to remove the "OS Shell" menu option among other things.
to get dokuiki pages you can access to local filesystem (raw text files) or via xmlrpc api via https to dokuwiki instance
Hey all,
I'm trying to work through a problem and so far haven't found a solution, so wondering if anyone has either of these two challenges figured out. Searched messages a bit to no avail.
Actual problem:
I'd like to get the text of a dokuwiki onto my BBS. I don't like the idea of some sort of automated text export, then updated to text files on the BBS, but I suppose that's the ultimate fallback.
Gopher seemed interesting, but I
don't think there's a good way to do that.
Crappy solution:
So I was thinking, why not just make a browser door? Ended up playing around with adding Links2 as a door, as described in http://wiki.synchro.net/howto:linuxapps . But as I suspected, there are multiple security issues, the worst of which is that Links2 in text mode has File->OS Shell in the menu with no way I can find to disable it.
Anyone solved either of these problems or have any good (or bad) ideas to try?
I think what you want is to run links2 with the -anonymous switch. It does a lot of "kiosk mode" type things that you'd want here, and it appears to remove the "OS Shell" menu option among other things.
ohhhhh just notice this modules.. I see it later! very good
to get dokuiki pages you can access to local filesystem (raw text files) or via xmlrpc api via https to dokuwiki instance
DokiWiki articles are already plain text (stored in your data/pages directory), for example:
"Use the source Luke". :-) As with most things *nix, as a last resort, you could just modify the source code to remove that option/feature and rebuild it.
I've wanted to make my DokuWiki pages available to terminal server users in the past too, but I was thinking more just the individual file route and not following links between pages and such (like an actual browser).
Sysop: | Coz |
---|---|
Location: | Anoka, MN |
Users: | 2 |
Nodes: | 4 (0 / 4) |
Uptime: | 24:32:55 |
Calls: | 97 |
Files: | 4,636 |
Messages: | 216,485 |