Re: [tw] [TW5] A list of transclusion targets

2018-01-26 Thread Arkady Grudzinsky
Thomas, Tony,

Great ideas.  Thanks.  That will work.

Don't you think, there should be a filter operator for this?  Perhaps, the
missing transcluded tiddlers should even be included in the [all[missing]]
filter results.

On Fri, Jan 26, 2018 at 3:26 PM, Thomas Elmiger 
wrote:

> Hi Arkady,
>
> Something like this could help, if you transcluded in {{brackets}}:
>
> Make a tiddler titled "TransclusionList" with this in it:
>
> <$list filter="""[regexp:text[{{]sort[]] -[[TransclusionList]]
> -[is[system]] -[has[draft.of]]""">
>
> <" suffix:""
> mode:"link">>
>
> 
>
> ===
>
> You will need my extract macro for this:
> https://tid.li/tw5/hacks.html#Extract%20Macro
>
>
> Good luck!
> Thomas
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/tiddlywiki/QbjdrX56do0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tiddlywiki/3d540b94-058e-4888-83d3-f881c5159718%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Arkady

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAOvtUXmM6r1GESeL1yun23JhaxaVSqveD8d%2B-8N49LK_qLn10w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] A list of transclusion targets

2018-01-26 Thread Arkady Grudzinsky
​Tony,

Don't I still need to generate a list of transclusion targets in the source
wiki to do that?​

On Fri, Jan 26, 2018 at 5:15 AM, TonyM  wrote:

> Arkady,
>
> Could you not generate a list of Tiddlers in the source wiki refered to in
> transclude statements  then use this to export the not yet moved tiddlers
> then import into your new wiki?
>
> Regards
> Tony
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/tiddlywiki/QbjdrX56do0/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tiddlywiki/8ba30992-74ce-4966-9d7c-8eee17071f38%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Arkady

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAOvtUXmmq3BEp5aUF%2BJhXqq5v1x-Gx3Lmebe2p0GqaKaHPheiw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] A list of transclusion targets

2018-01-26 Thread Arkady Grudzinsky


Is there a filter operator to get a list of all transclusion targets.

I want to get a list of missing transclusion targets, but that, I suppose, 
can be achieved by using all[missing] operator on the results of the one I 
want.

I am importing tiddlers from one TW file to another. The tiddlers heavily 
use transclusion to generate various lists. If transclusion target is not 
present, the lists will not be generated correctly and, in many cases, I 
will not know it because I will see an empty space which is legitimate if 
the list is empty. I want to make sure I import all transclusion targets. 
Now I have to open tiddlers and visually inspect them for transclusions.

Thanks.

-- 

Arkady
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/60ea393d-187c-40aa-97af-d7b1f818e058%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] A bug in list-after field behavior

2017-11-26 Thread Arkady Grudzinsky


On Sunday, November 26, 2017 at 1:53:44 AM UTC-8, Jed Carty wrote:

I think that the list-before and list-after mechanism need to be updated. I 
> spent the last few minutes looking at it and from what I can tell it is a 
> problem with the sorting algorithm. It isn't an appropriate method for 
> sorting lists like this.
>
> Each step does exactly what is expected but it happens one step at a time, 
> it isn't a set of rules for finding an acceptable solution. That is why it 
> doesn't give the output you expect.
>
> A rule-based ordering like you are expecting is a significantly more 
> complex operation than handling each 
>
> What happens in your example: 
>
> The items are processed in the order they appear in the original list.
>
> Original list: New Tiddler, New Tiddler 1, New Tiddler 2, New Tiddler 3
>
> First step: Move New Tiddler to the position after New Tiddler 1 (list 
> after) ->  New Tiddler 1, New Tiddler, New Tiddler 2, New Tiddler 3
>
> Second step: Move New TIddler 1 to the position after New Tiddler 2 (list 
> after) -> New Tiddler, New Tiddler 2, New Tiddler 1, New Tiddler 3
>
> Third step: Move New Tiddler 2 to the position after New Tiddler 3 (list 
> after) -> New Tiddler, New Tiddler 1, New Tiddler 3, New Tiddler 2
>
> Fourth step: Move New Tiddler 3 to the first position (empty list before) 
> -> New Tiddler 3, New Tiddler, New Tiddler 1, New Tiddler 2
>
>
> I don't know of a way to make a rule-based sorting algorithm that isn't 
> very processor intensive so I don't think there is much we can do to fix 
> the problem.
>
Thanks. This is a very good explanation. I felt that it has to do with the 
sequential use of list-after. So, list-after can be reliably used only once 
within a list. Each subsequent list-after instruction would potentially 
disrupt the results of the previous instructions. At the very least, it 
needs to be explained in the “Order of Tagged Tiddlers 
“ tiddler on 
TiddlyWiki.

I am not sure how difficult it is to implement, but it appears to me that 
after each step, the tiddlers should be “linked” and in all subsequent 
operations moved together:

   - Original list: New Tiddler, New Tiddler 1, New Tiddler 2, New Tiddler 3 
   - First step: Move New Tiddler to the position after New Tiddler 1 (list 
   after) -> [New Tiddler 1, New Tiddler], New Tiddler 2, New Tiddler 3. New 
   Tiddler 1 and New Tiddler now form a block for the remaining operations. 
   - Second step: Move the block starting with New Tiddler 1 to the 
   position after New Tiddler 2 -> [New Tiddler 2, [New Tiddler 1, New 
   Tiddler]], New Tiddler 3. 
   - Third step: Move the block starting with New Tiddler 2 to the position 
   after New Tiddler 3 -> [New Tiddler 3, [New Tiddler 2, [New Tiddler 1, 
   New Tiddler]]] 
   - Fourth step: Move New Tiddler 3 to the beginning of the list (no 
   change) 

Cases when list-before or list-after attempt to insert elements inside a 
block formed by previous instructions may be complicated.  It seems to be 
an interesting and challenging problem. Perhaps, someone would take this 
challenge for the fun of it.

Fortunately, there are other ways to order tiddlers in the lists. In my use 
case, I build genealogy trees where each tiddler tags two parents and each 
tiddler shows a tree of ancestors and a tree of descendants. I want the 
siblings to be shown in the order of seniority. I started adding a birthdate 
field and use it to sort siblings. But I did not have birthdates for all of 
the 11 children of my grand grandma who lived in the XIX century. I thought 
of using the list field to enter the children in the proper order. But 
these lists must be duplicated for the father and the mother, and the 
father and the mother may not have the same list of children. The grand 
grandma had 2 husbands. So, the order information must be stored inside the 
sibling tiddlers. This is when I tried to use the list-after field and 
encountered this problem. I ended up creating a special field order in 
sibling tiddlers and use it to sort the lists of descendants.

Thanks again for looking into it.

-- Arkady
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/51b1837c-c260-4e63-afce-ae7032827150%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] A bug in list-after field behavior

2017-11-25 Thread Arkady Grudzinsky


This TiddlyWiki  is an example of a bug 
in the tagged tiddler sorting algorithm 
. I created 4 
tiddlers: New Tiddler , New 
Tiddler 1 , New Tiddler 
2 , and New Tiddler 3 
 tagging this tiddler.


Now I use the <$list> widget to show a list of these tiddlers:


<$list filter="[is[current]tagging[]]">

<$link to=<>>{{!!title}}
<$list filter="[is[current]has[list-before]]">list-before: 
{{!!list-before}}
<$list filter="[is[current]has[list-after]]">list-after: 
{{!!list-after}}




This code also shows list-before and list-after fields if they are present.


Now I want the <$list> widget to show the tiddlers in the reverse order. So 
I created an empty field list-before in New Tiddler 3 
 to list New Tiddler 3 
 at the top and added 
list-after fields to New Tiddler 2 
 and New Tiddler 1 
 respectively. The 
result is below:


   1. New Tiddler 3 
   2. New Tiddler  list-after: 
New 
   Tiddler 1
   3. New Tiddler 1  
list-after: New 
   Tiddler 2
   4. New Tiddler 2  
list-after: New 
   Tiddler 3

Apparently, list-after field does not work in this case as advertised. This 
behavior is not consistent. In this example 
, the list-after field 
works properly. The failure has something to do with the chain of list-after 
fields. 
I was trying this on a list of 11 tiddlers, and some tiddlers were ordered 
properly, and some were not.


By the way, the filter [is[current]has[list-before]] does not show the 
empty list-before value in New Tiddler 3 
 although, technically, New 
Tiddler 3  *has* the 
list-before field.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/016af997-7af4-4971-86b7-8c572adfaa08%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Solution to generate a tree of parent tiddlers?

2017-11-22 Thread Arkady Grudzinsky
On Wed, Nov 22, 2017 at 12:00 AM, TonyM  wrote:


