[tw5] Re: Are there any alternatives to the mermaid.js plugin?

2020-10-25 Thread Julio Cantarero
Sorry, I just realized that this link is probably more useful:
https://tobibeer.github.io/tw5-plugins/#plantuml

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f3e9c47f-832b-443a-becf-8c8a326a403fo%40googlegroups.com.


[tw5] Re: Are there any alternatives to the mermaid.js plugin?

2020-10-25 Thread Julio Cantarero
Hi. 
Try https://github.com/tobibeer/tw5-plantuml. It is an excellent plugin for 
plantuml.com 
Julio
El sábado, 24 de octubre de 2020, 23:07:58 (UTC+2), si escribió:
>
> Hi Ste, thanks for the suggestion.
>
> Unfortunately I don't think railroad diagrams are really the same thing. 
>
> On Wednesday, 21 October 2020 16:03:02 UTC+1, Ste wrote:
>>
>>
>> There is rail road diagrams in the core or at least an official plugin. 
>> Not sure if that would help? 
>> On Tuesday, 20 October 2020 at 20:59:27 UTC+1 si wrote:
>>
>>> Hi TT,
>>>
>>> Yes I will add more detail.
>>>
>>> I currently use mermaid to quickly add graphs while I'm writing. I only 
>>> use it for basic graphs like this:
>>>
>>>
>>> I love TiddlyMap but it is not practical for making a lot of small 
>>> graphs. The above graph can be written really quickly and easily in the 
>>> mermaid language.
>>>
>>> Si.
>>>
>>> On Tuesday, 20 October 2020 19:31:30 UTC+1, TiddlyTweeter wrote:

 Its buggy. Its not maintained. It is a shame :-(.

 If TiddlyMap  won't do as a replacement then 
 you maybe need to say a bit more.

 Best wishes
 TT


 On Tuesday, 20 October 2020 17:19:29 UTC+2, si wrote:
>
> I've been using the mermaid plugin 
>  to draw simple 
> networks/graphs in my wiki. It's nice because it's super quick to use.
>
> Unfortunately it's pretty buggy and has not been updated to the latest 
> version of mermaid for a while.
>
> Anyone know of any alternatives options out there?
>
> Thanks for your help.
>


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/82e5-c385-41c7-805f-56d87277ff34o%40googlegroups.com.


Re: [tw] [TW5] [node.js] Could you please post an example of Express.js code using the new Tiddlywiki Pre-Release 5.1.14?

2017-05-14 Thread Julio Cantarero
Hi Arlen,

I tried again your code in gist and this time it worked perfectly. The TW5 
data was served fine from the express application.

This time I installed tiddlywiki using npm locally, rather than using the 
global installation. I don't know if that also makes any difference in your 
instructions.
Thank you for updating the gist entry, 

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 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/f2fc5488-1d7e-46fa-a3b2-cb17c3703c45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] [node.js] Could you please post an example of Express.js code using the new Tiddlywiki Pre-Release 5.1.14?

2017-04-14 Thread Julio Cantarero
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 
.

But I am using tiddlywiki pre-release 5.1.14, which includes an enhancement 
for this integration. From the release notes: "Refactored server mechanism 
 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 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/9bb56cc8-2ebd-4b22-8b33-fbad93b1a982%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Feedback for TiddlyClip

2016-03-28 Thread Julio Cantarero
Hi BJ,

Related to the last request, I just thought that another enhancement to 
TiddlyClip would be to have direct access keys for the TiddlyClip entries 
in the Context menu (I mean the right-click menu in FireFox). This could 
speed up TiddlyClip operations when the user wants to record small text 
chunks in the tiddler fields.
Not sure if this is feasible. I was playing with a FireFox Addon (named 
"Menu Wizard") that allows you to set these direct access keys per menu 
entry, but it was only possible to do so in the first context menu level of 
TiddlyClip, maybe because the others entries are created dynamically.
In any case, it is just an idea, it is still very cool to be passing info 
to TW with one click of the mouse.
Thanks,

Julio

