Re: [tw5] Re: Best approach for multiple wikis

2019-12-09 Thread Mohammad
Thanks I will have a look! On Monday, December 9, 2019 at 4:39:08 PM UTC+3:30, Arlen Beiler wrote: > > src/generateDirectoryListing.js > > On Sun, Dec 8, 2019 at 2:01 AM Mohammad > wrote: > >> Hi Arlen, >> Where is the landing page of TiddlyServer! >> I gonna to give try if I can use TW for

Re: [tw5] Re: Best approach for multiple wikis

2019-12-09 Thread Arlen Beiler
sometimes browsers let you send script tags after the html tag is closed, you could try inserting the directory entries in there. I use vscode, which will give you intellisense help. I also recommend running npm install which should give you the same npm dependancies as I use. Hopefully

Re: [tw5] Re: Best approach for multiple wikis

2019-12-09 Thread Arlen Beiler
src/generateDirectoryListing.js On Sun, Dec 8, 2019 at 2:01 AM Mohammad wrote: > Hi Arlen, > Where is the landing page of TiddlyServer! > I gonna to give try if I can use TW for landing page! > > --Mohammad > > On Tuesday, December 3, 2019 at 11:30:43 PM UTC+3:30, Arlen Beiler wrote: >> >>

Re: [tw5] Re: Best approach for multiple wikis

2019-12-07 Thread Mohammad
Hi Arlen, Where is the landing page of TiddlyServer! I gonna to give try if I can use TW for landing page! --Mohammad On Tuesday, December 3, 2019 at 11:30:43 PM UTC+3:30, Arlen Beiler wrote: > > Just thought I'd take a minute to chime in here. I made TiddlyServer to > solve my own problem of

Re: [tw5] Re: Best approach for multiple wikis

2019-12-05 Thread 'Mark S.' via TiddlyWiki
Disabling etag has made a major improvement in performance. On Thursday, December 5, 2019 at 5:34:11 PM UTC-8, Arlen Beiler wrote: > > In this case the etag, while basically the same idea, is handled by the > browser-side TiddlyWiki and is stored in the pages JavaScript, so it isn't > affected

Re: [tw5] Re: Best approach for multiple wikis

2019-12-05 Thread Arlen Beiler
In this case the etag, while basically the same idea, is handled by the browser-side TiddlyWiki and is stored in the pages JavaScript, so it isn't affected by the cache. This problem is usually server-side or disk-side -- its rarely related to the browser. On Thu, Dec 5, 2019 at 4:25 PM 'Mark S.'

Re: [tw5] Re: Best approach for multiple wikis

2019-12-05 Thread Arlen Beiler
Yes, user-relative paths use the NodeJS os module to get the user's home directory. All other paths use NodeJS path.resolve, with the absolute path to the settings.json file as the first argument, which means that if NodeJS path module thinks a path is not absolute, it will use settings.json as

Re: [tw5] Re: Best approach for multiple wikis

2019-12-05 Thread 'Mark S.' via TiddlyWiki
After speed-reading wikipedia, it seems to me that if the browser's cache doesn't update correctly, it might hang on to a 6 hour old etag value. I've noticed firefox doing this in other capacities. For instance, after reloading a list of my current reading, items that were previously unchecked

Re: [tw5] Re: Best approach for multiple wikis

2019-12-05 Thread Mohammad
Hi Arlen, More feedback I understood that we can keep TiddlyServer2.1 in separate folder from setting.json. So I think the below description may be helpful for new users --On Windows 10 - After testing TiddlyServer one can have a setting directory to keep *setting.json* - The

Re: [tw5] Re: Best approach for multiple wikis

2019-12-05 Thread 'Mark S.' via TiddlyWiki
I think I need an explainer about what an "etag" is. There are etags in the vim editor, but I don't think you mean the same thing. Just to repeat. Between one save and a second attempted save was more like 6 minutes, not 6 hours. But I don't understand what the etag is and how it gets set.

Re: [tw5] Re: Best approach for multiple wikis

2019-12-05 Thread Arlen Beiler
You can disable etag checking completely if you want. If you can include some more examples from the log file that would be great as well. The relevant log file info here shows the two values, ifmatch being the browser copy. The last number is the modified timestamp in milliseconds, which as you

Re: [tw5] Re: Best approach for multiple wikis

2019-12-04 Thread 'Mark S.' via TiddlyWiki
Unless my computer has discovered time travel, there is no way the file on disk is 6 hours newer. I load. I save once. I do things in the TW I save again ... and get the error. So unless the file was saved with a timestamp 6 hours in the future, it should be several minutes *older* than the

Re: [tw5] Re: Best approach for multiple wikis

2019-12-04 Thread Arlen Beiler
In this particular case, the file on disk is 6 hours newer than the copy the browser downloaded. I have not used this feature of TiddlyServer much so perhaps I should take a look at it again, but nothing changed since I made it that I know of. I did run into a scenario where the etag was changing

