[tw5] Re: [TW5] GitHub Saver error code: 409

2019-08-20 Thread Mohammad
See your answer here

https://kookma.github.io/TW5-GitHub-Saver/#FAQ

Seems turning off autosave and not repeatedly press saving button solves 
the problem.

By the way, I think this is an issue in TW side! It should prevent 
concurrent saving!



--Mohammad

On Tuesday, August 20, 2019 at 10:56:09 PM UTC+4:30, FFT wrote:
>
> The built-in GitHub Saver in TW5 (version 5.1.20) is working only on my 
> first save. If I save a second time it gives the following error:
>
> "Error while saving:  XMLHttpRequest error code: 409". 
>
> Only way for me to make additional edits and save is to close the tab and 
> reopen it again. I'm using the latest version of Firefox.
>
> Anyone else experience this?
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0c2fb288-357c-40f8-9c5e-6a55350f4b51%40googlegroups.com.


[tw5] Re: [TW5] Make search results less persistent

2019-08-20 Thread coda coder
Create a tiddler called anything-you-like but give it the tag 
$:/tags/StartupAction

Put this in the tiddler text field:

<$action-setfield $tiddler="$:/temp/search" $value=""/>

Save and reopen your wiki.


-- 
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/7e9ad8fe-5978-443e-9070-c0b48fe4abf7%40googlegroups.com.


[tw5] [TW5] Make search results less persistent

2019-08-20 Thread Mark Kerrigan
Hello all

I'm sure it has been addressed before, but sometimes when I re-open a 
TiddlyWiki the previous search term is still in the search box and 
sometimes the search results are also visible too. Of course I could click 
the close search button, but is there an option to stop TW from keeping the 
last search item persistent? I'm currently on 5.1.19

Thanks
Mark Kerrigan

[image: persistent-search-results.png] 

-- 
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/d7b52265-09eb-48dd-ac8e-47dcb33e9ffe%40googlegroups.com.


[tw5] Re: Remove last character of a tiddler's text within a macro

2019-08-20 Thread 'Mark S.' via TiddlyWiki
It's the linefeeds in the original text. What I did here was to add regular 
expressions to take the lines apart, join them back together, and then do 
the original split.

Good luck!

\define ViewTiddlerAppended()
<$vars ViewText={{$(viewpath)$}}>
VIEW TEXT: <>

<$set name=shortpath filter="[{$(viewpath)$}splitregexp[\n]join[ 
]splitregexp[^(.*?).\s*$]]" select=1 >
OUTPUT: <>


\end

^(.*?).$

<$vars viewpath="$:/plugins/felixhayashi/tiddlymap/graph/views/MyView/map 1"
>

View Tiddler Appended: <>





On Tuesday, August 20, 2019 at 2:06:54 PM UTC-7, MagoArcade wrote:
>
> Thanks. Attached
>

-- 
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/82472417-1d53-4500-8a05-08404593d338%40googlegroups.com.


[tw5] Re: Remove last character of a tiddler's text within a macro

2019-08-20 Thread MagoArcade
Thanks. Attached

-- 
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/e9df7049-6dff-4a23-80bc-023b2a258ee2%40googlegroups.com.


$__plugins_felixhayashi_tiddlymap_graph_views_MyView_map.json
Description: application/json


[tw5] Re: Link to a Tiddler in a "local" TiddlyWiki file

2019-08-20 Thread kat
Hmm I'm not sure then. It works for me.

Here is the relevant page in the docs if you haven't already seen it: 
https://tiddlywiki.com/#Linking%20in%20WikiText

Sorry I can't be of more help.

