[tw5] Re: [TW5] [TW-jsoneditor] Json Editor for Tiddlywiki Open Beta v0.0.5

2019-04-03 Thread Mohammad
Hi Joshua
This is awesome! Many thanks!

Many examples are given which shorten the learning curve!

One suggestion:
The size and font of button is better to fit the theme you use!

--Mohammad


On Tuesday, April 2, 2019 at 4:02:50 AM UTC+4:30, Joshua Fontany wrote:
>
> This is NOT an April Fools Day Joke! ;)
>
> I am pleased to announce that after about 2 years of tinkering and 
> learning the guts of tiddlywiki and how to write widgets that *Json 
> Editor for Tiddlywiki* is a reality!
>
> *TW-jsoneditor*
>
> The $jsoneditor widget generates and displays an HTML form constructed 
> from the given JSON Schema . It does this by 
> wrapping a TiddlyWiki 
>  widget 
> around the json-editor package. 
> None of the optional requirements (css frameworks, icons, etc.) of 
> json-editor are included in this plugin except for Bootstrap4 and 
> FontAwesome5 
> .
>
> The schema must be in JSON Schema format 
>  and can reside in:
>
>- the text of any json tiddler
>- any index in any json tiddler
>- any field from any tiddler (using the text field by default)
>
>
> Examples are found in the Using Json Editor 
>  
> tiddler in the demo wiki.
>
> Repository: https://github.com/joshuafontany/TW5-jsoneditor
>
> Demo Wiki: https://joshuafontany.github.io/TW5-jsoneditor/
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/f22d59e3-3eec-44ce-b440-0f309878e8f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.2.2 Friend Potatoes

2019-04-03 Thread Birthe C
Tony,
In my settings,

  "wikisPath": "./Wikis",
  "wikiPathBase": "/home/lenovo/Dokumenter/TWfolders",

Then it finds what is under that path. 

Birthe

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/6d487e36-9f05-4401-bc1d-546f7bd8fd10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.2.2 Friend Potatoes

2019-04-03 Thread TonyM
Birthe,

The setting you mention reads
 "wikiPathBase": ".", 

  With 
"wikisPath":"./Wikis",

