I have updated it for 5.1.14. It should work but I did not test it so let
me know if you run into any problems.


On Sun, Apr 16, 2017 at 7:35 AM, Arlen Beiler <[email protected]> wrote:

> The main difference is that you do not have to modify
> core/commands/server.js. Everything else should be identical. Feel free ask
> if you have any more trouble.
>
> On Apr 14, 2017 19:15, "Julio Cantarero" <[email protected]>
> wrote:
>
>> Dear Jeremy, Arlen,
>>
>> I would like to launch TiddlyWiki5 in node.js from an Express
>> application, as Arlen demonstrated some time ago in his code: Hosting
>> multiple tiddlywikis on Express
>> <https://gist.github.com/Arlen22/bbd852f68e328165e49f>.
>>
>> But I am using tiddlywiki pre-release 5.1.14, which includes an
>> enhancement for this integration. From the release notes: "Refactored
>> server mechanism <https://github.com/Jermolene/TiddlyWiki5/pull/2627> to
>> make it simpler to integrate TiddlyWiki into ExpressJS apps".
>>
>> I understand the previous code example is no longer valid after this
>> change, but my knowledge of node.js and express is very basic, and I have
>> not managed to write JS code to successfully require and use the TW server
>> within the Express.js code.
>>
>> Whenever you have some spare time, could you please post an example of
>> how TW5 should be required, initialized and the requestHandler function
>> passed to Express app.all()?
>>
>> Thank you,
>>
>> Julio
>>
>> --
>> 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/ms
>> gid/tiddlywiki/9bb56cc8-2ebd-4b22-8b33-fbad93b1a982%40googlegroups.com
>> <https://groups.google.com/d/msgid/tiddlywiki/9bb56cc8-2ebd-4b22-8b33-fbad93b1a982%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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/CAJ1vdSTfjSKjohVkhx%2BN43kLpKjKsouxLrv1msE1HA4KERGV%2BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to