El sábado, 26 de marzo de 2016, 14:58:02 (UTC+1), Mark S. escribió:
>
> Hi BJ,
>
> Thanks for writing such a useful utility!
>
> I'm late to this conversation, but I wanted to add my thought.
>
> The main reason I don't use TC more is the docking. Having to check on 
> docking, dock, and then do the clipping is only slightly faster than cut & 
> paste. So it's mostly useful if I'm starting a session where I will be 
> doing lots of clipping.
>
> Is there any way, maybe with cookies, that TC can remember where it is 
> docked between browser shut-downs? I almost always dock to the same TW. I 
> guess you could call it "Lock the Dock" ;)
>
> Thanks!
> Mark
>
>
>
> On Tuesday, January 26, 2016 at 7:19:16 AM UTC-8, BJ wrote:
>>
>> Hi all,
>> I am working on necessary changes to tiddlyclip in order support future 
>> versions of firefox. As I am current focused on tiddlyclip, this would be a 
>> good time to let me know of anything that you think could be improved or 
>> added to tiddlyclip or its documentation, or maybe you have a particular 
>> use or setup to share that could be added to tiddlyclip's website?
>>
>> all the best
>>
>> BJ
>>
>

-- 
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/4d789622-bfe0-4e05-a15a-a243a7ffed8d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Feedback for TiddlyClip

2016-03-26 Thread Julio Cantarero
Hi BJ,

Sure, it would do.
What I am trying to do is to generate the name of a new tiddler (created
from info captured by TC) and record it into the list field of an
"umbrella" tiddler. Currently I am using the @date/time information of the
web page, which is available in the Rule entries for both tiddlers
("umbrella" and new one). But passing information across the Rule entries
would allow me to use sequence numbers.
The link I posted earlier points to the TW I am working on. I will upload a
working version in the next few days.
Thank you!

Julio

El sáb., 26 mar. 2016 a las 10:06, BJ (<buggy...@gmail.com>) escribió:

>
> Hi Julio,
> your usecase sounds very interesting. I don't think I can change how the #
> variables work without things breaking. An alternative would be to
> introduce a new type of variable, maybe ':' so that (eg) ':myvar' would
> keep it value across applications of rules. Do you thing that would work
> for you usage?
>
> all the best
> BJ
>
>
> On Friday, March 25, 2016 at 10:45:52 PM UTC, Julio Cantarero wrote:
>>
>> Hi BJ,
>>
>> While defining new rules for TiddlyClip, and I have bumped into a
>> characteristic of TiddlyClip's #variables: the scope of a #variable is
>> limited to the operations run inside the tiddler referenced in the 'Fields
>> modifiers' column.
>> Would it be possible to extend the scope of #variables so that their
>> values can be passed across Rules in the same operation?
>>
>> If so, I would be able to reuse values across different Tiddlers that I
>> create with a single TC click (category). I think this would make the rules
>> syntax more flexible. I do not know if extending the scope could cause
>> other problems/risks to TC itself.
>>
>> I must confess that I have tried to do this myself in your code
>> (commenting out //table['#']={}; in all instances in tidpaste.js
>> <https://github.com/buggyj/tiddlyclip-plugin/blob/master/common/tidpaste.js>
>> but the first one), but I did not manage to reuse #variables across Rule
>> tiddlers with just these changes.
>> Thank you,
>>
>> Julio
>>
>> El lunes, 1 de febrero de 2016, 12:16:03 (UTC+1), BJ escribió:
>>>
>>> hi Julio,
>>> thanks for the feedback, it's nice to know that people use  tiddlyclip.
>>> Feedback like this is invaluable as it enables me to see what needs to be
>>> improved/added. - I have added comments below.
>>>
>>> On Sunday, January 31, 2016 at 11:07:01 PM UTC, Julio Cantarero wrote:
>>>>
>>>> Hi BJ,
>>>>
>>>> Thank you very much for the TiddlyClip TW5 plugin and FF addon. I use
>>>> them very often to capture news to my TW when browsing around.
>>>>
>>>> Since you were also asking about particular uses, I also tried a few
>>>> months ago to use TW5 + TiddlyClip to create a web notebook for studying
>>>> vocabulary of foreign languages. The goal was to easily create new
>>>> vocabulary entries in a TW5 thanks to TiddlyClip, and then use other TW5
>>>> features to treat these entries as flashcards to support studying them. I
>>>> didn't get to finish it, but I found TiddlyClip was very flexible. I was
>>>> even capable of creating new tiddlers and renaming them, as well as create
>>>> and delete tiddler fields (I have uploaded a copy of the latest status
>>>> here: http://juliocantarero.github.io/TW5-LanguageStudyNotebook/ . It
>>>> is not fully working though)
>>>>
>>>> Regarding suggestions, I would have never dared, but since you asked :-)
>>>>
>>>>- In the documentation, it took me a while to realize that there
>>>>are tags and modes settings (table columns) both at Category (operation)
>>>>and Rule level. Modes at Category level are BrowserConfigModes, which is
>>>>different than Rule modes.
>>>>
>>>> As I wrote tiddlyclip I fully understand how it works, so I really need
>>> feedback on what is not clear - I will make this more clear in the
>>> documentation.
>>>
>>>>
>>>>-
>>>>- I tried to transclude a tiddler in the tags column at Category
>>>>level, using {{TiddlerName}} but it did not work. I think I read 
>>>> somewhere
>>>>in the plugin documentation that the {{ }} option should work. It works 
>>>> in
>>>>the body column. The purpose of this was to be able to tag clips from
>>>>different sessions with different ident