With each wiki defined link this
"wikis": { 
   "5.1.18-PreRelease": {
 "__path": "5.1.18-PreRelease"
   }, 

I tried making  "wikiPathBase": ".",  like "wikisPath":"./Wikis", but no 
change is observed.

Thanks for some help
Tony

On Wednesday, April 3, 2019 at 4:27:10 PM UTC+11, Birthe C wrote:
>
> Hi Tony,
> Did you look in your settings.json, 
> "WikisPathBase":
> After runnning Bob the first time, it has my path correct and my wikis are 
> found, links working.
>
> I have to set Bob to not open in browser automatically for it to work on 
> my computer before running Bob, but that is the only reason for me to look 
> in the settings.json. It is very automatic now.
>
>
> Birthe
>
>
>
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/8087be35-b004-4f43-bd76-73445b794119%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.2.2 Friend Potatoes

2019-04-03 Thread Birthe C
Mine too, Tony.

With each wiki defined link this
> "wikis": { 
>"5.1.18-PreRelease": {
>  "__path": "5.1.18-PreRelease"
>}, 
>

the "__path" is that not the short way of repeating the path 
in  "wikiPathBase"

Birthe 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/16b77b1f-87cf-4564-9dfa-77254fc48e4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.2.2 Friend Potatoes

2019-04-03 Thread Jed Carty
The __path entries are the path for a wiki that is at that level, nothing 
more. The reason is that if you have an entry like "foo": "/path/to/foo" in 
the settings than you can't list any wikis under foo, so now it is 

"foo":{
   __path:"path/to/foo",
   bar: {
__path:"path/to/bar"
   }
}

so you would have a wiki on localhost:8080/foo and a wiki on 
localhost:8080/foo/bar. To make a wiki like this you just put the name in 
as foo/bar and it does the nesting and sets up the settings file 
automatically.

The wikiPathBase setting lets you set the path to where your Wikis folder 
is. In the case of BobEXE it defaults to the folder where the executable 
is, for the plugin version it defaults to wherever the command is run. You 
don't have to touch this if you are using BobEXE with wikis you create in 
the in-wiki interface. If you use absolute paths than this has no effect.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/92816423-624d-4da4-95ea-b1d61220c7b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] [TW5] Getting plugins directly from GitHub, Bob, and some questions

2019-04-03 Thread Jed Carty
I think I sort of buried the lede in the last release post for Bob, but one 
of the new features is that it can now get plugins directly from GitHub 
repos. You can just give it the URL and it will fetch the plugin and save 
it to your library of plugins so it is available to all of your wikis.

I have tried to make a version for single file wikis, and it works, aside 
from my nemesis, CORS headers. From a browser you can't download the zip 
files from GitHub because they don't have CORS set up to let you do that. 
You may be able to down load specific files, but from what I have been able 
to find you can only do that if you know the names of the individual files. 
So the only realistic way I have been able to come up with for a single 
file wiki to get and build plugins directly from GitHub requires some sort 
of relay server. Bob could act as this server, but if you have Bob running 
it would be easier to just get the plugins with Bob and then either make 
your wiki in Bob and save it as a single file wiki, or use TWederBob to 
fetch the plugin from Bob.

So, for anyone who was able to follow my rambling, is it worth setting up 
Bob as a relay like this? A publicly accessible Bob server like on 
ooktech.xyz could also act as a relay which may make the relay idea much 
more useful. But so far I don't think anyone is really using the plugin 
library there so I have no idea if anyone would care.



The next part is about Bob itself. Currently Bob is quite large, about 
750kb, which is around half the size of an empty wiki. On slow connections 
or older hardware this could add a significant amount of time to loading a 
wiki.
I can modify how Bob sends wikis to the browser so that it only sends the 
required parts to the browser, which come out to around 250kb. The biggest 
problem I see with this is that you would not be able to install Bob by 
dragging and dropping the plugin into a node wiki.
My hope is that BobEXE means that isn't really necessary anymore, but I 
wanted to see how people feel about it.
Another potential concern is that you no longer get to see all of the code 
for what Bob is doing in your wiki. I don't think that this is a concern 
for most people, and the code for Bob is up on GitHub, but one part of 
tiddlywiki that I like is that you can see all of the code that is running 
right there in your browser.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/6fe8da01-dbeb-4158-9637-7b301e1c5398%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] [TW5] Getting plugins directly from GitHub, Bob, and some questions

2019-04-03 Thread Jeremy Ruston
Hi Jed

I’ve been meaning to experiment along similar lines. I had my eye on unpkg.com, 
an independent project that provides a gateway to files stored in npm. It’s 
intended so that scripts can reference things like:

https://unpkg.com/tiddlywiki@5.1.19/boot/boot.js 


The really interesting thing is that the files are served with 
access-control-allow-origin: * 

So, we could fairly easily take the repository 
https://github.com/jermolene/jermolene.github.io that contains the raw files 
for tiddlywiki.com and publish it to npm. Then one would be able to do things 
like:

https://unpkg.com/tiddlywiki@5.1.19/library/v5.1.19/recipes/library/tiddlers/%24%3A%2Fplugins%2Ftiddlywiki%2Frailroad.json
 


Best wishes

Jeremy