> Personally I would to anything not to rule out other tags, they can be so
> useful, if there is any thing that identifies a tiddler as a person, even
> one of a set like father mother that you can use so your solution is more
> robust is recommended.
>
> Since all but home is a person at the moment you could tag all STANDARD
> tiddlers "person" (automated) and remove that from Home. And update your
> new here/new tiddler to add the person tag for future ones.
>
Since the vast majority of my tiddlers are intended to be “person
tiddlers”, it’s easier to have a special mark for “non-person” tiddlers.
Also, tags are visible in regular views, and this attribute which serves
the purpose of changing the tiddler template, does not need to be exposed
to the viewer. So, in my case, I may add a “not-a-person” property to the
tiddler, set it to “1” for the few “non-person” tiddlers and add
-[has[not-a-person]] to those template filters.

You are right, I *may* use non-person tiddlers in the future for photos,
documents, or places. Those can be identified by the tiddler type or a
“place” tag. I’ll deal with them when I decide to add them. I just don’t
want to over-complicate this.

I recently created a Footer that goes in the View Template (and A Status
> Bar), A technique I used was to replicate what is found in the
> Viewtemplates use of Tags as well.
>
> A Tiddler called $:/PSaT/macros/customfooter 
> 
>tagged $:/tags/ViewTemplate containing;
>
>
> ​
> <$list 
> filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplatefooter]!has[draft.of]]" 
> variable="listItem"><$transclude tiddler=<>/>
> ​
>
>
> Then my additional footer macros are simply tagged $:/tags/
> ViewTemplatefooter
>
> I can now add as many additions to the footer as I want with a simple tag.
> I actually place buttons at the top and lists at the bottom of the footer,
> using draggable ordering.
>
> This means I do not modify any system tiddlers like
> $:/core/ui/ViewTemplate/body
>
> Perhaps these are useful?
>
Yes, this is very useful. I think, I’ll use your advice. Thanks.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAOvtUXmEv_Mf8JEwpZS1LMZHCorkGHTvNwJQHPdV0aYb6zV%3Dbw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Solution to generate a tree of parent tiddlers?

2017-11-21 Thread Arkady Grudzinsky


On Tuesday, November 21, 2017 at 8:16:13 PM UTC-8, TonyM wrote:

Arkady,
>
> That is Quite elegant, I just eliminated the system Prefix, because it got 
> to TableOfContents then $:/tags/SideBar 
> 
>  in 
> my case
>
> 
> <$list filter="[is[current]tags[]] -[prefix[$:/]]">
> {{!!title}}
> {{||ancestors}}
> 
> 
>

> And if I was using this for genealogy and each person was tagged "person" 
> so I did not get it running off on other tags.
>
> If people we tagged male female you could also follow only the the female 
> line.
>
> 
> <$list filter="[is[current]tags[]] +tag[person] -[prefix[$:/]]">
> {{!!title}}
> {{||ancestors}}
> 
> 
>
> Thanks. Once you use +tag[person], you won’t need to use -[prefix[$:/]] 
or use other exclusion, I suppose, since that filters out all irrelevant 
tags. In my case, however, I intend to have almost all tiddlers used for 
people, except, perhaps, the “Home” tiddler used as an introduction. So, I 
want to keep it simple. I will just make sure that the people tiddlers do 
not tag anything but other people tiddlers. There will be maximum two tags 
per tiddler.

However;
> How are you going to use this as a generic solution for the current 
> tiddler what ever it name?
>
I plan to have a similar template for descendants:

<$list filter="[is[current]tagging[]]"><$link 
to=<>>{{!!title}}
{{||descendants}}

To show “Ancestors” and “Descendants” for all tiddlers (except some) by 
default, I change the $:/core/ui/ViewTemplate/body tiddler adding

<$list filter="[all[current]]-[[Home]]"> 
<$transclude tiddler="AncestorsDescendantsTemplate"/>


Then the AncestorsDescendantsTemplate tiddler shall be



! Ancestors

{{||ancestors}}



! Descendants

{{||descendants}}


This should work. I’ve used this for a task management application when I 
wanted different tiddlers to use different templates.
​
-- 
Arkady

> ​
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b3aa5157-877e-4e81-af47-f17b786ae898%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Solution to generate a tree of parent tiddlers?

2017-11-21 Thread Arkady Grudzinsky


I’m getting what I want with this self-recurring template tiddler 
“ancestors”:

<$list filter="[is[current]tags[]]">{{!!title}}
{{||ancestors}}

It shows a list of tags for the current tiddler and then transcludes itself 
to show a list of tags for each of them, etc. until we run out of the 
ancestors. Showing ancestor tree for a given tiddler is a matter of adding 
{{||ancestors}} to that tiddler. Now it’s a matter of styling - adding 
links, hiding buttons, etc. Hiding would require fiddling with the “state” 
attribute for each node. Perhaps, I’ll live without it. This is good enough.

I knew it should be simple.
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/55d7785d-a199-44b4-b07c-a4589ec6a5bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Solution to generate a tree of parent tiddlers?

2017-11-21 Thread Arkady Grudzinsky
On Tuesday, November 21, 2017 13:14, PMario wrote:

> I .. tagged root
> 
> Mother ... tagged I
> Father ... tagged I
> 
> Fathers Mother ... tagged Father
> Fathers Father ... tagged Father
> 
> Mothers Father ... tagged Mother
> Mothers Mother ... tagged Mother
> 
> TOC config:
> 
> 
> <>
> 

I know I can build an ancestor tree with the existing <> 
macro if I reverse the tagging scheme and use child tiddlers as 
tags for parent tiddlers.  But if you look at my usecase, I will 
still have to traverse the tag tree upwards to build the tree of 
descendants.  I need both.

-- 
Arkady

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/20171121224540.GA13973%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Problem syncing with TiddlySpot

2017-11-21 Thread Arkady Grudzinsky
There was a problem with Tiddlyspot a few days 
ago 
https://groups.google.com/forum/?utm_medium=email_source=footer#!searchin/tiddlywiki/tiddlyspot%7Csort:date/tiddlywiki/Xo8IOUltYy0/0AK33a3HCwAJ

But it seems fixed now.  At least, I can save my files.

The /controlpanel seems to still show the 500 error, though.

On Monday, November 20, 2017 at 9:59:36 AM UTC-8, Fábio Emilio Costa wrote:
>
> Hello!
>
> Trying to sync a TiddlyWiki (v5.1.14) with TiddlySpot.com, but it shows 
> the Saving Wiki info, and nothing is synced. No error messages, no 
> nothing Any suggestion on how to make sure things are correctly synced 
> without going to the Tiddly immediately after? Using on Firefox 57, Chrome, 
> Opera, all of them with problem. The only plugin on it is Markdown.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7237c637-546f-460c-a242-7ad3c1030e3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Solution to generate a tree of parent tiddlers?

2017-11-21 Thread Arkady Grudzinsky


On Tuesday, November 21, 2017 at 4:28:44 AM UTC-8, PMario wrote:

Hi, 
>
> I did create a <> macro. https://wikilabs.github.io/editions/tocP  
> that works with fields instead of tags. 
> The default feeld used is: parent
>
Thanks. But your tree still goes in the different direction. You have 
children below each node, and I want parents below each node:

I
├── Father
│   ├── Paternal Grandfather
│   └── Paternal Grandmother
└── Mother
├── Maternal Grandfather
└── Maternal Grandmother

Whereas the parent-child relationship is still the same: children have two 
tags designating parents.

I was thinking to modify the <> macro to and change all tagging[] to 
tags[] in the filters, but it seems more complicated than that. I need to 
understand how the <> macro works. For example, I don’t understand the 
filter operator toc-link[no], and I don’t see it documented anywhere.

I found this old discussion from 2013. 
https://groups.google.com/forum/#!topic/tiddlywiki/67N4dBFdXCo but the 
<$transclude/> widget seems to have changed since then. The current 
documentation does not mention template or target.
​
-- 
Arkady

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/01534dc6-1ff0-4595-9840-e8c7dd704132%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Solution to generate a tree of parent tiddlers?

2017-11-21 Thread Arkady Grudzinsky


On Tuesday, November 21, 2017 at 2:07:06 AM UTC-8, Stephen Wilson wrote:
>
>
> Tidgraph 
> https://ihm4u.github.io/tw5plugs/#Tidgraph%20-%20Easy%20tiddler%20graphs%20for%20TW5
>  
> might do the job for you?
>

I've seen Tidgraph.  It's great.  I'm going to use it.  But it still seems 
to show the trees "top-down".  I.e., it traverses "branches from the 
trunk".  And I want to traverse the "roots".  The tree will be still 
displayed top-down, but the nodes below would show parents of the node 
above instead of children.


> or the more comprehensive tiddlymap http://tiddlymap.org/?
>
>
This one is mind-blowing.  Thanks for pointing me to it.  I'll see what it 
can do.  But, still, not quite answering my question.  I'm looking for 
something more simple.

-- 
Arkady
 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9c8e0902-e836-4c7a-98e1-c7508e257e03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Solution to generate a tree of parent tiddlers?

2017-11-20 Thread Arkady Grudzinsky
Hi, 

Is there a macro similar to the <> that would 
generate an identical tree, except following the tags in the other 
direction from a given tiddler?

I'd like to create a genealogy TW creating a separate tiddler for each 
family member and tagging it with two tiddlers for parents.  The <> 
macro would produce a tree of descendants for each person.  I'd like to 
generate a similar tree for ancestors.

