[tw5] Re: Hide the tag display on ToC

2019-08-02 Thread Reaktorblue
@BurningTreeC,

Thank you so much! That worked wonderfully!

-- 
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/23f21b2a-0095-496d-adaa-aab823616de6%40googlegroups.com.


[tw5] Re: TW single file 5.1.19 upgrade saved file size

2019-08-02 Thread TonyM
When you save a wiki there is a filter in which you can exclude temp or other 
tiddlers if desired.

Thanks for sharing your observations.

Regards
Tony

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


[tw5] Re: Hide the tag display on ToC

2019-08-02 Thread BurningTreeC
Hi Reaktorblue,

you could put the following code in a tiddler tagged $:/tags/Stylesheet :

[data-tiddler-title="TableOfContents"] .tc-tags-wrapper {
display: none;
}


When you're looking at the display of the Table of Contents, the tag 
$:/tags/SideBar 
> is visible. Is there a way to hide this for only the Table of Contents when 
> it's not in edit mode?
>

-- 
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/a1761ff7-5c25-45e8-a3f6-940d9e694a3f%40googlegroups.com.


[tw5] Hide the tag display on ToC

2019-08-02 Thread Reaktorblue
When you're looking at the display of the Table of Contents, the tag 
$:/tags/SideBar 
is visible. Is there a way to hide this for only the Table of Contents when 
it's not in edit mode?

-- 
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/658a4e5f-f736-4016-95fe-0a0087e1ad04%40googlegroups.com.


[tw5] Re: TW single file 5.1.19 upgrade saved file size

2019-08-02 Thread A Gloom
Tony,

You're probably correct, this was a jump of 2 versions (tho from what I 
understand, .19 was mainly a bugs fix).


The decrease of system tiddlers (2252 to 83) counted in control panel> info 
tab, I believe was a result of state tiddlers being left out of the 
upgrade-- using the list feature of control panel> info tab, I noticed they 
where missing in the upgraded wiki.

In More tab> explorer, I noticed:

the core tiddlers went from 676 to 720

state tiddlers went from 2172 to 11, which supports my hunch

-- all "tab--" state tiddlers were missing, as well as custom name state 
tiddlers, I assume they'll reappear as I use tiddlers having tabs (macro) 
and a state gets set by their use

-- all the "$:/state/edit-title" tiddlers I saw in the upgrade import list 
were not actually imported, can't find them with advanced search

-- 
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/b8f05b89-219c-4942-ab1f-3d0df261b265%40googlegroups.com.


Re: [tw5] contains filter operator

2019-08-02 Thread Mat
Tony, while you're definitely drifting from the topic - you also happen to 
do so into an area that I would *very* much like to explore.

Just the other day I created this:

 http://editorpopup.tiddlyspot.com/  (btw, I believe I briefly mention you 
there ;-)

as a carification to issue #3784 
 . Give it a thubs up 
if you approve of it. (@ everyone)

<:-)

-- 
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/2b6bb151-859c-4ccf-a226-da427eb7325c%40googlegroups.com.


[tw5] Re: Update to TiddlyServer 2.1 Beta

2019-08-02 Thread 'Mark S.' via TiddlyWiki
Hello Arlen,

What are the differences between the two links you provided? They seem to 
lead to the same place ??

It looks like single-file wikis are now correctly indicating their "save" 
state -- great!

In terms of documentation ... if I didn't already have a settings.json 
file, I would be totally lost. There's no
place that tells you how to set the port. There's no example of trees and 
sub-trees (children?). I think most 
first-timers aren't going to know where to use $element and how to create 
more "roots" and branches. 

The format for TS 2.0.14 was easy to understand, but I find TS 2.1 
confusing. Presumably the complexity brings some new abilities?
Or is this required for the new node JSON parser? I noticed that Bob also 
had an uptick in configuration complexity.

I'm curious what the new features in 2.1 are. It looks very similar to 
2.0.14.

There's a visual distraction problem where missing branches have no icon. 
See image below.

Thanks!



On Friday, August 2, 2019 at 1:41:47 PM UTC-7, Arlen Beiler wrote:
>
> And then I forgot to push the last bit. So here's the updated link.
>
>
> https://github.com/Arlen22/TiddlyServer/tree/02b47908381a987411ec2fdf1c8d4f0e64055bd4
>
> Enjoy!
>
> Arlen
>
> On Fri, Aug 2, 2019 at 4:39 PM Arlen Beiler  > wrote:
>
>> Hi TiddlyServer testers,
>>
>>
>> https://github.com/Arlen22/TiddlyServer/tree/324342c58882b994b98365a6e34515b779f6e07d
>>
>> Here is an update to TiddlyServer 2.1 Beta. The simplified tree format 
>> from 2.0 is back, but the expanded format is available. A string represents 
>> a folder element and an object with no $element property represents a group 
>> element. 
>>
>> You can use this for a basic settings.json file
>>
>> {
>> "tree": "../webroot",
>> "bindInfo": {"bindAddress": ["127.0.0.1"]},
>> "$schema": "./settings-2-1.schema.json"
>> }
>>
>> Backup your current settings.json and don't depend on upgrade-settings.js 
>> at this point. I will update that soon.
>>
>> Let me know if you run into any problems.
>>
>> Here's the link again. 
>>
>>
>> https://github.com/Arlen22/TiddlyServer/tree/324342c58882b994b98365a6e34515b779f6e07d
>>
>> Arlen
>>
>

-- 
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/cca16cdf-7ae3-4486-8045-1fe5f65610bb%40googlegroups.com.


[tw5] Re: TW single file 5.1.19 upgrade saved file size

2019-08-02 Thread TonyM
The change in the size could be the result of recoding/refactoring the core 
code to reduce the size and or improve performance.

New versions need not require more bytes, just smarter bytes and it is a 
sensible exercise to do this whenever possible.

If this is the case it is removing bloat in the code the first time, and 
you will not see it in subsequent "Re-Upgrades". 

If this were the case however It would be better to build it into the wiki 
so you can "clean up" from inside a wiki directly.

Regards
Tony


On Saturday, August 3, 2019 at 8:31:24 AM UTC+10, A Gloom wrote:
>
> When upgrading TW single file, from 5.1.17 to 5.1.19 on Windows8.1/latest 
> Firefox, I noticed a sizeable file size decrease from 4,926 kb to 4,430 kb
>
> all I noticed tiddlers numbers wise (from control panel, info tab)
>
> Number of tiddlers: 1642 (pre-upgrade)/ 1642 after
> Number of tags: 512 / 512
> Number of system tiddlers: 2252 / 83
> Number of shadow tiddlers: 1813 / 1881
> Number of overridden shadow tiddlers: 30 / 28
>
> No content appeared to be lost.  Even all my custom non-core system (given 
> the $:/ prefix) tiddlers (macros, stylesheets, cloned, modified, given a 
> special $:/.rags tiddler title prefix core tiddlers) all transfered over.
>
> I wasn't running any installed plug-in's or modified core system tiddlers 
> other than 1 manual edit to the vanilla stylesheet and those changed by 
> control panel settings.
>
> I figured it might be old temp tiddlers being left out-- the drastic 
> decrease in system tiddlers, but in the upgrade tiddler list I noticed a 
> lot of state tiddlers included.  I figured the file size will build back up 
> as the TW is used and "use settings" made during use get restored.
>
> Strange idea-- would this be a way to "refresh" a TW, clearing built up 
> bloat?  Can an upgrade be used on the same version TW again?
>

-- 
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/6a2ad8c9-2f0e-4fec-9051-666df836a29c%40googlegroups.com.


Re: [tw5] contains filter operator

2019-08-02 Thread TonyM
Speculation,

What if we iterated all words in text and test to see if they are 
"contained" elsewhere. If they are contained in multiple tiddlers we could 
optional create a tiddler of a word such that we provide a link to its use 
throughout the wiki, then the following may also be possible;

What if when we were typing in the editor, and words of > 3 characters were 
always looked up in tiddler titles and we could select a tiddler containing 
the word to autocomplete and insert a link to that word (tiddler) OR 
transclude OR insert content of the tiddler containing that word. If the 
word is but one in the title then we could select the whole title to insert 
phrases we wish to reuse.

This could help insert macro syntax, or write variations of a proposal, or 
allow us to insert module of content directly at edit time or much more. In 
a way it would be like putting a command line into an editor.

The above could all be done with a special "preemptive text - editor" to 
keep its impact simple.

Regards
Tony 

On Saturday, August 3, 2019 at 8:48:59 AM UTC+10, TonyM wrote:
>
> Knowing contains operates this way could be quite helpful.
>
> In someways it is doing a tiddler exists test in addition to a search of 
> contents.
>
> Regards
> Tony
>
> On Saturday, August 3, 2019 at 1:58:58 AM UTC+10, Mat wrote:
>>
>> Jeremy, thank you for your very informative answers. Here and everywhere.
>>
>> <:-)
>>
>>
>>

-- 
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/fe766f38-4a4a-41f8-9418-84f9f5c923c0%40googlegroups.com.


Re: [tw5] contains filter operator

2019-08-02 Thread TonyM
Knowing contains operates this way could be quite helpful.

In someways it is doing a tiddler exists test in addition to a search of 
contents.

Regards
Tony

On Saturday, August 3, 2019 at 1:58:58 AM UTC+10, Mat wrote:
>
> Jeremy, thank you for your very informative answers. Here and everywhere.
>
> <:-)
>
>
>