> On 3 Apr 2019, at 09:34, Jed Carty  wrote:
> 
> I think I sort of buried the lede in the last release post for Bob, but one 
> of the new features is that it can now get plugins directly from GitHub 
> repos. You can just give it the URL and it will fetch the plugin and save it 
> to your library of plugins so it is available to all of your wikis.
> 
> I have tried to make a version for single file wikis, and it works, aside 
> from my nemesis, CORS headers. From a browser you can't download the zip 
> files from GitHub because they don't have CORS set up to let you do that. You 
> may be able to down load specific files, but from what I have been able to 
> find you can only do that if you know the names of the individual files. So 
> the only realistic way I have been able to come up with for a single file 
> wiki to get and build plugins directly from GitHub requires some sort of 
> relay server. Bob could act as this server, but if you have Bob running it 
> would be easier to just get the plugins with Bob and then either make your 
> wiki in Bob and save it as a single file wiki, or use TWederBob to fetch the 
> plugin from Bob.
> 
> So, for anyone who was able to follow my rambling, is it worth setting up Bob 
> as a relay like this? A publicly accessible Bob server like on ooktech.xyz 
> could also act as a relay which may make the relay idea much more useful. But 
> so far I don't think anyone is really using the plugin library there so I 
> have no idea if anyone would care.
> 
> 
> 
> The next part is about Bob itself. Currently Bob is quite large, about 750kb, 
> which is around half the size of an empty wiki. On slow connections or older 
> hardware this could add a significant amount of time to loading a wiki.
> I can modify how Bob sends wikis to the browser so that it only sends the 
> required parts to the browser, which come out to around 250kb. The biggest 
> problem I see with this is that you would not be able to install Bob by 
> dragging and dropping the plugin into a node wiki.
> My hope is that BobEXE means that isn't really necessary anymore, but I 
> wanted to see how people feel about it.
> Another potential concern is that you no longer get to see all of the code 
> for what Bob is doing in your wiki. I don't think that this is a concern for 
> most people, and the code for Bob is up on GitHub, but one part of tiddlywiki 
> that I like is that you can see all of the code that is running right there 
> in your browser.
> 
> -- 
> 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+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to tiddlywiki@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/6fe8da01-dbeb-4158-9637-7b301e1c5398%40googlegroups.com
>  
> .
> 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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/4B0FE3E0-7C71-4A74-9BF5-F2A6C659A04D%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.2.2 Friend Potatoes

2019-04-03 Thread TonyM
Jed et al..

My master wiki has all my wikis listed as 
"http://127.0.0.1:8084/Registry/__path; and opens that 
path http://127.0.0.1:8084/Registry/__path

Removing "/__path" from the address in the browser opens the intended wiki.

All wikis but the master wiki have the correct available wikis list.

eg Registry gives http://127.0.0.1:8084/Registry

Regards
Tony

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/10fe7e23-4ff8-4ee0-a9cc-d5008aead52e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Button to edit current tiddler

2019-04-03 Thread Bruno Loff
Hey guys,

I wanted to create a button, within the tiddler, that would allow me to 
edit the tiddler.

It might seem redundant since all tiddlers in the story view have such a 
button, but actually I am showing the tiddler as a header above the 
storyline ($:/tags/abovestory), and when it appears on top it lacks an edit 
button.

I thought of adding:

<$button>
<$action-sendmessage $message="tw-edit-tiddler" $param="Top"/>
edit


But it doesn't do anything when I click it :-(

Thanks for the help,
Bruno

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/1715876d-f822-49e0-ab95-4c5d8eb49904%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Button to edit current tiddler

2019-04-03 Thread Birthe C
Hi Bruno,

<$button>
<$action-sendmessage $message="tm-edit-tiddler" $param="Top"/>
edit




Birthe

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/f84bf83c-afce-45ca-9859-b81fb559e8eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] [TW5] Getting plugins directly from GitHub, Bob, and some questions

2019-04-03 Thread @TiddlyTweeter
Dear Jeremy and Jed and Bob :-)

Anything that eases plugin install is good! Bob's various mechanisms for 
fetch, plugin install (local) etc are really superb. 

Its also worth mentioning Quinoid, Mark S's baby on Android, has an 
excellent fetch, customisable, mechanism to install remote TW onto your 
phone.

My wondering, somewhat left-field, is not so much about the mechanisms as 
what proportion of plugins are on github?

Dave's Toolmap thing has, I think, improved the situation with findability 
enormously. But I still struggle to locate what I need.

Not quite sure exactly what I am saying  I guess its there is an 
*informational* dimension that is not entirely orthogonal to the tech side. 

If these initiatives can improve findability (and by implication, 
"indexing") I think it would be excellent and definitely enhance usage. But 
what about stuff that isn't on Github?

Just thoughts
Best wishes
Josiah


I'm wondering

