Re: [tw] Re: Looking for way to generate a table with tiddlers sorted according to respective sets of tags

2015-11-06 Thread Erwan


Yes, thank you Tobias for understanding and formalizing my idea!
Should we open an issue about that?


On 06/11/15 16:31, Tobias Beer wrote:

Hi Erwan,

Steve I think that your use case is interesting because it shows a
limitation of sorting with TW filters (although imho in this
specific case the best solution would be to sort the list of tags
automatically every time a tag is added to a tiddler).


I think TiddlyWiki should *never* sort a list-field when adding or 
removing an item, unless specifically instructed to do so via 
something like Matabele's listops, the tags field being just a special 
case of a generic list-field.


I think another case with the same limitation is when one wants to
sort a list of tiddlers by the number of times they are used as
tags (i.e. number of tiddlers tagged with them).

...

I wonder if it would be possible to implement new "sort" filter
operators which would allow the usage of a sub-filter like this


This sounds to me that -- for the purposes of sorting -- we wish for 
something like a "virtual field", by which we can sort after we've 
created it "in-memory". A *sortby* filter could "sort by the output of 
filter expression evaluated against an item". This filter expression 
could be passed to the operand as either a variable or text reference 
as we'd have no other way to chuck a "subfilter" within a filter 
expression, e.g.


|
<$vars sortfilter="[tagging[]]">
<]">>

|

'The above should cater for the OP's requirement, assuming the 
*sortby* filter would:


 1. evaluate each item in the input set against the specified filter
in the operand
 2. sort the items in the input set with respect to whatever was returned

It could / perhaps should even be...

|
<]">>
|

...to avail any core sorting algorithms.

The count would be:

|
<$vars sortfilter="[tagging[]count[]]">
<]">>

|

...requiring, well, a nonexisting "count" filter.

Best wishes,

Tobias.
--
You received this message because you are subscribed to the Google 
Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to tiddlywiki+unsubscr...@googlegroups.com 
.
To 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/0fd70eb7-1315-4e10-aff7-37ba9bd6af23%40googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.


--
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/563D4FB7.60809%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Disabling cache for tiddlyspot

2015-11-06 Thread Peter Merel
What's the recommended way to do no-cache in TW 5? I'm finding I'm having 
to tell people all about shift-command-R and I'd rather not ...

Cheers,
Pete.

On Tuesday, 2 October 2007 03:20:21 UTC+10, Ed wrote:
>
> I have a wiki that is accessed by 5 other people.  I noticed that when
> I accessed it after I knew someone else had made an edit, the page
> showed me an old copy of the site.  I assume this is because the
> browser loaded the cached version instead of the most recent one.
>
> Is there code you can include in the tiddlywiki that disables the
> browser cache for that page, or otherwise forces it to reload and read
> the most recent wiki?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/27f90eaf-3817-458a-bb37-192c4f0b2e71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Linking tags (without corresponding tiddlers) to one "Themes" tiddler

2015-11-06 Thread krausek
Thank you all!  Yes I should've been more explicit :)  #newbieproblems

Dave, thank you so very much for providing that filter!  Here's what it did:




By clicking on any of the tags on the left, I come up with missing 
tiddlers, which makes sense.  I'll go through and make tiddlers for them 
all and tag them back to "Themes"... Yup, definitely a newbie...

Thank you so much for your help :)
Karen



















On Friday, November 6, 2015 at 3:00:55 PM UTC-5, David Gifford wrote:
>
> To list tags that have no corresponding tiddlers, add this to a tiddler:
>
> <$list filter="[tags[]!is[tiddler]]"><$link><$view 
> field="title"/>
>
> Dave
>
> On Thursday, November 5, 2015 at 12:17:59 PM UTC-6, kra...@sunyit.edu 
> wrote:
>>
>> Hello Genius Gurus of TiddlyWiki,
>>
>> I've been working on an independent study this semester, compiling a 
>> bibliography of the history and creation of hypertext;  
>> http://krausek.github.io/karen-indstudy/hypertext.html
>>
>> In talking with my Professor, it was decided it would be best to have 
>> this navigated by "Themes."  Is there a way I can link all of my tags to 
>> the "Themes" tiddler, and generate a list, for other students to navigate 
>> in this way?
>>
>> As an aside, not sure what I'm doing incorrectly, but I haven't been able 
>> to get any list-links or widgets to work, other than RenameTags.  The 
>> button widget in particular I'd like to incorporate.. not sure if it's my 
>> older macbook or if I unintentionally set a setting along the way...
>>
>> Thank you so very much for your help and time, I truly appreciate it :)
>> Karen
>>
>