On Tuesday, August 20, 2019 at 2:41:03 PM UTC+1, Mohamed Amin wrote:
>
> Thanks kat for your reply, but I did try to add the "fill:///" part after 
> the "Permalink", and it doesn't work in the case of "Local files", It works 
> ONLY if the target TiddlyWiki is hosted in a "HTTP Server"
>
> On Monday, August 19, 2019 at 3:46:06 PM UTC+2, kat wrote:
>>
>> If you are working in the browser I think you need to prepend "file:///" 
>> to the path.
>>
>> For example:
>>
>> [ext[myLink|file:///D:/TW02#MyTiddler00]]
>>
>> This is the path you get when you select "Permalink" from the tiddler 
>> menu.
>>
>> On Sunday, August 18, 2019 at 11:55:52 PM UTC+1, Mohamed Amin wrote:
>>>
>>> Dear All,
>>>
>>> I've tried to figure this out reading some old cases , but I failed (I 
>>> just meet TW5 2 months ago), so I appreciate your support here.
>>>
>>> Suppose that I've 2 TW5 files (TW01 and TW02), I'm trying to put a link 
>>> in "TW01" so when I click that link it should open the "TW02" file and show 
>>> a Tiddler named "MyTiddler00", I've tried the following:-
>>>
>>>
>>>1. If the "TW02" is hosted in a "http server", and I use the link = 
>>>[[myLink|http://TW02/#MyTiddler00]] , the link is working perfect 
>>>and the TW02 is opened with the correct Tiddler MyTiddler00
>>>2. If the "TW02" is stored locally (i.e. in drive "D:"), and I use 
>>>the link = [ext[myLink|D:/TW02/#MyTiddler00]] , Nothing is happened (No 
>>>response)
>>>3. If the "TW02" is stored locally (i.e. in drive "D:"), and I use 
>>>the link = [ext[myLink|D:/TW02#MyTiddler00]] (removing the LAST forward 
>>>slash before the "#" sign), the file "TW02" is open BUT with the 
>>> "default" 
>>>tiddler (ex. HelloThere)
>>>
>>>
>>> So, did I miss something here?
>>>
>>> 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/9c467785-86e3-472f-aa58-0739fe2c24f0%40googlegroups.com.


[tw5] Re: Any way to calculate "6 days from now" using core tools?

2019-08-20 Thread Mat
Hi Mark

I found this algo

https://web.archive.org/web/20170507133619/https://alcor.concordia.ca/~gpkatch/gdate-algorithm.html

It should be enough with our new math functions. As an experiment I made 
the first part (the g function):

\define g(y, m, d)
<$set name=m value={{{ [[$m$]add[9]remainder[12]] }}}>
<$set name=y value={{{ [divide[10]subtract[$y$]negate[]] }}}>
<$set name=y4 value={{{ [add[4]] }}}>
<$set name=y100 value={{{ [divide[100]] }}}>
<$set name=y400 value={{{ [divide[400]] }}}>
<$set name=m3 value={{{ [multiply[306]add[5]divide[10]] }}}>
{{{ 
[[365]multiplyaddsubtractaddaddadd[$d$]subtract[1]] 
}}}

\end

This seems to work but it is only half of what is needed so I can't tell 
for sure. What you're asking for is

 d(g(y,m,d) + n)


which thus requires the d function and maybe also to mess a bit with the 
<> macro to extract the desired bits. Or maybe it could be integrated 
into the function for a more elegant solution.

Tell me if you need more help and I'll fiddle a bit more. I'm a bit heavy 
on work for some time but I'm a tiddly junkie so small and well defined 
bits like these...

<:-)


-- 
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/a381b8e5-842d-4ffc-923c-401310d11f79%40googlegroups.com.


[tw5] Re: Remove last character of a tiddler's text within a macro

2019-08-20 Thread 'Mark S.' via TiddlyWiki
I'm guessing that your data is a little different. Maybe you could use the 
tiddler export to export 

$:/plugins/felixhayashi/tiddlymap/graph/views/map

as a JSON file. Then attach and upload it here.


On Tuesday, August 20, 2019 at 11:54:04 AM UTC-7, MagoArcade wrote:
>
> Thanks again for the reply Mark. However, I just can't figure why the 
> code's working your end but not mine. It looks like you've tested this 
> code. But when I run mine, I get a different result. Mine:
>
> \define ViewTiddlerAppended()
> <$vars ViewText={{$(viewpath)$}}>
> VIEW TEXT: <>
> <$set name=shortpath filter="[{$(viewpath)$}splitregexp[^(.*?).$]]" select
> =1 >
> OUTPUT: [<>]
> 
> 
> \end
>
> <$vars viewpath="$:/plugins/felixhayashi/tiddlymap/graph/views/MyView/map"
> >
>
> View Tiddler Appended: <>
>
> 
>
> Output:
>
> View Tiddler Appended: VIEW TEXT: { "8c44558c-cd16-4064-87b6-d4b40fd167e8"
> : { "x": -351, "y": -55 }, "565d2cae-a39e-4bec-b16b-543619cf2bd7": { "x": 
> -119, "y": -72 }, "13f94e2c-189b-439e-aa55-0c7a88d45f97": { "x": -132, "y"
> : 136 }, "e20a7328-d70c-477d-8103-1d99ffbf031b": { "x": -127, "y": -191 }, 
> "516a25e4-c141-4469-a790-229b90da4bfa": { "x": -126, "y": 11 }, 
> "cd326bff-d50c-406a-a5ca-a87699ae7bbe": { "x": -461, "y": -201 }, 
> "7a8b1138-dbb9-49c8-91d6-12b9f21929f2": { "x": -559, "y": -108 }, 
> "6a96291a-44bc-4d77-9261-8cc7b2964e87": { "x": -271, "y": -250 }, 
> "3cadefc8-4186-4524-968a-22083b54c0bc": { "x": 18, "y": -146 }, 
> "41bb28a9-b37f-4628-9730-0a48234a7490": { "x": -582, "y": 13 }, 
> "6a5db04b-27e0-4e0d-81a3-1a3c1b44e928": { "x": -503, "y": 144 }, 
> "7cc70f20-3457-4641-a2ab-d6f0512ab092": { "x": -333, "y": 176 } } 
> OUTPUT: []
>
> Any ideas? I'm using the most recent version of tw
>
>

-- 
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/cae238d0-6091-4b4c-98ef-9d722a2a7a10%40googlegroups.com.


[tw5] Re: Remove last character of a tiddler's text within a macro

2019-08-20 Thread MagoArcade
Thanks again for the reply Mark. However, I just can't figure why the 
code's working your end but not mine. It looks like you've tested this 
code. But when I run mine, I get a different result. Mine:

\define ViewTiddlerAppended()
<$vars ViewText={{$(viewpath)$}}>
VIEW TEXT: <>
<$set name=shortpath filter="[{$(viewpath)$}splitregexp[^(.*?).$]]" select=1 
>
OUTPUT: [<>]


\end

<$vars viewpath="$:/plugins/felixhayashi/tiddlymap/graph/views/MyView/map">

View Tiddler Appended: <>



Output:

View Tiddler Appended: VIEW TEXT: { "8c44558c-cd16-4064-87b6-d4b40fd167e8": 
{ "x": -351, "y": -55 }, "565d2cae-a39e-4bec-b16b-543619cf2bd7": { "x": -119
, "y": -72 }, "13f94e2c-189b-439e-aa55-0c7a88d45f97": { "x": -132, "y": 136 
}, "e20a7328-d70c-477d-8103-1d99ffbf031b": { "x": -127, "y": -191 }, 
"516a25e4-c141-4469-a790-229b90da4bfa": { "x": -126, "y": 11 }, 
"cd326bff-d50c-406a-a5ca-a87699ae7bbe": { "x": -461, "y": -201 }, 
"7a8b1138-dbb9-49c8-91d6-12b9f21929f2": { "x": -559, "y": -108 }, 
"6a96291a-44bc-4d77-9261-8cc7b2964e87": { "x": -271, "y": -250 }, 
"3cadefc8-4186-4524-968a-22083b54c0bc": { "x": 18, "y": -146 }, 
"41bb28a9-b37f-4628-9730-0a48234a7490": { "x": -582, "y": 13 }, 
"6a5db04b-27e0-4e0d-81a3-1a3c1b44e928": { "x": -503, "y": 144 }, 
"7cc70f20-3457-4641-a2ab-d6f0512ab092": { "x": -333, "y": 176 } } 
OUTPUT: []

Any ideas? I'm using the most recent version of tw

-- 
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/0bfbaede-5c40-45a4-b815-72171f713bc9%40googlegroups.com.


[tw5] [TW5] GitHub Saver error code: 409

2019-08-20 Thread FFT
The built-in GitHub Saver in TW5 (version 5.1.20) is working only on my 
first save. If I save a second time it gives the following error:

"Error while saving:  XMLHttpRequest error code: 409". 

Only way for me to make additional edits and save is to close the tab and 
reopen it again. I'm using the latest version of Firefox.

Does anyone else experience this?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4a40f6ca-e933-44cb-a9c3-72f36c164f86%40googlegroups.com.


[tw5] Re: [Thoughts] The Philosophy of "Units" & TW "data"

2019-08-20 Thread coda coder
Thanks Mark.

Yes. I do similar things already. But where I'm coming from (and Mario) is 
that traditional macros do not aid writing "free text", i.e. *prose*. 

In fact, I think it was you that wrote the paragraph regex I'm already 
using (out of which came regexps, if i remember correctly).

Ring any bells?

\define toc-get-text-context(find)
<$set name=f value=
'[titleget[text]regexps[(?g)(\w|\s|\,|\.|\-|“|”|\`|\?|\x22|\x27|\/\/){1,50}$find$(\w|\s|\,|\.|\-|“|”|\`|\?|\x22|\x27|\/\/){1,100}]first[5]]'
>

Sections

...and it goes on...



Sincere aplogies to Josiah for having hijacked his thread :(

On Tuesday, August 20, 2019 at 1:09:33 PM UTC-5, Mark S. wrote:
>
> You know, you could already do something sort of like that with macros:
>
> \define show-macro(macro)
> <$reveal type="match" state=<> text="show">
>
> <<$macro$>>
> 
> <$button set=<>  setTo="show">Show
> <$button set=<>  setTo="hide">Hide
>
>
> \end
>
> \define GAN-010()
> !! The Great Anhk-Porkian Novel
>
> The waters of the Anhk River were flowing briskly that day. Which meant, 
> for most of the neighborhood, that they could function as a form of 
> moving sidewalk. Albeit, one you might be stuck to forever.
>
> \end
> \define GAN-020()
> !!! A Chat with DEATH
>
> But the flow of the river matched the slower, more leisurely flow of 
> photons from the Desk World sun. The flight flowing slower, necessarily 
> putting an upper limit on everyone's activities, per the  Anne Stein's 
> law of Relativity. To wit, if you were a relative of Anne Stein, the 
> curvaceous bar-maid, then maybe you better make your order and hurry up 
> with it.
>
> At the end of the bar sat a tall, lonely figure wearing a black shroud, a 
> permanent grin, and a large toupee. 
>  
> \end
>
> <>
> <>
>
> If there was a way to find all the macros inside a tiddler, then you 
> wouldn't need to individually invoke them.
>
> --Mark
>
> On Tuesday, August 20, 2019 at 9:56:57 AM UTC-7, coda coder wrote:
>>
>>
>>
>> On Tuesday, August 20, 2019 at 10:41:59 AM UTC-5, PMario wrote:
>>>
>>> On Tuesday, August 20, 2019 at 4:13:39 PM UTC+2, coda coder wrote:
>>>
>>> Hmmm, That's a similar thought as I posted in the thread: IDEA 
>>> Multi-line Fields ... Possible implementation 
>>> 
>>>
>>>
>> Ha! almost identical :)
>>  
>>
>>> Defining prose text like this, would make it technically accessible.
>>>
>>
>> That's the key - addressability.
>>  
>>
>>> ... But there wouldn't be the "beauty" of a continuous writing process. 
>>>
>>>
>> Agreed. But I don't see a way around that. I guess something like @@ 
>> could be used (or !headings again, which terminate at the next identical 
>> !heading or end of field).
>>
>> But, to be clear, I was suggesting \define-section be used *inline*, not 
>> at the start of the text like macros:
>>
>> Stuff and things
>>
>> \define-section my-section
>> More stuff
>> \end
>>
>> And more things
>>
>>
>> Then the transclusion previously mentioned digs them out (or they're 
>> double-stored in data-fields for easier lookup/retrieval).
>>
>>

-- 
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/4360c4ab-aca4-4277-88c9-ffe7ba68882f%40googlegroups.com.


[tw5] Re: [Thoughts] The Philosophy of "Units" & TW "data"

2019-08-20 Thread 'Mark S.' via TiddlyWiki
You know, you could already do something sort of like that with macros:

\define show-macro(macro)
<$reveal type="match" state=<> text="show">

<<$macro$>>

<$button set=<>  setTo="show">Show
<$button set=<>  setTo="hide">Hide


\end

\define GAN-010()
!! The Great Anhk-Porkian Novel

The waters of the Anhk River were flowing briskly that day. Which meant, for 
most of the neighborhood, that they could function as a form of moving 
sidewalk. Albeit, one you might be stuck to forever.

\end
\define GAN-020()
!!! A Chat with DEATH

But the flow of the river matched the slower, more leisurely flow of 
photons from the Desk World sun. The flight flowing slower, necessarily 
putting an upper limit on everyone's activities, per the  Anne Stein's law 
of Relativity. To wit, if you were a relative of Anne Stein, the curvaceous 
bar-maid, then maybe you better make your order and hurry up with it.

At the end of the bar sat a tall, lonely figure wearing a black shroud, a 
permanent grin, and a large toupee. 
 
\end

<>
<>

If there was a way to find all the macros inside a tiddler, then you 
wouldn't need to individually invoke them.

--Mark

On Tuesday, August 20, 2019 at 9:56:57 AM UTC-7, coda coder wrote:
>
>
>
> On Tuesday, August 20, 2019 at 10:41:59 AM UTC-5, PMario wrote:
>>
>> On Tuesday, August 20, 2019 at 4:13:39 PM UTC+2, coda coder wrote:
>>
>> Hmmm, That's a similar thought as I posted in the thread: IDEA 
>> Multi-line Fields ... Possible implementation 
>> 
>>
>>
> Ha! almost identical :)
>  
>
>> Defining prose text like this, would make it technically accessible.
>>
>
> That's the key - addressability.
>  
>
>> ... But there wouldn't be the "beauty" of a continuous writing process. 
>>
>>
> Agreed. But I don't see a way around that. I guess something like @@ could 
> be used (or !headings again, which terminate at the next identical !heading 
> or end of field).
>
> But, to be clear, I was suggesting \define-section be used *inline*, not 
> at the start of the text like macros:
>
> Stuff and things
>
> \define-section my-section
> More stuff
> \end
>
> And more things
>
>
> Then the transclusion previously mentioned digs them out (or they're 
> double-stored in data-fields for easier lookup/retrieval).
>
>

-- 
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/f27352a5-44f3-4253-8524-eb2313d333ed%40googlegroups.com.


[tw5] Re: [Thoughts] The Philosophy of "Units" & TW "data"

2019-08-20 Thread coda coder
Thanks Mohammad.

Yes, I use Thomas' extract and a few other bits I've cobbled together over 
the years. I'll give find/slice a look.

On Tuesday, August 20, 2019 at 11:59:20 AM UTC-5, Mohammad wrote:
>
> look here
>  https://kookma.github.io/find-macro/#demo%2Ffind%2Fslice
>
> This is an example of partial transclusion! Only what you need is to use 
> appropriate delimiter!
> For example
>
> ! h1
>
> !! h2
>
> !h3
>
>
> can use ! as delimiter!
>
> There is another solution by Thomas Telmiger called Extract.
>
> On Tuesday, August 20, 2019 at 6:43:39 PM UTC+4:30, coda coder wrote:
>>
>>
>>
>> On Tuesday, August 20, 2019 at 7:25:33 AM UTC-5, PMario wrote:
>>>
>>> On Monday, August 19, 2019 at 4:50:11 PM UTC+2, coda coder wrote:
>>> ...
>>>
 So, in my view...

 A "good fragment" is, *generally speaking,* something that "belongs" 
 in a field.

>>>
>>> I do like the quotes around your "belongs"!
>>>
>>
>> Yep. ;) 
>>
>>
>>> IMO with TW5 this is a technical reason and it shouldn't be that way. 
>>> ... It should be much more user friendly. 
>>>
>>>
>> Agreed. I too think we lost something when TWC's heading-sections didn't 
>> make it into the TW5 model.
>>
>> I do use custom tags to create a poor-man's version of sections within a 
>> text - but individual addressability is not possible.
>>
>> In my dreams, this would work:
>>
>> {{tiddler-name[!!optional-field]..section-name}}
>>
>> And in markup...
>>
>> \define-section my-section
>>
>> Stuff and things
>>
>> \end
>>
>> Or, perhaps,
>>
>> 
>>
>> More stuff
>>
>> 
>>
>>
>>
>>

-- 
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/44fd3074-0ac8-4ec0-8bca-3fb296fc8bfb%40googlegroups.com.


[tw5] Re: [Thoughts] The Philosophy of "Units" & TW "data"

2019-08-20 Thread Mohammad
look here
 https://kookma.github.io/find-macro/#demo%2Ffind%2Fslice

This is an example of partial transclusion! Only what you need is to use 
appropriate delimiter!
For example

! h1

!! h2

!h3


can use ! as delimiter!

There is another solution by Thomas Telmiger called Extract.

On Tuesday, August 20, 2019 at 6:43:39 PM UTC+4:30, coda coder wrote:
>
>
>
> On Tuesday, August 20, 2019 at 7:25:33 AM UTC-5, PMario wrote:
>>
>> On Monday, August 19, 2019 at 4:50:11 PM UTC+2, coda coder wrote:
>> ...
>>
>>> So, in my view...
>>>
>>> A "good fragment" is, *generally speaking,* something that "belongs" in 
>>> a field.
>>>
>>
>> I do like the quotes around your "belongs"!
>>
>
> Yep. ;) 
>
>
>> IMO with TW5 this is a technical reason and it shouldn't be that way. ... 
>> It should be much more user friendly. 
>>
>>
> Agreed. I too think we lost something when TWC's heading-sections didn't 
> make it into the TW5 model.
>
> I do use custom tags to create a poor-man's version of sections within a 
> text - but individual addressability is not possible.
>
> In my dreams, this would work:
>
> {{tiddler-name[!!optional-field]..section-name}}
>
> And in markup...
>
> \define-section my-section
>
> Stuff and things
>
> \end
>
> Or, perhaps,
>
> 
>
> More stuff
>
> 
>
>
>
>

-- 
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/c54214f6-7675-4648-92e1-2cd379d929a2%40googlegroups.com.


[tw5] Re: [Thoughts] The Philosophy of "Units" & TW "data"

2019-08-20 Thread coda coder


On Tuesday, August 20, 2019 at 10:41:59 AM UTC-5, PMario wrote:
>
> On Tuesday, August 20, 2019 at 4:13:39 PM UTC+2, coda coder wrote:
>
> Hmmm, That's a similar thought as I posted in the thread: IDEA Multi-line 
> Fields ... Possible implementation 
> 
>
>
Ha! almost identical :)
 