On Wednesday, 3 April 2019 11:01:59 UTC+2, Jeremy Ruston wrote:
>
> Hi Jed
>
> I’ve been meaning to experiment along similar lines. I had my eye on 
> unpkg.com, an independent project that provides a gateway to files stored 
> in npm. It’s intended so that scripts can reference things like:
>
> https://unpkg.com/tiddlywiki@5.1.19/boot/boot.js
>
> The really interesting thing is that the files are served with 
> access-control-allow-origin: * 
>
> So, we could fairly easily take the repository 
> https://github.com/jermolene/jermolene.github.io that contains the raw 
> files for tiddlywiki.com and publish it to npm. Then one would be able to 
> do things like:
>
>
> https://unpkg.com/tiddlywiki@5.1.19/library/v5.1.19/recipes/library/tiddlers/%24%3A%2Fplugins%2Ftiddlywiki%2Frailroad.json
>  
> 
>
> Best wishes
>
> Jeremy
>
> On 3 Apr 2019, at 09:34, Jed Carty > 
> wrote:
>
> I think I sort of buried the lede in the last release post for Bob, but 
> one of the new features is that it can now get plugins directly from GitHub 
> repos. You can just give it the URL and it will fetch the plugin and save 
> it to your library of plugins so it is available to all of your wikis.
>
> I have tried to make a version for single file wikis, and it works, aside 
> from my nemesis, CORS headers. From a browser you can't download the zip 
> files from GitHub because they don't have CORS set up to let you do that. 
> You may be able to down load specific files, but from what I have been able 
> to find you can only do that if you know the names of the individual files. 
> So the only realistic way I have been able to come up with for a single 
> file wiki to get and build plugins directly from GitHub requires some sort 
> of relay server. Bob could act as this server, but if you have Bob running 
> it would be easier to just get the plugins with Bob and then either make 
> your wiki in Bob and save it as a single file wiki, or use TWederBob to 
> fetch the plugin from Bob.
>
> So, for anyone who was able to follow my rambling, is it worth setting up 
> Bob as a relay like this? A publicly accessible Bob server like on 
> ooktech.xyz could also act as a relay which may make the relay idea much 
> more useful. But so far I don't think anyone is really using the plugin 
> library there so I have no idea if anyone would care.
>
>
>
> The next part is about Bob itself. Currently Bob is quite large, about 
> 750kb, which is around half the size of an empty wiki. On slow connections 
> or older hardware this could add a significant amount of time to loading a 
> wiki.
> I can modify how Bob sends wikis to the browser so that it only sends the 
> required parts to the browser, which come out to around 250kb. The biggest 
> problem I see with this is that you would not be able to install Bob by 
> dragging and dropping the plugin into a node wiki.
> My hope is that BobEXE means that isn't really necessary anymore, but I 
> wanted to see how people feel about it.
> Another potential concern is that you no longer get to see all of the code 
> for what Bob is doing in your wiki. I don't think that this is a concern 
> for most people, and the code for Bob is up on GitHub, but one part of 
> tiddlywiki that I like is that you can see all of the code that is running 
> right there in your browser.
>
> -- 
> 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 tiddl...@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/6fe8da01-dbeb-4158-9637-7b301e1c5398%40googlegroups.com
>  
> 

[tw5] Re: [TW5] Bob and BobEXE version 1.2.2 Friend Potatoes

2019-04-03 Thread TonyM
Bithe,

Do you mean "the "__path" is *now* the short way repeating the path 
in  "wikiPathBase" ?

Can I assume your Bob.exe is located in the folder 
"/home/lenovo/Dokumenter/TWfolders"

I placed "C:\Data\TW5\Instances\Bob" in the wikiPathBase with no change.

Sad

Tony