-- 
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/3a4a31af-ae5e-4877-9eed-908e2ae97111%40googlegroups.com.


[tw5] Re: position in a list

2019-08-02 Thread TonyM
Mohammad,

I would have thought all you need is in the order operators especially
after  find which input 
title follows a specified one 
before  find which input 
title precedes a specified one

https://tiddlywiki.com/?home#Filter%20Operators

I have not used these extensively yet but I believe they hold the key to 
problems like your own, keep in mind you can use these to establish one 
set, and subtract that from another set. These should provide all the 
elements for lists, queues head and tail operations and alot more.

For example
using first then storing rest, then using first on the rest allows you to 
step through every member and allows you to see what is coming. You could 
count how many items remain in rest for a progress indicator and more

Also
The range operator documentation should also be extended to show how to 
provide values to the ,, parameters from fields and 
variables.
<$set name=number-or-members value={{{ [filter] +count[]] }}}>
the range[1,number-or-members]

Second section in table is Order Operators, note that N is a number you can 
provide.

after  find which input 
title follows a specified one 
before  find which input 
title precedes a specified one 
bf  same as rest 
 
butfirst  same as rest 
 
butlast  discard the last N 
input 
titles 
first  select the first N input 
titles 
last  select the last N input 
titles 
limit  select the first or 
last N input titles ✓ !
next  find which titles in a 
list field follow the input ones 
nsort  sort the input by 
number field !
nsortcs  sort the input 
titles by number field, treating upper and lower case as different !
nth  select the Nth input title 
order  selectively reverse 
the input list ✓ 
previous  find which 
titles in a list field precede the input ones 
rest  discard the first N input 
titles 
reverse  reverse the order 
of the input titles 
sort  sort the input by text 
field ✓ !
sortan  sort the input by 
text field considering them as alphanumerics ✓ !
sortcs  sort the input by 
text field, treating upper and lower case as different
Regards
Tony

On Friday, August 2, 2019 at 10:29:10 PM UTC+10, Mohammad wrote:
>
> I have a list of tiddlers, I iterate over the list and I want to know if 
> an item is before or after the selected item!
>
> How to do this?
>
>
> --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/a2f3c089-a08d-40ca-8d21-4d45b2d88515%40googlegroups.com.


[tw5] TW single file 5.1.19 upgrade saved file size

2019-08-02 Thread A Gloom
When upgrading TW single file, from 5.1.17 to 5.1.19 on Windows8.1/latest 
Firefox, I noticed a sizeable file size decrease from 4,926 kb to 4,430 kb

all I noticed tiddlers numbers wise (from control panel, info tab)

Number of tiddlers: 1642 (pre-upgrade)/ 1642 after
Number of tags: 512 / 512
Number of system tiddlers: 2252 / 83
Number of shadow tiddlers: 1813 / 1881
Number of overridden shadow tiddlers: 30 / 28

No content appeared to be lost.  Even all my custom non-core system (given 
the $:/ prefix) tiddlers (macros, stylesheets, cloned, modified, given a 
special $:/.rags tiddler title prefix core tiddlers) all transfered over.

I wasn't running any installed plug-in's or modified core system tiddlers 
other than 1 manual edit to the vanilla stylesheet and those changed by 
control panel settings.

I figured it might be old temp tiddlers being left out-- the drastic 
decrease in system tiddlers, but in the upgrade tiddler list I noticed a 
lot of state tiddlers included.  I figured the file size will build back up 
as the TW is used and "use settings" made during use get restored.

Strange idea-- would this be a way to "refresh" a TW, clearing built up 
bloat?  Can an upgrade be used on the same version TW again?

-- 
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/c685ecbf-6e3a-4f45-9158-e3b93a302960%40googlegroups.com.


[tw5] Re: Announcement: A small horizontal timeline

2019-08-02 Thread A Gloom
Mohammad!

I can't keep up with all your nifty stuff!  That's not a complaint, but a 
good thing-- you'll keep me bust for a long time : )

-- 
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/e37bc8da-4ecb-4fc0-8418-8af393fa031e%40googlegroups.com.


[tw5] Re: Update to TiddlyServer 2.1 Beta

2019-08-02 Thread TonyM
Arlen,

Thanks for your work, I should be able to test Sunday Sydney time.,

Regards
Tony

On Saturday, August 3, 2019 at 6:40:10 AM UTC+10, Arlen Beiler wrote:
>
> Hi TiddlyServer testers,
>
>
> https://github.com/Arlen22/TiddlyServer/tree/324342c58882b994b98365a6e34515b779f6e07d
>
> Here is an update to TiddlyServer 2.1 Beta. The simplified tree format 
> from 2.0 is back, but the expanded format is available. A string represents 
> a folder element and an object with no $element property represents a group 
> element. 
>
> You can use this for a basic settings.json file
>
> {
> "tree": "../webroot",
> "bindInfo": {"bindAddress": ["127.0.0.1"]},
> "$schema": "./settings-2-1.schema.json"
> }
>
> Backup your current settings.json and don't depend on upgrade-settings.js 
> at this point. I will update that soon.
>
> Let me know if you run into any problems.
>
> Here's the link again. 
>
>
> https://github.com/Arlen22/TiddlyServer/tree/324342c58882b994b98365a6e34515b779f6e07d
>
> Arlen
>

-- 
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/75d1c5e5-bdec-44b9-a49b-dd77f0a3e278%40googlegroups.com.


Re: [tw5] Re: Polly (2) -- Downloads as HUB

2019-08-02 Thread Scott Kingery
Thanks for taking my suggestions into consideration!

You are right, Polly is more of a saving/restoring solution than a launcher
and development should go in that direction

The %userprofile%/downloads was just an example. I could easily see where
I'd put my wikis in Google Drive (for example) and reference them locally
as %userprofile%\Google Drive\tiddlywiki  This has the potential of only
needing 1 .ini file across my synced devices.

Can I run Polly.bat with different ini files? I see that is available with
polly-once.bat




On Fri, Aug 2, 2019 at 12:33 PM 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> That would be the original request. After some research, it looks like if
> we bring in the settings like this:
>
>   $backupdir= $general["backupdir"]
>   $backupdir= [System.Environment]::ExpandEnvironmentVariables($backupdir)
>
> (which we would probably put into a function to simplify)*
>
> And have a setting entry like:
>
> backupdir=%userprofile%\Downloads\polly-backup
>
> That it works. Maybe you want to try that and see what you think. Is the
> extra complexity
> worth the results?
>
> Thanks!
>
> * We should probably make our own routine library file at this point
>
> On Friday, August 2, 2019 at 11:47:08 AM UTC-7, @TiddlyTweeter wrote:
>>
>> So in his case he wants to pass it through from settings and have it
>> expand when it reaches Polly?
>
> --
> 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/0457248b-5a4f-4041-8a76-c65cfe630419%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/CAGUDtYHT6HK9hVYVZvH817F7o6VDyXOi-cOhc-DgmiEkB7hfXw%40mail.gmail.com.


[tw5] Re: Update to TiddlyServer 2.1 Beta

2019-08-02 Thread Arlen Beiler
And then I forgot to push the last bit. So here's the updated link.

https://github.com/Arlen22/TiddlyServer/tree/02b47908381a987411ec2fdf1c8d4f0e64055bd4

Enjoy!

Arlen

On Fri, Aug 2, 2019 at 4:39 PM Arlen Beiler  wrote:

> Hi TiddlyServer testers,
>
>
> https://github.com/Arlen22/TiddlyServer/tree/324342c58882b994b98365a6e34515b779f6e07d
>
> Here is an update to TiddlyServer 2.1 Beta. The simplified tree format
> from 2.0 is back, but the expanded format is available. A string represents
> a folder element and an object with no $element property represents a group
> element.
>
> You can use this for a basic settings.json file
>
> {
> "tree": "../webroot",
> "bindInfo": {"bindAddress": ["127.0.0.1"]},
> "$schema": "./settings-2-1.schema.json"
> }
>
> Backup your current settings.json and don't depend on upgrade-settings.js
> at this point. I will update that soon.
>
> Let me know if you run into any problems.
>
> Here's the link again.
>
>
> https://github.com/Arlen22/TiddlyServer/tree/324342c58882b994b98365a6e34515b779f6e07d
>
> Arlen
>

-- 
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/CAJ1vdSQ1RXw4nt_exXFVqOns2DptvUc5UY8BuLh7obOA7DN0-g%40mail.gmail.com.


[tw5] Update to TiddlyServer 2.1 Beta

2019-08-02 Thread Arlen Beiler
Hi TiddlyServer testers,

https://github.com/Arlen22/TiddlyServer/tree/324342c58882b994b98365a6e34515b779f6e07d

Here is an update to TiddlyServer 2.1 Beta. The simplified tree format from
2.0 is back, but the expanded format is available. A string represents a
folder element and an object with no $element property represents a group
element.

You can use this for a basic settings.json file

{
"tree": "../webroot",
"bindInfo": {"bindAddress": ["127.0.0.1"]},
"$schema": "./settings-2-1.schema.json"
}

Backup your current settings.json and don't depend on upgrade-settings.js
at this point. I will update that soon.

Let me know if you run into any problems.

Here's the link again.

https://github.com/Arlen22/TiddlyServer/tree/324342c58882b994b98365a6e34515b779f6e07d

Arlen

-- 
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/CAJ1vdSQL5Kp014YF74SPvcwE1tc1riyW1sZ91WzSNMGSvnBe7Q%40mail.gmail.com.