-- 
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/29222334-7554-4dc6-aba0-8bd9dd365ac3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] fastest way to include frequent screen shots

2015-11-06 Thread aaron . sotton
I'm a recent discoverer of TW5, and everything about it is magical. But 
this one hang up is approaching a deal breaker in my application.

I require taking screen shots of various things to include along the notes 
very frequently. Being used to OneNote, I grew to take the rapid fire 
ability to call up the snippet tool and pasting screenshots for granted.

In TW5, this what I have tried so far


   - The long route: taking a screen shot to clipboard --> using a 
   clipboard auto-save utility to automatically save it to a set location --> 
   importing the screenshots to TW5 --> the including the image with the 
   syntax. This may not be so bad if I had just a few images here or there I 
   wanted to document as part the notes, but it is not uncommon for me to take 
   10-30 screenshot in a given hour. You can imagine it quickly grinds the 
   whole process to a halt
   - The alternative route: installed CKEditor with VisualEditor plugin. It 
   enables direct image pasting. The downside is that I can't use Wiki syntax 
   anymore.

Either compromise is very undesirable.


Any suggestions on what else I may try to get around the issue?

-- 
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/6d43291d-e890-4302-8af1-de7aa9ee6883%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] 1) how to find my posts 2)TW5 slider / reveal format loss

2015-11-06 Thread Dave
I have the feeling I already asked this question (part 2) but I can't find 
it (so my apologies if I'm repeating myself).


1) How do you get to a list of your personal google group posts?  I've 
googled it for a while now and can't find anything that relates to the 
current groups format - there's reference to a drop down button beside the 
"Post Reply" button, but its not there in the current groups format.


2) Is there a way to get sliders / reveal to show the content of another 
tiddler accurately?

[[MyNewTiddler]]:
!heading
*one
*two
bla bla bla


[[test]]:
<$reveal type="nomatch" state="$:/state/MyNewTiddler" text="show">
<$button set="$:/state/MyNewTiddler" 
setTo="show">MyNewTiddler

<$reveal type="match" state="$:/state/MyNewTiddler" text="show">
<$button set="$:/state/MyNewTiddler" setTo="hide">-

{{MyNewTiddler}}



shows the following:
!heading *one *two bla bla bla (i.e. there's none of the usual formatting)


I know I've seen something about this before, but I can't remember if there 
is a solution or not.

-- 
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/e58937d1-47e9-4171-8203-fd71f0a6a101%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] tw5 include feature

2015-11-06 Thread stefan infp
I know TW5 doesn't support include plugin. Is there any way (TiddlyDesktop? 
or other solution) to search for tags and content terms inside multiple TW5 
wikis? I would like to link multiple TW5 wikis together. By storing 
personal data fragmented in multiple TW5 wikis would not slow and freeze 
the browser. Yet I don't know any solution how to handle tons of text, pdfs 
and linked images stored in multiple TW5 wikis, filter and view them in a 
practical way. Any hope to have a feature that let us drag an image or file 
into TW5 wiki and automatically create a link (not to embed the external 
file inside the wiki) to that external file? 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/f30208af-fa72-4a7b-b398-16b4463acdd0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: 1) how to find my posts 2)TW5 slider / reveal format loss

2015-11-06 Thread Jed Carty
I don't know the answer to the first part. For a company whose most visible 
service is searching they are kind of terrible at searches in some ways.

The solution to the second part is more whitespace:

<$reveal type="nomatch" state="$:/state/MyNewTiddler" text="show">
<$button set="$:/state/MyNewTiddler" 
setTo="show">MyNewTiddler
<$reveal type="match" state="$:/state/MyNewTiddler" text="show">

<$button set="$:/state/MyNewTiddler" setTo="hide">-

{{MyNewTiddler}}





The line after the reveal widget is the important part.

-- 
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/96f626c5-3278-47df-9333-7b87e829e01c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Looking for way to generate a table with tiddlers sorted according to respective sets of tags

2015-11-06 Thread Jed Carty
I made something sort of like what you are talking about here 
. It is slow and there 
are still a bunch of bugs but it does some of it anyway.

It can be a more involved process than you expect depending on what you 
allow as valid search criteria.

-- 
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/d59aff63-a72a-4aff-9fcb-1dd959739ee9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: A View Mode Editor and a simple Calcualtor

2015-11-06 Thread Vincent Yeh
Hello, everyone,

It's been a while since last release of *twve*. I've been busy at work and 
spending very limited time on it.