On Wednesday, April 3, 2019 at 5:41:10 PM UTC+11, Birthe C wrote:
>
> Mine too, Tony.
>
> With each wiki defined link this
>> "wikis": { 
>>"5.1.18-PreRelease": {
>>  "__path": "5.1.18-PreRelease"
>>}, 
>>
>
> the "__path" is that not the short way of repeating the path 
> in  "wikiPathBase"
>
> Birthe 
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/ade87311-c32d-46c7-bc5f-93aac935c0bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.2.2 Friend Potatoes

2019-04-03 Thread Jed Carty
Tony,


Try deleting the tiddler '$:/plugins/OokTech/Bob/Wiki Listing', it may be a 
template problem. Because that tiddler has a tag added to it to make it 
appear in the sidebar it is no longer a shadow tiddler and isn't updated 
when Bob is updated. I am looking into how to fix this.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/53e09b9f-1e5d-4c5b-bd5a-5e7fedc7c36f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Bob and BobEXE version 1.2.2 Friend Potatoes

2019-04-03 Thread Birthe C
Tony,

You need the path to were your wiki folders are. My wikis are in 
"/home/lenovo/Dokumenter/TWfolders"
wikiPathBase, the base path for wiki..at least I think.


Hope you find a solution, Tony

Birthe

onsdag den 3. april 2019 kl. 09.13.19 UTC+2 skrev TonyM:
>
> Bithe,
>
> Do you mean "the "__path" is *now* the short way repeating the path 
> in  "wikiPathBase" ?
>
> Can I assume your Bob.exe is located in the folder 
> "/home/lenovo/Dokumenter/TWfolders"
>
> I placed "C:\Data\TW5\Instances\Bob" in the wikiPathBase with no change.
>
> Sad
>
> Tony
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/0c042781-68d9-40a5-9d9a-3eafcad05413%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TW Components

2019-04-03 Thread Mohammad
Glad you find them useful, Josiah!
I hope I have time to add more components there!

--Mohammad


On Wednesday, April 3, 2019 at 2:57:26 PM UTC+4:30, @TiddlyTweeter wrote:
>
> Ciao Mohammad
>
> I just wanted to comment that TW Components is a great resource! The two 
> "select" macros on there I have used.
>
> Its a good resource, not just because it reduces the need to "reinvent the 
> wheel", but also, importantly for me, is it practically helps me understand 
> the TW coding.
>
> Thanks!
> Josiah
>
> On Monday, March 11, 2019 at 8:07:30 AM UTC+3:30, Mohammad wrote:
>>>
>>> *Announcement*: TW Components
>>>
>>> *Date: Mar 11th, 2019*
>>>
>>> *Demo: https://tw-scripts.github.io/TW-Components/ 
>>> *
>>> *Code: https://github.com/tw-scripts/TW-Components 
>>> *
>>>
>>>
>>> Ref: https://groups.google.com/d/msg/tiddlywiki/kwCNXHPATlg/QFtEoGViCAAJ
>>>
>>> Concept
>>>
>>> The current status of Tiddlywiki allows creating complex UI and 
>>> operations. This is while many users may don't like to put time and 
>>> developing scripts of have not enough Tiddlywiki knowledge to develop codes.
>>> *What is a component?*A component is a group of TW macros and tiddlers 
>>> create a visual element for complex processes.*Purpose*
>>>
>>> The ultimate objective of TW components is, to create objects which can 
>>> simply by used by TW programmer to create complex processes or codes. So, a 
>>> TW component shall be simply integrated into a TW script. Using components 
>>> one should be able to create a sophisticated plugin with less effort and 
>>> more simplicity!
>>> *How to distribute?*The components can be distributed as plugins or 
>>> JSON bundles and can be installed by simple drag-drop or import mechanism.
>>>
>>>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/96c91804-f716-4046-890b-11fd5b774a1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TW Components

2019-04-03 Thread @TiddlyTweeter
Ciao Mohammad

I just wanted to comment that TW Components is a great resource! The two 
"select" macros on there I have used.

Its a good resource, not just because it reduces the need to "reinvent the 
wheel", but also, importantly for me, is it practically helps me understand 
the TW coding.

Thanks!
Josiah

On Monday, March 11, 2019 at 8:07:30 AM UTC+3:30, Mohammad wrote:
>>
>> *Announcement*: TW Components
>>
>> *Date: Mar 11th, 2019*
>>
>> *Demo: https://tw-scripts.github.io/TW-Components/ 
>> *
>> *Code: https://github.com/tw-scripts/TW-Components 
>> *
>>
>>
>> Ref: https://groups.google.com/d/msg/tiddlywiki/kwCNXHPATlg/QFtEoGViCAAJ
>>
>> Concept
>>
>> The current status of Tiddlywiki allows creating complex UI and 
>> operations. This is while many users may don't like to put time and 
>> developing scripts of have not enough Tiddlywiki knowledge to develop codes.
>> *What is a component?*A component is a group of TW macros and tiddlers 
>> create a visual element for complex processes.*Purpose*
>>
>> The ultimate objective of TW components is, to create objects which can 
>> simply by used by TW programmer to create complex processes or codes. So, a 
>> TW component shall be simply integrated into a TW script. Using components 
>> one should be able to create a sophisticated plugin with less effort and 
>> more simplicity!
>> *How to distribute?*The components can be distributed as plugins or JSON 
>> bundles and can be installed by simple drag-drop or import mechanism.
>>
>>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/dd036d7c-ca54-428e-bf42-96cc90082cd8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Getting plugins directly from GitHub, Bob, and some questions

2019-04-03 Thread Jed Carty
And for the future of TWederation, I am working on inter-server 
communication with Bob, which could give us fully federated wikis. The node 
versions could act as relays for the single file wikis to get around many 
of the problems we had before, both in terms of speed and access. 
Inter-server messages also mean that you can have Bob running on your phone 
and on your computer and sync the wikis between the two, or sync local 
wikis with online wikis.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/312daeef-ec96-4148-9539-292b57332820%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to export a multifile tiddlywiki (bob) as a multifile small website with material?

2019-04-03 Thread Jed Carty
Ok. It is going to be easier to do this if I just make an action-widget 
that will move things around for you. This is something I have been 
planning for a while anyway to make using external files easier and it 
shouldn't take too terribly long.

Once this is finished what you are going to do is download an html version 
of your wiki from the bob settings in the control panel (after I make the 
script to move the pdfs out of it) and upload that to where you host files, 
then you will make a folder called 'files' next to the html file and put 
the pdfs you want available in that folder and it should all work, as long 
as I make this correctly.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/1af7fc99-c7b8-49ac-8b2a-fb6e711f5252%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: How to export a multifile tiddlywiki (bob) as a multifile small website with material?

2019-04-03 Thread Stefan Pfister
Sounds really cool. I'm verry impressed. :-)

Jed Carty  schrieb am Mi., 3. Apr. 2019, 20:55:

> Ok. It is going to be easier to do this if I just make an action-widget
> that will move things around for you. This is something I have been
> planning for a while anyway to make using external files easier and it
> shouldn't take too terribly long.
>
> Once this is finished what you are going to do is download an html version
> of your wiki from the bob settings in the control panel (after I make the
> script to move the pdfs out of it) and upload that to where you host files,
> then you will make a folder called 'files' next to the html file and put
> the pdfs you want available in that folder and it should all work, as long
> as I make this correctly.
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@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/1af7fc99-c7b8-49ac-8b2a-fb6e711f5252%40googlegroups.com
> 
> .
> 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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/CAM57EO2qQf_TaS9GGjH3YBBVNZEDdBaSmM9wntN%3DFqjWexBzjg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to export a multifile tiddlywiki (bob) as a multifile small website with material?

2019-04-03 Thread Jed Carty
To be any real help I need to know a few things,

First, when you say multi-file do you mean one html file and then all of 
the attachments (pdfs, images, etc.) are separate files? Or do you mean 
each tiddler is it's own .tid file?

And second, how are these going to be hosted? If it is a situation where 
you copy the html file into a folder and then it is accessible at some url 
than it should be relatively simple, if it is some other setup than it 
depends on the specifics of the setup.

And finally, how are you putting the files in your wiki while using Bob? 
Are you dragging and dropping them in the wiki or are you using 
_canonical_uri fields?

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/8af20b69-caec-4c5a-8a26-018fb01891b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Getting plugins directly from GitHub, Bob, and some questions

2019-04-03 Thread Ste Wilson
TWEDERATION! Long live the tiddlyweb! 
Twiddlers talking to twiddlers! 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/87097213-8a70-462a-87cd-d7518f704782%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Getting plugins directly from GitHub, Bob, and some questions

2019-04-03 Thread Jed Carty
That is the thing, it exists and I have mentioned it a lot since I put it 
up. It is almost the entire purpose of the TWederBob plugin.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/90f1d2f5-a3b6-4908-a1ed-7aab1c5cb845%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to export a multifile tiddlywiki (bob) as a multifile small website with material?

2019-04-03 Thread Stefan Pfister
I have each tiddler in its own tid. file. I copy the html files in a folder 
and then it is accessible. I need one index.html file (name can be 
different) which points to the other files. This works. In the Bob wiki I 
make dragging and drop them in the wiki. No uri-fields.

Thanks for the quick response.


Am Mittwoch, 3. April 2019 18:05:29 UTC+2 schrieb Jed Carty:
>
> To be any real help I need to know a few things,
>
> First, when you say multi-file do you mean one html file and then all of 
> the attachments (pdfs, images, etc.) are separate files? Or do you mean 
> each tiddler is it's own .tid file?
>
> And second, how are these going to be hosted? If it is a situation where 
> you copy the html file into a folder and then it is accessible at some url 
> than it should be relatively simple, if it is some other setup than it 
> depends on the specifics of the setup.
>
> And finally, how are you putting the files in your wiki while using Bob? 
> Are you dragging and dropping them in the wiki or are you using 
> _canonical_uri fields?
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/6462ab1d-d710-44b0-be42-0fedd5f6d3cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Getting plugins directly from GitHub, Bob, and some questions

2019-04-03 Thread @TiddlyTweeter
Ciao Jed

Jed Carty wrote:
>
> I have set up the secure server version of Bob so that it can be a plugin 
> repository that people can submit plugins to be served there, but it has 
> gotten next to no interest.
>

I seen that. I'm not good here as I'm not quite yet able to do a plugin so 
am hardly to be considered competent.

At the same time, I do think this is more about lack of numbers than lack 
of interest.

Its a kind of Catch-22--recognising its good before knowing enough to know 
it is. 

I will help promote any Bob Online Repository as far as I can.

Best wishes
Josiah

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/b20d17ff-283b-4491-bfb5-959c150360c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] How to export a multifile tiddlywiki (bob) as a multifile small website with material?