[tw5] Shortcut issue

2019-08-02 Thread Aidan Grey
Hey all,

I created a global shortcut that creates a new tiddler from a template. It 
works, except that I get this error:

Uncaught TypeError: Cannot read property 'indexOf' of null

I'm expecting to create a ton of tiddlers with the shortcut, so closing the 
error every time defeats the purpose. What would be the fix for the error?

The action widget is tagged $:/tag/KeyboardShortcut, the key field is 
"alt+M", and the widget text is:

<$navigator>
<$action-sendmessage 
$message="tm-new-tiddler" 
$param="meaningTemplate"
/>


What did I miss?

Thanks,
Aidan

-- 
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/c5461591-bf27-4c85-9f27-9eef14c38816%40googlegroups.com.


[tw5] Re: position in a list

2019-08-02 Thread 'Mark S.' via TiddlyWiki
I think this answers your question as described in your text -- note that 
it specifies both numbers to compare. It uses pre20

<$vars selected=7 whereami=8>
<$list filter="[range[1,10]allbeforematch]">
<>  is before selected item <>

<$list filter="[range[1,10]allaftermatch]">
<>  is after selected item <>




On Friday, August 2, 2019 at 5:41:33 AM UTC-7, Mohammad wrote:
>
> A partial solution
>
> <$set name=selected value=7>
> <$list filter="[range[1,10]]"  variable="item" >
> <$list filter="[range[1,10]allbefore] +[prefix]">
> <>  is before selected item: <>
> 
> 
> 
>
>
>
> This works, any better idea? Any TW intrinsic solution?
>
>
> --Mohammad
>
> On Friday, August 2, 2019 at 4:59:10 PM UTC+4:30, Mohammad wrote:
>>
>> I have a list of tiddlers, I iterate over the list and I want to know if 
>> an item is before or after the selected item!
>>
>> How to do this?
>>
>>
>> --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/23269a20-7d24-4ad1-8f77-9081ccf068bb%40googlegroups.com.


[tw5] Re: Are "all tids" the default input to filter?

2019-08-02 Thread 'Mark S.' via TiddlyWiki
Tiddler operators tagged as  "Selection Constructors" start a new title 
list, ignoring input.

On Friday, August 2, 2019 at 3:20:26 AM UTC-7, Mat wrote:
>
> I feel I should know this already but have to ask: Is it correct to say 
> that "the original input to a filter are 'all tiddlers' "? 
>
> I ask this after noting the example 
>  for 
> the new match filter op that reads:
>
> [match[HelloThere]] --> HelloThere
>
> ...and in the docs for the match op, it says "input : a selection of 
> titles"
>
> ...but, of course, a empty filter does not output all tiddlers. (maybe "no 
> operator" is a special case which outputs nothing?)
>
> <:-)
>

-- 
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/9782d7e5-6c74-41d2-92fc-5d23beefb790%40googlegroups.com.


Re: [tw5] Re: Polly (2) -- Downloads as HUB

2019-08-02 Thread 'Mark S.' via TiddlyWiki
That would be the original request. After some research, it looks like if 
we bring in the settings like this:

  $backupdir= $general["backupdir"]
  $backupdir= [System.Environment]::ExpandEnvironmentVariables($backupdir) 

(which we would probably put into a function to simplify)*

And have a setting entry like:

backupdir=%userprofile%\Downloads\polly-backup

That it works. Maybe you want to try that and see what you think. Is the 
extra complexity 
worth the results?

Thanks!

* We should probably make our own routine library file at this point

On Friday, August 2, 2019 at 11:47:08 AM UTC-7, @TiddlyTweeter wrote:
>
> So in his case he wants to pass it through from settings and have it 
> expand when it reaches Polly?

-- 
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/0457248b-5a4f-4041-8a76-c65cfe630419%40googlegroups.com.


[tw5] Re: Polly (2) -- Downloads as HUB

2019-08-02 Thread 'Mark S.' via TiddlyWiki
Oops. Ok, changes ...

first $archiveFilename ...

$archiveFilename = generate-archivestring $destinationTimestamp 
"$stem-$exten" $exten   

second $archiveFilename

$archiveFilename = generate-archivestring $destinationTimestamp 
"$stem-$exten" "zip" 

and new function generate-archivestring

# MAKE ARCHIVE STRING FROM DATE, STEM, AND EXTEN
function generate-archivestring {
param( [datetime]$dt, [string]$pFilename, [string]$pExten)
 return  "$pFilename-$(get-date -year $dt.year -month $dt.month 
-day $dt.day -hour $dt.hour -minute $dt.minute -second $dt.second 
-millisecond $dt.millisecond -f -MM-dd_HHmmss).$pExten"
}

I guess the main question is whether I should be using a "-" or a "." for 
the extension separator in the first part of the file name. I guess it 
doesn't matter
as long as all strings are unique.

Thanks!

On Friday, August 2, 2019 at 11:49:37 AM UTC-7, @TiddlyTweeter wrote:
>
> I don't that pattern in tests here. I see the ".ext" in the stamp as 
> always "zip".
>
> 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/2ec9f7c3-e759-4b5a-8bf3-42f11d3e9a9a%40googlegroups.com.


[tw5] Re: Polly (2) -- Downloads as HUB

2019-08-02 Thread @TiddlyTweeter
I don't that pattern in tests here. I see the ".ext" in the stamp as always 
"zip".

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/b3e58715-09dd-42a5-a5a9-dad70e2200e6%40googlegroups.com.


Re: [tw5] Re: Polly (2) -- Downloads as HUB

2019-08-02 Thread @TiddlyTweeter
So in his case he wants to pass it through from settings and have it expand 
when it reaches Polly?

-- 
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/85c6c623-350e-4f69-be10-67611dd46017%40googlegroups.com.


[tw5] Re: Polly (2) -- Downloads as HUB

2019-08-02 Thread 'Mark S.' via TiddlyWiki


On Friday, August 2, 2019 at 10:11:00 AM UTC-7, @TiddlyTweeter wrote:
>
>
> Would that mean that wiki "tricky.tw", "tricky.html", "tricky.htm" would 
> all end up stamped the same, e.g. as "tricky-zip-2019-08-02_184838.zip"?
>
>
>
No, unless I made a mistake, ...

tricky-tw becomes tricky-tw-2019-08-02_184838.zip
tricky-htm becomes tricky-htm-2019-08-02_184838.zip
tricky-html becomes tricky-html-2019-08-02_184838.zip

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/a1d8f9fe-fd1c-4db3-8091-5f3bc9c6a4dd%40googlegroups.com.


Re: [tw5] Re: Polly (2) -- Downloads as HUB

2019-08-02 Thread 'Mark S.' via TiddlyWiki


On Friday, August 2, 2019 at 10:42:16 AM UTC-7, @TiddlyTweeter wrote:
>
>
> I got something working on that. IF no setting in ini is made then the 
> settings will be to the Powershell "$Env:userprofile\downloads", like this 
> ...
>
>   # --- DOWNLOADS DIRECTORY: where browser downloads go
>   $downloaddir = $general["downloaddir"]
>   # If not defined use o/s "userprofile" 
>   if ([string]::IsNullOrEmpty($downloaddir)){$downloaddir = 
> "$Env:userprofile\Downloads"}
>
> Would that be enough to cover the case?
>
>
It would handle the general case of using the user's download directory as 
default. But not Scott's concern about using
environmental variables. Say a music lover had their download dir set to 
*CSIDL_MYMUSIC 
*because all they usually downloaded was
MP3s?

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/47b4fd18-3bee-4279-85b3-a48942257ca9%40googlegroups.com.


[tw5] Re: Polly (2) -- Downloads as HUB

2019-08-02 Thread @TiddlyTweeter
Sorry Mark, I should clarify this ...

The zips ARE going into thir correct directories, but I think it would be 
better too if the individual zip files carried the name and extension of 
the wiki.

TT

On Friday, 2 August 2019 19:11:00 UTC+2, @TiddlyTweeter wrote:
>
> Thanks Mark
>
> I updated and its working well.
>
> I believe there may be an issue on Zip Archive naming?
>
> You drop the file extension in the "date stamp text" and replace it with 
> "zip". 
>
> Would that mean that wiki "tricky.tw", "tricky.html", "tricky.htm" would 
> all end up stamped the same, e.g. as "tricky-zip-2019-08-02_184838.zip"?
>
> Best
> TT
>
> Mark S. wrote:
>>
>> Ok. Great. I would just patch my own version, but I know you've already 
>> made changes to yours. So I'll describe what to do next. Since
>> we need the new naming routine twice, and maybe more, I've put it in a 
>> function.
>>
>> Up above the RUN INFO section, paste in a new function
>>
>

-- 
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/a0c93a95-cfad-4cbc-9a4e-d42574b35662%40googlegroups.com.


Re: [tw5] Re: Polly (2) -- Downloads as HUB

2019-08-02 Thread @TiddlyTweeter

>
> @TiddlyTweeter wrote:
>>>
>>> Being able to launch individual wiki by single selectable choice? Not so 
>>> sure on that. I think it could over-complicate Polly.
>>>
>>  

> Mark S. wrote:
>> That's what I was thinking. It doesn't have a real graphical interface, 
>> and that wasn't the primary object.
>>
>
Right. In any case the ability to run many setting profiles if you want I 
think addresses that issue well enough without need for a menu picker. 

If a user wanted to load two wiki then I'm sure we could think about a 
settings file to automate that. 