Today I am back here to release *twve* v3.2.5, with some bug fixes and *quite 
a few addition of functions* to *tcalc*.

For more information and download links, see Release Note v3.2.5 at 
TiddlySpot  ro 
TiddlySpace .

Have a nice weekend!

Vincent

On Saturday, June 20, 2015 at 2:22:47 PM UTC+8, Vincent Yeh wrote:
>
> Yakov,
>
> Good to hear from you again, and thanks a lot for the bug report and 
> suggestions. After a quick test I realized that bug has long been there, I 
> just never found it. Thanks again for finding it for me. It is fixed in my 
> current snapshot and will be gone in the next release.
>
> About the Handsontable, I do seriously consider using it. However, instead 
> of making the *twve* work with it directly, I am thinking of another 
> plugin that works with Handsontable, and make that plugin recognized in 
> *twve*. That way we should have the benefit that people have the choice 
> to work with Handsontable solely or to include *twve*.
>
> Have fun!
> Vincent
>
> On Friday, June 19, 2015 at 8:33:03 PM UTC+8, Yakov wrote:
>
> Hi Vincent,
>
> nice to see that the development is going on! It was a hard year, but 
> probably I'll be able to provide consistent feedback during most of the 
> summer.
>
> Now, a couple of things from the top of my head:
> 1) I haven't been using v 3.2.3 actively and now noticed that it and 3.2.4 
> have a major bug in table editing: if the first cell is empty, which is 
> quite a frequent case, like in
> ||param1|param2|param3|
> |object1|value11|value12|value13|
> |object2|value21|value22|value23|
> , opening cells in the second row opens values of the wrong cell! Minimal 
> test cases:
> ||a|
> |b|c|
> here, "b" and "c" raws show empty values;
>
> ||a|b|
> |c|d|e|
> here "c" and "d" show empty values while "e" shows "a". Meaning that they 
> take values from the cells that are to the top left from them.
>
> Even more tricky, if I put those to together in one tiddler (separated 
> with double line break), editing "e" in the second table acutally edits "a" 
> in the first one! (but /shows/ it as thought as the right cells was 
> changed: to "see the truth", open the ordinary edit mode).
>
> 2) I've seen at [1] the discussion about the excel-like interface library. 
> It works quite nicely (very good thing it does so with the clipboard), so I 
> wonder if you consider using it. Of'course the fact that it uses jQuery is 
> quite bad, but if the implementation is not very difficult, this can be 
> done as an optional addition for those who use twve with TWc.
>
> Best regards,
> Yakov.
>
> [1] 
>
> ...

-- 
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/df832c4d-d6b8-4a19-9c58-5e649ff931b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] George wants subwikis to be up-to-date in order to plan his activities transversally.

2015-11-06 Thread Christopher Mann
Hi all,

Would anyone have any comments on the below use-case?

George wants subwikis to be up-to-date in order to plan his activities 
transversally.

GeorgeGeek is someone who uses an iPad to edit wikis offline. Each wiki is 
topical, and George can share entire wikis with contacts. It is also easy 
for George to treat each subject as a separate wiki.


Acceptance criteria is :
   
   1. GeorgeGeek can modify a sub-wiki file
   2. GeorgeGeek can modify a meta-wiki file
   3. GeorgeGeek will consult the sub-wiki tiddler updated from the 
   meta-wiki file

Implementation ideas :

Get an Android tablet and do the following, or write a new iPad app that 
could do the following, or get an iPad developer to modify his or her code 
for the following:

Create an WikiAsPlugin plugin. Exporting a wiki as a plugin will 
effectively allow the subwiki to be loaded into the meta wiki without 
having to restart either a node-js instance nor need to duplicate tiddlers 
in a current wiki file.


WikiAsPlugin would mainly *have an export function*. The exported plugin 
would then replace the currently installed plugin with fresher content. 
Other functions could be :

   - viewing changes to shadow tiddlers
   - exporting changes from shadow tiddlers on meta-wiki
   - importing changes from meta-wiki into sub-wiki

George, being a geek, would GIT-version the wiki-as-a-plugin and sychronize 
it with a node-js instance, etc. 

-- 
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/cbf70c9d-d5db-45be-af94-bc46fde2c688%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Looking for way to generate a table with tiddlers sorted according to respective sets of tags

2015-11-06 Thread Jed Carty
The tiddler is here 
.
 


For [1], I thought the tags field was put into alphabetical order when you 
saved the tiddler, but that doesn't seem to be the case. Those two steps 
are what makes it a more involved process than it seems like it should be, 
at least if you want to order things dynamically.