I suppose, I can take the <> macro and replace all "tag[]" for 
"tagging[]" in the list filters and vice versa, but, perhaps, there already 
is a solution for this.

Thanks.

-- 
Arkady

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5400ebb3-fe27-453c-9d9c-a6a94524ff0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Plugins Updated: ToDoNow and Listreveal

2017-11-20 Thread Arkady Grudzinsky


On Thursday, November 16, 2017 at 7:11:00 PM UTC-8, Birthe C wrote:
>
> When TW5 was in the beta stage Matabele created 
> http://wills.tiddlyspot.com/ with lots of ticklers.
>

Thanks.  I'll check it out.
 

> I've always given op on complex systems. It takes longer time to learn to 
> know them - and to use them. Better get things done than keep all those 
> systems going.
>

I totally agree.  I love simplicity, but not at the expense of 
functionality.  You are right.  It's more important to do things than to 
get a system to track them.  I'll stick with todo.txt for now.  It's the 
simplest you can get, yet it offers both dependencies and task delays.  I'm 
missing a good reference system and the beauty of TW, though.

-- 
Arkady

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9a1fef79-f28a-402e-a734-7ed3ae358ec4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Plugins Updated: ToDoNow and Listreveal

2017-11-20 Thread Arkady Grudzinsky
Thanks for the reply, Thomas.  I'll check out the cardo.wiki you pointed me 
to.   

-- 
Arkady

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1ab704d5-982b-4385-a698-33de05f1afb7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tiddlyspot does not save since a few days ago

2017-11-13 Thread Arkady Grudzinsky
Seems resolved now.

On Saturday, November 11, 2017 at 8:51:21 AM UTC-8, Eric Shulman wrote:
>
> On Saturday, November 11, 2017 at 8:44:10 AM UTC-8, Eric Shulman wrote:
>>
>> On Saturday, November 11, 2017 at 6:09:04 AM UTC-8, Mark S. wrote:
>>>
>>> That makes sense. Someone pointed out that one of the commands in 
>>> store.php is now obsolete. It was a quick patch, but an actual code change.
>>>
>>
>> I remember seeing that post not too long ago.  Based on my hypothesis 
>> that the server software was re-installed, I would also guess that the 
>> version of PHP was updated, in which case, the now obsolete function would 
>> cause the existing TiddlySpot store.php to fail, producing exactly the 
>> results we are seeing. 
>>
>> Unfortunately, given GoogleGroups poor search function, it's not easy to 
>> find the message that described the fix (IIRC, it was a single line of 
>> code).  If you can find that message and post a follow-up link to it, the 
>> Bairds can apply that fix and hopefully get TiddlySpot saving working again.
>>
>
> I think I found the post regarding the obsolete function:
>
> https://groups.google.com/d/msg/tiddlywiki/-KD8nl3H-iM/lElvf9iyAAAJ
>
> Hopefully this will help result in a quick fix for TiddlySpot.
>
> -e
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0e0371c9-b5f8-407c-83c4-d8754107b957%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TiddlySpot.com down - or only me?

2017-11-13 Thread Arkady Grudzinsky
I was able to save my file just now.  It seems to work again.

On Monday, November 13, 2017 at 4:44:38 PM UTC-8, Wen-Ming Yang wrote:
>
> Help. All the systems using tiddlyspots are down Any news!
>
> On Thursday, November 9, 2017 at 7:59:01 AM UTC+8, Mat wrote:
>>
>> Does http://tiddlyspot.com/ show 500 Server Error for anyone else?
>>
>> I do get my TWs to *load*, but I can't save/upload in them.
>>
>> Tried both Chrome and FF, on Win10.
>>
>> <:-)
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/943fe0f6-724b-4bd5-80bc-f8d7ae354915%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Plugins Updated: ToDoNow and Listreveal

2017-11-12 Thread Arkady Grudzinsky
Hi, Thomas,

Great plugin.  I'm always on the look for a good task management 
application.  I have tried dozens of them.  

What I value most is the ability to hide items that cannot be done now.  
GTD uses "contexts" for this purpose.  I suppose a "context" is just a 
tag.  I can use some special character for tags denoting contexts 
("@computer", "@home", etc.).  "Projects" are also just tags.  So, I guess, 
your system can accommodate that.  But there are two other conditions that 
can make a task irrelevant now:

1. Task dependencies.  I'd like the ability to hide tasks that cannot be 
started before another task is completed.  And when the blocking task is 
completed, the blocked task should become "active" and show up in the 
lists.  It helps to unclutter the lists tremendously.  Very few otherwise 
excellent task management applications allow that.  

http://orgmode.org/manual/TODO-dependencies.html

2. The ability to postpone tasks.  Some tasks cannot be started until some 
future time.  I'd like to have the ability to set this time and hide the 
task from the list until that time.  Emacs Org Mode uses "SCHEDULED" 
attribute for that.  Some implementations of todo.txt call it "threshold".  
I use this feature most frequently for recurring tasks.  E.g. if I just 
mowed my lawn, I don't want to see it on my list again sooner than in 2 
weeks.  And for daily items that need to be done each evening, for example, 
having a timestamp is critical to hide items until "6pm", for example.  GTD 
uses the concept of "tickler" for this.  In Monkey GTD which I used for a 
while many years ago, tasks could be converted into "ticklers".  But I find 
it unnecessary since this, imo, is just a task attribute.

http://orgmode.org/manual/Deadlines-and-scheduling.html

You do have reminders, but this is not quite the same thing.  They don't 
seem to hide tasks until a certain time.  

Another important feature is task recurrence - the ability to regenerate 
the task with due dates and threshold dates in the future.  The best 
implementation of this I found in Emacs Org Mode.  They have 3 kinds of 
recurring events:

1. Recurring in a certain interval after the previous due date.  These are 
good for things like paying bills or filing tax returns.  Org Mode uses 
"+1w" syntax for those.

2. Recurring in a certain interval after the last completion date.  These 
are good for things like mowing the lawn or having a haircut.  Org Mode 
uses ".+1w" syntax for those

3. Recurring on a certain date, after "now".  This is good for catching up 
on delinquent tasks.  E.g. if I have to send weekly reports on Fridays and 
forgot to mark it "done" for a whole month, I want the task to recur on the 
next Friday rather than having to mark the task "Done" 4 times incrementing 
the due date by a week.  Org Mode uses "++1w" syntax for those.

http://orgmode.org/manual/Repeated-tasks.html

Do you have any ideas on how to implement these concepts with your plugin?

Thanks.



On Saturday, May 13, 2017 at 11:15:15 AM UTC-7, Thomas Elmiger wrote:
>
> Hi all
>
> With enormous gratitude for inspiring users like *Mark S.* and *Josiah* 
> (aka @TiddlyTweeter) who contributed many ideas and testing: My plugins are 
> updated (and still worked in my first test). 
> *Warning: only tested with TW 5.1.14!*
>
> ===
>
> *ToDoNow*
> My helper to get things done got several new features, optimisations and 
> enhancements:
>
> * reordered icons in ToDo lists
> ** first deadline (if available by kixam-plugin), then priority
> * archive tasks to get them out of the lists 
> ** new button in ToDoDone list
> ** new tiddler ToDoArchive with keyword and tag search
> * deadline handling improved
> ** new set of icons
> ** delete deadline (hover over date)
> * view template to show ToDo info on all relevant tiddlers (single view)
> * tag and priority changes don’t affect modified timestamp (TW 5.1.14)
> * new empty message for ToDoNow section
> * bugs fixed on Work-Report (now part of the plugin)
> * better readme documentation and examples (see this link 
> 
> )
>
> ===
>
> *Listreveal*
> My tool for listing tiddlers got some updated button macros and CSS – no 
> big deal.
>
> ===
>
> *As always: remember to back up your wikis before you try my stuff.*
>
> You can find the plugins here: 
> http://tid.li/tw5/plugins.html#Get%20More%20Plugins – feedback ist highly 
> appreciated!
>
> (There are still some ideas from Josiah and Mark on my consideration list, 
> but please don’t hold your comments back.)
>
> Happy doing and have a nice weekend!
> Thomas
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at 

[tw] [TW5] Tiddlyspot does not save since a few days ago

2017-11-11 Thread Arkady Grudzinsky
I have a couple of TW5 files on Tiddlyspot.  I was able to save them before.

A few days ago, there was a glitch on the website - it could not display 
files and showed some Apache default page.

I believe, after that I cannot save my TW5 files anymore.  If I make 
changes to the TW5 file, the "Save" button turns red.  Then there is a 
notification "Starting to save wiki".  It is usually followed by "Saved" 
notification, but currently the "Saved" never comes and the "Save" button 
remains red.  If I reload the page, the changes are not saved.

* This happens to ALL TW5
* This happens on ALL browsers I have tried on my system:
  * Chrome
  * Firefox
  * Luakit
* The same happens on my Android phone using Chrome Browser

I checked the password in ControlPanel.

Since the problem happens on multiple browsers, OS, and files, I tend to 
think, there is an issue with Tiddlyspot.