I do like the idea, in principle, you could start Polly, open your wiki, 
automate their backup and restore.  

But the "invocation" of the loads needs thinking about. Cause what a 
browser does is not always the same (tab? or window? etc) and different 
browsers do vary too.

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/e0df833e-ab3d-472d-a898-ee15b7f9d63b%40googlegroups.com.


Re: [tw5] Re: Polly (2) -- Downloads as HUB

2019-08-02 Thread @TiddlyTweeter


On Friday, 2 August 2019 19:21:24 UTC+2, Mark S. wrote:
>
>
>
> On Thursday, August 1, 2019 at 10:06:27 PM UTC-7, @TiddlyTweeter wrote:
>>
>>
>> Being able to launch individual wiki by single selectable choice? Not so 
>> sure on that. I think it could over-complicate Polly.
>>
>>
> That's what I was thinking. It doesn't have a real graphical interface, 
> and that wasn't the primary object.
>  
>
>>
>> That should be quite easy to do. One approach is if you leave 
>> "downloaddir" $null it will revert to the Env variable for current users 
>> profile?
>>
>>
> We should find out if some version of "%userprofile%/downloads" will work 
> out of the box. Then that can be our default in the settings,
> and the user can change it if they have some special download location.
>

I got something working on that. IF no setting in ini is made then the 
settings will be to the Powershell "$Env:userprofile\downloads", like this 
...

  # --- DOWNLOADS DIRECTORY: where browser downloads go
  $downloaddir = $general["downloaddir"]
  # If not defined use o/s "userprofile" 
  if ([string]::IsNullOrEmpty($downloaddir)){$downloaddir = 
"$Env:userprofile\Downloads"}

Would that be enough to cover the case?


>> Mark, could you look into that? I ask because changing to always run in 
>> app dir will effect the "Restore" section most. That's where the change 
>> would have to be?
>>
>>
> We'll definitely need to co-ordinate, since it's likely to need changes 
> all over the main PS file.
>  
>
>> I agree with Mark. I'd be nervous of auto-creating the  top level in a 
>> hierachy of folders because of the potential for unanticipated results. But 
>> any sub-dir below an existing directory I think is fine. So, for instance 
>> we maybe could eventually create sub-folder structure for parrots--provided 
>> the top dir exists?
>>
>>
> The make-directory function already handles making new sub-directories, so 
> we should be able to add it for parrots. Hmm ... not sure if it knows to 
> make for subdirectory/subdirectory/sub...
>
>
> Scott, great questions! Thanks.
>>
>>
> Yes!
>
>  
>

-- 
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/265a5a1a-30dd-4d6c-a24b-7e979e37dfce%40googlegroups.com.


Re: [tw5] Re: Polly (2) -- Downloads as HUB

2019-08-02 Thread 'Mark S.' via TiddlyWiki

Github on the web is clunky because you can't make your changes, run, and 
test. 

It becomes more useful in conjunction with a desktop version of Git. But 
not everyone is comfortable with that.

So, so far we've just been handing the baton back and forth. It seems to 
work, at least with two people.

I suppose we should have something like GitHub for followers to download 
from. Up to now, we haven't had any followers ;-)



On Thursday, August 1, 2019 at 11:17:09 PM UTC-7, PMario wrote:
>
> Hi folks, 
>
> Is there a github repo, where I can have a look at the project / code? ... 
> Is there a way to contribute?
>
> 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/35f18cb2-6b3d-4d4b-89be-9555aa811749%40googlegroups.com.


Re: [tw5] Re: Polly (2) -- Downloads as HUB

2019-08-02 Thread 'Mark S.' via TiddlyWiki


On Thursday, August 1, 2019 at 10:06:27 PM UTC-7, @TiddlyTweeter wrote:
>
>
> Being able to launch individual wiki by single selectable choice? Not so 
> sure on that. I think it could over-complicate Polly.
>
>
That's what I was thinking. It doesn't have a real graphical interface, and 
that wasn't the primary object.
 

>
> That should be quite easy to do. One approach is if you leave 
> "downloaddir" $null it will revert to the Env variable for current users 
> profile?
>
>
We should find out if some version of "%userprofile%/downloads" will work 
out of the box. Then that can be our default in the settings,
and the user can change it if they have some special download location.



> Mark, could you look into that? I ask because changing to always run in 
> app dir will effect the "Restore" section most. That's where the change 
> would have to be?
>
>
We'll definitely need to co-ordinate, since it's likely to need changes all 
over the main PS file.
 

> I agree with Mark. I'd be nervous of auto-creating the  top level in a 
> hierachy of folders because of the potential for unanticipated results. But 
> any sub-dir below an existing directory I think is fine. So, for instance 
> we maybe could eventually create sub-folder structure for parrots--provided 
> the top dir exists?
>
>
The make-directory function already handles making new sub-directories, so 
we should be able to add it for parrots. Hmm ... not sure if it knows to 
make for subdirectory/subdirectory/sub...


Scott, great questions! Thanks.
>
>
Yes!

 

-- 
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/7632c967-f4ba-462e-9e4d-f619325d4f6b%40googlegroups.com.


Re: [tw5] Re: Polly (2) -- Downloads as HUB

2019-08-02 Thread @TiddlyTweeter
PMario wrote:
>
> Is there a github repo, where I can have a look at the project / code? ... 
> Is there a way to contribute?
>

There isn't yet a github for it. I maintain code in a TW using versioning. 
Its kinda works okay for this just being me and Mark so far.

I think with enough demand a github will probably emerge.

For myself I am reluctant to actually run a github for it. This is likely 
the only thing like this I will ever do,  so I'm reluctant having to learn 
yet another system that I'll use once.

But I can see longer term there may be enough interest for one and value in 
it.

Best wishes
Josiah

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


[tw5] Re: position in a list

2019-08-02 Thread 'Mark S.' via TiddlyWiki
<$set name=selected value=7>
<$list filter="[range[1,10]]"  variable="item" >
<$list filter="[range[1,10]allbefore] 
-[range[1,10]allbefore] -[range[1,10]allafter]">
<>  is before selected item: <>




On Friday, August 2, 2019 at 5:41:33 AM UTC-7, Mohammad wrote:
>
> A partial solution
>
> <$set name=selected value=7>
> <$list filter="[range[1,10]]"  variable="item" >
> <$list filter="[range[1,10]allbefore] +[prefix]">
> <>  is before selected item: <>
> 
> 
> 
>
>
>
> This works, any better idea? Any TW intrinsic solution?
>
>
> --Mohammad
>
> On Friday, August 2, 2019 at 4:59:10 PM UTC+4:30, Mohammad wrote:
>>
>> I have a list of tiddlers, I iterate over the list and I want to know if 
>> an item is before or after the selected item!
>>
>> How to do this?
>>
>>
>> --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/7aaf65c3-440c-40f5-9dab-8d56f8c8a440%40googlegroups.com.


[tw5] Re: Polly (2) -- Downloads as HUB

2019-08-02 Thread @TiddlyTweeter
Thanks Mark

I updated and its working well.

I believe there may be an issue on Zip Archive naming?

You drop the file extension in the "date stamp text" and replace it with 
"zip". 

Would that mean that wiki "tricky.tw", "tricky.html", "tricky.htm" would 
all end up stamped the same, e.g. as "tricky-zip-2019-08-02_184838.zip"?

Best
TT

Mark S. wrote:
>
> Ok. Great. I would just patch my own version, but I know you've already 
> made changes to yours. So I'll describe what to do next. Since
> we need the new naming routine twice, and maybe more, I've put it in a 
> function.
>
> Up above the RUN INFO section, paste in a new function
>

-- 
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/7fc91508-c146-49d1-8d91-968448ce9409%40googlegroups.com.


[tw5] Re: date format and the $view widget

2019-08-02 Thread Mohammad
Yep!
 It also does not use $view widget! :-)

Cheers
Mohammad

On Friday, August 2, 2019 at 8:45:38 PM UTC+4:30, Mark S. wrote:
>
> That was just a paste-o.
>
> On Thursday, August 1, 2019 at 11:38:40 PM UTC-7, Mohammad wrote:
>>
>> The last line also is not required
>>
>> <$text field="yd" format="date" template="mmm 0DD, " />
>>
>>
>>
>> On Friday, August 2, 2019 at 4:25:26 AM UTC+4:30, Mark S. wrote:
>>>
>>> Here's an implementation of your suggestion (using pre 20)
>>>
>>> <$set name="year" filter="[{!!yd}split[-]nth[1]]">
>>> <$set name="mpos" filter="[{!!yd}split[-]nth[2]]">
>>> <$set name="day" filter="[{!!yd}split[-]nth[3]]">
>>> <$set name="month" filter="Jan Feb Mar Apr May June July Aug Sep Oct Nov 
>>> Dec +[nth]">
>>> <> <>, <>
>>> 
>>> 
>>> 
>>> 
>>> <$text field="yd" format="date" template="mmm 0DD, " />
>>>
>>>
>>>

-- 
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/e22e0b32-62f3-4dde-9e4e-dd560b2f4178%40googlegroups.com.


[tw5] Re: Announcement: A small horizontal timeline

2019-08-02 Thread Mohammad
A new version is cumming!

Thanks to the great features of *TW 5.1.20*

This is an example of how TW can be used like JS in generating dynamic CSS!

Cheers
Mohammad

[image: hr-timeline01.png]