[tw] Re: Feedback for TiddlyClip

2016-03-25 Thread Julio Cantarero
Hi BJ,

While defining new rules for TiddlyClip, and I have bumped into a 
characteristic of TiddlyClip's #variables: the scope of a #variable is 
limited to the operations run inside the tiddler referenced in the 'Fields 
modifiers' column. 
Would it be possible to extend the scope of #variables so that their values 
can be passed across Rules in the same operation?

If so, I would be able to reuse values across different Tiddlers that I 
create with a single TC click (category). I think this would make the rules 
syntax more flexible. I do not know if extending the scope could cause 
other problems/risks to TC itself.

I must confess that I have tried to do this myself in your code (commenting 
out //table['#']={}; in all instances in tidpaste.js 
<https://github.com/buggyj/tiddlyclip-plugin/blob/master/common/tidpaste.js> 
but the first one), but I did not manage to reuse #variables across Rule 
tiddlers with just these changes.
Thank you,

Julio

El lunes, 1 de febrero de 2016, 12:16:03 (UTC+1), BJ escribió:
>
> hi Julio,
> thanks for the feedback, it's nice to know that people use  tiddlyclip. 
> Feedback like this is invaluable as it enables me to see what needs to be 
> improved/added. - I have added comments below.
>
> On Sunday, January 31, 2016 at 11:07:01 PM UTC, Julio Cantarero wrote:
>>
>> Hi BJ,
>>
>> Thank you very much for the TiddlyClip TW5 plugin and FF addon. I use 
>> them very often to capture news to my TW when browsing around.
>>
>> Since you were also asking about particular uses, I also tried a few 
>> months ago to use TW5 + TiddlyClip to create a web notebook for studying 
>> vocabulary of foreign languages. The goal was to easily create new 
>> vocabulary entries in a TW5 thanks to TiddlyClip, and then use other TW5 
>> features to treat these entries as flashcards to support studying them. I 
>> didn't get to finish it, but I found TiddlyClip was very flexible. I was 
>> even capable of creating new tiddlers and renaming them, as well as create 
>> and delete tiddler fields (I have uploaded a copy of the latest status 
>> here: http://juliocantarero.github.io/TW5-LanguageStudyNotebook/ . It is 
>> not fully working though)
>>
>> Regarding suggestions, I would have never dared, but since you asked :-)
>>
>>- In the documentation, it took me a while to realize that there are 
>>tags and modes settings (table columns) both at Category (operation) and 
>>Rule level. Modes at Category level are BrowserConfigModes, which is 
>>different than Rule modes.
>>
>> As I wrote tiddlyclip I fully understand how it works, so I really need 
> feedback on what is not clear - I will make this more clear in the 
> documentation. 
>
>>
>>- 
>>- I tried to transclude a tiddler in the tags column at Category 
>>level, using {{TiddlerName}} but it did not work. I think I read 
>> somewhere 
>>in the plugin documentation that the {{ }} option should work. It works 
>> in 
>>the body column. The purpose of this was to be able to tag clips from 
>>different sessions with different identifiers, like lesson N or subjects, 
>>etc.
>>
>> There is only this type of flexibility in the rules (I need to add this 
> to the documentation ) so you would have to use the tag entry there for 
> this function. 
>
>>
>>- And if I may: I guess there is a reason for it, but I found that 
>>the syntax of the substitution expressions and macros was complex and 
>>rigid. I guess I was stretching the use of TiddlyClip, or missed an 
>> easiest 
>>way to collect information in multiple passes from a web page. The only 
>>option I could think of to pass structured information to TW5 (I mean a 
>>vocabulary entry with term, definition, examples, pronuntiation, etc.) 
>> was 
>>tiddler fields.
>>
>> Your language study application is very interesting. Like you say the 
> basic tiddlyclip operation is to select some text and clip the selection 
> into tiddler(s) fields. It is also possible to clip the contents of the 
> clipboard using the  @clip variable, so one can copy some text to the 
> clipboard, then highlight some text and clip both to tiddlers. To clip more 
> selections on the page (other than using multiple clip actions as you have 
> done) either requires using regular expressions or writing macros. It is 
> possible to highlight multiple selections on a page (using the highlight 
> rule), then select all of the page's text and clip that through selection 
> macros (that would need to written - this is not difficult), eg 
> @Selected#1(@web), @Selected#2(@web) etc

