[tw5] Re: tw editions and docker questions

2021-09-11 Thread mauloop
I published on Github a little project to run Tiddlyserver with Docker. You 
can find it at https://github.com/mauloop/tiddlyserver-docker.
It allows multiple wikis within a single server instance and custom 
editions path.

I made it for my own use,  so it does not provide very rich documentation, 
but just a quick and dirty readme with minimum commands needed to get 
started. However it could fit some of your requirements.

Finally here is good example about how to set up Apache to proxy a Nodejs 
TW5 <https://nicolaw.uk/#:TiddlyWikiApacheProxy%20Hello>. I think it could 
work with TiddlyServer too with very little changes, but I never 
experienced this.

Hope this could help. Have fun, )+(auloop

Il giorno giovedì 9 settembre 2021 alle 23:23:54 UTC+2 
jn.pierr...@gmail.com ha scritto:

> Hi everybody!
>
> I need to have some of my tiddlywiki being onto nodejs to gain some 
> functionality. For this, I have selected docker to have iti as easy as I 
> can. Besides docker, I need some shell script to setup the wiki (docker 
> images) ready to launch (listen command). Good point: this was an occasion 
> for me to invest into docker.
>
> But there remains a problem, which is that of the tiddlywiki edition. the 
> "editions" command list the available options with a quick summary. But 
> some options would gain a little more explanations, like the 
> server-external-js which seems to mean that the js is not mangled inside 
> the js. That could be useful to serve several wikis from the same server.
>
> But in fact, I need a localized edition. Alas, editions are not cumulative 
> (but the server-external-js really should be an option and not a proper 
> edition because that's not an editorial difference at all and it could be 
> useful for many editions).
>
> By localized, I mean that I want the content in French, but without all 
> the fuss of fr-FR editions which I would need to get rid of but for a few 
> tiddlers (and this would be a burden to implement and maintain). As for the 
> fr-FR-server, the interface has not been translated (I wonder what has been 
> translated and where I could find this information?)
>
> docker code used (without the volume and port stuff) on my tiddlywiki 
> docker image tiddock:
>
> docker run -d --rm tiddock wiki --init fr-FR-server
> docker run -d --rm tiddock server host=0.0.0.0
>
> (I used elasticdog Dockerfile and shells to see what was needed to do. 
> Thanks elasticdog!)
>
> Also, if I understand what is said here, I must not directly use 
> tiddlywiki for a production wiki but use a proxy liki nginx can provide. I 
> have no knowledge of nginx so far. Where could I find some useful docs or 
> sources of a tiddlywiki with this kind of setup?
>
> Thanks in advance 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/d8e30c5e-cc1f-4f7c-9b16-4dabac9e57f1n%40googlegroups.com.


Re: [tw5] Re: xlxs utilities not working in V22 or V23

2021-06-11 Thread mauloop
Hi, guys.

I installed the XLSX Utils plugin from 5.1.24-prerelease onto 5.1.23 and it 
looks like if it is working fine. An alternative to upgrade the whole wiki.

Regards,

)+(au

Il giorno venerdì 11 giugno 2021 alle 18:06:23 UTC+2 jeremy...@gmail.com ha 
scritto:

> Hi Patrick,
>
> It's easiest to use Chrome or another ordinary browser for the upgrade 
> process. Just save the resulting file over the top of your existing one 
> (having taken backups, of course).
>
> Best wishes
>
> Jeremy
>
> --
> Jeremy Ruston
> jer...@jermolene.com
> https://jermolene.com
>
> On 11 Jun 2021, at 00:23, Patrick RB  wrote:
>
> Thanks for the help, but I discovered the importer works when opened with 
> Chrome or Opera, but not Tiddlydesktop - so I guess that's where the 
> problem lies.
>
> On Thursday, 10 June 2021 at 13:48:26 UTC+1 Eric Shulman wrote:
>
>> On Thursday, June 10, 2021 at 5:38:56 AM UTC-7 prbru...@gmail.com wrote:
>>
>>> How do i manually update an existing wiki? I have a whole bunch of 
>>> embedded tiddlymaps and it really annoying to have to rebuild them all from 
>>> an empty wiki. Thanks!
>>
>>
>> https://tiddlywiki.com/prerelease/upgrade
>>
>> -e
>>
> -- 
> 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+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/08c1f160-3c69-4a04-9617-e4b6634a1fa9n%40googlegroups.com
>  
> 
> .
>
>

-- 
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/03aa4287-c60d-4f8a-9bc4-af204ecd10a4n%40googlegroups.com.


[tw5] Re: Type application/x-tiddler forced while importing .tid files

2020-11-13 Thread mauloop
@Joshua: done ( https://github.com/Jermolene/TiddlyWiki5/issues/5028  )
@Saq: if you're right my opened issue is useless, but I read your replay 
too late

Il giorno giovedì 12 novembre 2020 alle 23:20:55 UTC+1 joshua@gmail.com 
ha scritto:

> This behavior is also occurring on the current TW-5.1.23-prerelease live 
> on tiddlywiki.com/prerelease.
>
> Could you hop over to the github repo and file an issue?
>
> https://github.com/Jermolene/TiddlyWiki5/issues
>
> Best,
> Josh F
> On Thursday, November 12, 2020 at 2:27:14 AM UTC-8 mauloop wrote:
>
>> Hi, tw people.
>>
>> I just noticed a strange unexpected and unwanted behaviour. I imported 
>> some .tid files, which did not  have the type field set, in my wiki, by 
>> dragging the files from the Windows explorer into the TW5 browser view.
>>
>> After the import has completed the type was set to 
>> "application/x-tiddler". 
>>
>> Is this behaviour by design or is it a little bug? On the other side I 
>> wonder what "application/x-tiddler" type is intended for.
>>
>> Does someone here about have an answer? Not a critical issue, but a 
>> chance to learn something more.
>>
>> Platform: TW 5.1.21 + TiddlyServer 2.1.5 + Node.js 12.13.0 + Windows 10
>>
>> Thanks in advance,
>>
>> )+(au
>>
>

-- 
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/238a5392-689f-4186-b94a-700175c32280n%40googlegroups.com.


[tw5] Type application/x-tiddler forced while importing .tid files

2020-11-12 Thread mauloop
Hi, tw people.

I just noticed a strange unexpected and unwanted behaviour. I imported some 
.tid files, which did not  have the type field set, in my wiki, by dragging 
the files from the Windows explorer into the TW5 browser view.

After the import has completed the type was set to "application/x-tiddler". 

Is this behaviour by design or is it a little bug? On the other side I 
wonder what "application/x-tiddler" type is intended for.

Does someone here about have an answer? Not a critical issue, but a chance 
to learn something more.

Platform: TW 5.1.21 + TiddlyServer 2.1.5 + Node.js 12.13.0 + Windows 10

Thanks in advance,

)+(au

-- 
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/5b3a341e-46e6-45c2-a9b6-3f64238b8c54n%40googlegroups.com.


[tw5] Re: Question for TiddlyServer users

2020-04-29 Thread mauloop
Hi, Arlen.

TiddlyServer is great. I'm still running rel. 2.1.5. I run it with NSSM (
https://nssm.cc/), it means as a Windows service on Windows 10.

Here is the batch file (TiddlyServer215.cmd) used by the service to start 
Tiddlyserver:

@echo off


REM set TS_PATH=K:\MK\opt64\TiddlyServer-2.0.14
set TS_PATH=C:\Users\boero\MK\opt64\TiddlyServer-2.1.5
REM set NJS_PATH=K:\MK\opt64\node-v10.15.3
set NJS_PATH=C:\Users\boero\MK\opt64\node-v12.13.0


set PATH=%PATH%;%TS_PATH%;%NJS_PATH%


echo.
echo.
echo 
date /t
time /t


cd %TS_PATH%
node.exe server.js


@echo on


Here is NSSM config script:

@echo off
set PATH=%PATH%;K:\MK\opt64\nssm-2.24\win64


nssm install TiddlyServer215 K:\MK\bin\TiddlyServer215.cmd
REM nssm stop TiddlyServer215


REM Application tab 
===
nssm set TiddlyServer215 Application K:\MK\bin\TiddlyServer215.cmd
nssm set TiddlyServer215 AppDirectory K:\MK\bin\
REM nssm set TiddlyServer215 AppParameters server


REM Details tab 
===
nssm set TiddlyServer215 DisplayName "TiddlyServer 2.1.5"
nssm set TiddlyServer215 Description "Web server node.js based per istanze 
TW5 locali (rel. 2.1.5)"
REM nssm set TiddlyServer215 Start SERVICE_AUTO_START


REM Log on tab 

nssm set TiddlyServer215 ObjectName .\mauloop password
REM nssm set TiddlyServer215 Type SERVICE_WIN32_OWN_PROCESS


REM Dependencies 
==
REM nssm set TiddlyServer215 DependOnService MpsSvc


REM Process tab 
===
REM nssm set TiddlyServer215 AppPriority NORMAL_PRIORITY_CLASS
REM nssm set TiddlyServer215 AppNoConsole 0
REM nssm set TiddlyServer215 AppAffinity All


REM Shutdown tab 
==
REM nssm set TiddlyServer215 AppStopMethodSkip 0
REM nssm set TiddlyServer215 AppStopMethodConsole 1500
REM nssm set TiddlyServer215 AppStopMethodWindow 1500
REM nssm set TiddlyServer215 AppStopMethodThreads 1500


REM Exit actions tab 
==
REM nssm set TiddlyServer215 AppThrottle 1500
REM nssm set TiddlyServer215 AppExit Default Restart
REM nssm set TiddlyServer215 AppRestartDelay 0


REM I/O tab 
===
nssm set TiddlyServer215 AppStdout 
"K:\MK\log\TiddlyServer\TiddlyServer215.out"
nssm set TiddlyServer215 AppStderr 
"K:\MK\log\TiddlyServer\TiddlyServer215.out"


REM File rotation tab 
=
REM nssm set TiddlyServer215 AppStdoutCreationDisposition 4
REM nssm set TiddlyServer215 AppStderrCreationDisposition 4
nssm set TiddlyServer215 AppRotateFiles 1
REM nssm set TiddlyServer215 AppRotateOnline 0
REM nssm set TiddlyServer215 AppRotateSeconds 86400
nssm set TiddlyServer215 AppRotateBytes 10485760


REM Environment tab 
===
REM nssm set  AppEnvironmentExtra JAVA_HOME=C:\java


nssm start TiddlyServer215
@echo on

 
As you can see NSSM manages redirection of stdout/stderr to a log file as 
well as log rotation, hence *I do not use TiddlyServer built-in logging 
features*.

Regards, )+(

P.S.: I would like to mention @giuse-to work. I've infected him with 
Tiddlyvirus and he wrote a systemd startup integration for TiddlyServer: 
https://github.com/giuse-to/tiddlyserver-systemd-startup. 

-- 
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/f15e9ba1-25c4-4a6c-a9ed-84a4d632ede3%40googlegroups.com.


[tw5] Re: Taking Node Server to the next level

2019-12-02 Thread mauloop
Why not to reuse Tiddlyweb/Tiddlyspace work? 

   - It has MySQL backend
   - It is multiuser and allows concurrent editing
   - It has public and private spaces
   - It uses the standard Node.js sync-adaptor
   - It works with TWC as well

IMO it is a great piece of software. Not easy to set up. I did it on a 
local VM just to give it a try and Chris kindly helped me to solve some 
problems I fell into. I always feel bad when I see that good software falls 
into oblivion. Maybe it is not to be taken as is, but it could be a good 
starting point. Just to not reinvent the wheel.

Another thought is... this is an old paradigm. PMario's suggestion (DAT 
protocol) goes one step beyond, moving towards the p2p paradigm. I use 
Syncthing to keep my devices synced. Both (DAT and Syncthing, which, I 
think, uses QUIC behind the scenes) provides versioning, encryption and, 
last but not least, ... privacy!

TWedereation goes this direction too, isn't it?

I have no much developing skills to contribute, but I would be happy to 
help testing if needed.

)+(

-- 
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/cb3cdfd0-e05a-417a-a329-1281e2064ecb%40googlegroups.com.


Re: [tw5] Re: Announcing TiddlyServer 2.1 Stable

2019-09-11 Thread mauloop


Just set _datafoldertarget property in settings.json to whatever folder you 
> want to use. 
>

Just tested. It works. Thanks. Really a great job.

)+(

-- 
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/d32880c1-85ca-404e-8fa2-d54d181fc391%40googlegroups.com.


Re: [tw5] Re: Announcing TiddlyServer 2.1 Stable

2019-09-11 Thread mauloop
Hi, Arlen.

I would like to upgrade the TW version included in TiddlyServer to 5.1.21, 
which fixes lot of 5.1.20 bugs. I think I could simply download the new TW5 
rel from Github and replace the tidllywiki subfolder in the Tiddlyserver 
install dir.

I noticed that all of the plugins, themes, languages, as well as the core 
itself, provided with Tiddlyserver are packaged as bundles (the plugin.info 
files) that include the plugin metadata and all of the plugin tiddlers, 
while those coming from the official Github repo are made of folders 
containing many .tid files. I imagine that you choosed the bundle format 
due to some performance issues.

Is it correct? Should I care about this while upgrading TW5 rel? How can I 
repackage TW 5.1.21 as you do with the 5.1.20 included in Tiddlyserver?

Thanks in advance,

)+(

-- 
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/42630cef-8bb6-4100-b7c4-51b5e192e024%40googlegroups.com.


Re: [tw5] Re: TiddlyServer 2.1.2 beta

2019-08-28 Thread mauloop
Thanks for your replies. I started with a carbon copy of my 2.1.1 setting. 
Despite some warnings it started and seems to work fine.

Following are the warnings, raised while starting up. They are not 
blocking. I will take time to investigate them further before eventually 
open an issue on your Github repo. They look like syntax errors, not server 
bugs.

Regards, )+(

Settings file: K:\MK\opt64\TiddlyServer-2.1.2-beta\settings.json
Check server config result: {
  "putsaver": {
"expected": "expected an object with keys 
\"backupFolder\"?,\"etag\"?,\"etagAge\"?,\"gzipBackups\"?, , ",
"union_result": [
  {
"etag": "expected one string of 
[\"optional\",\"required\",\"disabled\"]"
  },
  false
]
  }
}
32 32 64 16
Check server config result: {
  "putsaver": {
"expected": "expected an object with keys 
\"backupFolder\"?,\"etag\"?,\"etagAge\"?,\"gzipBackups\"?, , ",
"union_result": [
  {
"etag": "expected one string of 
[\"optional\",\"required\",\"disabled\"]"
  },
  false
]
  }
}
Creating servers as http
 SERVER  2019-08-28 18:10:23 server 127.0.0.1 listening
Open your browser and type in one of the following:
http://127.0.0.1:6100



-- 
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/535d4057-2cd5-4ad3-891d-b8642691f93a%40googlegroups.com.


[tw5] Re: TiddlyServer 2.1.2 beta

2019-08-27 Thread mauloop
Dear Arlen,

I ran my wikis on 2.1.1 in the last four months with satisfaction. I was 
eager to update it to TW 5.1.20 (I was planning to do it by myself), hence 
TiddlyServer 2.1.2 is welcome. Just some questions:

   - can I simply copy settings.json from 2.1.1 to 2.1.2 (that I hardly 
   converted from 2.0 format to the new one) or should I revert it to the old 
   format?
   - what's the use of datafolder-template.json? It looks like a 
   tiddlywiki.info template
   - TW 5.1.21 is around the corner with some 5.1.20 bugs fixed. Is 
   TiddlyServer ready for a further TW update?

Best regards,

)+(auloop

-- 
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/0ff2005a-ad14-4779-9cdf-8805f500ceab%40googlegroups.com.


[tw5] Re: [TW5] how to make one "invisible" table

2019-06-15 Thread mauloop
An alternative syntax is:

```
|a|b|
|c|d|
|borderless|k
```

-- 
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/0fb03bbb-7d4d-4103-9753-535df37f20c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TagCloud plugin

2019-04-16 Thread mauloop
Believe it or not, it works on Chrome, but not on Firefox (where I tested 
it first). What a difficult life!!!

-- 
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/fc475fe8-1595-4807-b9af-b3cffcb8246e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TagCloud plugin

2019-04-16 Thread mauloop
@Birthe,

I noticed that wrapping the tag macro in a ButtonWidget, prevents the links 
in the tag-pills drop-down menus to work. I did not have a workaround by 
now. 

-- 
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/e780d992-a517-4b12-a808-d6448df13d75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TagCloud plugin

2019-04-16 Thread mauloop
Thanks, Birthe C. I like it. I changed the code in my wiki with your 
suggestion.
I could not ask more from a completed thread ;^)))