[image: hr-timeline02.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/69c37f5f-ab31-4d2a-9c1e-09abefa63fe3%40googlegroups.com.


[tw5] Re: date format and the $view widget

2019-08-02 Thread 'Mark S.' via TiddlyWiki
That was just a paste-o.

On Thursday, August 1, 2019 at 11:38:40 PM UTC-7, Mohammad wrote:
>
> The last line also is not required
>
> <$text field="yd" format="date" template="mmm 0DD, " />
>
>
>
> On Friday, August 2, 2019 at 4:25:26 AM UTC+4:30, Mark S. wrote:
>>
>> Here's an implementation of your suggestion (using pre 20)
>>
>> <$set name="year" filter="[{!!yd}split[-]nth[1]]">
>> <$set name="mpos" filter="[{!!yd}split[-]nth[2]]">
>> <$set name="day" filter="[{!!yd}split[-]nth[3]]">
>> <$set name="month" filter="Jan Feb Mar Apr May June July Aug Sep Oct Nov 
>> Dec +[nth]">
>> <> <>, <>
>> 
>> 
>> 
>> 
>> <$text field="yd" format="date" template="mmm 0DD, " />
>>
>>
>>

-- 
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/f5953f62-f83b-4d9f-af83-1a69c800599b%40googlegroups.com.


Re: [tw5] contains filter operator

2019-08-02 Thread Mat
Jeremy, thank you for your very informative answers. Here and everywhere.

<:-)


-- 
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/961d79fc-01fd-4956-b5d9-a4573d01c7ca%40googlegroups.com.


Re: [tw5] contains filter operator

2019-08-02 Thread Jeremy Ruston
Hi Mat

> On 2 Aug 2019, at 15:34, Mat  wrote:
> 
> Is there a particular reason for why the contains operator behaves in this 
> way where most other operators don't?

Most operators work on the titles alone (and so don’t require the underyling 
tiddler to exist), but some work on the underlying tiddlers (eg. “[tags[]]”). 
The contains operator could have made a special case for working with the title 
field but it still wouldn’t do what you want because it would still convert the 
title to a list, so a title like “Hello Jeremy” would be converted to a list 
with two entries [[Hello]] [[Jeremy]], and then it would be checking whether 
either of those entries contains the specified string.

Best wishes

Jeremy.

-- 
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/928EF56B-3A04-42DE-9C4D-708D43D8B489%40gmail.com.


Re: [tw5] contains filter operator

2019-08-02 Thread Mat
Jeremy Ruston wrote:
>
> The other restriction I mentioned for the contains operator is that it 
> only works with tiddlers that exist, it doesn’t work when applied to titles 
> that don’t exist as tiddlers.
>

Is there a particular reason for why the contains operator behaves in this 
way where most other operators don't?

<:-) 

-- 
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/44e7a179-a1a2-4ff0-aafc-16cd189b7dbb%40googlegroups.com.


Re: [tw5] contains filter operator

2019-08-02 Thread Jeremy Ruston
Hi Mat

> @Jeremy
> 
> But according to docs, it should be possible to add a field suffix which 
> Muhammad does: contains:title[6]   - ?
> 
> Is it perhaps because 6 is missing and the operator really searches inside 
> it's title field... which is of course missing? Most(?) other operators can 
> use a title field that in reality is missing.

The other restriction I mentioned for the contains operator is that it only 
works with tiddlers that exist, it doesn’t work when applied to titles that 
don’t exist as tiddlers.

Best wishes

Jeremy

> 
> <:-)
> 
> -- 
> 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/42ce4286-f044-4c5f-88a8-02cbe69eb7a5%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/8FF9845F-CFC1-4391-B815-DB9169611AA6%40gmail.com.


Re: [tw5] Are "all tids" the default input to filter?

2019-08-02 Thread Jeremy Ruston
Hi Xavier, Mat,

> On 2 Aug 2019, at 11:43, Xavier Cazin  wrote:
> 
> 
> https://tiddlywiki.com/#Filter%20Operators 
>  starts with an important remark 
> that probably deserves to appear in more places:
> 
> Each first step  of a filter run 
>  not given any input titles receives 
> the output of [all[tiddlers]]  as its 
> input.
> 

That’s the default; in some situations a filter gets a specific set of tiddlers 
as the default title list. For example, the “render” command takes a filter for 
specifying the filename of each file. That filter is fed with a list consisting 
of a single entry, the title of the tiddler that is being rendered.

Best wishes

Jeremy

-- 
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/56A8113B-7F86-4477-B9CE-013A824FE4DF%40gmail.com.


[tw5] Re: position in a list

2019-08-02 Thread TonyM
Mohammad

This is not the full answer but counting the items in a list can give you 
helpful information. The set widgets select parameter and the rest operator 
amongst others all provide the components to do this and do it well.

Perhaps store the number of items from count then use the select parameter to 
iterate each item. The position in the list will then be a number and last time 
I looked 4 was after 3, and 3 before 4 so the relation ship is obviouse

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/c4181f82-4ba0-40ab-9349-e548a880b343%40googlegroups.com.


[tw5] Re: date format and the $view widget

2019-08-02 Thread TonyM
Mohammad

My key recommendation is store dates as tiddlywiki date fields then all the 
format options, opperators, search order and more remain available to you.

If you want to allow manual entry of dates provide it, but store the result as 
a standard date field. If you always move to and from the standard you maintain 
the power the standard gives you like using the days operator, or using 
pickaday, or doing date comparisons or or or

Choosing the format to store the dates as -0mm-0dd or /mm/dd or mm 
is just departing from the standard. And all of the above are trivial to 
reproduce using the view widget.

Regards
Tony

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/604b761a-95eb-49f5-8b8b-ecb2502dd8f6%40googlegroups.com.


[tw5] Re: View and Print tiddlers with page handling - help requested

2019-08-02 Thread TonyM
Eveyone

This sounds great because I think tiddlywiki would be ideal for both use as a 
smart document but also a document generator from web sites to pages and to 
print. Making it seemless would be nice.

I have a real world case I am working on so I can establish the key 
requirements. I think the most important is to handle the page layouts and the 
transition to print. The same is true for in browser lists and tiddlywiki is 
good at lists. We need to take control of the bottom of our lists which are 
prone to running long on the screen when keeping them in a tiddler, and one 
visible screen with scroll is often better.

An interesting observation I made recently for those who understand document 
management systems is tiddly wiki smart documents could operate as independant 
documents that have the document management system, standards, tools etc. . 
built in. Move the server management side into the documents themselves. It 
allows independence of your data while complying with standards to support 
collaboration and effective document management.

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/d67f1327-35a3-457b-972f-efa6ca2cbf64%40googlegroups.com.


[tw5] Re: View and Print tiddlers with page handling - help requested

2019-08-02 Thread BurningTreeC



On Friday, August 2, 2019 at 12:05:53 PM UTC+2, BurningTreeC wrote:
>>
>> ... The PageTemplate isn't needed for the latter
>>
>
> That's even better. ... I thought I needed it. ... May be a testing error. 
>

Oh, my bad, it's needed for the "sort" dropdown to work 

>
> -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/53511272-5e27-4cb5-9b6a-9de10d2e985d%40googlegroups.com.


[tw5] Re: Is there an option to have an input tag (e.g. text input), with a button "save" next to it which then saves to a tiddler field?

2019-08-02 Thread Melvin
I got it by doing

<$edit-text tiddler="StoreDailyQuestionnaireData" field="mytestfield"/>
<$button><$action-setfield $field=demonstration1 
$value={{StoreDailyQuestionnaireData!!mytestfield}} />Set the field 
1
<$button><$action-setfield $field=demonstration2 
$value={{StoreDailyQuestionnaireData!!mytestfield}} />Set the field 
2

---
<$view field=demonstration1/>

<$view field=demonstration2/>

On Friday, August 2, 2019 at 2:13:17 PM UTC+2, Melvin wrote:
>
> I am trying to find a suitable workaround for edit-text. I'm using 
> TiddlyWiki as my journal.
>
> I have a template Tiddly for questions with radio buttons and all that. I 
> clone it for the day, change the date and that is my new Tiddler.
>
> However, the amount of stuff I need to edit within my tiddler just to 
> answer some questions is becoming a lot. I'd like to do it via input fields.
>
> For example, I have questions such as: what goal do you have for today (up 
> to a max of 3 goals).
>
> Now I'd need to edit the Tiddler for it.
>
> But I'd like to simply see an input tag with a button save next to it and 
> when I type in my goal and click "save!" it replaces the text that was 
> within the field.
>
> In that sense it looks a lot like the appender of the following TiddlyWiki 
> at http://skeeve.tiddlyspot.com/
>
> Another example (but then with a dropdown menu instead of free input text) 
> is 
> http://inmysocks.tiddlyspot.com/#Concatenating%20Strings%20-%20What%20Breaks
>

-- 
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/5a62a6d0-eca9-44c4-ade3-f624910b316d%40googlegroups.com.


[tw5] Re: position in a list

2019-08-02 Thread Mat
Maybe you can treat the list like a string and cut the list at the selected 
item (listbefore[]) and then see if the item is in the remaining list - if 
it is not, then it was before otherwise it was after.

<:-)

-- 
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/e7908463-6325-4f7d-b6fc-8a5506f14efb%40googlegroups.com.


[tw5] Re: position in a list

2019-08-02 Thread Mohammad
A partial solution

<$set name=selected value=7>
<$list filter="[range[1,10]]"  variable="item" >
<$list filter="[range[1,10]allbefore] +[prefix]">
<>  is before selected item: <>