Re: [tw5] Re: Best approach for multiple wikis

2019-12-04 Thread Victor Dorneanu
Wow! This is (almost) exactly what I was looking for. Thanks for sharing and for your efforts bringing down your ideas and concepts to code. I'll definitely give it a try. Cheers, Victor On Tuesday, December 3, 2019 at 9:00:43 PM UTC+1, Arlen Beiler wrote: > > Just thought I'd take a

Re: [tw5] Re: Best approach for multiple wikis

2019-12-03 Thread 'Mark S.' via TiddlyWiki
It only happens with TiddlyServer -- not BobSaver or file-backups. Often I don't even leave the tab. It's falsely detecting a change on the disk. But I don't understand why it's even checking for a change. Perhaps it was/is useful with data folders. On Tuesday, December 3, 2019 at 9:10:40 PM

Re: [tw5] Re: Best approach for multiple wikis

2019-12-03 Thread TonyM
Mark I think the issue is if you return to a wiki in a tab after a while, even a browser or pc reboot to a wiki that has not being reloaded before you made changes causes this. Perhaps there is a fix, but an emergency export changes only, reload, import changes in the work around. Eventualy

Re: [tw5] Re: Best approach for multiple wikis

2019-12-03 Thread 'Mark S.' via TiddlyWiki
I get "changed on server" messages regularly. Often on the second time I attempt to save. Talking single files. This didn't happen with the old (1.??) version. It's made it pretty hard to use, since every time it happens I have to do a "rescue" of the changed tiddlers. If it just ignored the

Re: [tw5] Re: Best approach for multiple wikis

2019-12-03 Thread TonyM
On the beautification process, of TiddlyServer Could there be a html template that can be crafted as an alternative? One could then publish host information, Links to key resources, guidelines of use etc... on arriving at the server! Regards Tony On Wednesday, December 4, 2019 at 10:11:44 AM

Re: [tw5] Re: Best approach for multiple wikis

2019-12-03 Thread Mohammad
Many thanks Arlen! TiddlyServer is really amazing and lets work with multiple wiki out of the box! I may send further comments later after I evaluate it with some experiment! Yes, other people should read documents an send their feedback how they get things working by following the tutorial!

Re: [tw5] Re: Best approach for multiple wikis

2019-12-03 Thread Arlen Beiler
You can set "_datafoldertarget": "../some/path" in settings.json to any TiddlyWiki folder you want. Relative paths are relative to the settings.json file. You can see it in the example in https://arlen22.github.io/tiddlyserver/docs/serverconfig.html although I don't mention it anywhere on that

Re: [tw5] Re: Best approach for multiple wikis

2019-12-03 Thread Mohammad
Arlen, Is it possible to use 5.1.22p or other version of TW instead of the preconfigured 5.21? --Mohammad -- 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

Re: [tw5] Re: Best approach for multiple wikis

2019-12-03 Thread Mohammad
Arlen, The error 500 was because there was no ../backups folder! I did not see this in tutorial nor quick startup! Many thanks now I have runing TiddlyServer 2.1 on Windows 10 + Node.js 12.3 Note: The LTS version of Node.js is 12.13.1 Cheers Mohammad On Wednesday, December 4, 2019 at

Re: [tw5] Re: Best approach for multiple wikis

2019-12-03 Thread Mohammad
Arlen, I understood empty folder on click open a new page and lets upload a single wiki file or create data folder Than you I can run the wiki in data folder but still unsuccessful on single wiki! These steps are not explained in tutorial nor in quick startup! Just feedback as a newbie!

Re: [tw5] Re: Best approach for multiple wikis

2019-12-03 Thread Mohammad
Thanks Arlen 1. In the tutorial there is no description about what this so please add this to tutorial 2. I add a data folder and it works 3. I also put a single file wiki in personal but on save it raises an error: XMLHttpRequest Error 500 --Mohammad -- You received this message because

Re: [tw5] Re: Best approach for multiple wikis

2019-12-03 Thread Arlen Beiler
You can put your single file wikis, data folders, and other files in there. Then you open your browser and navigate to the particular folder or item you want. On Tue, Dec 3, 2019 at 3:36 PM Mohammad wrote: > Arlen, > I followed all these instruction and everything work well! but then > what

Re: [tw5] Re: Best approach for multiple wikis

2019-12-03 Thread Mohammad
Arlen, I followed all these instruction and everything work well! but then what should be in folders for example personal folder! It does not seem TiddlyServer create a wiki there --Mohammad On Tuesday, December 3, 2019 at 11:30:43 PM UTC+3:30, Arlen Beiler wrote: > > Just thought I'd take a

Re: [tw5] Re: Best approach for multiple wikis

2019-12-03 Thread Arlen Beiler
Just thought I'd take a minute to chime in here. I made TiddlyServer to solve my own problem of Massive Multi-file Online wikis. It serves the folders you specify in a sort of tree allowing them to be grouped together and easily navigated with the built-in directory index (even the virtual