As an alternative you could use this button:

<$button>Sort Tags
<$list filter='[!is[system]]'>
<$set name=TagsString filter='[tags[]sort[]]'>
<$action-setfield tags=<>/>




Which will sort the tags field of all non-system tiddlers in your wiki. You 
could just use that every so often to keep things in order.

-- 
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/3bc2738f-1eb7-4f60-a980-8228f6eae440%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Need a list filter for...

2015-11-06 Thread David Gifford
Think I got it!

[category{!!title}]

Dave

On Friday, November 6, 2015 at 7:43:55 AM UTC-6, David Gifford wrote:
>
> Hi all,
>
> I need a list filter:
>
> "All tiddlers for which the content of the "category" field is the title 
> of the present tiddler." 
>
> So if tiddler "Introvert" has a field called "category" and the content of 
> that field is "Personality types," then the code for the above would go in 
> the Personality types tiddler.
>
> I want to do this so that I can use tags to make topics but use category 
> fields to combine topics into larger categories. I should know this by now, 
> and I did experiment for a bit, but I am getting rusty, and I checked 
> Tobias' list of filters too, and didn't see one like this.
>
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7f55e00a-4c07-4d0b-a7fe-2a95e22959e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Looking for way to generate a table with tiddlers sorted according to respective sets of tags

2015-11-06 Thread Erwan


Hi all,

Steve I think that your use case is interesting because it shows a 
limitation of sorting with TW filters (although imho in this specific 
case the best solution would be to sort the list of tags automatically 
every time a tag is added to a tiddler). I think another case with the 
same limitation is when one wants to sort a list of tiddlers by the 
number of times they are used as tags (i.e. number of tiddlers tagged 
with them).


I'll try to describe the issue here: the "sort" operator (and the 
related nsort, sortcs, nsortcs) only work with fields, but sometimes it 
might make sense to compute the sort criterion with a "sub-filter" 
instead. As Jed's solution shows, currently the only way is to create 
the field containing the sort key: in this case the key is the result of 
the "sub-filter" |"[tags[]sort[]]". |In my other example 
about sorting tags by the number of times they are used, the 
"sub-filter" would be "[||tagging[]]".


I wonder if it would be possible to implement new "sort" filter 
operators which would allow the usage of a sub-filter like this? The way 
I see it it would be used like this:


- Steve's case: "[sort-list-filter[|tags[]sort[]|]]"

- sort by number of tagged tiddlers: 
"[nsort-count-filter[||tagging[]]]"


The idea would be that the argument of "sort-list-filter" would be 
computed for each tiddler resulting from the previous part of the 
filter, and the result would act like a temporary key on which the 
overall sorting is based. In the case of "nsort-count-filter", the 
sub-filter is interpreted as a <$count ...> filter instead of a <$list 
...> one. It is important to notice that the variable  
would have to be interpreted inside the loop, i.e. applies to each 
resulting tiddler and not the current tiddler in which the whole filter 
is used.


What do you experts think?

ps: btw, does anyone know if there is a difference in performance 
between using [all[current]...] and [...] ?



Regards,
Erwan



On 06/11/15 12:08, steve wrote:

Tobias, Jed:

Again, thanks for responding.

I believe that the available filter criteria (by tags, types, content, 
dates, etc) is not the
limiting factor. Using these I can whip up a list filter to do 
whatever I want. The example
on http://tiddlysquat2.tiddlyspot.com/ 
 
selects tiddlers that match tag[reference].


The part that seems to be missing is the means to:
[1] sort tags[] for each tiddler and concatenate the sorted tags into 
a string (maybe use a temporary field?) and

[2] sort the tiddlers according to their respective tag Strings

The example looks like it is doing #1 correctly, i.e., sorting the tags.
The example is only partially successful with #2, sorting the tiddlers.

Tobias: I'll look into your suggestion regarding the use of a dynamic 
filter.

Jed: Is there a way that I can view the tiddler from your example?

Thanks
Steve Wharton

On Friday, November 6, 2015 at 4:48:29 AM UTC-5, Jed Carty wrote:

I made something sort of like what you are talking about here
. It is slow
and there are still a bunch of bugs but it does some of it anyway.

It can be a more involved process than you expect depending on
what you allow as valid search criteria.

--
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/6eceb037-a36d-429d-be81-ff5d2b5355c9%40googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.


--
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/563CC52F.7090801%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: George wants subwikis to be up-to-date in order to plan his activities transversally.

2015-11-06 Thread Tobias Beer
Hi George, err Christopher :D
 