This works, any better idea? Any TW intrinsic solution?


--Mohammad

On Friday, August 2, 2019 at 4:59:10 PM UTC+4:30, Mohammad wrote:
>
> I have a list of tiddlers, I iterate over the list and I want to know if 
> an item is before or after the selected item!
>
> How to do this?
>
>
> --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/f72e4878-f7a2-4184-b3b9-366ed324eae5%40googlegroups.com.


[tw5] position in a list

2019-08-02 Thread Mohammad
I have a list of tiddlers, I iterate over the list and I want to know if an 
item is before or after the selected item!

How to do this?


--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/a2bb103f-5a1c-44d7-82ff-12559e904ad1%40googlegroups.com.


[tw5] Is there an option to have an input tag (e.g. text input), with a button "save" next to it which then saves to a tiddler field?

2019-08-02 Thread Melvin
I am trying to find a suitable workaround for edit-text. I'm using 
TiddlyWiki as my journal.

I have a template Tiddly for questions with radio buttons and all that. I 
clone it for the day, change the date and that is my new Tiddler.

However, the amount of stuff I need to edit within my tiddler just to 
answer some questions is becoming a lot. I'd like to do it via input fields.

For example, I have questions such as: what goal do you have for today (up 
to a max of 3 goals).

Now I'd need to edit the Tiddler for it.

But I'd like to simply see an input tag with a button save next to it and 
when I type in my goal and click "save!" it replaces the text that was 
within the field.

In that sense it looks a lot like the appender of the following TiddlyWiki 
at http://skeeve.tiddlyspot.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/f3ccddcd-8745-4ffc-bf87-2376b19eb776%40googlegroups.com.


[tw5] Re: View and Print tiddlers with page handling - help requested

2019-08-02 Thread PMario
On Friday, August 2, 2019 at 12:05:53 PM UTC+2, BurningTreeC wrote:
>
> ... The PageTemplate isn't needed for the latter
>

That's even better. ... I thought I needed it. ... May be a testing error. 

-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/fa5c90e2-3a18-4a73-8f6c-2055d3d8f0fb%40googlegroups.com.


[tw5] Re: View and Print tiddlers with page handling - help requested

2019-08-02 Thread PMario
On Friday, August 2, 2019 at 12:05:53 PM UTC+2, BurningTreeC wrote:
...

> I think the print-tiddler would be a nice-to-have feature for the core, 
> what do you think?
>

I'd support a PR. 

-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/ef567d9d-9938-491e-8113-b2a4fce6a800%40googlegroups.com.


[tw5] Re: How to get a "Field Variables"?

2019-08-02 Thread PLATO
Mat,Thanks!
it's work!   

在 2019年8月2日星期五 UTC+8下午6:34:25,Mat写道:
>
> Copy-paste this:
>
> <$list filter="[{!!book_title}] -[[Manage Books]] +[sort[created]]">
> <$transclude/>
> 
>
> Note: the !! means that it is the field. So doing {{!!book_title}} 
> transcludes the field contents. Instead doing [{!!book_title}] transcludes 
> the contents and makens them into a filter item.
> Note: that you must always close the widget, i.e  or you can get 
> errors.
>
> <:-)
>

-- 
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/51039c67-7fb5-43e8-b6a8-1ac628cd4ff7%40googlegroups.com.


[tw5] Re: View and Print tiddlers with page handling - help requested

2019-08-02 Thread Mohammad
I support this!

On Friday, August 2, 2019 at 2:35:53 PM UTC+4:30, BurningTreeC wrote:
>
> Hi Tony, hi pmario,
>
> there's also my printriver.tiddlyspot.com which is a plugin, but I like 
> http://print-tiddler.tiddlyspot.com/ more. The PageTemplate isn't needed 
> for the latter
>
> I think the print-tiddler would be a nice-to-have feature for the core, 
> what do you think?
>

-- 
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/9369a136-7cdd-4bc2-a2b5-95a596496801%40googlegroups.com.


[tw5] Re: View and Print tiddlers with page handling - help requested

2019-08-02 Thread Mat
BurningTreeC wrote:
>
> I think the print-tiddler would be a nice-to-have feature for the core, 
> what do you think?
>

Printing as a core feature is very reasonable but not limited to only 
current tiddler.

IMO printing is closely related to exporting.
And for this I have the following proposal: 
https://github.com/Jermolene/TiddlyWiki5/issues/1687

<:-)
 

-- 
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/35333091-63c4-44a8-8c71-a9eb1891872f%40googlegroups.com.


[tw5] Re: List field and display few entries

2019-08-02 Thread Mohammad
Hi Mat,
 I will have a look on limit operator and see how it works!
 

On Friday, August 2, 2019 at 3:17:49 PM UTC+4:30, Mat wrote:
>
> Maybe Tobias version of the limit operator 
> ?
>
> BTW, if you search for solutions on this, I think this functionality is 
> used in so called "pagination" or "paging".
>
> Also, I note that your last example actually gives "1 2 3 4" - "4 5 6 7" 
> i.e the "4" is repeated.
>

That's right! I want to keep last item when show the next items and first 
one when show the previous item! I have added the include suffix.

>
> <:-)
>

-- 
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/f0f200bf-6f29-4fc3-8f0d-f9f06294862d%40googlegroups.com.


Re: [tw5] Are "all tids" the default input to filter?

2019-08-02 Thread Mat
Thanks Xavier!

And so the empty filter is an exception then, outputting nothing.

<:-)

-- 
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/21ef1590-f6b7-43ba-a7ca-cc535b7b3104%40googlegroups.com.


[tw5] Re: List field and display few entries

2019-08-02 Thread Mat
Maybe Tobias version of the limit operator 
?

BTW, if you search for solutions on this, I think this functionality is 
used in so called "pagination" or "paging".

Also, I note that your last example actually gives "1 2 3 4" - "4 5 6 7" 
i.e the "4" is repeated.

<:-)

-- 
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/30ff7cca-71df-46f6-8fc6-8b075b1826d5%40googlegroups.com.


Re: [tw5] Are "all tids" the default input to filter?

2019-08-02 Thread Xavier Cazin
Hi Mat,

https://tiddlywiki.com/#Filter%20Operators starts with an important remark
that probably deserves to appear in more places:

Each first step  of a filter run
 not given any input titles receives
the output of [all[tiddlers]]  as
its input.

Cheers,
-- Xavier Cazin


On Fri, Aug 2, 2019 at 12:20 PM Mat  wrote:

> I feel I should know this already but have to ask: Is it correct to say
> that "the original input to a filter are 'all tiddlers' "?
>
> I ask this after noting the example
>  for
> the new match filter op that reads:
>
> [match[HelloThere]] --> HelloThere
>
> ...and in the docs for the match op, it says "input : a selection of
> titles"
>
> ...but, of course, a empty filter does not output all tiddlers. (maybe "no
> operator" is a special case which outputs nothing?)
>
> <:-)
>
> --
> 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/3b35ef3d-bb87-4809-9cc2-b75245d4af24%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/CADeSwYNgA395%3D7%2B4%3Dr_KQRtTPMQcWLEON2dcbAn5vuaUYNEJjA%40mail.gmail.com.


[tw5] Re: How to get a "Field Variables"?

2019-08-02 Thread Mat
Copy-paste this:

<$list filter="[{!!book_title}] -[[Manage Books]] +[sort[created]]">
<$transclude/>


Note: the !! means that it is the field. So doing {{!!book_title}} 
transcludes the field contents. Instead doing [{!!book_title}] transcludes 
the contents and makens them into a filter item.
Note: that you must always close the widget, i.e  or you can get 
errors.

<:-)

-- 
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/40ff0c86-6683-450b-84af-c6eb5df191c5%40googlegroups.com.


Re: [tw5] contains filter operator

2019-08-02 Thread Mat
@Jeremy

But according to docs, it should be possible to add a field suffix which 
Muhammad does: contains:title[6]   - ?

Is it perhaps because 6 is missing and the operator really searches inside 
it's title field... which is of course missing? Most(?) other operators 
*can* use a title field that in reality is missing.

<:-)

-- 
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/42ce4286-f044-4c5f-88a8-02cbe69eb7a5%40googlegroups.com.


[tw5] Are "all tids" the default input to filter?

2019-08-02 Thread Mat
I feel I should know this already but have to ask: Is it correct to say 
that "the original input to a filter are 'all tiddlers' "? 

I ask this after noting the example 
 for the 
new match filter op that reads:

[match[HelloThere]] --> HelloThere

...and in the docs for the match op, it says "input : a selection of titles"

...but, of course, a empty filter does not output all tiddlers. (maybe "no 
operator" is a special case which outputs nothing?)

<:-)

-- 
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/3b35ef3d-bb87-4809-9cc2-b75245d4af24%40googlegroups.com.


[tw5] Re: View and Print tiddlers with page handling - help requested

2019-08-02 Thread BurningTreeC
Hi Tony, hi pmario,

there's also my printriver.tiddlyspot.com which is a plugin, but I like 
http://print-tiddler.tiddlyspot.com/ more. The PageTemplate isn't needed 
for the latter

I think the print-tiddler would be a nice-to-have feature for the core, 
what do you think?

-- 
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/d9b406ee-9a4c-4df9-8774-b61db2babb29%40googlegroups.com.


[tw5] Re: View and Print tiddlers with page handling - help requested

2019-08-02 Thread PMario
Hi Tony, 