-- 
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/36f5f9c2-7dd0-4be7-a9c5-91930bf56fe0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TagCloud plugin

2019-04-16 Thread mauloop
The code from my previuos post has a side effect, that makes drop-down 
menus from tag-pills to have the same font-size than the tag-pill itself 
(the biggest ones are unreadable).
This one fix:

\define tag-pill-styles()
background-color:$(backgroundColor)$;
fill:$(foregroundColor)$;
color:$(foregroundColor)$;
font-size:calc(1em + (0.1em * $(count)$) / 5);
\end


<$list filter="""[tags[]!is[system]sort[title]]""">
<$vars count={{{ [all[current]tagging[]count[]] }}}>
<>




Basically the tag-pills-styles macro overrides the one from 
$:/core/macros/tag.

-- 
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/0be74615-cf0e-47ba-94bd-32f98428e962%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: TagCloud plugin

2019-04-16 Thread mauloop
Il giorno domenica 14 aprile 2019 04:13:30 UTC+2, Eric Shulman ha scritto:
>
> ...
> In TiddlyWiki5, you can actually generate a tag cloud without using any 
> plugins!
>
> Try this:
> ...
>
>
I was long waiting to find time to write my own TagCloud macro (I didn't 
know how, but I knew it was possible). Thanks, Eric, for your suggestion. I 
post my variation, that uses tag pills, in case someone could be interested 
in:

\define calcFontSize() font-size:calc(1em + (0.1em * $(count)$) / 5);