I have downloaded the files and have to use them locally for the time being.

Does anyone have the same issue or knows what's going on?

Thanks.

-- 
Arkady

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/581a0bcb-7594-441c-a73f-b1e5e8783437%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Category task list and Calendar plugin

2016-04-26 Thread Arkady Grudzinsky


On Tuesday, April 26, 2016 at 8:13:32 AM UTC-7, Shaw McAllan wrote:


> I'm curious about one thing though - if I have two task lists is there a 
> way to display the tasks from both of them at the same time under the one 
> "unfinished"/"finished" section?
>
You can modify the list filter:

<$list filter="[tag[New Project 1]][tag[New Project 2]]+[tag[task]!tag[done]]">


This will show the incomplete task list from both New Project 1 and New 
Project 2
​

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/64181d18-1df2-435b-9a51-be50bc057c6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Category task list and Calendar plugin

2016-04-26 Thread Arkady Grudzinsky

On Sunday, May 3, 2015 at 1:11:40 PM UTC-7, Jed Carty wrote:

I am going to be working on making my calendar plugin 
>  work with this task 
> list plugin so the calendar displays start dates and due dates for tasks or 
> the dates for other events, and maybe other stuff. 
>

Check this out for the date picker plugin.

Excellent one.

http://kixam.github.io/TW5-datePicker/
 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/356b7f7e-ec62-4334-8f93-da7d0b6f7632%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Filter tiddlers by date: today and in the past

2016-04-07 Thread Arkady Grudzinsky


On Wednesday, April 6, 2016 at 1:54:00 AM UTC-7, Rustem wrote:
>
> Examples (after the patch) 
>
> today:
> <>
>
> ​
>

Does this include the dates in the past as well?  My problem with your code 
was that if used with an argument, the filter returned an open-ended 
interval, but when the argument was 0, it returned strictly the same-day 
dates.  No past or future dates were included.  I had to set my due dates a 
day in the future or a day in the past to circumvent this issue and ended 
up stripping down your code to get my simple filter.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/28b70880-ba3e-45c3-853b-ddd8b7347e5d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Filter tiddlers by date: today and in the past

2016-04-07 Thread Arkady Grudzinsky


On Wednesday, April 6, 2016 at 1:54:00 AM UTC-7, Rustem wrote:
>
> *Note:* TiddlyWiki always uses UTC . 
> If you are populating your date field by hand, keep that in mind. Although 
> the exact time does not matter, since days operates with whole days, it’s 
> important to know what hour your midnight falls on in UTC. Say, you put 
> “20160410” in your date field. That’s Apr 10 00:00 UTC. If you are in 
> Pacific time zone, that’s actually Apr 9 5:00 PM. If you want your date to 
> be Apr 10, you need to enter a time between “201604100700” and 
> “201604110659”.
>
Want to share this excellent plugin to set date fields 
http://kixam.github.io/TW5-datePicker/

The author has fixed the UTC problem at my request and added the ability to 
set the time as well.  Using this plug-in, you can set the local date and 
time, and it will set the field of your choice to UTC corresponding to your 
input.

Also, if you need a simple filter that would return "TRUE" for a date field 
in the past and "FALSE" for the date fields in the future (including the 
time), you can use the code below.  This is a stripped-down days.js, but 
without any arguments - just comparison to Date().


/*\
  title: $:/core/modules/filters/passed.js
  type: application/javascript
  module-type: filteroperator


  Filter operator that selects tiddlers with a specified date field in the 
past.


  \*/
(function(){


/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";


/*
  Export our filter function
*/
exports.passed = function(source,operator,options) {
 var results = [],
 fieldName = operator.suffix || "modified",
 isInThePast = function(dateField) {
 return new Date(dateField) < new Date();
 };


 if(operator.prefix === "!") {
 source(function(tiddler,title) {
 if(tiddler && tiddler.fields[fieldName]) {
 if(!isInThePast($tw.utils.parseDate(tiddler.fields[fieldName]))) {
 results.push(title);
 }
 }
 });
 } else {
 source(function(tiddler,title) {
 if(tiddler && tiddler.fields[fieldName]) {
 if(isInThePast($tw.utils.parseDate(tiddler.fields[fieldName]))) {
 results.push(title);
 }
 }
 });
 }
 return results;
};


})();

​
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e5bb461d-6617-47ef-8ede-95bf159d07ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Briefcase Plugin -- a GTD tool

2015-04-27 Thread Arkady Grudzinsky
I was thinking of implementing a task management system in TW5 myself, but 
don't have time for it.  I'm looking for the ability to postpone tasks: set 
a date/time attribute that would temporarily hide the task from the active 
task list and make the task reappear at the specified date/time. E.g. there 
are tasks that I have to do in the evening, but no earlier.  Or no earlier 
than the next weekend.  This functionality is similar to ticklers, but it 
also needs the ability to set time.  

IMO, ticklers are not different from actions.  Ticklers are actions with 
this sart time attribute set to the future.

Also need the ability to set recurrence.  In my vision, recurring tasks 
need a special attribute to specify recurrence (not sure how it's done in 
calendars, but it's not something new).  This attribute should modify the 
behavior of the complete checkbox to set the start date/time to the 
next recurrence date/time (preferrably, next after the last, not next after 
now so that if I check yesterday's daily task as complete, it reappears for 
today and not for tomorrow).

Any ideas how this can be done?

Are you actively working on it? I have not seen any activity since last 
year.

On Tuesday, September 16, 2014 at 12:48:52 PM UTC-7, Roma Hicks wrote:

 Hello everyone,   

 For those familiar and use the mGSD http://mgsd.tiddlyspot.com/#mGSD tool, 
 you probably have run into spotty usage with the dropping of NPAPI 
 and consequently Java on some platforms, this led to the inability to save 
 changes and the inability to use mGSD!  Nooo!

 So over the course of a few weeks, I slowly hacked together a mGSD-like 
 tool.  It is not as feature packed, but the general workflow is there and I 
 did my best to distill the features I used the most (and hopefully others 
 as well).  I packaged the plugin and called it Briefcase, I have been using 
 it for a week as-is, both personally and professionally.

 Briefcase features:

- Realms
- Projects
   - make actions associated with a project
- Actions (Tasks)
   - create dependant actions
- Ticklers (Reminders)
- References
- Contacts
   - delegated actions
- Several Dashboards for Management

 When developing any of my hobby software, I usually use Fossil SCM 
 http://www.fossil-scm.org/.  The source can be accessed at 
 https://chiselapp.com/user/roma0104/repository/TW5-Briefcase/ but I will 
 port the repository to Git and post on GitHub as soon as I get a chance.  I 
 will also get to cleaning the code and meeting more of TiddlyWiki's style 
 guidelines soon.  There is one build note you can find on the example page. 
  

 Built in to Briefcase are two other plugins that might be of interest, 
 though equally as rough.  In the example Briefcase, I built the two other 
 plugins outside of the Briefcase plugin, just drag and drop to you TW5 to 
 use.  Sources http://chiselapp.com/user/roma0104/

- DatePicker http://romahicks.com/example.html#DatePicker
- DateFilter http://romahicks.com/example.html#DateFilter


 Currently, I have only tested the plugin with 5.0.16.  

 See the example Briefcase plugin in action 
 http://romahicks.com/example.html
 Download an empty Briefcase http://romahicks.com/briefcase.html (TW5 
 5.0.16-beta)

 I know there was some mild interest in such a tool from others, so please 
 use if you wish to do so.  I probably won't update any bugs or features 
 until the imminent emergence of TW5 from beta.  Thanks!
  


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/78141796-ceb0-4530-a078-60ad6cac33d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Is there a way to import multiple tiddlers from a single file?

2013-11-10 Thread Arkady Grudzinsky
On Sunday, November 10, 2013 09:02, Jeremy Ruston wrote
regarding Re: [tw] Re: [TW5] Is there a way to import multiple tiddlers from a 
single file?:
 The browse button in TiddlyWiki5 should let you select multiple files - what
 browser are you using?

Firefox 24.0 for Linux.  Just double-checked.  I cannot select multiple
files using the Browse button, for some reason.  It could be some
parameter of the button which has different default value in different
browsers.

 The easiest way to import a bunch of tiddlers at once is to use a .json file
 containing an array of tiddler field objects. For example:
 
 [
 {title:Tiddler1,text:Text of tiddler},
 {title:Tiddler2,text:Text of tiddler}
 ]

This worked. (you missed closing quotation marks).  I thought, there
should be a solution like that, but have not come across anything like
that.

Thanks a lot.
 
 You can import a JSON file with drag and drop in the browser, or via the 
 --load
 command under node.js.
 
 Can Perl conveniently create JSON files?

Yes.  I'm very familiar with Perl.  I often use it at work.  I think, it
was originally created to process text files.  Most likely, there is a
Perl module to handle JSON files, but the syntax is simple enough to
create them manually.  The JSON file you describe seems to be very easy
to create from a CSV file using any text editor.  My favorite Vim would
work just fine.

-- 
Arkady

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Re: [TW5] Is there a way to import multiple tiddlers from a single file?