I did think about your OP again and had a look about the "table based" 
implementation, that you linked to. ... It should be possible, to use it, 
together with BTCs solution. 

Instead of reusing the existing PageTemplate that overwrites the core, we 
create a new one that is table based and includes the header and footer CSS 
settings from your first link. We still can re-use the elements of the core 
PageTemplate, but it would be independent. 

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/b5c5534b-926f-456d-96b0-f09519f5472c%40googlegroups.com.


[tw5] Re: List field and display few entries

2019-08-02 Thread Mohammad
This is a solution to my question. It works but I think it is a little more 
complex than I expected and hopefully someone gives a simpler solution!
Complex TW code ate very difficult to maintain!


\define test(filter:"[range[1,14]]", stateTid:"testState")
<$vars filter=<<__filter__>> 
 last-item={{{ [list<__stateTid__>last[]] }}}
 first-item={{{ [list<__stateTid__>first[]] }}}
 stateTiddler=<<__stateTid__>>
>

<$button>Prev List
<$action-setfield $tiddler=<> list=""/>
<$list 
filter="[subfilterallbefore:includelast[4]count[]] -1 
-2 -3 ~[[::false]]" variable=result>
   <$list filter="[prefix[::false]]" variable=ignore>
<$action-listops $tiddler=<> 
$subfilter="[subfilterfirst[4]]"/>
   
   <$list filter="[!prefix[::false]]" variable=case>
<$action-listops $tiddler=<> 
$subfilter="[subfilterallbefore:includelast[4]] 
~[subfilterfirst[4]]"/>   



<$button>Next List
<$action-setfield $tiddler=<> list=""/>
<$list 
filter="[subfilterallafter:includefirst[4]count[]] -1 -2 
-3 ~[[::false]]" variable=result>
   <$list filter="[prefix[::false]]" variable=ignore>
<$action-listops $tiddler=<> 
$subfilter="[subfilterlast[4]]"/>
   
   <$list filter="[!prefix[::false]]" variable=case>
<$action-listops $tiddler=<> 
$subfilter="[subfilterallafter:includefirst[4]] 
~[subfilterlast[4]]"/>  






\end

<>

{{testState!!list}}


In the above code four entries are visible all the time!

Added to Yazd!

--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/4eba30c0-1a46-4e1e-a43a-29637e046c5b%40googlegroups.com.


Re: [tw5] contains filter operator

2019-08-02 Thread Mohammad
Thanks, so the input tiddlers need to have a list field!

Best
Mohammad

On Friday, August 2, 2019 at 12:53:05 PM UTC+4:30, Jeremy Ruston wrote:
>
> Hi Mohammad
>
> Why this gives no result
>
>
> <$list filter="[range[1,15]]">
> <$list filter="[contains:title[6]]">
> This is  6
> 
> 
>
>
> I expect on 6 it shows the message
>
>
> The “contains” operator works on list fields of tiddlers that exist. Here, 
> the tiddlers “1”, “2”, “3” etc. don’t exist, and so the operator won’t do 
> anything useful.
>
> Best wishes
>
> Jeremy.
>
>
> This is  6
>
> --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 tiddl...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/91dd3283-0a85-40aa-8a99-73f76493c869%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/eb93faee-634a-47bd-8b41-5e92f5c7a2cc%40googlegroups.com.


Re: [tw5] contains filter operator

2019-08-02 Thread Jeremy Ruston
Hi Mohammad

> Why this gives no result
> 
> 
> <$list filter="[range[1,15]]">
> <$list filter="[contains:title[6]]">
> This is  6
> 
> 
> 
> 
> I expect on 6 it shows the message

The “contains” operator works on list fields of tiddlers that exist. Here, the 
tiddlers “1”, “2”, “3” etc. don’t exist, and so the operator won’t do anything 
useful.

Best wishes

Jeremy.

> 
> This is  6
> 
> --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/91dd3283-0a85-40aa-8a99-73f76493c869%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/828E7DAE-7082-4F58-A370-C6EA9BD3988E%40gmail.com.


[tw5] contains filter operator

2019-08-02 Thread Mohammad
Why this gives no result


<$list filter="[range[1,15]]">
<$list filter="[contains:title[6]]">
This is  6




I expect on 6 it shows the message

This is  6

--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/91dd3283-0a85-40aa-8a99-73f76493c869%40googlegroups.com.


[tw5] Re: [tw] Re: [TW5] Experience with PlantUML and TW5

2019-08-02 Thread Terry Chen
It's really a fantastic work! Thanks a lot!

BTW, I'm wondering that is it feasible to render the image via local file 
"plantuml.jar"?

在 2016年1月15日星期五 UTC+8下午3:25:25,Tobias Beer写道:
>
> Hi Brian,
>  
>
>> It looks like it does access the plantuml.com server in order to 
>> render the image. 
>>
>
> Indeed,
>  
>
>> I didn't look at Tobias' code to see how easy it would be to integrate 
>> any of the above. 
>>
>
> While there are possibly some similarities,
> I think the process will be different for other libraries.
> Having a server do the rendering makes things simpler.
> For plantuml, I am actually using the image widget under the hood,
> or an iframe for textual renderings.
>
> If a js library created the output,
> then that would have to be rendered by equivalent
> widgetry and markup into the dom.
> The docs are a bit unpolished still,
> will improve later today.
>
> More of a way to create graphs like tiddlymap and 
>> tidgraph, only with a text based syntax rather than with tiddler 
>> relationships. 
>>
>
> I think the real interesting parts come about when the two can be 
> intermingled,
> as is the case with TiddlyMap and TidGraph.
>
> Plantuml does not allow you to click on the image "nodes"
> to navigate TiddlyWiki.
>
> Perhaps Jed could create a basic ui based on his SVG editing tool
> that would allow creating some sort of invisible svg "overlay",
> or where you could "highlight" those nodes in your wiki
> and make the overlay clickable so as to navigate around.
>
> Best wishes,
>
> Tobias.
>

-- 
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/3097ab4e-f2c8-4e99-8664-86b8febcf565%40googlegroups.com.


[tw5] Re: List field and display few entries

2019-08-02 Thread Mohammad
Note,
 As I did not know how to replace the list field using action-listops, I 
had to clear it and append to the empty list!

--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/659f161a-f354-41ca-a69c-1e71bedbb8ff%40googlegroups.com.


[tw5] List field and display few entries

2019-08-02 Thread Mohammad

   
   1. Assume you have a list of 14 entries
   2. The entries are given through a filter like [range[1, 14]]
   3. It is desired to display three entries all the time
   4. A next button shows the next three entries
  1. If pressing next button several times and you reached the end of 
  list the last three entries are shown!
   5. A prev button shows the previous three entries
  1. If pressing prev button several times and you reached the 
  beginning of list the first three entries are shown!
   6. So, always, any time three entries are visible on the  screen

Question

How to do this?


Partial solution, not works! 

\define test(filter:"[range[1,14]]")
<$vars filter=<<__filter__>> 
 last-item={{{ [list[stateTid]last[]] }}}
 first-item={{{ [list[stateTid]first[]] }}}
 stateTiddler="stateTid"
>

<$button>Prev List
<$action-setfield $tiddler="stateTid" list=""/>
<$action-listops $tiddler=<> 
$subfilter="[subfilterallbeforelast[3]] 
~[subfilterfirst[3]]"/>

<$button>Next List
<$action-setfield $tiddler="stateTid" list=""/>
<$action-listops $tiddler=<> 
$subfilter="[subfilterallafterlimit[3]] 
~[subfilterlast[3]]"/>




\end

<>

{{stateTid!!list}}



   - Create a tiddler in https://tiddlywiki.com/prerelease/
   - Copy paste the above code and click on buttons
   - It works but in two cases it show two entries NOT three



Any idea? AND if a simpler solution exist?

--Mohammad
--
TiddlyWiki Pre-release — 5.1.20-prerelease 


-- 
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/78df28bd-4270-4aca-bd5f-c330235c5fec%40googlegroups.com.


[tw5] Re: date format and the $view widget

2019-08-02 Thread Mohammad
The last line also is not required

<$text field="yd" format="date" template="mmm 0DD, " />



On Friday, August 2, 2019 at 4:25:26 AM UTC+4:30, Mark S. wrote:
>
> Here's an implementation of your suggestion (using pre 20)
>
> <$set name="year" filter="[{!!yd}split[-]nth[1]]">
> <$set name="mpos" filter="[{!!yd}split[-]nth[2]]">
> <$set name="day" filter="[{!!yd}split[-]nth[3]]">
> <$set name="month" filter="Jan Feb Mar Apr May June July Aug Sep Oct Nov 
> Dec +[nth]">
> <> <>, <>
> 
> 
> 
> 
> <$text field="yd" format="date" template="mmm 0DD, " />
>
>
>

-- 
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/694d8756-5168-46c4-9c46-95fef22d6bb4%40googlegroups.com.


[tw5] Re: date format and the $view widget

2019-08-02 Thread Mohammad
Mark, 
Based on your solution, there is no need to use the $view any more!

On Friday, August 2, 2019 at 4:25:26 AM UTC+4:30, Mark S. wrote:
>
> Here's an implementation of your suggestion (using pre 20)
>
> <$set name="year" filter="[{!!yd}split[-]nth[1]]">
> <$set name="mpos" filter="[{!!yd}split[-]nth[2]]">
> <$set name="day" filter="[{!!yd}split[-]nth[3]]">
> <$set name="month" filter="Jan Feb Mar Apr May June July Aug Sep Oct Nov 
> Dec +[nth]">
> <> <>, <>
> 
> 
> 
> 
> <$text field="yd" format="date" template="mmm 0DD, " />
>
>
>