> Defining prose text like this, would make it technically accessible.
>

That's the key - addressability.
 

> ... But there wouldn't be the "beauty" of a continuous writing process. 
>
>
Agreed. But I don't see a way around that. I guess something like @@ could 
be used (or !headings again, which terminate at the next identical !heading 
or end of field).

But, to be clear, I was suggesting \define-section be used *inline*, not at 
the start of the text like macros:

Stuff and things

\define-section my-section
More stuff
\end

And more things


Then the transclusion previously mentioned digs them out (or they're 
double-stored in data-fields for easier lookup/retrieval).

-- 
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/233f17a8-da5e-4cec-8ad4-0362a1fa22fd%40googlegroups.com.


[tw5] Re: first wiki is up-- Guide to general use of TW

2019-08-20 Thread 'Autumn Gray Eakin' via TiddlyWiki
I thought I would point out CSS placement problems dramatically affecting 
usability when viewing the TW in Firefox on iOS 12+.

Most/all of the content fully overlaps at the top of the page, so as to be 
indistinguishable and impossible to interact with. See attached screenshot.

While I have non-mobile options for interaction, I like many people these days 
no longer actually use them when we don’t have to. :-)

-- 
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/69b7292d-49c0-4aac-baa3-d0fb5a85c5cc%40googlegroups.com.