<$list filter="""[tags[]!is[system]sort[title]]""">
<$vars count={{{ [all[current]tagging[]count[]] }}}>
> >
<>





-- 
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/44f36d94-c006-4620-ac38-21d5c71fd5fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Same shadow tiddler in different plugins: a question about priority rules

2019-03-19 Thread mauloop
Dear TiddlyTweeter,

You are correct and JSON bundle could be a practical way to solve the issue 
once or few times.
Actually I have many wikis where I need to load the same customization. 
Therefore I need to maintain it in a single place and share with many 
wikis. I found two ways to achieve this goal:

   1. collecting all of the customizations in a separated wiki and then add 
   it to the includeWikis section in tiddliwiki.info of other wikis
   2. packing my customizations in a plugin, add it to the 
   tiddlywiki/plugins folder and load the plugins in other wikis via 
   tiddlywiki.info

The first one works without priority related issues, so it can be the right 
way. I still wanted to test option 2 and fell into to the issue related to 
this thread.  I'm insisting to discuss about priority policy because I 
found that maybe they could be improved and I was interested to know other 
group members opinion.

If I am right and the priority policy could be improved, why not? despite 
there is a valid alternative that fit my need.

On the other hand, any suggestion is welcome. Do you know any way, other 
than the ones I mentioned, to keep bundles in a single place and share them 
between other wikis?

Thanks for your patience, )+(

-- 
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/2fcd2376-64d9-495f-9444-38109466ee9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Same shadow tiddler in different plugins: a question about priority rules

2019-03-19 Thread mauloop
Last minute thought.

Why not to invert the logic in the core (two lines in the code of boot.js):

   1. core
   2. plugins with no priority defined in alphabetical order
   3. plugins with priority defined ordered ascending by priority

This way one would have the chance to force plugin precedence changing the 
priority of his own plugin, while now this isn't possible, unless renaming. 
 







-- 
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/f8ccf6b0-6487-4f8e-a823-7890e848af65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Same shadow tiddler in different plugins: a question about priority rules

2019-03-19 Thread mauloop
Hi Tony,

*Examine the changes both plugins make to the shadow tiddler and construct 
> a third that incorporates both changes and add it to your package so it is 
> applied last. This condition is only true when you use your package so it 
> makes sense.*
>

Your suggestion is good, but not very practical for my use case, even if 
the involved plugins are both self-made plugins. I keep plugins separated 
because some of them are intended for a general use (and hopefully one day 
I will share them with the wonderful folk of this group  ;^))), while other 
are intended as customizations for very specific implementations. Your 
approach leads to have many different plugins with similar features, making 
it hard to remember which one has the latest version of a certain tiddler.

Moreover, in some cases I had tiddlers overriding shadow tiddlers from 3rd 
party plugins. As an example, I changed the default view and edit template 
for fullscreen tiddler editor of Tiddlymap. I choose to pack my 
customization into plugin, to avoid the need to replicate the same tiddlers 
for all of the wikis where I need it. It worked because "felixhayashi" 
comes before "mau", but as you can see this is not guaranteed.

Tiddlymap does not define a plugin priority and this is the same for most 
of the non/core plugins. Therefore, forcing an high priority to my plugins 
is not the way (plugins without priority come after a priority 100). The 
only consistent approach I can imagine by now is to rename myself... 
zzmau!!!

It could be useful to have a chance to define a priority list (more or less 
as the lists in $:/tags/ViewTemplate or $:/tags/EditTemplate, which gives 
the order to load tiddlers components). Another way (closer to my use case) 
could be the order used to list plugins in tiddlywiki.info. 

Maybe this could be matter for a feature request. 

)+(

-- 
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/72505cce-bb99-4ba2-94c9-50904c765bfc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Same shadow tiddler in different plugins: a question about priority rules

2019-03-19 Thread mauloop
Thanks, Matt and Jed.  You've been very kind and exhaustive.

Now it's clear to me what happened and why I had to force priority for certain 
tiddlers and not for others.

Regards, )+(

-- 
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/706f5a4a-ea9f-4d9d-8ead-9c88ea43d799%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Same shadow tiddler in different plugins: a question about priority rules

2019-03-16 Thread mauloop
I have a bunch of tiddlers that I use to import in every new wiki I set up. 
Some of them overrides shadows tiddlers from the core as well as from other 
plugins. I decided to organize all of these into a new plugin saved in the 
tiddliwiki/plugins/mau folder, to serve all of my existing and coming wikis 
via tiddlywiki.info.

I found few cases where tiddlers overriding other shadows tiddlers were 
ignored and the active tiddler was the one coming from the original plugin. 
I solved forcing the plugin-priority. The question is: having a shadow 
tiddler stored twice, with the same title, in two different plugins, with 
no plugin-priority defined, how can I guess which one will be used to build 
the wiki? I wonder which the general rule is, since I had some cases where 
I needed to force plugin-priority and others which work as I expected, 
despite plugin-priority was not defined.

As I said, my case is node.js with plugins served via tiddlywiki.info, but 
I expect that a single file does not make difference. Or not?

Thanks in advance,

)+(

-- 
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/98f281f1-6b7e-4644-8f82-58efb718bdbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5-JsonManglerPlugin] v2.0.3 Update!

2019-03-03 Thread mauloop
I can't answer. I learned this trick observing other plugin.info files.

I was searching for a way to install plugins just once and serve all of my 
wikis. Unfortunately not all the plugins provide a node.js version as yours or 
if they do this is often not clearly documented or ready to use.

I set up my working environment creating plugin.info files for all of the 
plugins I mostly use. All I need is to export the plugin tiddler in a tid file 
and a shell with vi or sed or awk. I have no such Javascript experience to do 
it directly within Tiddlywiki, but I think it should not be too hard.

I did not investigate the opportunity to load other kind of json nor have the 
knowledge to explain the way it works.  

IMO this is one of the parts in Tiddlywiki documentation that should be 
improved. Maybe I could better open a dedicated thread. Sorry. It was me the 
first talking about plugin format in the space you opened to announce the 
wonderful JsonMangler. 

Thanks for your attention.

)+(

-- 
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/fd7b5da6-a1bc-4ec5-b7a9-c12ab955d785%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5-JsonManglerPlugin] v2.0.2 Update!

2019-02-24 Thread mauloop
I would be happy to help as a tester. Let me know if needed.

Bye, )+(

-- 
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/d8012044-8322-4801-a372-dc52c18ef54f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5-JsonManglerPlugin] v2.0.2 Update!

2019-02-23 Thread mauloop
Hi, Joshua.

I run into troubles running Tiddlywiki with both Tiddlymap and JsonMangler 
plugins. I tested three different setups:


   1. Tiddlywiki 5.1.19 on Node.js with plugins loaded via tiddlywiki.info
   2. Tiddlywiki 5.1.19 on Node.js with plugins addes as tid files 
   (dragging links to plugin tiddlers from the demo web sites)
   3. Tiddliwiki 5.1.19 as a local stand-alone html file

Both setups 1 and 2 don't work. As soon as I click on the map sidebar the 
following error is raised

[image: tmap+jsonmang-err1.JPG] 

After that clicking on any other tab results in an error like this one: 





[image: tmap+jsonmang-err2.JPG] 



These are the messages logged in the browser console in the meantime:

 TiddlyWebAdaptor: Getting status 
$:/core/modules/utils/logger.js:33  TiddlyWebAdaptor: Status: 
{"username":"","anonymous":true,"read_only":false,"space":{"recipe":"default"},"tiddlywiki_version":"5.1.19"}
 