-- 
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/80fece26-d49c-4811-9e7d-b2e199b8975a%40googlegroups.com.


Re: [tw5] Re: Tiddler Commander Release 1.2.2 Minor release issue fixed

2019-08-02 Thread Mohammad
Huraah

-- 
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/2ef4a472-9be2-45bb-a13d-29cbfda58a17%40googlegroups.com.


[tw5] Re: date format and the $view widget

2019-08-02 Thread Mohammad
I did not get the point! I explain the case in more clear manner to see how 
I can use from your comment


   1. I am developing a timelines plugin
   2. The timelines plugin uses a field called date to create a horizontal 
   or vertical flow of events
   3. The date field should have year, month and day of event
   4. The user will fill out the data field for example historical events 
   of world wars two

My problem here is user should have flexibility to fill out the date field! 
If I understand you advise to use a datepicker not manually fill out them!

--Mohammad

On Friday, August 2, 2019 at 10:46:26 AM UTC+4:30, TonyM wrote:
>
> Mohammad,
>
> My suggestion is still valid the way you are using it. When it comes to 
> date and time handling it is best to go back to the the most complete 
> standard, one which caters for leading zeros, validation, international 
> time zones and formatting via the tools built into tiddlywiki. Sure if the 
> user only gives the  mm dd save that ass mmdd because it is still 
> valid as the trailing zeros are assumed, but what time of day is a new 
> day?, at 00:00am?
>
> Have you looked at the pickaday plugin and other interactive date plugins?
>
> Regards
> Tony
>
>
>
> On Friday, August 2, 2019 at 4:01:18 PM UTC+10, Mohammad wrote:
>>
>> Tony!
>>  I am developing a timelines plugin and it uses a field to keep date and 
>> it is not the modified/created system field!
>> So I want user has the flexibility to enter date as 2019-03-01 or 
>> 20190301.
>>
>> --Mohammad
>>
>> On Friday, August 2, 2019 at 2:45:13 AM UTC+4:30, TonyM wrote:
>>>
>>> Mohammad,
>>>
>>> With respect why?, I would keep the dates in system format and produce 
>>> the output in the required format.
>>>
>>> My Journal tiddlers put the date in a journal-date field for this very 
>>> reason.
>>>
>>> An approach, would be to use the new split operator on "-" then the set 
>>> widgets select keyword to extract  MM and DD values.
>>>
>>> Regards
>>> Tony
>>>
>>>
>>> On Friday, August 2, 2019 at 2:28:56 AM UTC+10, Mohammad wrote:

 In tiddlywiki.com create a tiddler with a filed called yd

 in the yd filed enter the below value

 20190801

 and in the text filed enter the below script

 <$view field="yd" format="date" template="mmm 0DD, " />

 It will show the below result

 Aug 01, 2019


 *Question*

 My question is how one can enter *2019-08-01* and get the same result?
 Seems *$view* only work with a raw format of date.

 I know there is a good macro developed by S.S to work with dates but I 
 need a little simpler mechanism or a way to use the core feature!

 --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/7f97619c-2e94-4f55-bc2a-92f69bd6e4df%40googlegroups.com.


[tw5] Re: View and Print tiddlers with page handling - help requested

2019-08-02 Thread TonyM
Mario,

Thanks but I was aware of that. I am converting documents and spreadsheets 
to a publishing method from within TiddlyWiki. The Headers and footers 
change there contyent by document so this is not practical, and Its other 
users who use this not me.

Thanks for what I have so far.

Tony

On Friday, August 2, 2019 at 4:12:32 PM UTC+10, PMario wrote:
>
> Hi,
>
> I'm using FireFox. If you print a page, you can define, how the header and 
> the footer looks like. The settings are very rudimentary, but at least you 
> can have the "page numbers", the "date", the "title" or some customized 
> text. 
>
> This header is also used with BTCs print settings. 
>
> -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/9622e2cb-5cc3-4282-9ad6-df3a03995521%40googlegroups.com.


[tw5] Re: date format and the $view widget

2019-08-02 Thread TonyM
Mohammad,

My suggestion is still valid the way you are using it. When it comes to 
date and time handling it is best to go back to the the most complete 
standard, one which caters for leading zeros, validation, international 
time zones and formatting via the tools built into tiddlywiki. Sure if the 
user only gives the  mm dd save that ass mmdd because it is still 
valid as the trailing zeros are assumed, but what time of day is a new 
day?, at 00:00am?

Have you looked at the pickaday plugin and other interactive date plugins?

Regards
Tony



On Friday, August 2, 2019 at 4:01:18 PM UTC+10, Mohammad wrote:
>
> Tony!
>  I am developing a timelines plugin and it uses a field to keep date and 
> it is not the modified/created system field!
> So I want user has the flexibility to enter date as 2019-03-01 or 20190301.
>
> --Mohammad
>
> On Friday, August 2, 2019 at 2:45:13 AM UTC+4:30, TonyM wrote:
>>
>> Mohammad,
>>
>> With respect why?, I would keep the dates in system format and produce 
>> the output in the required format.
>>
>> My Journal tiddlers put the date in a journal-date field for this very 
>> reason.
>>
>> An approach, would be to use the new split operator on "-" then the set 
>> widgets select keyword to extract  MM and DD values.
>>
>> Regards
>> Tony
>>
>>
>> On Friday, August 2, 2019 at 2:28:56 AM UTC+10, Mohammad wrote:
>>>
>>> In tiddlywiki.com create a tiddler with a filed called yd
>>>
>>> in the yd filed enter the below value
>>>
>>> 20190801
>>>
>>> and in the text filed enter the below script
>>>
>>> <$view field="yd" format="date" template="mmm 0DD, " />
>>>
>>> It will show the below result
>>>
>>> Aug 01, 2019
>>>
>>>
>>> *Question*
>>>
>>> My question is how one can enter *2019-08-01* and get the same result?
>>> Seems *$view* only work with a raw format of date.
>>>
>>> I know there is a good macro developed by S.S to work with dates but I 
>>> need a little simpler mechanism or a way to use the core feature!
>>>
>>> --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/b3eececa-7c1f-4829-b57a-347a9b6aea2c%40googlegroups.com.


Re: [tw5] Re: Polly (2) -- Downloads as HUB

2019-08-02 Thread PMario
Hi folks, 

Is there a github repo, where I can have a look at the project / code? ... 
Is there a way to contribute?

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/afcdb127-e895-40b9-ac79-f916d8e04809%40googlegroups.com.


[tw5] Re: View and Print tiddlers with page handling - help requested

2019-08-02 Thread PMario
Hi,

I'm using FireFox. If you print a page, you can define, how the header and 
the footer looks like. The settings are very rudimentary, but at least you 
can have the "page numbers", the "date", the "title" or some customized 
text. 

This header is also used with BTCs print settings. 

-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/8939aa45-316d-4410-aa7f-53363a2b2792%40googlegroups.com.


[tw5] Re: date format and the $view widget

2019-08-02 Thread Mohammad
Added to TW-Scripts!

On Friday, August 2, 2019 at 4:25:26 AM UTC+4:30, Mark S. wrote:
>
> Here's an implementation of your suggestion (using pre 20)
>
> <$set name="year" filter="[{!!yd}split[-]nth[1]]">
> <$set name="mpos" filter="[{!!yd}split[-]nth[2]]">
> <$set name="day" filter="[{!!yd}split[-]nth[3]]">
> <$set name="month" filter="Jan Feb Mar Apr May June July Aug Sep Oct Nov 
> Dec +[nth]">
> <> <>, <>
> 
> 
> 
> 
> <$text field="yd" format="date" template="mmm 0DD, " />
>
>
>

-- 
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/26090f82-52d1-434e-a3ea-5f69a2fe7f01%40googlegroups.com.


[tw5] Re: date format and the $view widget

2019-08-02 Thread Mohammad
Tony!
 I am developing a timelines plugin and it uses a field to keep date and it 
is not the modified/created system field!
So I want user has the flexibility to enter date as 2019-03-01 or 20190301.

--Mohammad

On Friday, August 2, 2019 at 2:45:13 AM UTC+4:30, TonyM wrote:
>
> Mohammad,
>
> With respect why?, I would keep the dates in system format and produce the 
> output in the required format.
>
> My Journal tiddlers put the date in a journal-date field for this very 
> reason.
>
> An approach, would be to use the new split operator on "-" then the set 
> widgets select keyword to extract  MM and DD values.
>
> Regards
> Tony
>
>
> On Friday, August 2, 2019 at 2:28:56 AM UTC+10, Mohammad wrote:
>>
>> In tiddlywiki.com create a tiddler with a filed called yd
>>
>> in the yd filed enter the below value
>>
>> 20190801
>>
>> and in the text filed enter the below script
>>
>> <$view field="yd" format="date" template="mmm 0DD, " />
>>
>> It will show the below result
>>
>> Aug 01, 2019
>>
>>
>> *Question*
>>
>> My question is how one can enter *2019-08-01* and get the same result?
>> Seems *$view* only work with a raw format of date.
>>
>> I know there is a good macro developed by S.S to work with dates but I 
>> need a little simpler mechanism or a way to use the core feature!
>>
>> --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/d227e709-22d4-4ab5-8e65-05595fd8fb47%40googlegroups.com.