[tw5] Re: Tiddlywiki and GitHub Pages and Travis-CI

2019-08-20 Thread Mohammad
*Announcement: New Demo and Documentation to create websites on GitHub 
Pages*
*Date: Aug 20, 2019*
*New update*

Updated to latest Tiddlywiki revision and improved documentation!
Note that the repository has been renamed to Tiddlywiki-Travis-CI 


--Mohammad


On Friday, April 5, 2019 at 12:49:01 AM UTC+4:30, Mohammad wrote:
>
> *Announcement: New Demo and Documentation to create websites on GitHub 
> Pages*
> *Date: Apr 5th, 2019*
>
> Referring to the good works by Danielo, Talha, and Joe, an some other 
> people ,
> for the documentation purpose, I have prepared two demo wikis with 
> documentation to show
>
>
> *Setup websites using Tiddlywiki 5, and Travis-CI hosted on GitHub Pages*
>
> Code: https://github.com/kookma/Tiddlywiki-Travis-CI
> Demo: https://kookma.github.io/Tiddlywiki-Travis-CI/ 
> 
>
>
>
> *Setup websites using Tiddlywiki 5, and hosted on GitHub Pages*
> Code: https://github.com/kookma/Tiddlywiki-and-GitHub-Pages
> Demo: https://kookma.github.io/Tiddlywiki-and-GitHub-Pages/
>
>
> I appreciate your comments, help and idea to improve these wikis.
>
> --Mohammad
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1c2d3f06-aefd-487c-97be-f29662718b7f%40googlegroups.com.


[tw5] Re: first wiki is up-- Guide to general use of TW

2019-08-20 Thread Thomas Elmiger
A Gloom


Took care of those evil white tabs-- used the new Twilight palette from 5.1.20


As the author of the palette I am happy to read that it is actually used by 
real people :) 

Thomas 

-- 
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/3e071f98-f934-4f05-9b6f-e6db7569fddd%40googlegroups.com.