[tw] Re: Feedback for TiddlyClip

2016-01-31 Thread Julio Cantarero
Hi BJ,

Thank you very much for the TiddlyClip TW5 plugin and FF addon. I use them 
very often to capture news to my TW when browsing around.

Since you were also asking about particular uses, I also tried a few months 
ago to use TW5 + TiddlyClip to create a web notebook for studying 
vocabulary of foreign languages. The goal was to easily create new 
vocabulary entries in a TW5 thanks to TiddlyClip, and then use other TW5 
features to treat these entries as flashcards to support studying them. I 
didn't get to finish it, but I found TiddlyClip was very flexible. I was 
even capable of creating new tiddlers and renaming them, as well as create 
and delete tiddler fields (I have uploaded a copy of the latest status 
here: http://juliocantarero.github.io/TW5-LanguageStudyNotebook/ . It is 
not fully working though)

Regarding suggestions, I would have never dared, but since you asked :-)

   - In the documentation, it took me a while to realize that there are 
   tags and modes settings (table columns) both at Category (operation) and 
   Rule level. Modes at Category level are BrowserConfigModes, which is 
   different than Rule modes.
   - I tried to transclude a tiddler in the tags column at Category level, 
   using {{TiddlerName}} but it did not work. I think I read somewhere in the 
   plugin documentation that the {{ }} option should work. It works in the 
   body column. The purpose of this was to be able to tag clips from different 
   sessions with different identifiers, like lesson N or subjects, etc.
   - And if I may: I guess there is a reason for it, but I found that the 
   syntax of the substitution expressions and macros was complex and rigid. I 
   guess I was stretching the use of TiddlyClip, or missed an easiest way to 
   collect information in multiple passes from a web page. The only option I 
   could think of to pass structured information to TW5 (I mean a vocabulary 
   entry with term, definition, examples, pronuntiation, etc.) was tiddler 
   fields.
   
Regards,

Julio

El martes, 26 de enero de 2016, 16:19:16 (UTC+1), BJ escribió:
>
> Hi all,
> I am working on necessary changes to tiddlyclip in order support future 
> versions of firefox. As I am current focused on tiddlyclip, this would be a 
> good time to let me know of anything that you think could be improved or 
> added to tiddlyclip or its documentation, or maybe you have a particular 
> use or setup to share that could be added to tiddlyclip's website?
>
> all the best
>
> BJ
>

-- 
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/0c27c62d-2b2a-43ae-97c5-fa5cc0950343%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Regex String Replacments — Possible? Terrible Idea?

2016-01-02 Thread Julio Cantarero
Hi,

Just in case this helps, there is a simple plugin to do Regex replacements in a 
tiddler, published by danielo at http://danielorodriguez.com/TW5-searchNreplace/

It may not be enough to do what Scott is requesting, because I think you cannot 
currently control the multiline option of Regex.
More information about this plugin in the group here: 
https://groups.google.com/forum/#!searchin/tiddlywiki/exporter|sort:date/tiddlywiki/WE7mYrz_QbA/mtuTDwP9Bd0J

Regards,
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 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/db4109c8-327d-470e-98d4-36760d74ecba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.