> George wants subwikis to be up-to-date in order to plan his activities 
> transversally.
>

Does "transversally" mean independently, simultaneously?

GeorgeGeek will consult the sub-wiki tiddler updated from the meta-wiki file
>

What exactly does George do here?
What does "updated from" mean?
 

> Create an WikiAsPlugin plugin.
>

Perhaps Tinka 
? 
Still haven't gotten to playing more concretely with the idea of swarms 
, i.e. more 
"losely defined bundles of tiddlers", plugin-like packaged.

Exporting a wiki as a plugin will effectively allow the subwiki to be 
> loaded into the meta wiki without having to restart either a node-js 
> instance nor need to duplicate tiddlers in a current wiki file.
>

Ideally, node will at some point not need restarting the server.
 

> WikiAsPlugin would mainly *have an export function*. The exported plugin 
> would then replace the currently installed plugin with fresher content.
>

Via drag+drop update?

>
>- viewing changes to shadow tiddlers
>
> core feature => look at plugin => observe which plugin tiddlers are 
overwritten

>
>- exporting changes from shadow tiddlers on meta-wiki
>
> perhaps the right predefined-filter under "advanced search" will do to get 
"all from plugin X" that are "not shadows"?

>
>- importing changes from meta-wiki into sub-wiki
>
> Mhhh, why not edit the subwiki?
After all George, wants it packed and redistributed back to his meta wiki, 
not having to figure out what overwritten shadows to eventually delete in 
the Meta Wiki and when, etc.

George, being a geek, would GIT-version the wiki-as-a-plugin and sychronize 
> it with a node-js instance, etc. 
>

So he does use node, after all. Then I would perhaps recommend not to 
endeavour this in-browser approach at all... but I can see how editing on a 
tablet aks for a way to get those updates from in-there synced back 
out-there, i.e. into node,

Best wishes,

Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/a49a82e4-90a0-4377-8bdc-7ec7dd7b3dcc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Bootstrap3 in Tiddlywiki?

2015-11-06 Thread Tobias Beer

>
> The jsonOutput attribute however is read-write. The form is populated from 
> some initial json and as the user makes changes via the form, the resulting 
> json is updated and saved back to the tiddler. So I thought I would need a 
> pointer to where the json should be stored and a value wouldn't work there.
>

Makes sense and using a TextReference to encode this also does. So, I'd 
keep it. Perhaps double check that it supports full TextReferences. Not 
sure what helper functions the core provides in terms of "parse this text 
reference and give me an object representing the target", e.g. a tiddler 
title, some fieldname, perhaps a data index, etc. Eventually you don't even 
want to parse this, you just want to write some text into the provided 
reference, no matter what tiddler or field or data index.

I guess I could make it more like an edit widget (since it is really about 
> editing json) and associate it with certain tiddler types (any 
> application/json which also had a schema referenced?). If that would work, 
> it would probably be more consistent with the rest of TiddlyWiki.
>

Sounds reasonable. Again, perhaps there's a (better) way to reuse those 
interfaces in terms of "read text from reference" and then "write text to 
reference"... rather than you or any other plugin author having to write 
that code. I'd presume this stuff exists. Perhaps ask @JEREMY as to where 
to find it, e.g. @ mention him on that GitHub issue.

Best wishes, Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/cde0de34-5603-459a-94c5-20d29c9c8d1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Looking for way to generate a table with tiddlers sorted according to respective sets of tags

2015-11-06 Thread Tobias Beer
Hi Erwan,
 

> Steve I think that your use case is interesting because it shows a 
> limitation of sorting with TW filters (although imho in this specific case 
> the best solution would be to sort the list of tags automatically every 
> time a tag is added to a tiddler).
>

I think TiddlyWiki should *never* sort a list-field when adding or removing 
an item, unless specifically instructed to do so via something like 
Matabele's listops, the tags field being just a special case of a generic 
list-field.
 

> I think another case with the same limitation is when one wants to sort a 
> list of tiddlers by the number of times they are used as tags (i.e. number 
> of tiddlers tagged with them). 
>
...
>
I wonder if it would be possible to implement new "sort" filter operators 
> which would allow the usage of a sub-filter like this 
>

This sounds to me that -- for the purposes of sorting -- we wish for 
something like a "virtual field", by which we can sort after we've created 
it "in-memory". A *sortby* filter could "sort by the output of filter 
expression evaluated against an item". This filter expression could be 
passed to the operand as either a variable or text reference as we'd have 
no other way to chuck a "subfilter" within a filter expression, e.g.

<$vars sortfilter="[tagging[]]">
<]">>