Re: [tw5] Copy result of wikitext and macros to clipboard

2019-08-20 Thread Jeremy Ruston
Hi Tony

Here's one way to do it. It's a classic application of the wikify widget: we 
need access to the wikified text of a tiddler, rather than its raw text.

Note how the actions are placed in a separate action string to avoid having to 
do the wikification until it is required (if it was within the button widget 
then the wikify widget would be re-evaluated each time the store changes).

Best wishes

Jeremy


\define actions()
<$wikify name="content" text={{HelloThere}}>
<$action-sendmessage $message="tm-copy-to-clipboard" $param=<>/>

\end
<$button actions=<>>
Copy to clipboard



--
Jeremy Ruston
jer...@jermolene.com
https://jermolene.com

> On 19 Aug 2019, at 11:58, TonyM  wrote:
> 
> 
> Folks,
> 
> I believe I should know this, but I have a tiddler name "tiddlername" which 
> contains wikitext, list macros and more. Its a beautiful representation of a 
> csv file from my tiddler data and fields.
> 
> In any tiddler I can place {{tiddlername}} and see the wonderful result.
> 
> However I want to be able to copy the result as text 
> 
> <$button message="tm-copy-to-clipboard" param=  >
> Copy to clipboard
> 
> 
> How do I provide this with the appropriate parameter ?
> 
> I have another tiddler called "realcutetiddler" which renders a really nice 
> HTML output. Rather than save this as a static html tiddler I would like to 
> copy the HTML result to the clipboard
> 
> Again How do I provide the above with the appropriate parameter ?
> 
> At the moment, with everything I try I just get in the clipboard the raw 
> unprocessed wiki text in my tiddlers.
> 
> Yours, very lost.
> 
> Tony
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/08094092-20d2-43fc-b8d6-422eb07937f2%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/7DF93A3B-56DA-442E-A14C-DDE52D3EA4C6%40gmail.com.


[tw5] Re: [Thoughts] The Philosophy of "Units" & TW "data"

2019-08-20 Thread PMario
On Tuesday, August 20, 2019 at 4:13:39 PM UTC+2, coda coder wrote:
...

> In my dreams, this would work:
>
> {{tiddler-name[!!optional-field]..section-name}}
>
> And in markup...
>
> \define-section my-section
>
> Stuff and things
>
> \end
>
>
Hmmm, That's a similar thought as I posted in the thread: IDEA Multi-line 
Fields ... Possible implementation 


Defining prose text like this, would make it technically accessible. ... 
But there wouldn't be the "beauty" of a continuous writing process. 

-m



-- 
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/69408eb1-3717-4e76-bcba-a8433d201b5b%40googlegroups.com.


[tw5] Re: [Thoughts] The Philosophy of "Units" & TW "data"

2019-08-20 Thread Mohamed Amin
Just to say, I loved this conversation.

And actually I just read the following in "PyTiddlyWiki":

> Having the possibility to capture ideas and thoughts in a non-linear, 
> 'rhizomatic' way is one of the amazing features of TiddlyWiki
>

>From Wikipedia:

> Rhizome is a philosophical concept developed by Gilles Deleuze and Félix 
> Guattari in their Capitalism and Schizophrenia (1972–1980) project. It is 
> what Deleuze calls an "image of thought," based on the botanical rhizome, 
> that apprehends multiplicities
>

Regards
Mohamed Amin
On Monday, August 19, 2019 at 4:13:24 PM UTC+2, @TiddlyTweeter wrote:
>
> I tagged this as "offtopic", but I don't think it is.
>
> Computing emerged in a context of being able to take something apart and 
> reassemble it in a better way and with calculation.
>
> The prior philosophical ideas behind it emerged partly from extreme ideas 
> like those of  Julien Offray de La Mettrie 
>  in 1748 with 
> "*Man 
> a Machine*."
>
> The idea that life can be reduced to "re-combinational parts" got much 
> stronger in 1818 with Mary Shelly's "Frankenstein 
> ", a seriously good literary 
> expression of Mettrie's thesis. 
>
> Originally seen as repulsive and horrific, the idea you could re-combine 
> bits into wholes is now very accepted. *Google is a large Frankenstein.*
>
> I personally like the "TW Fragment" approach Jeremy is very committed 
> to--but its a direct assault on holism.
>
> There is a deep philosophical PROBLEM with fragments---as with any strong 
> approach. 
>
> *HOW small is a good fragment? And how would you know?*
>
>
> Thoughts
> TT 
>

-- 
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/3b700bbe-9f89-44c0-8cd6-fad3f67957f0%40googlegroups.com.


[tw5] Re: [Thoughts] The Philosophy of "Units" & TW "data"

2019-08-20 Thread Mohammad
The find macro can be used for this purpose!
It actually can extract any part of tiddler delimited between any set of 
delimiters of your choice!



On Tuesday, August 20, 2019 at 6:43:39 PM UTC+4:30, coda coder wrote:
>
>
>
> On Tuesday, August 20, 2019 at 7:25:33 AM UTC-5, PMario wrote:
>>
>> On Monday, August 19, 2019 at 4:50:11 PM UTC+2, coda coder wrote:
>> ...
>>
>>> So, in my view...
>>>
>>> A "good fragment" is, *generally speaking,* something that "belongs" in 
>>> a field.
>>>
>>
>> I do like the quotes around your "belongs"!
>>
>
> Yep. ;) 
>
>
>> IMO with TW5 this is a technical reason and it shouldn't be that way. ... 
>> It should be much more user friendly. 
>>
>>
> Agreed. I too think we lost something when TWC's heading-sections didn't 
> make it into the TW5 model.
>
> I do use custom tags to create a poor-man's version of sections within a 
> text - but individual addressability is not possible.
>
> In my dreams, this would work:
>
> {{tiddler-name[!!optional-field]..section-name}}
>
> And in markup...
>
> \define-section my-section
>
> Stuff and things
>
> \end
>
> Or, perhaps,
>
> 
>
> More stuff
>
> 
>
>
>
>

-- 
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/a41791ed-f0a0-45af-abbd-733e798cbf8a%40googlegroups.com.


[tw5] Re: [Thoughts] The Philosophy of "Units" & TW "data"

2019-08-20 Thread coda coder


On Tuesday, August 20, 2019 at 7:25:33 AM UTC-5, PMario wrote:
>
> On Monday, August 19, 2019 at 4:50:11 PM UTC+2, coda coder wrote:
> ...
>
>> So, in my view...
>>
>> A "good fragment" is, *generally speaking,* something that "belongs" in 
>> a field.
>>
>
> I do like the quotes around your "belongs"!
>

Yep. ;) 


