Hello everyone,

Recently I decided to take another shot at trying to find some way to get
TW5 easily usable for the way I do things (I use mediawiki installed on my
local computer, believe it or not, which works great). I decided to try
serving tiddlers from ExpressJS, since I wanted to run it off the same
server that is already running everything else (ExpressJS with PHP CGI and
file serving). And this time, I finally got it. An ExpressJS request
handler that can host any number of Node Tiddlywikis from any number of
locations on the filesystem. I even had it doing it dynamically, but then I
figured that was more problem than adding one more line to your ExpressJS
app.

So without further ado: https://gist.github.com/Arlen22/bbd852f68e328165e49f

Feel free to copy, use, reuse, etc. I've released my part as Public Domain,
but it's so small it's barely copyrightable anyway. If server.js exposed
it's listen handler, and excepted a state argument or something like that,
I could just use it without copying out the code, I think.

Have a good day,
-Arlen

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSRseJmXeBfJz_kHkYFDuixWnCx0YASNb10tKZ7z66Qu9Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to