2013-11-10 Thread Arkady Grudzinsky
On Sunday, November 10, 2013 22:54, Jeremy Ruston wrote
regarding Re: [tw] Re: [TW5] Is there a way to import multiple tiddlers from a 
single file?:
 
 I've just tested Firefox 25 for OS X, and it does the multiple selection
 properly. Maybe it's a Linux thing?

It could be.  I'll keep an eye on it.  I know,  I can upload multiple
sites for some sites (Google Drive, for example).

 OK, do be aware that browsers are generally extremely strict about JSON 
 syntax.
 Watch out for the string escaping rules:
 
 http://www.json.org

Thanks for the reference.  JSON seems like a good format to learn.  It
seems much leaner and readable than XML.  The syntax is very close to
Perl where [] denotes array references and {} denotes hash references
or objects with string - value pairs.  

For my application (task management) I would not need to enter complex
tiddler contents - just the title and a few tags and fields to import
tasks from spreadsheets.  Once again, TW5 seems to fit my needs very
well.

Thanks.

-- 
Arkady

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Re: [TW5] Is there a way to import multiple tiddlers from a single file?

2013-11-10 Thread Arkady Grudzinsky
On Sunday, November 10, 2013 09:02, Jeremy Ruston wrote
regarding Re: [tw] Re: [TW5] Is there a way to import multiple tiddlers from a 
single file?:
 
 You can import a JSON file with drag and drop in the browser, or via the 
 --load
 command under node.js.

Jeremy,

Sorry, I'm not very familiar with node.js.  Can you give me an example
of a command for how to add a JSON file named tiddlers.json into a TW5
file named mytw5.html?  Is it just

node mytw5.html --load tiddlers.json text/json ?

Can I pipe STDOUT to node instead of importing a file?
E.g. 

echo json code | node mytw5.html --load - text/json

or something like that?

This would be very useful.  Most of my tasks come from emails and if I can
write a script to add tiddlers to TW5 from command line, I can create a
macro in my mutt mail client to create tasks from emails.  This would be
great because integration with email client is #1 feature I look for in
a task management system.  I did something similar when I used task
project management application (terminal based) and it worked well.

Thanks.

-- 
Arkady

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] [TW5] Is there a way to import multiple tiddlers from a single file?

2013-11-09 Thread Arkady Grudzinsky
I have a text file where each line is a list item.  I would like to import 
this file in my TW5 and create a separate tiddler for each line.  I also 
would like to specify tags and some fields for each tiddler.

.tid files do not allow multiple tiddlers in one file.

I thought, HTML would work with something like this
div title=Tiddler 1 tags=task start=201311080800 
priority=5Tiddler 1 text/div
div title=Tiddler 2 tags=task start=201311080800 
priority=6Tiddler 2 text/div
etc.

But it did not work.  I get one tiddler with type=text/html with file 
name as a title and this HTML code inside.

I could, of course, create a Perl or an awk script to produce one .tid file 
per line, but it seems like too much effort.

Any suggestions?

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: [TW5] Is there a way to import multiple tiddlers from a single file?

2013-11-09 Thread Arkady Grudzinsky
I did crate a Perl script and generated 322 .tid files - one for each 
tiddler.  But, to my disappointment, I cannot select multiple files from 
the file selection interface.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: [TW5] Is there a way to import multiple tiddlers from a single file?

2013-11-09 Thread Arkady Grudzinsky
Found a workaround.  Copied all tiddlers in editions/mytw5/tiddlers 
directory, copied tiddlywiki.info from editions/tw5.com and ran bld.sh 
after adding to it a section to create mytw5.html file.  Whew...  Learned 
something in the process.  But still, would like to see an easier way.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] [TW5] How to create a list of blocked or unblocked tasks?

2013-11-07 Thread Arkady Grudzinsky
Jeremy,

This is awesome! Thanks a lot!

On Thu, Nov 7, 2013 at 11:50 AM, Jeremy Ruston jeremy.rus...@gmail.comwrote:

 Hi Arkady

 I don't think it's currently possible to filter for your postponed tasks;
 as discussed previously, we'd need a new filter operator that allows
 comparisons.


I understand.  For now, I created a list of postponed tasks grouped by
start date and delete the start field manually each day.  To do that, I
customized the sameday.js filter to use start field instead of
modified and added the new filter as samestartday.  Works for me.
Actually, moving tasks from postponed to active manually makes me
review them at the same time.

!Postponed Tasks
$list
filter=[!has[draft.of]tag[task]!tag[done]has[start]sort[start]eachday[start]]
itemClass=tw-menu-list-item''
$view field=start format=date template=DDth MMM /''br/
$list
filter=[!tag[done]samestartday{!!start}sort[created]!sort[priority]]
itemClass=tw-menu-list-subitem $checkbox tag=done
span style=color:red$view field=priority//span
$view field=title format=link/
/$checkboxbr/
/$list
/$list


 Anyhow, this gives us tiddlers tagged task that are not done:

 [tag[task]!tag[done]]

 This gives us all the tiddlers tagged with tiddlers that are tagged task
 that are not done:

 [tag[task]!tag[done]tagging[]]

 We can further filter for tiddlers that are themselves tasks:

 [tag[task]!tag[done]tagging[]tag[task]]


Yess!  This is exactly what I was looking for.

I don't quite understand how the tagging[] condition works.  It looks
like filters preceeding the tagging[] apply to the tag tiddlers and
filters following tagging[] apply to the list tiddlers themselves.  Is it
correct?

 Thank you very much!


-- 
Arkady

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] [TW5] How to create a list of blocked or unblocked tasks?

2013-11-07 Thread Arkady Grudzinsky
I was about to ask how to create a list of tasks not tagged with other
tasks, but I have figured it out:

[tag[task]!tag[done]] -[tag[task]tagging[]]


On Thu, Nov 7, 2013 at 3:00 PM, Jeremy Ruston jeremy.rus...@gmail.comwrote:


 I'm glad it's making sense for you. If you're enjoying it I would
 encourage you to spread the word as far as you can - TW5 needs the oxygen
 of popularity to survive.


Tiddlywiki is a great way to keep records of information with complex
relationships.

I have tried various flavors of MindMapping software - Freemind, XMind,
CMapTools, TheBrain.  They are useful, but limited and tend to grow too
cumbersome as more functionality is added.

I also tried many different task management systems: Todoist, Google tasks,
task (a console text-based Linux application, very powerful, BTW), GTG,
Evolution, various Firefox add-ons.  In most of them, it's difficult to
create links between tasks/projects/contexts/contacts/emails/files etc.  I
like simple systems like hipster PDA which is just a stack of index
cards.  But with index cards, planning projects is difficult.  I can sort a
stack of cards by priority, but I cannot place same card into multiple
stacks grouped by contact/context/project.  Linking an index card to
computer files or emails is, of course, difficult.

TW5 seems unsurpassed in its flexibility while using a very minimal
interface.  It resembles a stack of index cards while allowing to group and
sort these cards as needed.

I do spread the word as much as I can.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] [TW5] How to create a list of blocked or unblocked tasks?

2013-11-05 Thread Arkady Grudzinsky
My TW5 use case is a task management system.  I find the $list widget 
along with the ability to create custom fields very instrumental.  I need a 
filter for blocked tasks - tasks tagged with other tasks.

Concepts (nothing new - most borrowed from previous implementations such as 
mGSD):
* A task is a tiddler tagged task.
* Complete tasks - tiddlers tagged task and done.
* Postponed tasks - tiddlers tagged task with start field set to some 
date in the future.  Postponed tasks replace ticklers in my system.
* Blocked tasks - tiddlers tagged task which are also tagged with 
incomplete task tiddlers (tiddlers tagged task, but not done)
* Active tasks - filter=[tag[task]!tag[done]!has[draft.of]!has[start]] - 
need to add a condition for unblocked tasks (tasks not tagged with other 
incomplete tasks).

How can I ceate a filter for blocked and unblocked tasks?

This is also useful to select tasks that do not belong to any project - 
tiddlers not tagged with tiddlers tagged project or projects that do not 
belong to realms, areas, etc.

Is it possible to create such filters?


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] [TW5] Tiddler state gets stuck

2013-10-31 Thread Arkady Grudzinsky
Thanks, Jeremy.  Good to know.

Another similar bug is a Javascript error.  Sometimes, when I write a
filter and forget to open or close a [] pair, there is a big red error
message that pops up every time I push any button, even when the error is
already corrected.  I believe, the problem is that the error is corrected
in the Draft of 'Tiddler' rather than in the 'Tiddler'.  The workaround
for me is to save the file saving Draft of 'Tiddler', then opening the
file again, opening Draft of 'Tiddler' and renaming it to Tiddler.
This also seems to be incorrect behavior.