> IMO with TW5 this is a technical reason and it shouldn't be that way. ... 
> It should be much more user friendly. 
>
>
Agreed. I too think we lost something when TWC's heading-sections didn't 
make it into the TW5 model.

I do use custom tags to create a poor-man's version of sections within a 
text - but individual addressability is not possible.

In my dreams, this would work:

{{tiddler-name[!!optional-field]]..section-name}}

And in markup...

\define-section my-section

Stuff and things

\end

Or, perhaps,



More stuff





-- 
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/05f1e061-1acb-4002-ac8d-042131d4b71e%40googlegroups.com.


[tw5] Any way to calculate "6 days from now" using core tools?

2019-08-20 Thread 'Mark S.' via TiddlyWiki
Or better yet, "6 days from given date."

Yes, I know there are plugins to allow additional math abilities.

But is there any way to do date math with existing core tools? Since there 
are a bunch of new math tools? I didn't see anything
that looked like it could do date math, but maybe I'm missing something?

In particular, I'd like to calculate  6, 10, 90 days out.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fc379a72-24d6-4e38-896b-3b4a483f43df%40googlegroups.com.


[tw5] Re: Link to a Tiddler in a "local" TiddlyWiki file

2019-08-20 Thread Mohamed Amin
Thanks kat for your reply, but I did try to add the "fill:///" part after 
the "Permalink", and it doesn't work in the case of "Local files", It works 
ONLY if the target TiddlyWiki is hosted in a "HTTP Server"

