"OokTech/MultiUser"
"OokTech/Bob"
I will try it out on my return to the big smoke and I plan to donate, unfortunatly the Australian doller is not too strong at the moment.
Great work
Tony
"mimeMap": "$:/WikiSettings/split/mimeMap"
--
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 tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
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/02439d51-8a95-470a-adf6-d49bf07757d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Cheers,
Xavier.
--
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 tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
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/35fad569-8b00-40fb-ad7e-dc19db53d65d%40googlegroups.com.
Dear Jed,
During the daytime I was at the office and installed the new 64bit version on my computer.
That went not without a hitch. I followed standard procedure. I set the host to 0.0.0.0
Stopped the server and restarted. But the host as it were sprang back to 127.0.0.1
Also the host with server info was the same and not changed to 0.0.0.0
That is what is supposed to happenisn't it?
Of course I updated the settings.
I''ll try again tomorrow and see what happens, maybe I did do something wrong.
Secondly, when I deleted a tiddler and refreshed the deleted tiddler was again in the Recent tab.
Stopping restarting remedied this. Somebody else mentioned this also I think, but not sure.
Working together over the network was great. I found out that when somebody was editing a tiddler
that same tiddler appeared on my screen with a lock icon. As soon as my colleague finished editing
the lock changed to Save on my screen; Works beautifully instantly. Great.
I have single file and Node Wikis Which I can happily access with TiddlyServer but in that case "we specify the folders in settings.info" and browse to Node or Single File installs. So its settings.json need be the same as that of Bobs.
'otherwiki': ~/Documents/TiddlyWiki/Wikis/Bob
NodeSettings - Parsed raw settings.
Added route /^\/tw5docs\/?$/
Websockets listening on 8085
Serving on 127.0.0.1:8084
(press ctrl-C to exit)
syncer-server-WebsocketAdaptor: Dispatching 'save' task: $:/StoryList
new connection
I am totally at a loss, so if you can clarify anything I may be able to proceed.
Please note I would love to add my existing file and folder wikis to Bob but If bob or TiddlyServer cant even access bob created wikis I am at a loss how to proceed.
I have also attached the tw5docs tiddlywiki.info file should it help.
Thanks in Advance
Tony
wikis: {
"group1":{
"aname": "/some/other/path"
},
"aname": "/some/path"
}
Bob doesn't support single file wikis yet, and even when it does it won't be the same as what TiddlyServer does.
Why are you (TonyM) trying to open a wiki from Bob in tiddlyserver?
--
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 tiddlywiki+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
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/96e1d533-3d8e-4559-88dc-c9e851075d22%40googlegroups.com.
Tiddlserver lets you add paths or directories into settings.json such that you can go to ip:port/path and open any or each single file wiki found in that folder or a folder based wiki if it finds tiddlywiki.info.
This means I can browse to any wiki once there I bookmark it and access it at its address. So the index wiki need not contain links to everything it can serve.
It would be worth you instaling and reviewing for ideas, even work with Arlen.
A hybrid would be awesome.
Regards
Tony
First there is no problem, they are different. Until I find a way to replace the features in tiddlyserver within bob, I will have to use both, which is not a problem.
My view is somewhat biased and that has being due to the difficulties I have faced trying To access my existing wikis through bob. I am still to act on information you gave me and I promised to provide windows documentation when I can.
Thanks
Tony
Is there a problem with having the wikis listed in the IndexWiki?
First there is no problem, they are different. Until I find a way to replace the features in tiddlyserver within bob, I will have to use both, which is not a problem.
Can you give any hints to how because I have not yet being able to extract that from the current doco
<$button>
Start HTTrack
<$action-websocketmessage $type='runScript' name='htwhack'/>
</$button>
Jed:
I have been working on Dodo instead of tiddlywiki so I don't know how long it will be before I get around to it.
"scripts": {
"a": "dir c: /p",
"b": "dir c:\",
"c": "C:\WINDOWS\system32\cmd.exe", "command": "Is",
"d": "Start C:\WINDOWS\system32\cmd.exe"
<$button>
A
<$action-websocketmessage $type='runScript' name='a'/>
</$button>
<$button>
B
<$action-websocketmessage $type='runScript' name='b'/>
</$button>
<$button>
C
<$action-websocketmessage $type='runScript' name='c'/>
</$button>
<$button>
command
<$action-websocketmessage $type='runScript' name='command'/>
</$button>
<$button>
D
<$action-websocketmessage $type='runScript' name='d'/>
</$button>
echo off
echo Hi
dir c:\
C:\WINDOWS\system32\cmd.exe /K
pause
Notepad.exe
echo any key to end
pause
\define twName() katex
\define tidsAt() .\Wikis\$(twName)$\tiddlers\*.tid
\define sfFrom() .\Wikis\$(twName)$\output\index.html
\define sfTo() ..\..\pages\tw\tw_$(twName)$\$(twName)$.html
<$button>
Edit ''{{$:/SiteTitle}}'' Tid files
<$action-websocketmessage $type=runScript name=editpad #path=<<tidsAt>> #instance='/newinstance'/>
</$button>
<br>at: <<tidsAt>>
<$button>
Make a ''{{$:/SiteTitle}}'' single file
<$action-websocketmessage $type='buildHTMLWiki'/>
</$button>
<br>at: <<sfFrom>>
<$button>
Copy ''{{$:/SiteTitle}}'' single file to new home
<$action-websocketmessage $type=runScript name=copySFwiki #from=<<sfFrom>> #to=<<sfTo>> />
</$button>
<br>copy: <<sfFrom>>
<br>to: <<sfTo>>
<$button>
Start HTTrack
<$action-websocketmessage $type='
runScript' name='htwhack'/>
</$button>
I think that the problem with the windows commands is from all of the commands sharing the same io streams. I can add an option to have a command run with its own terminal instead of in the shared terminal with Bob and that may help. The downside is that it may spawn a new window for each script that runs.
Jed : All of the wikis share the same settings that you can only edit from the root wiki.
TonyM : So Bob is doing the serving of Katex and "is present when viewing katex"
Jed ...
There is a tiddler called $:/WikiName that has the name of the current wiki that is used by the back-end, so you can just transclude that instead of defining it in the macro. And the buildHTMLWiki message can take outputFolder and outputName parameters that you can use to set the location of the generated html file so you may not need to manually copy them after they are created.
Jed...
Have you run into any troubles with the generated html files? I had seen some strange behaviour where I wasn't always able to import them into other wikis by dragging and dropping the html but I haven't been able to test it out much yet.
However the scripts and other bob specifics would.
The ip and port is where bob hosts its root wiki and "mounts" other wikis as folders.
Of course just as Jed made the wikiname available he may be able to do more like let bob share some tiddlers to all children. That may make what you ask posible, by sharing a tiddler tagged macros.
Only Jed can answer.
Regards
Tony
cp -r TiddlyWiki5/plugins/OokTech/Bob/BobWiki TiddlyWiki5/Wikis/BobWiki/
But the "BobWiki" subdirectory does not appear to have been made when following the prior directions.
I see that there is a "MultiUserWiki" dir. So ... perhaps that is what is intended?
Thanks!
Mark
Bob version 1.0.0 is now available.It is the renamed version of the MultiUser plugin. For people who aren't familiar with the old MultiUser plugin the basic features are:- Serve multiple wikis- Two-way syncing of changes between the browser and file system- Multiple people can use and edit served wikis simultaneously- A static file server for images and other media (include files from the local file system in the wiki)Changes from the last version of the MultiUser plugin are:- Changing the name- Adding a message that lets you stop queued scripts in progressPlugin repo: https://github.com/OokTech/TW5-BobSingle executable version: https://github.com/OokTech/TW5-SingleExecutable/releases/tag/1.0.0Let me know if you find bugs.Updating to Bob from MultiUser will take a few changes.single executable versionIf you are using the single executable version then you will need to edit the tiddlywiki.info file in the IndexWiki folder. There is a line (probably line 4) that reads
"OokTech/MultiUser"change that line to
"OokTech/Bob"plugin versionIf you are using the plugin version, in addition to changing the tiddlywiki.info file for your root wiki, you will need to either: 1) change the remote url of the plugin repo or 2) just delete the old plugin and clone Bob again.Other than that, everything should be compatible.If you want to support the development OokTech has a patreon page hereor if you prefer there is a link for PayPal herehttps://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZG94CTLHTKYRE
That is probably caused my the same thing as the child processes closing the wiki in windows but this one may happen on osx and Linux also.
I think the same solution will work but I don't think I will get to it until I am back in Paris.
... I am trying to find the best way to share tiddlers between wikis. I will probably set it up so you can set a filter that gives the tiddlers that will be shared with all the wikis.
Jed Carty wrote:... I am trying to find the best way to share tiddlers between wikis. I will probably set it up so you can set a filter that gives the tiddlers that will be shared with all the wikis.
Ciao Jed, I have a Use Case that might be relevant.
For every wiki created by Bob main wiki I would like a few additional Tiddlers included automatically if possible ..
1 - A Tiddler that contains standard automated tasks (via several buttons) every Wiki may need to perform. It draws on the scripts and uses relative pathing.
2 - A Tiddler that contains code that is useful for tidyng-up once you created a Single File version to delete Tiddlers no longer relevant that pertain to automation that is not possible in in the Single File version.
You can put anything you want into the Bob settings and they will be the same in every wiki, and the getSettings macro can be used to access them. I haven't done a lot of testing with this in child wikis so there may be bugs. https://github.com/OokTech/TW5-Bob/blob/master/Documentation/Macros/getSettingMacro.tid
... There is a tiddler called $:/WikiName that has the name of the current wiki that is used by the back-end, so you can just transclude that instead of defining it in the macro.
And the buildHTMLWiki message can take outputFolder and outputName
\define sfTo() ..\..\..\..\pages\tw\tw_$(twName)$
<$set name=twName value={{$:/WikiName}}>
<$button>
''Make a <<twName>>'' single file
<$action-websocketmessage $type='buildHTMLWiki' outputFolder=<<sfTo>> outputName='PerryMason.html' />
</$button>
</$set>
Build Wiki
Built Wiki: C:\bag\pages\tw\tw_katex\index.html
Jed ...
For the getSettings macro I put in the wrong syntax for calling a macro. I put key="First##;Second" instead of key:"First##Second". You can just drop the key part and use this:
... I will fix it but I don't think that the single executable version is going to be updated until I get back to Paris.
There are a few ways to make a plugin for Bob that would make your kettle turn on at 6:45am.My favourite option is to make Bob start singing off key as loudly as possible until the kettle is turned on.
If you are looking for a more direct method than it depends on how well your kettle plays with others.I am looking forward to the day when Robbie and Bob start playing together and take over the world.
Bob should support editing tiddler files while it is running but I haven't done any testing changing many tiddler files simultaneously so I am not sure how it would react.
set TIDDLYWIKI_EDITIONS_PATH=%cd%\tpl
result ..
.C:\bag\PortableApps\twBOB\tpl\
... katex2\
Josiah: The only problem with global system path settings is they are not easily portable. Via internal config might be better?
Jed Carty wrote:I just noticed that I never answered about how to include editions that aren't packaged in the executable in the list to make new wikis. It uses the output of the same thing that the --editions command uses so you can add custom editions to the list by setting the TIDDLYWIKI_EDITIONS_PATH environment variable the same as in the vanilla node version.I added an issue to add it as a configuration option.
Unfortunately for external editors competing with the built-in editor there isn't much I can do. I don't want to touch the behaviour of the draft tiddlers and they don't update when the original tiddler changes, I think that is good behaviour. And of course I have no control over any external editor. I think that this is just going to be a limitation for now.