On Thu, Oct 31, 2013 at 1:44 AM, Jeremy Ruston jeremy.rus...@gmail.comwrote:

 Hi Arkady

 You can also fix the problem by visiting the more/system tab and locating
 and deleting any tiddlers with titles start with $:/state.

 This will be properly fixed shortly by excluding $:/state tiddlers from
 file saves.

 Best wishes

 Jeremy


 On Thu, Oct 31, 2013 at 1:38 AM, Arkady Grudzinsky 
 agrudzin...@gmail.comwrote:

 I have noticed that if I click the Info button on a tiddler in TW5 and
 open the drop-down tiddler info table and then save the file with the info
 table open, it gets stuck open forever.  I cannot close it.

 Steps to repeat:

 1. Open a tiddler
 2. Click info button opening the tiddler info table.
 3. Save the file without closing the info table.
 4. Reload the file
 5. Open the tiddler

 The tiddler will open with the info table already visible, and clicking
 on the button does not close it any more.  Deleting the tiddler and
 recreating it again did not help.  Apparently, this tiddler state is stored
 outside the tiddler and it does not get reset once it is written to the
 file.

 I was able to get this info table closed again by opening my tw5.html
 file in a text editor and removing the following lines:

 div modified=201310310120 modifier=Arkady Grudzinsky
 title=$:/state/tiddlerInfo---tiddlerTitle:New Tiddler
 1;-tiddlerTitle:$:/core/ui/PageTemplate;-
 pre(591,70,29,40)/pre
 /div

 Let me know if there is a better place to report TW5 bugs.

 --
 You received this message because you are subscribed to the Google Groups
 TiddlyWiki group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to tiddlywiki+unsubscr...@googlegroups.com.

 To post to this group, send email to tiddlywiki@googlegroups.com.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/groups/opt_out.




 --
 Jeremy Ruston
 mailto:jeremy.rus...@gmail.com

 --
 You received this message because you are subscribed to a topic in the
 Google Groups TiddlyWiki group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/tiddlywiki/zREuF3Ub5iI/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 tiddlywiki+unsubscr...@googlegroups.com.
 To post to this group, send email to tiddlywiki@googlegroups.com.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Arkady

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Re: [TW5] Encoding issues

2013-10-31 Thread Arkady Grudzinsky
Thanks, Tobias.  Yes, I'm familiar with filing software bug reports.  I'll give
it a try for.  I have many ideas and suggestions regarding TW5.  I like
it very much so far, but there are still some rough edges.

-Original Message-
From: Tobias Beer
Sent: Thursday, October 31, 2013 10:51
Subject: [tw] Re: [TW5] Encoding issues

 
 What's the best way to report TW5 bugs/feature requests/suggestions?  I'm
 actively playing with TW5 and have many of those.  Probably, many of those
 are known, but some are new.  Where can I check?
 
 
 Assuming you're somewhat confident about writing a bug report [1], you can 
 give
 it a shot at GitHub...
 https://github.com/Jermolene/TiddlyWiki5/issues
 
 ...or simply start a discussion here and wait for Jeremy to pick it up,
 otherwise *bump* the thread until he or someone else does.
 
 Tobias.
 
 [1] http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
 
 --
 You received this message because you are subscribed to a topic in the Google
 Groups TiddlyWiki group.
 To unsubscribe from this topic, visit https://groups.google.com/d/topic/
 tiddlywiki/uqmg1lBJKEI/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 tiddlywiki+unsubscr...@googlegroups.com.
 To post to this group, send email to tiddlywiki@googlegroups.com.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Re: [TW5] Encoding issues

2013-10-31 Thread Arkady Grudzinsky
-Original Message-
From: Jeremy Ruston
Sent: Thursday, October 31, 2013 10:59
Subject: Re: [tw] Re: [TW5] Encoding issues

 With reference to the encoding problem, can you identify the browser and
 operating system you are using, and how you're doing the saving?

I'm using Arch Linux, Firefox 24.0 with TiddlyFox 1.0Alpha3

I have downloaded the TW5 HTML file from five.tiddlywiki.com and I am
saving it locally using the save button (which does not give any
messages, but seems to work).

I think, what happens is the character codes are moved up by 256 or
something like that.  I typed Russian alphabet that has sequential codes

абвгдежзийклмнопрстуфхцчшщъыьэюя

and after saving the file, I got sequential codes in ASCII.

0123456789:;=?@ABCDEFGHIJKLMNO

-- 
Arkady

 
 Many thanks,
 
 Jeremy
 
 
 On Thu, Oct 31, 2013 at 5:51 PM, Tobias Beer beertob...@gmail.com wrote:
 
 
 
 What's the best way to report TW5 bugs/feature requests/suggestions? 
 I'm actively playing with TW5 and have many of those.  Probably, many
 of those are known, but some are new.  Where can I check?
 
 
 Assuming you're somewhat confident about writing a bug report [1], you can
 give it a shot at GitHub...
 https://github.com/Jermolene/TiddlyWiki5/issues
 
 ...or simply start a discussion here and wait for Jeremy to pick it up,
 otherwise *bump* the thread until he or someone else does.
 
 Tobias.
 
 [1] http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
 
 --
 You received this message because you are subscribed to the Google Groups
 TiddlyWiki group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to tiddlywiki+unsubscr...@googlegroups.com.
 To post to this group, send email to tiddlywiki@googlegroups.com.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/groups/opt_out.
 
 
 
 
 --
 Jeremy Ruston
 mailto:jeremy.rus...@gmail.com
 
 --
 You received this message because you are subscribed to a topic in the Google
 Groups TiddlyWiki group.
 To unsubscribe from this topic, visit https://groups.google.com/d/topic/
 tiddlywiki/uqmg1lBJKEI/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 tiddlywiki+unsubscr...@googlegroups.com.
 To post to this group, send email to tiddlywiki@googlegroups.com.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] [TW5] Encoding issues

2013-10-30 Thread Arkady Grudzinsky
TW5 seems to have an issue with encoding.  I have entered a Tiddler with 
Russian title.  It looked OK at first, but when I saved the file and 
reloaded it again, the title looked garbled.  Same happens with tiddler 
text.

What's the best way to report TW5 bugs/feature requests/suggestions?  I'm 
actively playing with TW5 and have many of those.  Probably, many of those 
are known, but some are new.  Where can I check?

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] [TW5] Tiddler state gets stuck

2013-10-30 Thread Arkady Grudzinsky
I have noticed that if I click the Info button on a tiddler in TW5 and 
open the drop-down tiddler info table and then save the file with the info 
table open, it gets stuck open forever.  I cannot close it.

Steps to repeat:

1. Open a tiddler
2. Click info button opening the tiddler info table.
3. Save the file without closing the info table.
4. Reload the file 
5. Open the tiddler

The tiddler will open with the info table already visible, and clicking on 
the button does not close it any more.  Deleting the tiddler and recreating 
it again did not help.  Apparently, this tiddler state is stored outside 
the tiddler and it does not get reset once it is written to the file.

I was able to get this info table closed again by opening my tw5.html file 
in a text editor and removing the following lines:

div modified=201310310120 modifier=Arkady Grudzinsky 
title=$:/state/tiddlerInfo---tiddlerTitle:New Tiddler 
1;-tiddlerTitle:$:/core/ui/PageTemplate;-
pre(591,70,29,40)/pre
/div

Let me know if there is a better place to report TW5 bugs.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Re: [TW5] requesting feedback for my TW5 experiment

2013-10-29 Thread Arkady Grudzinsky
http://tbgtd.tiddlyspot.com/#tbGTD-project

It's Tobias Beer's GTD wiki.  Each tiddler has a button in the tool bar 
called x-plore.  It shows a tree of tags up and down the hierarchy.  I love 
the concept.

On Monday, October 28, 2013 6:28:19 AM UTC-7, David Gifford wrote:

 Could you give me a link to that?

 Dave


 On Sun, Oct 27, 2013 at 1:08 PM, Arkady Grudzinsky 
 agrud...@gmail.comjavascript:
  wrote:

 Dave,

 Is it possible to make tiddler info table similar to the x-plore plugin 
 used in tbgtd?  The difference is that x-plore plugin shows nested levels.  
 I find it even more useful to reveal connections between tiddlers.

 On Friday, October 25, 2013 12:02:21 PM UTC-7, David Gifford wrote:

 Hi all

 Would love for you to play with this and see what you think. Won't be to 
 everyone's liking, but boy does it make navigating and relating tiddlers to 
 each other easier. 

 http://giffmex.org/**notestorm5preview.htmlhttp://giffmex.org/notestorm5preview.html

 Dave

  -- 
 You received this message because you are subscribed to a topic in the 
 Google Groups TiddlyWiki group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/tiddlywiki/_BwMSjAC3e8/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 tiddlywiki+...@googlegroups.com javascript:.
 To post to this group, send email to tiddl...@googlegroups.comjavascript:
 .
 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/groups/opt_out.




 -- 
 David Gifford
 Christian Reformed World Missions, Mexico City
  

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] [TW5] for GTD

2013-10-29 Thread Arkady Grudzinsky
Jeremy, thanks.  
It worked.  I cut and pasted this into a file, imported into TW5, and 
that's it.  I created a tiddler with a start field 20120101, and another 
tiddler with the following list:

$list filter=[has[start]]
$view field=start format=date/
/$list