On Monday, August 19, 2019 at 3:46:06 PM UTC+2, kat wrote:
>
> If you are working in the browser I think you need to prepend "file:///" 
> to the path.
>
> For example:
>
> [ext[myLink|file:///D:/TW02#MyTiddler00]]
>
> This is the path you get when you select "Permalink" from the tiddler menu.
>
> On Sunday, August 18, 2019 at 11:55:52 PM UTC+1, Mohamed Amin wrote:
>>
>> Dear All,
>>
>> I've tried to figure this out reading some old cases , but I failed (I 
>> just meet TW5 2 months ago), so I appreciate your support here.
>>
>> Suppose that I've 2 TW5 files (TW01 and TW02), I'm trying to put a link 
>> in "TW01" so when I click that link it should open the "TW02" file and show 
>> a Tiddler named "MyTiddler00", I've tried the following:-
>>
>>
>>1. If the "TW02" is hosted in a "http server", and I use the link = 
>>[[myLink|http://TW02/#MyTiddler00]] , the link is working perfect and 
>>the TW02 is opened with the correct Tiddler MyTiddler00
>>2. If the "TW02" is stored locally (i.e. in drive "D:"), and I use 
>>the link = [ext[myLink|D:/TW02/#MyTiddler00]] , Nothing is happened (No 
>>response)
>>3. If the "TW02" is stored locally (i.e. in drive "D:"), and I use 
>>the link = [ext[myLink|D:/TW02#MyTiddler00]] (removing the LAST forward 
>>slash before the "#" sign), the file "TW02" is open BUT with the 
>> "default" 
>>tiddler (ex. HelloThere)
>>
>>
>> So, did I miss something here?
>>
>> 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/ca1b6656-a3f7-45b8-8fb3-aee2a83fb327%40googlegroups.com.


[tw5] Re: Link to a Tiddler in a "local" TiddlyWiki file

2019-08-20 Thread Mohamed Amin
Thanks a lot Tony for your reply/information,

So, in my case where I use only local file stored in my Hard disk (with 
Tiddly Desktop or directly in a Browser), I need to wait till this feature 
is implemented. is that correct?

On Monday, August 19, 2019 at 5:55:14 AM UTC+2, TonyM wrote:
>
> Mohammad,
>
> I too have a lot of links to other TiddlyWiki elements. Recently I was 
> thinking I would like to simplify this. 
>
> If you use a html link of the form 
> http://192.168.1.81/Instances/TW5Reference.html#Align%20Top%20middle%20bottom
> "  target="wikiname">Align Top middle bottom
> The link will always open in the same tab with the same target="wikiname"
>
>
> It would be nice if we could capture a link to a tiddler in another wiki 
> such as my example
>
> http://192.168.1.81/Instances/TW5Reference.html#Align%20Top%20middle%20bottom
>
> And automatically craft  a link by extracting from the above
>
>- The full path to the wiki 
>http://192.168.1.81/Instances/TW5Reference.html
>- The Wikis name TW5Reference and set the target to this name
>- The specific tiddlers name "Align Top middle bottom"
>- Then display the link as something like "TW5Reference:Align Top 
>middle bottom" (Much more readable)
>- That on click would open in the named tiddler in the named wiki with 
>in a target tab by the name of the wiki
>
> This would improve readability of the link in wiki text, always open 
> references to tiddlers in the same tab (unless you "open in new tab") 
> stopping a proliferation of tabs and reducing the chance that changes in 
> one tab will overwrite changes in another tab.
>
> I submitted an Issue in Github for this 
> https://github.com/Jermolene/TiddlyWiki5/issues/4183
>
> Regards
> Tony
>
> On Monday, August 19, 2019 at 8:55:52 AM UTC+10, Mohamed Amin wrote:
>>
>> Dear All,
>>
>> I've tried to figure this out reading some old cases , but I failed (I 
>> just meet TW5 2 months ago), so I appreciate your support here.
>>
>> Suppose that I've 2 TW5 files (TW01 and TW02), I'm trying to put a link 
>> in "TW01" so when I click that link it should open the "TW02" file and show 
>> a Tiddler named "MyTiddler00", I've tried the following:-
>>
>>
>>1. If the "TW02" is hosted in a "http server", and I use the link = 
>>[[myLink|http://TW02/#MyTiddler00]] , the link is working perfect and 
>>the TW02 is opened with the correct Tiddler MyTiddler00
>>2. If the "TW02" is stored locally (i.e. in drive "D:"), and I use 
>>the link = [ext[myLink|D:/TW02/#MyTiddler00]] , Nothing is happened (No 
>>response)
>>3. If the "TW02" is stored locally (i.e. in drive "D:"), and I use 
>>the link = [ext[myLink|D:/TW02#MyTiddler00]] (removing the LAST forward 
>>slash before the "#" sign), the file "TW02" is open BUT with the 
>> "default" 
>>tiddler (ex. HelloThere)
>>
>>
>> So, did I miss something here?
>>
>> 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/069aa3f3-6f94-4a5c-8c66-5bcb23cddfb9%40googlegroups.com.


[tw5] Re: [Thoughts] The Philosophy of "Units" & TW "data"

2019-08-20 Thread PMario
On Monday, August 19, 2019 at 4:50:11 PM UTC+2, coda coder wrote:
...

> So, in my view...
>
> A "good fragment" is, *generally speaking,* something that "belongs" in a 
> field.
>

I do like the quotes around your "belongs"!

IMO with TW5 this is a technical reason and it shouldn't be that way. ... 
It should be much more user friendly. 

-m

-- 
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/eab64095-6eb1-4094-99b6-6a60ce7c94b9%40googlegroups.com.


[tw5] Re: [Thoughts] The Philosophy of "Units" & TW "data"

2019-08-20 Thread PMario
Hi,

With TW5 we can transclude full tiddlers "only".

With TWclassic we had so called "slices" and "sections" 
 that could be 
transcluded from "other" tiddlers. 

Transclude "slices" syntax is basically gone in TW5. The file format is 
used for .multids files and dictionary tiddlers. .multids are "read-only" 
and therefore only useable for TW developers. 

The "section" transclusion syntax is used for TW5 data-tiddlers *but the 
concept is completely different*, which as Jeremy pointed out several 
times, hasn't been the best decision. 

With section transclusions, users could transclude parts of one tiddler 
into an other, using "*headings" as the selectors*. -->> Don't understand 
me wrong: There where some reasons, why this function is gone. Technically 
it's much more heavy weight then transcluding full tiddlers. 

*And *it suffers the "*broken link syndrome*" even more than renaming 
tiddler titles. ... Since it is very common to change the heading text 
while editing a tiddler. -> So those links are broken way to easy!!

-

*On the other hand *there was something extremely powerful going on, while 
writing content. Headings do create data structure, even if the writer 
didn't intend it. 

eg: Authors use headings like *Overview - Introduction - Description *- 
very often. ... So over time, tiddlers contain sections with "similar" 
intention more and more often. 

So after several refactoring iterations of a wiki, users did create very 
powerful *intrinsic data-structure*, that can be used to create - *lists 
with section content*. 

With TW5 this *natural *creation of data structures is gone. ... I 
personally miss this functionality the most in TW5. This was a real 
regression. 

eg: *Mixing code and prose documentation in 1 tiddler *like in a TWclassic 
plugin, was the most important thing that brought me to TiddlyWiki. I was 
searching for a "literate programming 
" tool / editor. ... 
And TW was the closest thing I could find and actually *liked*!

-

Coming back to the topic. 

There is a deep philosophical PROBLEM with fragments---as with any strong 
> approach. 
>
> *HOW small is a good fragment? And how would you know?*
>
>
IMO good fragments go down to *a single paragraph, without tearing it apart 
from it's "initial" context*. ... So it's the "tiddler section", without 
it's drawbacks. 

have fun!
mario

-- 
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/c9c11ac1-4fbd-4943-960f-1320d8731e41%40googlegroups.com.


[tw5] Tiddlywiki 5 and GitHub Saver: Create online website using Tiddlywiki 5.1.20+

2019-08-20 Thread Mohammad
*Announcement: TW5-GitHub-Saver*
*Date: 2019.08.20*
*Update: 1.0.0*


Refereeing to our previous discussion of saving directly to GitHub here

https://groups.google.com/d/msg/tiddlywiki/r-okut9mkJE/jjSsyTm3CAAJ


I have updated the instruction for making TW5 + GitHub Saver here

https://kookma.github.io/TW5-GitHub-Saver/

The repository can be found here

https://github.com/kookma/TW5-GitHub-Saver

Send your feedback and star it if you like it.

--Mohammad

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7907fb8f-2506-4da6-b7b3-0607509c8c6a%40googlegroups.com.


[tw5] Re: Remove last character of a tiddler's text within a macro

2019-08-20 Thread @TiddlyTweeter
Ciao Mark S.

"splitregexp" seems to be behaving here like "return match, throw the rest 
away"

Yes?

Equivalent to ...

match: ^(.*?).$
replace: $1

The lazy match, **?*, insists that the last character of the line is thrown 
away. Which is what was wanted?

TT

On Tuesday, 20 August 2019 00:52:32 UTC+2, Mark S. wrote:
>
> Hi Mohammad,
>
> Well, that won't do what MA wants. Your code would try to split the 
> tiddler *name*, $:/plugins/felixhayashi/tiddlymap/graph/views/map, but MA
> wants the tiddler *contents *truncated by one.
>
> On Monday, August 19, 2019 at 3:13:58 PM UTC-7, Mohammad wrote:
>>
>> Mark, I mean just use , See the below revised code
>>
>>
>> \define ViewTiddlerAppended()
>> <$set name=shortpath filter="[splitregexp[^(.*?).$]]" select=1 
>> >
>> <>. Nice to see you.
>> 
>> \end
>>
>> <$vars viewpath="$:/plugins/felixhayashi/tiddlymap/graph/views/map" >
>>
>> <>
>>
>> 
>>
>>
>>
>> On Monday, August 19, 2019 at 6:23:28 PM UTC+4:30, Mark S. wrote:
>>>
>>> Statements like
>>>
>>> {{<>}} 
>>>
>>> don't work, so I assume that the filter equivalent, {} also 
>>> doesn't work.
>>>
>>> When I test this latter form, it doesn't work.
>>>
>>> The $(...)$ substitution approach almost always does what I originally 
>>> intended, so I tend to stick to it, perhaps more than I need to.
>>>
>>> Thanks!
>>>
>>> On Sunday, August 18, 2019 at 11:09:45 PM UTC-7, Mohammad wrote:

 To Josiah,

 This is an example of using regexp in Tiddlywiki worth to be included 
 in your regexp tutorial!

 @Mark
 Why not just using  instead of {$(viewpath)$}

 --Mohammad

 On Monday, August 19, 2019 at 1:59:13 AM UTC+4:30, Mark S. wrote:
>
> This variant uses the new splitregexp operator to eliminate the last 
> character:
>
> \define ViewTiddlerAppended()
> <$set name=shortpath filter="[{$(viewpath)$}splitregexp[^(.*?).$]]" 
> select=1 >
> <>. Nice to see you.
> 
> \end
>
> <$vars viewpath="$:/plugins/felixhayashi/tiddlymap/graph/views/map" >
>
> <>
>
> 
>
>
>
> On Sunday, August 18, 2019 at 11:49:19 AM UTC-7, MagoArcade wrote:
>>
>> Let's say "$:/plugins/felixhayashi/tiddlymap/graph/views/map" 
>> contains the text "{line 1} Hello World}" (note the curly bracket)
>>
>>
>> \define ViewPath()
>> $:/plugins/felixhayashi/tiddlymap/graph/views/map
>> \end
>>
>>
>> \define ViewTiddlerAppended()
>> {{$(ViewPath)$}}. Nice to see you.
>> \end
>>
>> How do I get <> to read:
>>
>> "{line 1} Hello World. Nice to see you."
>>
>> (i.e. remove the last character of the text in the 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d92d9865-29a0-479a-9bfe-6b0e49c8a633%40googlegroups.com.


[tw5] Re: Append a string containing space to a field

2019-08-20 Thread damien Dupont
I have found by myself, I just have to ignore blank when I use the list to 
make the table :
<$list filter="[all[current]get[date]split[!]!is[blank]]" variable="val">

Thanks again 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/d16938bd-0c4f-4778-a5d1-65737a0a24d3%40googlegroups.com.


[tw5] Re: Append a string containing space to a field

2019-08-20 Thread damien Dupont
It works perfectly !! Do you have an idea how to avoid writing the first 
"!" when the field is empty (before the first user entry) ?
Because when the table is made afterward, it creates a blank cell.

On Monday, 19 August 2019 18:45:16 UTC+2, BurningTreeC wrote:
>
> Hi again,
>
> you don't need a filter for this, see this example-button:
>
> \define get-concatenated-value()
> $(myrow)$!$(userInput)$
> \end
>
> <$button>
> <$set name="myrow" value={{!!myrow}}>
> <$set name="userInput" value={{!!input}}>
> <$action-setfield $tiddler=<> $field="myrow" $value=< concatenated-value>>/>
> 
> 
> OK
> 
>
>
>
>
> Thanks for your help but in fact, in my case "fourth element" represents a 
>> variable that contains an input of the user (through the edit-text) and 
>> that can contains spaces inside. 
>>
>> On Monday, 19 August 2019 18:24:51 UTC+2, BurningTreeC wrote:
>>>
>>> Hi Damien,
>>>
>>> maybe this trick works for you:
>>>
>>> [all[current]get[myrow]split[!]append[fourth_element]join[!]split[_]join
>>> [ ]]
>>>
>>>
>>>
>>> Hello everyone,
>>>

 I recently discovered this fabulous tool (Tiddly wiki) and I'm trying 
 to customize it to my needs.
 However I need some help from Tiddly experts.

 I would like to store in the field of a tiddler the content of a table 
 row. In my tiddler, I put an edit-text field and a button to add a new 
 word 
 to the field (and then to the row).

 To do this, I decided to separate each word composing my row with "!". 
 For example the field "myrow" will contains : 
 "firstelement!secondelement!thirdelement"

 To add to this field a new word, I use a filter to insert it. It works 
 but I have a problem with element with space (ex : "fourth element") -> it 
 will be cut where the space is.

 Here is the filter I use to rewrite the "myrow" field :

 [all[current]get[myrow]split[!]append[fourth element]join[!]]

 Do you have an idea how to explain to tiddly wiki to consider "fourth 
 element" as 1 string only ? or do you have another solution ?

 I'm not so familiar with the filter syntax, if you have ressources to help 
 me, it could be great also.

 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/71ea15eb-8728-4a61-ae5b-5e929d3f7603%40googlegroups.com.


Re: [tw5] Basic filter logic visual chart (+ selfcontained wikitext/html/svg tiddler (w graphics))

2019-08-20 Thread Jeremy Ruston
Hi Gloom

Great stuff, I love explanatory diagrams, and this example is very effective.

Best wishes

Jeremy

--
Jeremy Ruston
jer...@jermolene.com
https://jermolene.com

> On 20 Aug 2019, at 05:37, A Gloom  wrote:
> 
> 
> A sneak peek at something from WikiWitchery...
> 
> This demonstrates not just a visual guide of basic filter run logic that 
> should be easier to understand, but also a self contained tiddler of mixed 
> content-- wikitext, html and svg graphics.  Everything in one tiddler that is 
> much smaller than using traditional external raster images for simple line 
> art graphics.
> 
> This comes from a larger item-- a visual multi-stage filter with selective 
> filter run selectors and filter (logic)/run function/prefix.  The graphics 
> are to display in a panel to illustrate which (logic)/run function/prefix is 
> being selected.
> 
> One interesting thing about svg is the ability to reuse pieces of other svg 
> without having to retype the original svg code.  The first svg defines the 
> common pieces that all 5 will use and the other 4 reuse the pieces from the 
> first.
> 
> The self contained tiddler compares to a similar tiddler that uses 
> transclusion of the same svg's in separate svg tiddlers, looks like this:
> 
> translusion tiddler export size: without svg's: 3 kb
> with (in json file of 6 tiddlers): 15 kb
> 
> self contained tiddler export size: 9 kb
> 
> The self contained tiddler also will export as a static html file with the 
> svg graphics embedded into the document-- also with a much smaller size than 
> if raster images were embedded.  Perfect for charts and graphs-- WikiWitchery 
> will have an example bar graph chart that was creared in TW with a very small 
> file size and can be edited/altered in TW just like any tiddler.
> 
> Some browsers are finicky about svg's especially older ones so don't be 
> surprised if the svg's don't display as advertised-- use the screenshots to 
> compare your browser's displayed content against.
> 
> Also the svg's use the default font from the wiki they're being viewed in, so 
> if you have nonstandard fonts, settings you may get usual results.
> 
> Any custom global css values you have set in your wiki could potentionally 
> have an effect on this tiddler and could be a place to look if the tiddler 
> doesn't display right.
> 
> the attached html version can be used if you don't wish to import the 
> tiddler, use an iframe tiddler to display the hrml version in your wiki
> 
> A version using transclusion of svg tiddlers will be available on 
> WikiWitchery.
> 
> 
> 
> 
> 
> powered by WikiWitchery
> with K.A.O.S. inside >^.^<
> -- 
> 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/933cad3c-d1e8-45f2-948b-0ad255e41753%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/AA94872B-62C6-4FBB-AA58-54E07E2BF80A%40gmail.com.


[tw5] Re: first wiki is up-- Guide to general use of TW

2019-08-20 Thread Birthe C
Hi Gloom,

You are bringing up something very interesting. Diabetes is unfortunately 
very common. Also we are all getting older, and I find, that after reading 
on screen for a long time, my eyes get very tired. All screens are not of a 
of good quality and that also matters. 

In the DOS days I used a "multimedia authoring" software (using Ascii 
vector graphicsLOL never mind that. The author told me he wrote stories 
and very often used a dark blue for background and a very light blue for 
text. That was for his wife to also be able to read it.

Remember I liked your high contrast theme. Now with your changes...totally 
good for my eyes at least.


Birthe

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ee432ea3-de0a-48bb-a05c-a46ab0d5037d%40googlegroups.com.