$:/core/modules/utils/logger.js:33  syncer-browser-tiddlyweb: Retrieving 
skinny tiddler list 
2(index):1 Failed to load resource: the server responded with a status of 
404 (Not Found)
$:/core/modules/utils/logger.js:33  syncer-browser-tiddlyweb: Dispatching 
'save' task: $:/StoryList 
(index):11152 Uncaught TypeError: Cannot read property 'to' of undefined
$tw.utils.error @ (index):11152
$:/plugins/felixhayashi/tiddlymap/js/lib/utils/tmap:208 Uncaught TypeError: 
Cannot read property 'to' of undefined
at Object.groupByProperty 
($:/plugins/felixhayashi/tiddlymap/js/lib/utils/tmap:208)
at Adapter.getAdjacencyList 
($:/plugins/felixhayashi/tiddlymap/js/Adapter:215)
at Adapter.getNeighbours 
($:/plugins/felixhayashi/tiddlymap/js/Adapter:292)
at Adapter.getGraph ($:/plugins/felixhayashi/tiddlymap/js/Adapter:428)
at MapWidget.rebuildGraphData 
($:/plugins/felixhayashi/tiddlymap/js/widget/MapWidget:812)
at MapWidget.rebuildGraph 
($:/plugins/felixhayashi/tiddlymap/js/widget/MapWidget:752)
at MapWidget.initAndRenderGraph 
($:/plugins/felixhayashi/tiddlymap/js/widget/MapWidget:980)
at MapWidget.renderFullWidget 
($:/plugins/felixhayashi/tiddlymap/js/widget/MapWidget:462)
at MapWidget.render 
($:/plugins/felixhayashi/tiddlymap/js/widget/MapWidget:393)
at eval ($:/core/modules/widgets/widget.js:374)
$:/core/modules/utils/logger.js:33  syncer-browser-tiddlyweb: Retrieving 
skinny tiddler list 
(index):11152 Uncaught NotFoundError: Failed to execute 'insertBefore' on 
'Node': The node before which the new node is to be inserted is not a child 
of this node.
$tw.utils.error @ (index):11152
$:/core/modules/widgets/reveal.js:45 Uncaught DOMException: Failed to 
execute 'insertBefore' on 'Node': The node before which the new node is to 
be inserted is not a child of this node.
at RevealWidget.render ($:/core/modules/widgets/reveal.js:45:9)
at RevealWidget.Widget.refreshSelf 
($:/core/modules/widgets/widget.js:436:7)
at RevealWidget.refresh ($:/core/modules/widgets/reveal.js:193:10)
at eval ($:/core/modules/widgets/widget.js:446:27)
at Object.$tw.utils.each (http://localhost:8080/:11089:12)
at ListItemWidget.Widget.refreshChildren 
($:/core/modules/widgets/widget.js:445:12)
at ListItemWidget.refresh ($:/core/modules/widgets/list.js:317:14)
at ListWidget.handleListChanges ($:/core/modules/widgets/list.js:224:38)
at ListWidget.refresh ($:/core/modules/widgets/list.js:145:17)
at eval ($:/core/modules/widgets/widget.js:446:27)
$:/core/modules/utils/logger.js:33  syncer-browser-tiddlyweb: Retrieving 
skinny tiddler list 
$:/core/modules/utils/logger.js:33  syncer-browser-tiddlyweb: Retrieving 
skinny tiddler list 
$:/core/modules/utils/logger.js:33  syncer-browser-tiddlyweb: Retrieving 
skinny tiddler list 

Config 3 seems to be working. Unfortunately I work with many wikis served 
by Node.js and config 1 is my favourite. 

The wikis I used to test are fresh installation with no tiddlers other than 
the ones coming from the vanilla edition and the ones related to the 
plugins. Every test has been executed following the same steps in this 
order:


   1. install Tiddlymap (with dependencies)
   2. Reload both server and browser page
   3. Open the map sidebar tab
   4. Switch some times between default and live view
   5. Install JsonMangler (with dependencies)
   6. Repeat steps 2-4

In all of the tests, troubles came up after step 5 (actually I am a long 
time user of Tiddlymap on Noder.js and I have never seen a behaviour like 
this before).

I also tried to remove Tiddlymap end reinstall it after Jsonmangler. It did 
not solve, but the TM plugin raised the "first run message" popup every 
time I reload the browser, despite I always  clicked the OK button.

These are all of the infoes I was able to collect. I have no much JS 
developing experience to debug further. It is very frustrating since 
JsonMangler is very promising and could help me a lot. I hope @felixhayashi 
will be notified of this thread, since he could probably give us s

[tw5] Re: [TW5-JsonManglerPlugin] v2.0.2 Update!

2019-02-20 Thread mauloop
Dear Joshua,

I appreciated very much your work, since I'm building a wiki which heavily 
makes use of JSON data tiddler, and I was investigating for a way to deal 
with nested JSON object. I just started to experiment with your plugin, but 
it looks like the ideal answer for my need. Thanks a lot.

I have just a minor question (by now :))). As from your post (and the 
HelloThere tiddler in your demo wiki as well) the plugin should be rel. 
2.0.2. But the version field of the plugin tiddler says rel. 2.0.1. Are 
there any changes still waiting to be commited or maybe was it just a typo, 
either in the plugin header or in this post?

-- 
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/e3ad130b-40b0-44df-9389-d62a640bd747%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: A question about JSON and META files

2019-01-08 Thread mauloop
As a workaround I created a custom exporter:

title: $:/.mau/exporters/json
description: Export text as JSON
extension: .json

\define renderContent()
{{{ $(exportFilter)$ +[limit[1]] ||$:/.mau/templates/json}}}
\end
<$importvariables filter="[[$:/core/ui/PageMacros]] 
[all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]"><>

title: $:/.mau/templates/json

<$view field="text" format="plainwikified" />

It works, but is not exactly the same as I was looking for. 

   - First, it is not autonomous. It  requires the user to click a button 
   to trigger the export
   - It is not exactly a json exporter, but a "text only" exporter. It 
   exports just the text field, despite its content. Applied to an 
   "application/json" tiddler it actually creates a JSON file.

I use this button to trigger the export:

title: $:/.mau/json-export-button

<$button class="tc-btn-invisible tc-tiddlylink">
{{$:/core/images/export-button}} Export text as JSON
<$action-sendmessage $message="tm-download-file" 
$param="$:/.mau/exporters/json" exportFilter="""[[sample.json]]""" 
filename="sample.json"/>


And this is the sample.json I used to test the exporter:

title: sample.json
type: application/json

{
"album": "The Dark Side of the Moon",
"artist": "Pink Floyd",
"year": "1973",
"tracks": [
"Speak to Me",
"Breathe",
"On the Run",
"Time",
"The Great Gig in the Sky",
"Money",
"Us and Them",
"Any Colour You Like",
"Brain Damage",
"Eclipse"
]
}

Happy to share this workaround with the community. Still searching for a 
way to save "application/json" tiddlers as .JSON + .JSON.META.  Any idea? 
Maybe some options in tiddlywiki.info?

Thanks,

)+(

-- 
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/8af24587-27c6-4f7c-9f5f-9cbc04ba4d3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: A question about JSON and META files

2019-01-08 Thread mauloop
As a workaround I created a custom exporter:

title: $:/.mau/exporters/json
description: Export text as JSON
extension: .json

\define renderContent()
{{{ $(exportFilter)$ +[limit[1]] ||$:/.mau/templates/json}}}
\end
<$importvariables filter="[[$:/core/ui/PageMacros]] 
[all[shadows+tiddlers]tag[$:/tags/Macro]!has[draft.of]]"><>

title: $:/.mau/templates/json

<$view field="text" format="plainwikified" />

It works, but it is not exactly what I was looking for.

   - First, it is not autonomous. It requires the user to click a button to 
   trigger the export.
   - It is not exactly a json exporter, but a "text only" exporter. It 
   exports just the text field, despite its content. Applied to an 
   "application/json" tiddler it actually creates a JSON file.

I use this button to trigger the export:

title: $:/.mau/json-export-button

<$button class="tc-btn-invisible tc-tiddlylink">
{{$:/core/images/export-button}} Export text as JSON
<$action-sendmessage $message="tm-download-file" 
$param="$:/.mau/exporters/json" exportFilter="""[[sample.json]]""" 
filename="sample.json"/>


And this is the sample.json I used to test the exporter:

title: sample.json
type: application/json

{
"album": "The Dark Side of the Moon",
"artist": "Pink Floyd",
"year": "1973",
"tracks": [
"Speak to Me",
"Breathe",
"On the Run",
"Time",
"The Great Gig in the Sky",
"Money",
"Us and Them",
"Any Colour You Like",
"Brain Damage",
"Eclipse"
]
}

Happy to share this workaround with the community. Still searching for a 
way to save "application/json" tiddler as .JSON + .JSON.META. Any idea? 
Maybe some options in tiddlywiki.info?

Thanks,

)+(

-- 
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/e3c9689a-debe-4453-aa2e-068f7c058e35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] A question about JSON and META files

2019-01-07 Thread mauloop
Hi sirs, and wish you a Happy New Year (a little bit late for greetings but 
this is my first post in 2019).

Does anyone know if there is a way to force Tiddlywiki (running on Node.js) 
to save .JSON + .JSON.META files instead of a single .TID file, when 
creating tiddlers with type = "application/json"?

I need to create JSON files which in turns should feed another application, 
so I'd like that Tiddlywiki related stuff was saved apart, since it is not 
useful for the receiving app.