I have noticed, the date field is set to time in UTC.  When the field is 
set to 20120101, then $view field=start format=date/ renders it as 
December 31, 2011.  Is there a way to interpret dates in local time?

Thanks.

-- 
Arkady

On Tuesday, October 29, 2013 1:57:05 AM UTC-7, Jeremy Ruston wrote:

 The tiddlerfields that are defined in the core are not full modules 
 because they are needed before the tiddler loading mechanism is fully 
 installed. That call to $tw.modules.define() directly defines the module 
 exports.

 For a normal module, you should use something like this:

 /*\
 title: $:/plugins/arkadygrudzinsky/startfield.js
 type: application/javascript
 module-type: tiddlerfield

 Implements the start field as a date

 \*/
 (function(){

 /*jslint node: true, browser: true */
 /*global $tw: false */
 use strict;

 exports.name = start;
 exports.parse = $tw.utils.parseDate;
 exports.stringify = $tw.utils.stringifyDate;

 })();

 Let me know how you get on,

 Best wishes

 Jeremy



 On Tue, Oct 29, 2013 at 1:19 AM, Arkady Grudzinsky 
 agrud...@gmail.comjavascript:
  wrote:

 Jeremy,



- Are tiddler fields always treated as text or is it possible to 
set a field type (e.g. date, integer, etc.).

 Tiddler fields are strings by default, but can be typed through the use 
 of tiddlerfield modules. The core tiddlerfields are in boot.js:

 https://github.com/Jermolene/**TiddlyWiki5/blob/master/boot/**
 boot.js#L713https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L713
  

 A newbie question.

 I was able to chage my custom start field type to date by adding this 
 to boot.js:

 $tw.modules.define($:/boot/modules/tiddlerfields/start,tiddlerfield,{ 

 name: start, 
 parse: $tw.utils.parseDate, 
 stringify: $tw.utils.stringifyDate 
 });



 After that I was able to use 


 I guess, it's not a good idea to mess with boot.js.  So, I tried to 
 create a tiddler called $:/boot/modules/tiddlerfields/start and set its 
 type to application/javascript, module-type: tiddlerfield.  But I could 
 not get it to register.  It seems, I'm missing how to get the .js tiddler 
 code registered as a module.

 I also tried naming the tiddler $:/core/modules/tiddlerfields/start 
 thinking that boot somehow loads all $:/core/modules tiddlers, but it did 
 not work.  What am I missing?

 Thanks.

 -- 
 Arkady


 On Saturday, October 26, 2013 7:12:39 AM UTC-7, Jeremy Ruston wrote:

 Hi Arkady

 Thanks for the encouragement, and the detailed feedback, much 
 appreciated.
  

 I'm currently using mGSD to manage my tasks.  Recently tried TW5.  I 
 think, it's awesome.  Wanted to thank Jeremy for Tiddlywiki.  $list and 
 $checkbox widgets available at TW5 are very handy to create task lists 
 by 
 project/context/contact.  The TW5 ability to manipulate and customize 
 tiddler fields is a great addition.  I was able to create $list of tasks 
 sorted by custom fields such as start, due, or priority.  I also 
 love 
 the minimalism of the interface.


 Great, I'm glad that the checkbox and list widgets are understandable.
  

 Couple of questions about TW5 features for which I could not find 
 documentation.  I'm thinking of implementing recurring tasks in TW5.  I 
 envision using tags recurring and weekly/daily/monthly, etc. and 
 use fields such as start, modified, etc.  So, my questions are:

- Is it possible to set $list filter to select tiddlers using 
comparisons?  E.g. select tiddlers with start date before now to 
 make 
tasks appear on the list at certain date/time?  Perhaps, it's possible 
 to 
do it in a similar fashion as mGSD handles ticklers, but I thought, 
 $list 
widget might offer a much simpler way.   

 There's no comparison operators yet, but the plan is to have them as 
 filter operator modules. See the has operator as an example:

 https://github.com/Jermolene/**TiddlyWiki5/blob/master/core/**
 modules/filters/has.jshttps://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/filters/has.js


- Is it possible to set $list filter to select tiddlers with 
tags/titles matching a regular expression?

 Not at the moment, but it's a good idea. 


- Is it possible to have $checkbox widget do more than assign a 
tag to a tiddler?  E.g. Can it increment the start date field by 7 
 days?


 Not yet. TW5 doesn't yet really have the general concept of programmable 
 actions, but something along those lines is going to be useful. For the 
 moment, I'd expect a GxD implementation to have it's own extended checkbox 
 widget.


- Are tiddler fields always treated as text or is it possible to 
set a field type (e.g. date, integer, etc.).

 Tiddler fields are strings by default

[tw] [TW5] Checkbox does not change the modified field

2013-10-29 Thread Arkady Grudzinsky
I'm playing with TW5 for GTD implementation.  I have noticed that adding 
the tag done to a task tiddler using a checkbox widget does not update 
the modified field of the task tiddler.  I think, it should.  Adding done 
tag by editing the tiddler does update the modified field.  Using the 
checkbox should not be different.  I was going to use it to track tasks 
completed within last week.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] [TW5] Checkbox does not change the modified field

2013-10-29 Thread Arkady Grudzinsky
Jeremy,

Thanks for the fast response.

If I understand it right, to update my TW5 file, I just need to download
checkbox.js, import it into my TW5, save, and reload the file - right?

For one file, this seems easy, but what if I have an existing TW5 file with
a bunch of tiddlers and want to upgrade when you have a bigger TW5 release?

Thanks.

-- 
Arkady



On Tue, Oct 29, 2013 at 2:24 PM, Jeremy Ruston jeremy.rus...@gmail.comwrote:

 Hi Arkady

 Thanks for the feedback. The checkbox widget should definitely update the
 modified and modifier fields. I've committed an update:


 https://github.com/Jermolene/TiddlyWiki5/commit/d42fb673f88ea6f0a23583bbc92bfcdb967180a1

 It won't show up on five.tiddlywiki.com until the current widget
 refactoring is merged in the next day or two,

 Best wishes

 Jeremy


 On Tue, Oct 29, 2013 at 8:36 PM, Arkady Grudzinsky 
 agrudzin...@gmail.comwrote:

 I'm playing with TW5 for GTD implementation.  I have noticed that adding
 the tag done to a task tiddler using a checkbox widget does not update
 the modified field of the task tiddler.  I think, it should.  Adding done
 tag by editing the tiddler does update the modified field.  Using the
 checkbox should not be different.  I was going to use it to track tasks
 completed within last week.

 --
 You received this message because you are subscribed to the Google Groups
 TiddlyWiki group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to tiddlywiki+unsubscr...@googlegroups.com.

 To post to this group, send email to tiddlywiki@googlegroups.com.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/groups/opt_out.




 --
 Jeremy Ruston
 mailto:jeremy.rus...@gmail.com

 --
 You received this message because you are subscribed to a topic in the
 Google Groups TiddlyWiki group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/tiddlywiki/QQs99qCDCOQ/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 tiddlywiki+unsubscr...@googlegroups.com.
 To post to this group, send email to tiddlywiki@googlegroups.com.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Arkady

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Re: [TW5] Link rendering

2013-10-28 Thread Arkady Grudzinsky
IMO, false positives are not as bad as false negatives.  False positives
can always be escaped with ~.  There are plenty of false positives with
CamelCase syntax.  At work, I frequently use internal product names in
tiddlers, such as SM3G.  They are recognized as tiddler names, but that's
fine.  It has never bothered me as much as the inability to create my own
protocol.  This is just my subjective user experience.


On Mon, Oct 28, 2013 at 5:04 AM, Stephan Hradek stephan.hra...@gmail.comwrote:



 I didn't check if regexp b) is possible with Javascript.


 It's a fairly easy regexp and yes: It is possible with JavaScript.

 --
 You received this message because you are subscribed to a topic in the
 Google Groups TiddlyWiki group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/tiddlywiki/3r9z2mq8N2Y/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 tiddlywiki+unsubscr...@googlegroups.com.
 To post to this group, send email to tiddlywiki@googlegroups.com.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
Arkady

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Re: [TW5] Link rendering