'The above should cater for the OP's requirement, assuming the *sortby* filter 
would:

   1. evaluate each item in the input set against the specified filter in 
   the operand
   2. sort the items in the input set with respect to whatever was returned

It could / perhaps should even be...

<]">>

...to avail any core sorting algorithms.

The count would be:

<$vars sortfilter="[tagging[]count[]]">
<]">>


...requiring, well, a nonexisting "count" filter.

Best wishes,

Tobias.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/0fd70eb7-1315-4e10-aff7-37ba9bd6af23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Ressources for plugin development?

2015-11-06 Thread Tony Grosinger
The thing that helped me the most when developing my Checklist Plugin 
 was the TiddlyWiki Dev page 
. Learning about how the internals of TiddlyWiki 
worked gave me the background necessary to make sense of the code I was 
reading from other plugin developers and the core 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1808d35a-3e4b-40df-b466-6f65d038e52d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Bootstrap3 in Tiddlywiki?

2015-11-06 Thread Brian Theado
Tobias and Joshua,

Thanks for all the analysis and feedback. You've done all the work to
identify the issue and show the way toward a fix. Nice work. I will take a
look maybe this weekend.

> but use the default way of declaring them via *option:{{!!foo}}* not
*option:"!!foo"*
*[...]*
> the special handling for *schema* and *jsonOutput* should be removed, imho

The {{!!foo}} style would work for the schema attribute because that one is
readonly and only needs a value. The jsonOutput attribute however is
read-write. The form is populated from some initial json and as the user
makes changes via the form, the resulting json is updated and saved back to
the tiddler. So I thought I would need a pointer to where the json should
be stored and a value wouldn't work there.

I guess I could make it more like an edit widget (since it is really about
editing json) and associate it with certain tiddler types (any
application/json which also had a schema referenced?). If that would work,
it would probably be more consistent with the rest of TiddlyWiki.

Brian

-- 
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/CAO5X8CxZzbe9r7Cer2JNLF_z9P%3DL57ijtGVBOE2%2BqSzA2jSfKw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Need a list filter for...

2015-11-06 Thread David Gifford
Hi all,

I need a list filter:

"All tiddlers for which the content of the "category" field is the title of 
the present tiddler." 

So if tiddler "Introvert" has a field called "category" and the content of 
that field is "Personality types," then the code for the above would go in 
the Personality types tiddler.

I want to do this so that I can use tags to make topics but use category 
fields to combine topics into larger categories. I should know this by now, 
and I did experiment for a bit, but I am getting rusty, and I checked 
Tobias' list of filters too, and didn't see one like this.

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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f8c646c3-e62b-4562-89ab-b8fef54b8614%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Looking for way to generate a table with tiddlers sorted according to respective sets of tags

2015-11-06 Thread steve
Tobias, Jed:

Again, thanks for responding.

I believe that the available filter criteria (by tags, types, content, 
dates, etc) is not the 
limiting factor. Using these I can whip up a list filter to do whatever I 
want. The example
on http://tiddlysquat2.tiddlyspot.com/ 

 
selects tiddlers that match tag[reference].

The part that seems to be missing is the means to:
[1] sort tags[] for each tiddler and concatenate the sorted tags into a 
string (maybe use a temporary field?) and
[2] sort the tiddlers according to their respective tag Strings

The example looks like it is doing #1 correctly, i.e., sorting the tags.
The example is only partially successful with #2, sorting the tiddlers.

Tobias: I'll look into your suggestion regarding the use of a dynamic 
filter.
Jed: Is there a way that I can view the tiddler from your example?

Thanks
Steve Wharton

On Friday, November 6, 2015 at 4:48:29 AM UTC-5, Jed Carty wrote:
>
> I made something sort of like what you are talking about here 
> . It is slow and there 
> are still a bunch of bugs but it does some of it anyway.
>
> It can be a more involved process than you expect depending on what you 
> allow as valid search criteria.
>

-- 
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/6eceb037-a36d-429d-be81-ff5d2b5355c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Creating macro/embedding audio

2015-11-06 Thread Tierney Coren
Hello.

I would like to create a macro that allows me to embed an audio file into a 
tiddler. The example below is the best approximation I can give to show 
what I want to do.

\define podcast(start: '00:00:00' end:'00:05:00' 
audio:'podcast.com/someepisode.mp3')
http://"$audio$"#t="$start$","$end; controls="controls">
\end

You can probably tell that I'm used to working with strings from how I did 
the concatenation of the audio, start, and end variables. I know how I have 
them here is wrong, but I have no idea how to do them correctly.