2019-04-03 Thread Stefan Pfister
Hi folks,

I tried the zim wiki and had success with creating a bunch of linked 
html-files with the attached pdf-files in a subfolder as the result of a 
export-process. I had a small video file too as a single file.
But I would prefer to use tiddlywiki for tasks like this. 

How can I export a multifile wiki (I use bob single exe) to a multifile 
website with all the included pdf-files as single files too? 

I need the different single files, not one html-file  at the end. I want to 
upload this mini-website to a learningplatform. This would make my work at 
school a lot more easier. I could create a lesson with a lot of material 
and upload the whole mess at once as a bunch of linked html-files with 
separate pdf-files. I didn't find a way to to this with tiddlywiki, but 
what do I know as dumb beginner?

Thanks for any help,

Stefan

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/d1319e28-7dd7-4448-806f-e0dcead8ecec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Some string manipulation filters

2019-04-03 Thread TonyM
FyI

The only list of possible maths operators I can find are here 
https://groups.google.com/forum/?hl=en#!searchin/tiddlywiki/maths$20operators%7Csort:date/tiddlywiki/T_v5vSiCEDA/n7Rdw6fMHQAJ

In Jeremy's first post, I have underliened matching ones to jeds.

*negate* - negation
*abs* - absolute value
*ceil* - smallest integer greater than or equal to a given number
*floor* - the largest integer less than or equal to a given number
*round* - the value of a number rounded to the nearest integer
*trunc* - the integer part of a number by removing any fractional digits
*sign* - the sign of a number, indicating whether the number is positive, 
negative or zero
*add* - add an operand to every number in the input list
*subtract* - subtract an operand from every number in the input list
*multiply* - multiply every number in the input list by an operand
*divide* - divide every number in the input list by an operand
*remainder* - replace each item in the input list with the remainder when 
dividing that number by an operand
*max* - replace any number in the input list larger than the operand with 
the operand
*min* - replace any number in the input list smaller than the operand with 
the operand
*fixed* - formats a number using fixed-point notation with the number of 
fractional digits after the decimal point given by the operand
*precision* - returns a string representing the number to the precision 
specified in the operand
*exponential* - returns a string representing the Number object in 
exponential notation with the number of digits after the decimal point 
specified in the operand
*sum* - replaces the input list with the sum of all the entries
*product* - replaces the input list with the product of all the entries
*maxall* - replaces the input list with the maximum value of all the entries
*minall* - replaces the input list with the minimum value of all the entries
*length* - replaces each item in the input list with its string length in 
characters
*uppercase* - replaces each item in the input with its uppercase equivalent
*lowercase* - replaces each item in the input with its lowercase equivalent
*trim* - trims each item in the input list
*concat* - concatenates all of the items in the input list into a single 
string 
*split -* splits each of the items in the input list by a given separator
*join *- joins all of the items in the input list with a given separator 
see jeds *joinwith*