2013-10-28 Thread Arkady Grudzinsky
Another thought is to create a token in the link syntax to force Tiddlywiki
use external link rather than internal link - e.g. [[Link
text||mutt://message_id]] or [[Link text|~mutt://message_id]].  This can be
useful in addition to the improved external link regexp.


On Mon, Oct 28, 2013 at 6:08 AM, Arkady Grudzinsky agrudzin...@gmail.comwrote:

 IMO, false positives are not as bad as false negatives.  False positives
 can always be escaped with ~.  There are plenty of false positives with
 CamelCase syntax.  At work, I frequently use internal product names in
 tiddlers, such as SM3G.  They are recognized as tiddler names, but that's
 fine.  It has never bothered me as much as the inability to create my own
 protocol.  This is just my subjective user experience.


 On Mon, Oct 28, 2013 at 5:04 AM, Stephan Hradek 
 stephan.hra...@gmail.comwrote:



 I didn't check if regexp b) is possible with Javascript.


 It's a fairly easy regexp and yes: It is possible with JavaScript.

 --
 You received this message because you are subscribed to a topic in the
 Google Groups TiddlyWiki group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/tiddlywiki/3r9z2mq8N2Y/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 tiddlywiki+unsubscr...@googlegroups.com.
 To post to this group, send email to tiddlywiki@googlegroups.com.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/groups/opt_out.




 --
 Arkady




-- 
Arkady

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Re: [TW5] Link rendering

2013-10-28 Thread Arkady Grudzinsky
Continuing my thought, a token to force internal links might be useful too.

How about this:

[[Link text|URL]] - use regexp to detect external links (current behavior)
[[Link text|'TiddlerName']] - indicates that 'TiddlerName' is a tiddler
name.
[[Link text|`URL`]] - indicates an external link.


On Mon, Oct 28, 2013 at 6:40 AM, Arkady Grudzinsky agrudzin...@gmail.comwrote:

 Another thought is to create a token in the link syntax to force
 Tiddlywiki use external link rather than internal link - e.g. [[Link
 text||mutt://message_id]] or [[Link text|~mutt://message_id]].  This can be
 useful in addition to the improved external link regexp.


 On Mon, Oct 28, 2013 at 6:08 AM, Arkady Grudzinsky 
 agrudzin...@gmail.comwrote:

 IMO, false positives are not as bad as false negatives.  False positives
 can always be escaped with ~.  There are plenty of false positives with
 CamelCase syntax.  At work, I frequently use internal product names in
 tiddlers, such as SM3G.  They are recognized as tiddler names, but that's
 fine.  It has never bothered me as much as the inability to create my own
 protocol.  This is just my subjective user experience.


 On Mon, Oct 28, 2013 at 5:04 AM, Stephan Hradek stephan.hra...@gmail.com
  wrote:



 I didn't check if regexp b) is possible with Javascript.


 It's a fairly easy regexp and yes: It is possible with JavaScript.

 --
 You received this message because you are subscribed to a topic in the
 Google Groups TiddlyWiki group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/tiddlywiki/3r9z2mq8N2Y/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 tiddlywiki+unsubscr...@googlegroups.com.
 To post to this group, send email to tiddlywiki@googlegroups.com.
 Visit this group at http://groups.google.com/group/tiddlywiki.
 For more options, visit https://groups.google.com/groups/opt_out.




 --
 Arkady




 --
 Arkady




-- 
Arkady

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [tw] Re: [TW5] Link rendering

2013-10-28 Thread Arkady Grudzinsky
On Mon, Oct 28, 2013 at 8:44 AM, Jeremy Ruston jeremy.rus...@gmail.comwrote:


 To be more explicit about the next step, the idea is to introduce an
 explicit syntax for both tiddler and external pretty links:

 [tiddler[HelloThere]]
 [file[index.html]]

 Then, if the `tiddler` or `file` is omitted the parser will use similar
 heuristics to TW classic to determine whether to generate an a element or
 a $link widget.


Thanks, Jeremy.  The ambiguity between tiddler links and external links is
the accurate description of the issue I raised and the solution is exactly
what I had in mind.

I love TW for its flexibility.  Even as-is, it's super-easy to tweak the
Javascript to add whatever protocol.  I also love the idea that in TW5 all
the guts are accessible through the .js tiddlers.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] [TW5] A button to change multiple tiddlers?

2013-10-28 Thread Arkady Grudzinsky
Is there a way in TW5 to create a button that would change or delete 
multiple tiddlers - e.g. operate on all selected tiddlers defined by a list 
filter?

My use case is task management: e.g. delete all tiddlers tagged as done 
or change tag tomorrow to today on a bunch of tiddlers.

I also hope, TW5 will be able to recursively update tags when the tag 
tiddler title is changed (this seems to be in the works).  Until this is 
implemented, I could use the button I'm asking for to do it manually, but 
the button would be useful for other purposes too.

Sorry for asking too many questions here.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] [TW5] Link rendering

2013-10-27 Thread Arkady Grudzinsky
Jeremy,

I noticed that TW5 does not allow to use custom protocols for links.  E.g. 
[[Link|http://someurl.com]] is rendered as a link to the web page.  I 
think, there is a set of protocols rendered as external links (http:, 
https:, ftp:; mailto:, etc.)  But any protocol outside this set is rendered 
as a link to a tiddler.  This takes away one useful capability I had with 
TWC.  I often need my tasks in mGSD to be linked to emails.  In mGSD, I can 
create a link to an email as follows:
 
[[Email|mutt://message_id]]

I have a protocol handler set up in Firefox which makes Firefox open a 
shell script that extracts the message_id and opens the specific email in 
mutt client.  There is a Thunderlink Firefox add-on as well which allows to 
link emails as thunderlink://message_id.  However, TW5 does not interpret 
mutt:// as a protocol and opens an empty tiddler named mutt://message_id 
instead.  

Is there a compelling reason to check the protocol name?  If not, I'd like 
TW5 to allow me define my own protocols at the expense of an occasional 
browser error message.  By the way, TW5 does not seem to recognize the 
magnet:// protocol used for torrents as well.

I can still link to Gmail messages using http:// syntax, but I'd rather not 
be limited in my choice of a mail client.

-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: [TW5] requesting feedback for my TW5 experiment

2013-10-27 Thread Arkady Grudzinsky
Dave,

Is it possible to make tiddler info table similar to the x-plore plugin 
used in tbgtd?  The difference is that x-plore plugin shows nested levels.  
I find it even more useful to reveal connections between tiddlers.

On Friday, October 25, 2013 12:02:21 PM UTC-7, David Gifford wrote:

 Hi all

 Would love for you to play with this and see what you think. Won't be to 
 everyone's liking, but boy does it make navigating and relating tiddlers to 
 each other easier. 

 http://giffmex.org/notestorm5preview.html

 Dave


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] Re: [TW5] Link rendering

2013-10-27 Thread Arkady Grudzinsky
Thanks.  Back then, you suggested a regexp

/[a-z][a-z0-9+.-]*:/

How about adding two slashes at the end?  That would produce a lot fewer 
false matches.

/[a-z][a-z0-9+.-]*:\/\//

Apparently, there should be an exception for mailto:

In old mGSD, link [[Email|mutt:email_id]] opens an empty tiddler named 
mutt:email_id, but [[Email|mutt://email_id]] opens my script - exactly 
what I want.

On Sunday, October 27, 2013 3:44:09 PM UTC-7, Stephan Hradek wrote:

 Not too long ago Jeremy wrote something about it: 
 https://groups.google.com/d/msg/tiddlywikidev/6pEU2E5VcTo/F8YyYaLKQhwJ


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.


[tw] [TW5] for GTD

2013-10-25 Thread Arkady Grudzinsky
I'm currently using mGSD to manage my tasks.  Recently tried TW5.  I think, 
it's awesome.  Wanted to thank Jeremy for Tiddlywiki.  $list and 
$checkbox widgets available at TW5 are very handy to create task lists by 
project/context/contact.  The TW5 ability to manipulate and customize 
tiddler fields is a great addition.  I was able to create $list of tasks 
sorted by custom fields such as start, due, or priority.  I also love 
the minimalism of the interface.

Couple of questions about TW5 features for which I could not find 
documentation.  I'm thinking of implementing recurring tasks in TW5.  I 
envision using tags recurring and weekly/daily/monthly, etc. and 
use fields such as start, modified, etc.  So, my questions are:

   - Is it possible to set $list filter to select tiddlers using 
   comparisons?  E.g. select tiddlers with start date before now to make 
   tasks appear on the list at certain date/time?  Perhaps, it's possible to 
   do it in a similar fashion as mGSD handles ticklers, but I thought, $list 
   widget might offer a much simpler way.  
   - Is it possible to set $list filter to select tiddlers with 
   tags/titles matching a regular expression?
   - Is it possible to have $checkbox widget do more than assign a tag to 
   a tiddler?  E.g. Can it increment the start date field by 7 days?
   - Are tiddler fields always treated as text or is it possible to set a 
   field type (e.g. date, integer, etc.).
   - Is it possible to create contextual tiddler templates?  E.g. 
   - when a tiddler is tagged as project, the tiddler view would 
  automatically show lists of tasks or 
  - when a tiddler is tagged as context, the tiddler view would 
  automatically show a list of tasks orgainzed differently, etc.
  (similar behavior as in mGSD, only I would expect a more transparent 
  and customizeable syntax with $list and $view.  In mGSD, it's done 
  through macros which are hard to find and difficult to customize.)
   - Would be nice to have an easy way to create a tiddler with a certain 
   template (e.g. create buttons with custom functionality).  I have a feeling 
   that buttons are already implemented, but not documented.  Is it true?

Finally, I may be reinventing the wheel.  Is there a GTD implementation 
based on TW5?  Even if there is, I, probably, would want to customize a few 
things.  So, I still would like to know the answers.

Thanks again to all Tidlywiki developers.  It's an awesome tool for many 
things.  I have not seen so much functionality packed in ~600K of code.


-- 
You received this message because you are subscribed to the Google Groups 
TiddlyWiki group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.