Thanks in advance,

)+(

-- 
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/4ea87b2a-2971-4ecd-ac47-aafe9b877385%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Compare two variables for equality and inequality

2018-11-10 Thread mauloop
Hi, Tony.

Thanks for your post. It raised a very interesting thread. I learned a lot 
reading it.
 

>  *but that would be nice to replace 
> {{$:/PSaT/wikimanager/wiki-tiddler##wiki-title}} with <> but 
> it does not work*
>

It's true. I tested exactly your examples, even if I already knew you was 
right, since I experienced something similar many times. It is frustrating 
to have "variables" that sometimes work as expected and sometimes not.

I learned that "variables" defined by wikitext macros are merely text 
substitutions. I though that they were wikified or not  it depends on the 
context (ie: in the tiddler body they are wikified while as a widget param 
values they are not)

Having "$:/PSaT/wikimanager/wiki-tiddler##wiki-title" and "!!wiki-owner" 
set to the same value I tested the following:

title: $:/PSaT/wikimanager/wiki-tiddler
type: application/x-tiddler-dictionary


wiki-title: mau

title: Compare lab
wiki-owner: mau


\define currentWiki() {{$:/PSaT/wikimanager/wiki-tiddler##wiki-title}}



!!currentWiki macro output


<>



!!Using field reference


<$reveal type="match" default={{!!wiki-owner}} text={{$:/PSaT/wikimanager/
wiki-tiddler##wiki-title}}>
   Match



<$reveal type="nomatch" default={{!!wiki-owner}} text={{$:/PSaT/wikimanager/
wiki-tiddler##wiki-title}}>
   No Match




!!Using currentWiki macro


<$reveal type="match" default={{!!wiki-owner}} text=<> >
   Match



<$reveal type="nomatch" default={{!!wiki-owner}} text=<> >
   No Match




!!Using set widget


<$set name="currentWiki" value={{$:/PSaT/wikimanager/wiki-tiddler
##wiki-title}}>


<$reveal type="match" default={{!!wiki-owner}} text=<> >
   Match



<$reveal type="nomatch" default={{!!wiki-owner}} text=<> >
   No Match







!!Using set widget + currentWiki macro


<$set name="currentWiki" value=<> >


<$reveal type="match" default={{!!wiki-owner}} text=<> >
   Match



<$reveal type="nomatch" default={{!!wiki-owner}} text=<> >
   No Match





"Compare lab" tiddler shows the following output:

[image: compare.JPG]

I don't understand Jeremy explanation:

*You should only use <> to render a global macro if you want 
the content of the macro to be wikified.*

It seems that in the previous examples it is not always true.

I also would like to find a best practice, I mean a consistent approach to 
deal with "variables".

-- 
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/9471e63a-ce94-41e3-983d-05356d5d2f4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Is there a TiddlyWiki Tiddler Outlook extension.

2018-10-21 Thread mauloop
Don't know if this could help. There is an open source app, based on 
Tiddlywiki Classic, that integrates into Outlook: 
http://www.jello-dashboard.net/.
 
I also tried to use TW5 empty.html as an Outlook folder homepage. It worked 
fine and saved changes. To make it able to interact with Outlook 
environment as Jello does, Outlook API knowledge is required. I don't have 
such, so I stopped my experiments.

-- 
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/c95e74a7-fc6d-4b08-821d-9b4ff0fab3ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Help with Tinka Plugin requested

2018-10-16 Thread mauloop
I just solved the "Recursive transclusion error" returned by my macro after 
it has been packed in a plugin. Thanks a lot to TonyM. You're suggestions 
forced me to keep digging further, while I was giving up.


The fact was that I initialize my environment with:

<$importvariables filter="[tag[$:/tags/tblMacro]]">

which results in an empty list if the tiddler tagged "$:/tags/tblMacro" are 
shadow tiddlers. Simply changing the filter to:

<$importvariables filter="[all[shadows+tiddlers]tag[$:/tags/tblMacro]
!has[draft.of]]">

Clearly the solving part is "all[shadows+tiddlers]". I added the "
!has[draft.of]" part to prevent me to be here tomorrow posting for help 
request again ;^)))

Regards,

)+(

-- 
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/ad523f8b-a633-43d9-a796-026be44759e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Help with Tinka Plugin requested

2018-10-16 Thread mauloop
Hi Tony,

Thanks for your suggestion. I will try that way.

Regards, )+(

-- 
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/67ffc6e0-67f5-45ed-b8a9-3163dd99fd85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] [TW5] Help with Tinka Plugin requested

2018-10-15 Thread mauloop
I've done some work I would like to pack as a plugin. I tried with Tinka. 
The packing steps work fine, but after having the wiki relodead and the 
single tiddlers of the plugin substituted by the plugin itself, the macro 
that should run everything returns a "recursive transclusion error".

It worked correctly before I packed the tiddlers into the plugin. Is there 
anyone that could help me to understand where I was wrong?

The wiki I'm working on is here: https://mauloop.github.io/tw5-table-tool/
The tiddlers building the plugin are all those tagged TableToolPlugin.

Thanks in advance,

)+(

-- 
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/28dc2b55-8d87-4ad9-b5fc-28a8698b9202%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] Modals and footer: macros don't work in footer (maybe)

2018-08-31 Thread mauloop
Thanks for the explanation, Jeremy. I don't understand the rendering 
mechanism very well, and this is the cause of most of my mistakes. I have 
to study hard :(((

The previous examples was just to show the behaviour I was investigating, 
but it was almost useless. Here is a real (somewhat simplified) use case.


   - The "Done" button should appear only if all of the fields in the form 
   are filled.
   - In my scenario the number and the names of fields to check could 
   change (unpredictable)
   

Just drag'n'drop the attached json on tiddlywiki.com and open "My Tiddler" 
to test. Using the workaround as from my last post I should pass all of the 
needed macros as params to the tm-modal message. A little bit garbled but 
it works. It would be nice if there was an easiest way to achieve the same 
result.

Best regards,

)+(au

-- 
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/19001671-5a56-4c50-b4b6-b93d011c2f7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


MyModalExample.json
Description: application/json


[tw5] Re: [TW5] Modals and footer: macros don't work in footer (maybe)

2018-08-30 Thread mauloop
Don't ask me why, it works this way:

title: My Tiddler

\define btn() <$button 
message="tm-close-tiddler">{{$:/core/images/done-button}}

<$button>
My Modal
<$action-sendmessage $message="tm-modal" $param="My Modal"  btn=<> />


title: My Modal
footer: <><$button 
message="tm-close-tiddler">{{$:/core/images/close-button}}

!It works

Still searching for someone who helps me to understand.

)+(au

-- 
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/ac1abfef-64dc-4c7c-bb4d-402bdba8741f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] [TW5] Modals and footer: macros don't work in footer (maybe)

2018-08-30 Thread mauloop
Someone can help me to understand this behaviour?

Let's have the following tiddlers:

title: My Tiddler

<$button>
My Modal
<$action-sendmessage $message="tm-modal" $param="My Modal" />



title: My Modal
footer: <><$button 
message="tm-close-tiddler">{{$:/core/images/close-button}}

\define btn() <$button 
message="tm-close-tiddler">{{$:/core/images/done-button}}

<>

I should have two buttons in the footer of My Modal, a "Done" button and a 
"Cancel" button, but the first one, that is defined using a macro, does not 
appear. Just the "Cancel" button is visible.

I put the same macro in My Modal body as well, just to test that it works. 
I knew that footer content is wikified and I see that it really is, since 
the Button widget used for the "Cancel" button works. It looks like there 
are some issues parsing a macro included in the footer field. Or maybe the 
only issue it's me.

BTW: 
Using a Macrocall widget does not solve. 
I tested the described scenario on tiddlywiki.com

Any suggestion? Thanks,

)+(au

-- 
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/39dbc364-8c92-40f7-8d33-a7e0d3360d4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: How to extract part of a field and sort extracted stuff

2018-07-17 Thread mauloop
Recently I had a need quite close to your use case. I tried to adapt my 
solution to your case. It uses just vanilla TW features. Take it just as an 
exercise. Mark S. solution is more elegant than mine. 

\define list-all-codes()
<$set name="f" filter="""[has[veld]get[veld]]""">
<$wikify name="ac" text=<>>
<$list filter="""[enlist!suffix[,]] [enlistremovesuffix[,]] 
+[sort[]]""" variable="c">
<>



\end

\define get-codes-by-prefix(p)
<$wikify name="ac" text=<> >
<$list filter="""[enlistregexp[^$p$\d\d\d,*]]""" variable="pc">
<>


\end

\define build-code-table(p)


Cxyz
Name of tiddler
Content of `veld`

<$wikify name="pc" text=<> >
<$list filter="""[enlist]""" variable="c">
<$list filter="""[search:veld]""" variable="t">

<>
<>
{{{[get[veld]]}}}



 

\end

Here is an example output for macro <>:

1945- 1946- 1947- 1948- 1950- 1958- 20 A835 A878 A879 C801 C803 C804 D D801 
D804D806 F812 FY54 G16 J5 J6 JT5 JT6 KL1 KV1 M832 M863 MV7 O2 O28 P336 S812

Here is an example output for macro <>:

C801 C803 C804

Here is an example output for macro <>:

CxyzName of tiddlerContent of veld
C801 tiddler4 C801 
C803 tiddler5 D 20, 1946- KL1, 1947- KV1, 1950- C803, A879 

C804 tiddler1 C804, A878 


Here is an example output for macro <>:

CxyzName of tiddlerContent of veld
D801 tiddler10 D801 A835 
D801 tiddler3 M832 D801 
D804 tiddler6 J6, 1947- JT6, 1950- D804, 1958- F812 

D806 tiddler2 G16, 1945- J5, 1947- JT5, 1950- D806 


-- 
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/b6bd845d-d1dd-4ea5-818f-1f480278e4c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5 + Noteself] How to set up Noteself multiuser?

2018-06-18 Thread mauloop
No, I didn't. Good news. Thanks for the update.

Il giorno lunedì 18 giugno 2018 17:56:03 UTC+2, @TiddlyTweeter ha scritto:
>
> mauloop 
>
> Did you know NoteSelf has a dedicated forum now at: 
> https://forum.noteself.org/
>
> 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/49ae9572-a327-47d9-bb09-9e3cb2890fb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5 + Noteself] How to set up Noteself multiuser?

2018-06-18 Thread mauloop
I had a look at your guide. Thanks for sharing that. Well written 
and exhaustive. I hope I'll have a chance to share mine with you, if I 
would ever have something to share. I play with Tiddlywiki in my spare time 
as well. 

-- 
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/fd9fe5af-6f80-4d41-bcf8-3ed0243dc850%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] [TW5 + Noteself] How to set up Noteself multiuser?

2018-06-14 Thread mauloop
I'd like to test the Noteself multiuser configuration, as from this post 
,
 
but I don't know how to use the tool. I mean, it first asks for Cloudant 
account credentials. This question was probably a simple one at the 
beginning, but things are a little bit more complicated today, due to the 
mix of IBM Cloud Foundry settings and more specifics Bluemix CouchDB 
settings.

I tried with both:

- IBM/Bluemix console userid/password
- CouchDB user (the same long alphanum strings found in the db URL), but 
what password?

I tried the alphanum string both with and without the "`-bluemix`" suffix, 
and some more esoteric mix of user/password. Can anyone please help me 
about this? I also asked Danielo on the Github project page, but I think he 
should be very busy. Maybe someone else here has experienced and hopefully 
solved this issue.

P.S.: just to avoid a misunderstanding. I succesfully did setup a Cloudant 
account and sync a db using Noteself online version. Everything seems to 
work correctly. My question is just related to the tricks needed for a 
multiuser config.

-- 
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/ecf48726-7230-45a5-9e08-bdd734164002%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] undeletable tiddlers on node.js

2017-11-04 Thread mauloop
Anyone else with an idea about this behaviour? Where was I wrong?
Unfortunately I am not able to set up a public node.js based demo, but it 
should be easy to reproduce.

Unless it affects just my wiki of course :^(((

-- 
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/2fd3147a-b644-4a64-acb5-7f9840a5155e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] ViewTemplate strange behaviour

2017-11-04 Thread mauloop
Finally I was able to make your typestemplate working. If I would have it 
before it would have saved a lot of work to me.
I did something similar, even if with wiki syntax macros only. If you would 
like to take a look here it is 
<https://mauloop.github.io/tw5-custom-templates/>

Thanks for your help.

)+(auloop

Il giorno mercoledì 1 novembre 2017 19:50:44 UTC+1, BJ ha scritto:
>
> I've put a demo here:
>
> http://typestemplatedemo.tiddlyspot.com/
>
> On Wednesday, November 1, 2017 at 12:48:29 AM UTC+1, mauloop wrote:
>>
>> @BJ
>> Still cannot make your typestemplate plugin work. I tried it directly on 
>> your site. Maybe for this I should better open a new thread.
>>
>

-- 
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/4c3adb24-df98-480a-af6f-3a250b235be5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] ViewTemplate strange behaviour

2017-11-03 Thread mauloop
I'll try it asap.

Il giorno mercoledì 1 novembre 2017 19:50:44 UTC+1, BJ ha scritto:
>
> I've put a demo here:
>
> http://typestemplatedemo.tiddlyspot.com/
>
> On Wednesday, November 1, 2017 at 12:48:29 AM UTC+1, mauloop wrote:
>>
>> @BJ
>> Still cannot make your typestemplate plugin work. I tried it directly on 
>> your site. Maybe for this I should better open a new thread.
>>
>

-- 
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/83aa9cba-2037-4ccb-807a-dfc94648f34c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] ViewTemplate strange behaviour

2017-11-03 Thread mauloop
Hi, Mario.


Yea, ... You found a rare behaviour, that I did also experience some time 
> ago, ...
>

It makes me happy to know that I am not the only one that sometimes break 
the toy.

 
 

> At tiddlywiki.com there are 3 story-views
>
>  - classic (default)
>  - pop
>  - zooming
>
> Each of them treat "showing, removing, scrolling" tiddlers in a slightly 
> different way. ... There are several other plugins.
>
>
This could be an explanation for the following.


 

> I first found something similar on a wiki I was working on, with a little 
>> different result. In that case I had a  *working* custom ViewTemplate 
>> with more changes and I inserted some newline to make the code more 
>> readable. When I saved the "beautified" ViewTemplate it happened that 
>> clicking on any link raised a Javascript error.
>>
>> TypeError: this.getLastFrame(...).getBoundingClientRect is not a function
>>
>
> This shouldn't happen, because there are several "stranger" tests along 
> the line. The point is. We can't navigate to whitespace, because the 
> browser API doesn't provide enough info. We can only navigate to "wrapping" 
> DOM elements. 
>
>
The fact is that on my own wiki I was using an alternate story-view: 
TopStoryView  from 
@felixhayashi Tiddlymap site . I was with this setup 
while experimenting the Javascript error, while the same ViewTemplate 
change, applied in the Tiddlywiki site with classic story view, resulted in 
an abnormal scrolling behaviour, but no errors.



In any case I go back home with a lesson learned: think twice before 
attempt to restyle someone else code ;^)))