there is still an issue where the inputs have the duplicates removed

*Jeds operators*
*spliton *- takes input titles and divides them into separate titles 
splitting on an input string
*joinwith* - the opposite of spliton, it takes a list of input titles and 
joins them together into a single title with the parameter string between 
each one
*uppercase *- makes all letters in the input titles uppercase
*lowercase* - makes all the letters in the input titles lowercase
getprefix - takes the input and returns the first n characters from each 
title, optionally padding them to ensure that each output title is n 
characters long
getsuffix - takes the input and returns the last n characters from each 
title, optionally padding them to ensure that each output title is n 
characters long

Regards
Tony

On Sunday, March 31, 2019 at 4:18:26 PM UTC+11, Mohammad wrote:
>
> Hi Jed,
>  These are great! and as Tony said there is overlap with math operators in 
> 5.1.20pre.
> Have a look at
>
> https://tiddlywiki.com/prerelease/#Mathematics%20Operators
>
> --Mohammad
>
>
> On Sunday, March 31, 2019 at 2:13:58 AM UTC+4:30, Jed Carty wrote:
>>
>> I was cleaning up some of the things I have been working on over the past 
>> few months and I found some plugins that I never released. The only one is 
>> a state that is reasonable to release has some filter operators for string 
>> manipulation. I am not sure how useful people will find them but the filter 
>> operators are:
>>
>> spliton - takes input titles and divides them into separate titles 
>> splitting on an input string
>> joinwith - the opposite of spliton, it takes a list of input titles and 
>> joins them together into a single title with the parameter string between 
>> each one
>> uppercase - makes all letters in the input titles uppercase
>> lowercase - makes all the letters in the input titles lowercase
>> getprefix - takes the input and returns the first n characters from each 
>> title, optionally padding them to ensure that each output title is n 
>> characters long
>> getsuffix - takes the input and returns the last n characters from each 
>> title, optionally padding them to ensure that each output title is n 
>> characters long
>>
>> It is available from the twederbob plugin library or from the public wiki 
>> here 
>> https://www.ooktech.xyz:8443/Public#%24%3A%2Fplugins%2FOokTech%2FStringFilters
>>
>> The code is available on GitHub 
>> https://github.com/OokTech/TW5-StringFilters
>>
>