It would be super awesome if I could actually just pull the audio, start, 
and stop variables from fields in a tiddler - that would greatly increase 
the semantics of my use of fields on tiddlers.

Thanks,
Tierney C.

-- 
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/44e45c10-ff1f-4d8c-98cd-1bfe3e18ea49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Linking tags (without corresponding tiddlers) to one "Themes" tiddler

2015-11-06 Thread David Gifford
To list tags that have no corresponding tiddlers, add this to a tiddler:

<$list filter="[tags[]!is[tiddler]]"><$link><$view 
field="title"/>

Dave

On Thursday, November 5, 2015 at 12:17:59 PM UTC-6, kra...@sunyit.edu wrote:
>
> Hello Genius Gurus of TiddlyWiki,
>
> I've been working on an independent study this semester, compiling a 
> bibliography of the history and creation of hypertext;  
> http://krausek.github.io/karen-indstudy/hypertext.html
>
> In talking with my Professor, it was decided it would be best to have this 
> navigated by "Themes."  Is there a way I can link all of my tags to the 
> "Themes" tiddler, and generate a list, for other students to navigate in 
> this way?
>
> As an aside, not sure what I'm doing incorrectly, but I haven't been able 
> to get any list-links or widgets to work, other than RenameTags.  The 
> button widget in particular I'd like to incorporate.. not sure if it's my 
> older macbook or if I unintentionally set a setting along the way...
>
> Thank you so very much for your help and time, I truly appreciate it :)
> Karen
>

-- 
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/3a9b3d03-25b2-4665-93ad-d660f3de3809%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 - List of tiddlers with field check box

2015-11-06 Thread RickL


On Thursday, November 5, 2015 at 4:21:39 PM UTC-5, Tobias Beer wrote:
>
> Hi RickL,
>
> There are a few issues with your example.
>
> *@Jeremy:* The reason why the project list doesn't update is because 
> (oddly?!?) TiddlyWiki appears to not refresh the list item when you modify 
> the tiddler associated with it, which it should, imho. To actually force it 
> to do so, wrap the cycletags macro in the tiddler widget like so:
>
> *<$tiddler tiddler=<**>>*
> <" class:"tc-btn-invisible next-prio">>
> .next-prio {color:red}
> **
>
> That works - thanks!
 

> Not exactly sure I understand how / why (the output of) cycletags forgets 
> its context (tiddler) when run or how to prevent it from doing so.
>
> Pay attention to parameters. In your code you specify "class=class-name" 
> instead of "class:class-name".
>
> I would not recommend placing styles within list iterations. Use a global 
> stylesheet tiddler instead.
>
> Eventually, when you output a table, all elements within a *tr* need to 
> be (wrapped with) either *td*'s or *th*'s, otherwise you break the table 
> layout.
>
> Best wishes,
>
>
Tobias.
>

Thanks for your help and suggestions...obviously I have lots to learn about 
java-script and coding, as I have no clue how to make the changes you 
suggest. I mostly just take other examples and play around with them until 
I get them to do what I want .
"Use a global style sheet tiddler..."  can you point me to an example.

Thanks 
Rick 

-- 
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/b5ab2d1f-664e-4899-b13d-ed3c9fc3b314%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 - List of tiddlers with field check box

2015-11-06 Thread RickL
I did some reading about global stylesheets, and I understand your comment 
a bit better.

Is it possible to set the field text color of a specific field globally for 
the entire TW, so must this be done at the tiddler level?

Thanks

On Thursday, November 5, 2015 at 4:21:39 PM UTC-5, Tobias Beer wrote:
>
> Hi RickL,
>
> There are a few issues with your example.
>
> *@Jeremy:* The reason why the project list doesn't update is because 
> (oddly?!?) TiddlyWiki appears to not refresh the list item when you modify 
> the tiddler associated with it, which it should, imho. To actually force it 
> to do so, wrap the cycletags macro in the tiddler widget like so:
>
> *<$tiddler tiddler=<**>>*
> <" class:"tc-btn-invisible next-prio">>
> .next-prio {color:red}
> **
>
> Not exactly sure I understand how / why (the output of) cycletags forgets 
> its context (tiddler) when run or how to prevent it from doing so.
>
> Pay attention to parameters. In your code you specify "class=class-name" 
> instead of "class:class-name".
>
> I would not recommend placing styles within list iterations. Use a global 
> stylesheet tiddler instead.
>
> Eventually, when you output a table, all elements within a *tr* need to 
> be (wrapped with) either *td*'s or *th*'s, otherwise you break the table 
> layout.
>
> Best wishes,
>
> Tobias.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/982cb54a-e300-4f5e-8f6c-5ae7c521f53a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: George wants subwikis to be up-to-date in order to plan his activities transversally.