I need to work hard before I will be able to deal with js event handling, 
fallthrough and bubbling mechanism and the whole DOM logic. Maybe I'll do 
it. In the meantime Tiddlywiki give me a chance to get little results, even 
if I still have a lot to learn.



Thank you for your support and the clear explanation.

-- 
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/cf849766-4f05-4ddb-92e3-8a9c075cde48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] ViewTemplate strange behaviour

2017-11-01 Thread mauloop
Hi, Mario.

Thanks for your several answers. I'm reading them on my phone, that is not much 
comfortable. 

I plan to come back soon to review everything carefully and look at the 
threads, videos and other resources that you suggested. 

But I can't wait to thank you for your kindness and express my admiration for 
your skill. You are a mine of knowledge.

I've already posted here in the past and every time I found kind people that 
spended some of their time for me. Thanks to everyone.

)+(auloop

-- 
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/6d5130f2-3b70-4663-9772-856d815c3a10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] ViewTemplate strange behaviour

2017-10-31 Thread mauloop
@BJ
Still cannot make your typestemplate plugin work. I tried it directly on 
your site. Maybe for this I should better open a new thread.

-- 
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/de601b09-5b6f-405e-8d83-1ba73ecd4e0c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] undeletable tiddlers on node.js

2017-10-31 Thread mauloop
You're right, but this make no sense for me.

I tested two different options:

   1. <$action-setfield $tiddler=<> tags={{!!title}} text="I will never die"/>
   2. <$action-listops $tiddler=<> $tags=[{!!title}]/>
   
The first one is the same of my first post, with a text added and, despite 
what text says, the tiddler has been regularly deleted
The second one uses the correct action widget to set tags, but has no text 
added. The generated tiddler has the same zombie behaviour that I described 
in the first post.

If I manually create a tiddler with no text, it could be deleted whenever I 
want. What is the difference? They actually disappears from the "Recent" 
tab when I delete them, but the .tid file is stiil there and they will be 
back as soon as node.js refresh the tiddler list

[2017-10-31T21:57:49.929+-100] GET 200 127.0.0.1 
/twlab/twnode/recipes/default/tiddlers.json 9.748 ms - -

Does not is text a field like anyone else? Why could it be sometimes empty 
and sometimes not? I'm getting convinced that this is really matter of 
ghosts.

-- 
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/afa51db9-9631-4f19-8e08-47aaff00de11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] ViewTemplate strange behaviour

2017-10-31 Thread mauloop
Why not?

Probably I will be burned as an heretic, but I have already overwritten the 
$:/core/ui/PageTemplate. This let me have custom view and edit templates, 
dinamically selected based on a tiddler field. It works for me (at least it 
seems to work since about one week ago, that is when I did it). What's 
wrong in this?

However I appreciate very much your suggestions. Thanks for the attention.

)+(auloop

-- 
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/7bca9940-cce7-467c-b2ef-3cd011772831%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] undeletable tiddlers on node.js

2017-10-31 Thread mauloop
The tiddler name was just an example. It happens with every tiddler created 
with the "Make new ghost child" button. if I create one manually it has no 
problem.
The ones created with the button should be tagged [[You will never kill my 
children]], but the <$action-setfield> set the tags field to [[You]] 
[[will]] [[never]] [[kill]] [[my]] [[children]].

This is where I was wrong. I think that (in a way I can't explain) the 
node.js get confused when I create the "ghosts" with the button. Or maybe 
it's just me to get confused. ;^)))

-- 
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/38d81507-41ad-4a28-91db-1fbdc3147f8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] ViewTemplate strange behaviour

2017-10-31 Thread mauloop
I hope I will find the time to learn more about HTML IDs. But the fact is 
(by the point of view of an absolutely HTML newbye, that is just what I am) 
that i simply clicked between two tags and pressed the ENTER key, unaware 
of IDs, links mechanism and all that stuff.

I think that having the chance to override the shadows tiddler to customize 
the wiki to own's taste is a great feature. This combined with macros and 
widgets gives to people like me the opportunity to build a wiki that fit 
exactly their needs. But if one falls in troubles with strange behaviour 
like this there could be chances that  one gives away thinking the work is 
to hard for him.