-- 
You received this message because you are subscribed to the Google Groups 

[tw5] can't save tw in my own php server

2019-04-03 Thread 李晨
hi 

I put my tiddlywiki file in my own server with name "index.html"

I set saving parameters like this:

wiki name: lichen
password: 123456
Server URL: http://212.129.142.212/store.php
upload filename: index.html
upload Directory: .
upload backup Directory: .

my php version is "PHP 7.0.33-0ubuntu0.16.04.3 (cli) ( NTS )"


when I save tw, the chrome browser says:

Error while saving:

https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d0188b35-caa1-4da2-bfa1-17313ab6b644%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Button to edit current tiddler

2019-04-03 Thread passingby
I had to find an online text compare tool, to see what is being pointed. 
But I caught it now. For future reference the difference is: tm-edit-tiddler 
instead of tw-edit-tiddler.

On Wednesday, April 3, 2019 at 2:36:08 AM UTC-7, Birthe C wrote:
>
> Hi Bruno,
>
> <$button>
> <$action-sendmessage $message="tm-edit-tiddler" $param="Top"/>
> edit
> 
>
>
>
> Birthe
>

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/2012e774-8e47-4afa-86cb-153167c4b8db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Getting plugins directly from GitHub, Bob, and some questions

2019-04-03 Thread Jed Carty
I have set up the secure server version of Bob so that it can be a plugin 
repository that people can submit plugins to be served there, but it has 
gotten next to no interest. But it would work for non-github plugins. Also 
while I just said fetch plugins from GitHub the mechanism can get them from 
gitlab or anywhere that can serve a zip file with the plugin. GitLab just 
has the name recognition that would hopefully keep people from just 
ignoring it.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/97633da1-25d1-4f55-9201-fa309367f66c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tiddlywiki on Node.js: Backup

2019-04-03 Thread Mohammad
Hi again RA,

I found Synkron (http://synkron.sourceforge.net/) to create backup!
It also support file version system!
It is portable, work on local machine and support different OS!

--Mohammad

p.s
Only for windows user: 
https://portableapps.com/apps/utilities/synkron_portable

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@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/0217c4fd-0529-43ad-9afd-c693c7e70126%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.