2015-11-06 Thread Christopher Mann
Tinka would work if it would by default export the whole wiki with the 
filter [!prefix[$]] as a plugin. As Tinka stands, checking each checkbox is 
a too troublesome.

Here is a WikiAsPlugin approach:

   1. George sets up his personal library of plugins
   2. A button allows the publication of the current library to that plugin 
   library
   3. Any wiki can include another wiki as a plugin through that library

The drawback would be in same-named toddlers being deleted with the 
deleting or even disabling of the plugin.



On Friday, November 6, 2015 at 4:58:12 PM UTC+1, Tobias Beer wrote:
>
> Hi George, err Christopher :D
>  
>
>> George wants subwikis to be up-to-date in order to plan his activities 
>> transversally.
>>
>
> Does "transversally" mean independently, simultaneously?
>
> GeorgeGeek will consult the sub-wiki tiddler updated from the meta-wiki 
>> file
>>
>
> What exactly does George do here?
> What does "updated from" mean?
>
> Create an WikiAsPlugin plugin.
>>
>
> Perhaps useTinka 
> ?
> I still haven't gotten to play more concretely with the idea of swarms 
> , i.e. 
> more "losely defined bundles of tiddlers", plugin-like packaged.
>
> Exporting a wiki as a plugin will effectively allow the subwiki to be 
>> loaded into the meta wiki without having to restart either a node-js 
>> instance nor need to duplicate tiddlers in a current wiki file.
>>
>
> Ideally, node will at some point not need restarting the server.
>  
>
>> WikiAsPlugin would mainly *have an export function*. The exported plugin 
>> would then replace the currently installed plugin with fresher content.
>>
>
> Via drag+drop update?
>
>>
>>- viewing changes to shadow tiddlers
>>
>> core feature => look at plugin => observe which plugin tiddlers are 
> overwritten
>
>>
>>- exporting changes from shadow tiddlers on meta-wiki
>>
>> perhaps the right predefined-filter under "advanced search" will do to 
> get "all from plugin X" that are "not shadows"?
>
>>
>>- importing changes from meta-wiki into sub-wiki
>>
>> Mhhh, why not edit the subwiki?
> After all George, wants it packed and redistributed back to his meta wiki, 
> not having to figure out what overwritten shadows to eventually delete in 
> the Meta Wiki and when, etc.
>
> George, being a geek, would GIT-version the wiki-as-a-plugin and 
>> sychronize it with a node-js instance, etc. 
>>
>
> So he does use node, after all. Then I would perhaps recommend not to 
> endeavour this in-browser approach at all... but I can see how editing on a 
> tablet asks for a way to get those updates from in-there synced back 
> out-there, i.e. into node,
>
> The layman's approach could be: do edits and save them somewhere else, 
> e.g. a backlog in, say, Trello. From there, merge them into those "master 
> wikis" manually.
>
> Best wishes,
>
> Tobias.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/91aa4d6a-73d4-415f-8789-9683d4f843cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 - List of tiddlers with field check box

2015-11-06 Thread RickL


On Thursday, November 5, 2015 at 4:21:39 PM UTC-5, Tobias Beer wrote:
>
> Hi RickL,
>
> There are a few issues with your example.
>
> *@Jeremy:* The reason why the project list doesn't update is because 
> (oddly?!?) TiddlyWiki appears to not refresh the list item when you modify 
> the tiddler associated with it, which it should, imho. To actually force it 
> to do so, wrap the cycletags macro in the tiddler widget like so:
>
> *<$tiddler tiddler=<**>>*
> <" class:"tc-btn-invisible next-prio">>
> .next-prio {color:red}
> **
>
> Not exactly sure I understand how / why (the output of) cycletags forgets 
> its context (tiddler) when run or how to prevent it from doing so.
>
> Pay attention to parameters. In your code you specify "class=class-name" 
> instead of "class:class-name".
>
> I would not recommend placing styles within list iterations. Use a global 
> stylesheet tiddler instead.
>

Is it possible to set the color of text in a specific field globally or 
must this be done at the tiddler level? 

>
> Eventually, when you output a table, all elements within a *tr* need to 
> be (wrapped with) either *td*'s or *th*'s, otherwise you break the table 
> layout.
>
> Best wishes,
>
> Tobias.
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/5dc5c80d-dff8-4df0-9c2d-b7a914d83237%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.