I spent about an hour rolling back my changes one by one to find the trick. 
:^(((


-- 
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/6f6bb06b-0a4a-4ad6-9709-c9ffd4439f75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] undeletable tiddlers on node.js

2017-10-31 Thread mauloop
One more info.

I saw that closing the TW5 browser tab and opening a new one let me delete 
the ghost* tiddlers, without node.js restart. It still seems to be a buggy 
behaviour.

-- 
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/7f053bd3-96c8-439a-8e93-850a081ed450%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] ViewTemplate strange behaviour

2017-10-31 Thread mauloop
Thanks, Mark. I am not experienced with HTML, nor with CSS. Every answer is 
chance for me to learn something.

-- 
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/f94c29b4-1450-42fc-99b5-809d8ee5f1d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] undeletable tiddlers on node.js

2017-10-31 Thread mauloop
This could be a little TW5 node.js backend bug.

On a TW running on node.js create a tiddler with like this:
tags: 
title: You will never kill my children
type: text/vnd.tiddlywiki

<$button>Make new ghost child
<$action-setfield $tiddler=<> tags={{!!title}}/>


<$list filter="""[tag{!!title}]"""/>

I used the wrong action widget, I know. I realized it later. 
<$action-listops> with $tags attribute, is the better choice. Anyway I did 
it wrong.

This is an example of the tiddler created if I click the button:
created: 20171031165714381
modified: 20171031165715512
revision: 1
tags: You will never kill my children
title: ghost-child 2017-10-31 17:57:14
type: text/vnd.tiddlywiki

Since the tags are wrong *I would delete it, but I can't (unless I restart 
node.js)*. If I try to delete the tiddler it reappears at the top of the 
"Recent" tab after few seconds.

If I have a look at the filesystem I see that *the tiddler file has never 
been removed*. 

Looking at the node.js messages...

This is when I clicked the button (I did grep the lines containing the 
string "ghost"):
[2017-10-31T17:57:15.516+-100] PUT 204 127.0.0.1 
/twlab/twnode/recipes/default/tiddlers/ghost-child%202017-10-31%2017%3A57%3A14 
6.845 ms - -
syncer-server-filesystem: Dispatching 'save' task: ghost-child 2017-10-31 
17:57:14
For ghost-child 2017-10-31 17:57:14, type is application/x-tiddler 
hasMetaFile is false filepath is 
O:\Dropbox\lab\tw\twlab\twnode\tiddlers\ghost-child 2017-10-31 17_57_14.tid
FileSystem: Saved file O:\Dropbox\lab\tw\twlab\twnode\tiddlers\ghost-child 
2017-10-31 17_57_14.tid
syncer-server-filesystem: Dispatching 'load' task: ghost-child 2017-10-31 
17:57:14

This is when opened the tiddler to view it:
[2017-10-31T17:57:58.789+-100] GET 200 127.0.0.1 
/twlab/twnode/recipes/default/tiddlers/ghost-child%202017-10-31%2017%3A57%3A14 
3.830 ms - -

No messages appears if I delete it (I expected a "Dispatching 'delete' task
".)

Obviuosly this affects only TW5 node.js. I tried with two different version 
of node.js (6.9.1 and 6.11.3).
TW version is 5.1.14.
I run it on Windows 10.

-- 
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/201746be-df76-411a-b3bd-593a19dd046e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] ViewTemplate strange behaviour

2017-10-31 Thread mauloop
Is there someone here about that could help me to understand the reasons 
for the behaviour I described?
And also the meaning of <$tiddler tiddler=<>>?

-- 
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/5a1b38f1-64e7-4af2-a9e2-211383137a3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] ViewTemplate strange behaviour

2017-10-27 Thread mauloop
I run one more test on tiddlywiki.com

Changed all the stuff in the ViewTemplate from:

\define frame-classes()
tc-tiddler-frame tc-tiddler-view-frame $(missingTiddlerClass)$ 
$(shadowTiddlerClass)$ $(systemTiddlerClass)$ $(tiddlerTagClasses)$
\end
\define folded-state()
$:/state/folded/$(currentTiddler)$
\end
<$set name="storyTiddler" value=<>><$set 
name="tiddlerInfoState" value=<>><$tiddler tiddler=<<$list 
filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" 
variable="listItem"><$transclude tiddler=<>/>



to (just added some newline):

\define frame-classes()
tc-tiddler-frame tc-tiddler-view-frame $(missingTiddlerClass)$ 
$(shadowTiddlerClass)$ $(systemTiddlerClass)$ $(tiddlerTagClasses)$
\end

\define folded-state()
$:/state/folded/$(currentTiddler)$
\end

<$set name="storyTiddler" value=<>><$set 
name="tiddlerInfoState" value=<>><$tiddler tiddler=<
<$list 
filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" 
variable="listItem">
<$transclude tiddler=<>/>







It is no possible to separate with any kind  of blank (I tried newline and 
space) the two SetWidget, the TiddlerWidget and the Div. It is still 
possible, as usual, to insert newlines between the opening and closing tag 
brackets (<>).

I can survive with this. I just would like to understand why.

-- 
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/af80afc8-920e-487d-ae35-1f5d1d54ef73%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] ViewTemplate strange behaviour

2017-10-27 Thread mauloop
I was playing with $:/core/ui/ViewTemplate in search of ways to change the 
tiddlers' look while I encountered something strange. It can be easily 
reproduced online on tiddlywiki.com site.


   1. Go to http://tiddlywiki.com/
   2. Edit the shadow tiddler $:/core/ui/ViewTemplate
   3. Find the opening  tag, immediately following the <$tiddler> 
   widget declaration
   ...<$tiddler tiddler=<...
   
   4. Place the cursor between the <$tiddler> and the  and insert a 
   newline
   ...<$tiddler tiddler=<>>
   >>...
   
   5. Save and close, overwriting the shadow tiddler

Now click on any link in the page (both in the story or in the sidebar): it 
seems that tiddlers are opened, but the page doesn't scroll to the clicked 
tiddler. Il looks very strange to me that simply adding a newline could 
change the wiki behaviour. 

I first found something similar on a wiki I was working on, with a little 
different result. In that case I had a  *working* custom ViewTemplate with 
more changes and I inserted some newline to make the code more readable. 
When I saved the "beautified" ViewTemplate it happened that clicking on any 
link raised a Javascript error.

TypeError: this.getLastFrame(...).getBoundingClientRect is not a function

I rolled back my newline one by one, until I came to this and the error was 
fixed. So I decided to test it on the Tiddlywiki site to see if it was just 
because of my changes. As I said on the site the behaviour is also 
unexpected, even if a little bit different.

I was wandering why the ViewTemplate code has been written on a single 
line. Now I realize that maybe it was for a reason like this.

Also I don't understand the meaning of:

<$tiddler tiddler=<>>

since the TiddlerWidget reference tells: *The TiddlerWidget 
 is used to set a value for the 
current tiddler  variable.* I 
fell in a loop. Please, help me.

-- 
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/19237821-0693-4d28-8b36-78af0b78daf3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: can we still create a couchdb instance on cloudant

2017-08-21 Thread mauloop
I'm syncing Noteself with https://cloudno.de/. It works fine and has a free 
plan.

-- 
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/bc3194ac-9724-49e9-9fc8-44aef3ebc20f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Using conditional assignment mode of SetWidget to check empty strings

2017-07-13 Thread mauloop
Thank you, Thomas. That's an interesting approach.

I see that filters are intended to provide sequences of (supposed) titles 
and count them. [[$test$]] probably is recognised as a list of 1 (empty) 
title, while [[x]suffix[]] or [enlist[]] evaluate to lists of 0 elements.

I had to test the string in a macro that recursively called itself. For 
that purpose, assuming that I cannot previously know the number of 
recursions, Mat's solution il less sophisticated, but maybe it performs 
better.

P.S.: I discovered your TW5 Hacks Tiddlywiki just few days ago and 
immediatly bookmarked it, Lots of useful suggestions. Titles with numbers 
and IfAisB impressed me. Thanks for sharing.

-- 
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/726575da-c9d4-4a57-b83b-e8092e5b8cef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Using conditional assignment mode of SetWidget to check empty strings

2017-07-12 Thread mauloop
Thanks, Mat. Your way is easier than mine. 

It means that evaluating *$arg$* as a list, a blank is considered as an 
empty list.

-- 
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/ec580ec7-71b1-47c1-b0bf-3a0c89b7b87b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Using conditional assignment mode of SetWidget to check empty strings

2017-07-11 Thread mauloop


I was in need of checking if a macro parameter was empty. The following is 
a extremely simplified version of the actual code:


\define isStringEmpty(str)
<$set name="answer" filter="""$str$""" value="no" emptyValue="yes">
<>

\end


The result was not as I expected:


Macro call Result
<> no
<> no


After a lot of attempts I realized that this one: <$set name="answer" 
filter="" value="no" emptyValue="yes">

... behaves just like: <$set name="answer" value="no">


I mean it seems that having the *filter* parameter of the *SetWidget* set 
to an empty string, is just like not having it at all, therefore the 
*emptyValue* parameter is ignored and it falls back to the basic syntax (
*name*, *value*).


It is probably obvious for the one more experienced with Tiddlywiki and 
HTML, I think it's a consequence of the way the widgets are parsed (as I 
could understand, quite like normal HTML tags). For me and the ones used 
with traditional programming languages, a variable set to an empty string 
is... an empty value!


I found a workaround and I decided to share my experience for who should 
fall in the same trouble, since I spent a lot of time to understand what 
happend, why and how to resolve.


\define isStringEmpty(str)
<$set name="answer" filter="""[enlist[$str$]]""" value="no" emptyValue="yes">
<>

\end


Passing the string as a parameter of *enlist* filter operator do the trick. 
[enlist[]] evaluates to an empty list (it could be easily tested in 
*AdvancedSearch*), as expected by the *SetWidget* while using conditional 
assignment:


Macro call Result
<> no
<> yes


Hope this could help someone.


-- 
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/effc9243-bc39-4ffd-a327-7890f09f39dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Use of variables within curly brackets

2017-03-03 Thread mauloop
Thanks Eric,

don't mind for my head, it was spinning long before your explanation ;^)))

What can I say? Uh! Stupid me, it's obvious. After it's always easier. I 
will change my code and will use the trick you suggested. I had something 
similar in my spinning mind, but I don't like workarounds without a valid 
reason to be applied. Now I realize that your way is not just a workaround, 
since the resulting code is cleaner than my generic strings concat macro.

Otherwise I don't want to lose the chance to learn something, so I fall 
back to the title of this thread. Searching for a way to use str macro I 
ended up with this (in this example <> stands in place od 
<>:

<$set name=v value=< index=<$2$> />""" """
""" "">> >
<>


This code, included in the two nested list widget, displays the expected 
values (yes, I know, three nested macro calls are really an ugly 
workaround, I'm just investigating tw syntax secrets). This was the 
alternative I found  to something like:

{{<>!!<>}}

The first question is simply: is there a particular reason for the 
variables to be not working inside curly brackets?

The second one requires to consider the following code:


<$list filter="""[tagsort[sort]]""" variable="r">

<$list filter="""[indexes[]]""" variable="i">
<$set name=v value=< index=<$2$> />""" 
"" "">> >
<$set name=s value=< field=<$2$> />""" 
"" "">> >


<$reveal state=<> type="nomatch" text="edit">
<$button class="tc-btn-invisible tc-tiddlylink" set=<> setTo="edit">
<>



<$reveal state=<> type="match" text="edit">
<$edit-text tiddler=<> index=<> tag="input" size=10/>
<$button class="tc-btn-invisible" set=<> setTo="view">
{{$:/core/images/close-button}}







I intended to use a field, with the same name of the index, as state 
tiddler for the reaveal widget that allows to switch between edit or view 
mode for any single cell in the table. But I found that a tiddler with 
title "<$transclude tiddler=<> field=<> />" has been created.

Now it's my turn to be worried about your headache.

-- 
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/9bfbaaad-30a5-442d-9b93-b94398eb8bcd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Use of variables within curly brackets

2017-03-02 Thread mauloop
Here I am, Eric, and thanks for your help. I hope I'll be able to explain 
clearly.

Let's have a bunch of dictionary tiddlers to work with (note that the first 
one is used as tag for the others):

title: Music
type: application/x-tiddler-dictionary

Album: 
Artist:
Genre:

title: Music 1
tags: Music
type: application/x-tiddler-dictionary

Album: Wish You Were Here
Artist: Pink Floyd
Genre: Progressive Rock

title: Music 2
tags: Music
type: application/x-tiddler-dictionary

Album: Never Mind the Bollocks
Artist: Sex Pistols
Genre: Punk

title: Music 3
tags: Music
type: application/x-tiddler-dictionary

Album: Nevermind
Artist: Nirvana
Genre: Grunge

title: Music 4
tags: Music
type: application/x-tiddler-dictionary

Album: The Future
Artist: Leonard Cohen
Genre: Folk

And the macro used for strings concat (stolen from Tobias Beer Ad-Hoc 
macro, http://tobibeer.github.io/tb5/#Ad-Hoc%20Macro)

title: StrMacro
tags: $:/tags/Macro

\define str(text,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20)
$text$
\end

Now if I create a tiddler like the following, it works, displaying a grid 
with dict's indexes names as header and indexes value in the rows:

title: Music Table (code within tiddler)

<$set name="t" value="Music" >



<$list filter="""[indexes[]]""" variable="i">

<>




<$list filter="""[tagsort[sort]]""">

<$list filter="""[indexes[]]""" variable="i">

<>








Now I would like to create more tables without duplicating the code, so I 
make a macro from the previous one:

title: TableMacro
tags: $:/tags/Macro

\define table(t)
<$set name="t" value="$t$" >



<$list filter="""[indexes[]]""" variable="i">

<>




<$list filter="""[tagsort[sort]]""">

<$list filter="""[indexes[]]""" variable="i">

<>







\end

The only differences are:

   - define and end pragmas
   - the value for the beginning set widget ($t$ instead of Music)
   
Finally I can change my Music Table content with this one:


title: Music Table (code from TableMacro)

<>

But unluckly it renders in an empty grid, but table headers.


You said: "*$(currentTiddler)$ only works within a macro*"

I learned that I can use it in the macro invocation too


You said: "**Within* a macro definition, the value of $(currentTiddler)$ is 
always defined*"

You're right, but it's not always defined the way I expect.


In this case I tried to remove the curly brackets, changing...


<>

... with...


<>


in my TableMacro. Now the grid is not empty anymore. Every single cell, but 
the headers, just as before, contains: "Music Table (code from TableMacro)##
"

It is the title of the tiddler from which the macro is invoked and not the 
tiddlers that the list widget should return.


The real code is much more complex. I added stuff to sort columns, edit 
inline, select/unselect all or single rows, add fields, add records, change 
table and create a new one, everything using just vanilla TW5. I was 
excited for my results, but I'm only able to use all of this 
copying/pasting code from one tiddler to another.


I don't know what's wrong, but I'm sure there should be a better way. The 
code of my previous post was an attempt to find a workaround.




-- 
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/2564e2f9-dea6-480f-8245-1d421b76afa4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Use of variables within curly brackets

2017-03-02 Thread mauloop
Thanks, Jed. I'll take a deeper look later at the thread you linked to 
(there is a lot to read and I-m not comfortable with English).

I tried too make my question simple, but the real scenery is little bit 
more complicated.

The (parametrized) transclusion I need stand within the body of two nested 
list widgets, that sets the tiddlers and the fields to be transluded, which 
in turns are concatenated using a wikitext macro. I pass variable to the 
macro using the syntax:

{{$(currentTiddler)$!!$(field)$}}

and everything works fine.

But when I try to move all of this code into a a macro tiddler (tagged 
$:/tags/Macro) the $(currentTiddler)$ value is empty. Forcing the list 
widget with a non default variable name does not solve.

I found that using <> instead of $(currentTiddler)$ works, 
but I cannot use this syntax within curly brackets.

I ended with this workaround:

<$set name=v value=< field=<$2$> />""" """
""" "">> >
<>


Where:

   -  r and i are the variable set by the containing list widgets
   - str is the name of the concatenating macro

It works but I am looking for something better (simpler).

-- 
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/ede2f052-3d37-4b6e-b9e5-d1c1399c558e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Use of variables within curly brackets

2017-03-02 Thread mauloop
Is there a way to use variables within curly brackets transclusion?
Something like:

<$set name="t" value="myTiddler">
{{<>}}


I know that I could use the transclude widget, but I need a syntax that is 
embeddable in another macrocall.

-- 
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/13336015-3c90-461e-8978-37a563521d26%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: TW5 - Newbie - About $:/core/ui/EditTemplate/body

2015-06-07 Thread mauloop
No, it happens just with $:/core/ui/EditTemplate/body. I thought it was a 
little bug. Eric make it clear the cause of this behaviour. Probably adding 
to the filter something like [!is[$:/core/ui/EditTemplate/body]] solves. I 
did not try. It is not really a problem for me. I have a lot to learn.

Thanks, Mauloop

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5a546145-5a8d-482c-a1ca-8392e5b5f080%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 - Newbie - About $:/core/ui/EditTemplate/body

2015-06-02 Thread mauloop
Thanks, Eric, for the clear and quick answer. I wrapped the EditTemplate/body 
in a <$reveal> widget in order to make it disappear while editing certain  
specific json tiddlers I've created. As well I made a "form" tiddler tagged 
EditTemplate to be shown in place of the usual textarea for those tiddlers. 
Everything works, but this side-effect.

Any suggestions to achieve the same goal in a better way?

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/38911710-a70c-4d7c-b6b8-f31d9879b852%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] TW5 - Newbie - About $:/core/ui/EditTemplate/body

2015-06-02 Thread mauloop
I've played with TWC in the past and now I'm exploring the wonders of TW5. 
I noticed that after having the shadow tiddler $:/core/ui/EditTemplate/body 
changed it shows the textarea for editing the text of the tiddler still 
while it is in view mode. I've experimented this behaviour with both the 
standalone and node.js editions of TW5, using either Firefox or Chrome.
Just edit the tiddler and save it without having nothing actually changed 
to reproduce this behaviour. Is it the expected behaviour? It does not 
affect my tests, but let me the possibility to inadvertently modify the 
tiddler text while I just wanted to view 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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/91198f40-8642-4a63-a66e-ff8f306a4aa6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.