[tw5] Recovering missing tiddlers

2019-08-31 Thread Justice Rangarajan
I had made many tiddlers recording my notes for writing a book. I had saved 
it in dropbox folder in my computer which is synced with drop box. When 
drop box notified that it is full and can no longer sync, I created a new 
folder in my comouter called xdropbox and moved the selfnote to that new 
folder. When I tried to open self note in firefox which is the browser I 
use, It opened as a new noteself page and all my tiddlers are misssing. 
They are not there in both the dropbox and xdropbox folders. Though 
noteself is there they are empty. Please help me recover my notes. Thanks 
Rangarajan

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/70af8c90-51a8-4d16-a91d-cfecf8be3f21%40googlegroups.com.


Re: [tw5] Re: Announcing Tiddlywiki and regexp Examples: Documentation wiki

2019-08-31 Thread Mohammad Rahmani
Tony, Mark,
 That would be great if a slider is used to simply click and display the
macro content (body).


Best wishes
Mohammad


On Sun, Sep 1, 2019 at 6:52 AM TonyM  wrote:

> Mark,
>
> Was your result on an empty.html?
>
> Thanks I have the answer
>
> I did not get the above results.But trying again on tiddlywiki.com did
> with
> <$list
> filter="[all[]get[text]splitregexp[\n]regexp[^\\define]splitregexp[^\\define]!is[blank]]"
> variable="splitme">
> {{{ [splitregexp[\(.*?\)]first[]] }}}
>
> However I would like a title and link to the containing tiddler as well.
> 
> 
> Macro
> Defined in
> Global (Tagged ~$:/tags/Macro)
> 
> <$list filter="[all[]sort[]]" variable=tiddlername>
> <$list 
> filter="[get[text]splitregexp[\n]regexp[^\\define]splitregexp[^\\define]!is[blank]]"
> variable="splitme">
> 
> <$text text={{{ [splitregexp[\(.*?\)]first[]] }}}/>
> <$link to=<> ><$text text=<>/>
> <$text text={{{ [tag[$:/tags/Macro]then[Yes]else[No]]
> }}}/>
> 
> 
> 
> 
>
> On tiddlywiki.com this also finds "\define" in documentation (often
> proceeded by '''/n)
>
> Regards
> Tony
>
>
>
>
>
> On Sunday, September 1, 2019 at 11:50:26 AM UTC+10, Mark S. wrote:
>>
>> Hi Tony,
>>
>> Here's the list it generated for me (I had to alphabetize them in order
>> to get rid of google line break anomalies) . Which ones do you think are
>> false positives?
>>
>>
>>
>>  .advancedsearch-tab
>>  .attr
>>  .button
>>  .clink
>>  .combokey
>>  .controlpanel-tab
>>  .deprecated-since
>>  .dlink
>>  .dlink-ex
>>  .em
>>  .example
>>  .example-tab
>>  .field
>>  .flink
>>  .from-version
>>  .info-tab
>>  .inline-operator-example
>>  .js-macro-link
>>  .key
>>  .keycombo
>>  .link
>>  .lorem
>>  .macro-examples
>>  .mlink
>>  .mlink2
>>  .more-tab
>>  .mtitle
>>  .node-only-operator
>>  .note
>>  .olink
>>  .olink2
>>  .op
>>  .operator-example
>>  .operator-examples
>>  .otitle
>>  .param
>>  .place
>>  .preamble
>>  .s-matching-is-case-sensitive
>>  .sidebar-tab
>>  .state-prefix
>>  .strong
>>  .tab
>>  .tag
>>  .this-is-operator-example
>>  .this-is-static-link-variable
>>  .this-is-toolbar-config-variable
>>  .tid
>>  .tip
>>  .toc-lorem
>>  .toc-tab
>>  .using-days-of-week
>>  .value
>>  .var
>>  .variable-examples
>>  .vlink
>>  .vlink2
>>  .vtitle
>>  .warning
>>  .wid
>>  .widget-examples
>>  .wlink
>>  .wlink2
>>  .word
>>  style-guide
>>  tw-code
>>  tw-code-link
>>  wikitext-example
>>  wikitext-example-without-html
>> .concat
>> .def
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/a3a521d1-677d-4702-b4fc-fe2fdb24c1ca%40googlegroups.com
> 
> .
>

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


Re: [tw5] Re: Announcing Tiddlywiki and regexp Examples: Documentation wiki

2019-08-31 Thread Mohammad Rahmani
Hi Tony,
 Just to note that in TW 5.1.20 the below

<$link to=<> ><$text text=<>/>

can be write as simple as

<$link/>

--Mohammad


Best wishes
Mohammad


On Sun, Sep 1, 2019 at 6:52 AM TonyM  wrote:

> Mark,
>
> Was your result on an empty.html?
>
> Thanks I have the answer
>
> I did not get the above results.But trying again on tiddlywiki.com did
> with
> <$list
> filter="[all[]get[text]splitregexp[\n]regexp[^\\define]splitregexp[^\\define]!is[blank]]"
> variable="splitme">
> {{{ [splitregexp[\(.*?\)]first[]] }}}
>
> However I would like a title and link to the containing tiddler as well.
> 
> 
> Macro
> Defined in
> Global (Tagged ~$:/tags/Macro)
> 
> <$list filter="[all[]sort[]]" variable=tiddlername>
> <$list 
> filter="[get[text]splitregexp[\n]regexp[^\\define]splitregexp[^\\define]!is[blank]]"
> variable="splitme">
> 
> <$text text={{{ [splitregexp[\(.*?\)]first[]] }}}/>
> <$link to=<> ><$text text=<>/>
> <$text text={{{ [tag[$:/tags/Macro]then[Yes]else[No]]
> }}}/>
> 
> 
> 
> 
>
> On tiddlywiki.com this also finds "\define" in documentation (often
> proceeded by '''/n)
>
> Regards
> Tony
>
>
>
>
>
> On Sunday, September 1, 2019 at 11:50:26 AM UTC+10, Mark S. wrote:
>>
>> Hi Tony,
>>
>> Here's the list it generated for me (I had to alphabetize them in order
>> to get rid of google line break anomalies) . Which ones do you think are
>> false positives?
>>
>>
>>
>>  .advancedsearch-tab
>>  .attr
>>  .button
>>  .clink
>>  .combokey
>>  .controlpanel-tab
>>  .deprecated-since
>>  .dlink
>>  .dlink-ex
>>  .em
>>  .example
>>  .example-tab
>>  .field
>>  .flink
>>  .from-version
>>  .info-tab
>>  .inline-operator-example
>>  .js-macro-link
>>  .key
>>  .keycombo
>>  .link
>>  .lorem
>>  .macro-examples
>>  .mlink
>>  .mlink2
>>  .more-tab
>>  .mtitle
>>  .node-only-operator
>>  .note
>>  .olink
>>  .olink2
>>  .op
>>  .operator-example
>>  .operator-examples
>>  .otitle
>>  .param
>>  .place
>>  .preamble
>>  .s-matching-is-case-sensitive
>>  .sidebar-tab
>>  .state-prefix
>>  .strong
>>  .tab
>>  .tag
>>  .this-is-operator-example
>>  .this-is-static-link-variable
>>  .this-is-toolbar-config-variable
>>  .tid
>>  .tip
>>  .toc-lorem
>>  .toc-tab
>>  .using-days-of-week
>>  .value
>>  .var
>>  .variable-examples
>>  .vlink
>>  .vlink2
>>  .vtitle
>>  .warning
>>  .wid
>>  .widget-examples
>>  .wlink
>>  .wlink2
>>  .word
>>  style-guide
>>  tw-code
>>  tw-code-link
>>  wikitext-example
>>  wikitext-example-without-html
>> .concat
>> .def
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/a3a521d1-677d-4702-b4fc-fe2fdb24c1ca%40googlegroups.com
> 
> .
>

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


[tw5] My Bulk upgrade Tiddlywiki single file wikis work flow (A Method to use)

2019-08-31 Thread TonyM
Folks,

With 5.1.20 released with a lot of useful features and 5.1.21 pending

I thought I would share my effective *Bulk upgrade Tiddlywiki single file 
wikis* - work flow

This assumes you already have backups generated by whatever method you 
normally have them

   - Open https://tiddlywiki.com/upgrade.html in a firefox tab
   - Locate a source wiki on disk and drop in on the above tab
   - Hit upgrade button
   - Click "Save upgraded TiddlyWiki file"
   - Browse to the location of the source file and select it as the save 
   destination, click save
   - Replace Yes
   - *Return to the tab containing https://tiddlywiki.com/upgrade.html and 
   hit Browser reload of the tab*
  - This is important otherwise you may inadvertently merge more than 
  one wiki and save over an unmerged wiki.
   - Start again with your next wiki file

With Timimi installed it is possible to have your backups in place and 
double click to open the upgraded wiki for review (at least once in case 
there is a problem).

Regards
Tony

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bfc81265-21d8-41d6-afca-26f72eda9077%40googlegroups.com.


[tw5] Re: Announcing Tiddlywiki and regexp Examples: Documentation wiki

2019-08-31 Thread TonyM
Mark,

Was your result on an empty.html?

Thanks I have the answer

I did not get the above results.But trying again on tiddlywiki.com did with
<$list 
filter="[all[]get[text]splitregexp[\n]regexp[^\\define]splitregexp[^\\define]!is[blank]]"
 
variable="splitme">
{{{ [splitregexp[\(.*?\)]first[]] }}}

However I would like a title and link to the containing tiddler as well.


Macro
Defined in
Global (Tagged ~$:/tags/Macro)

<$list filter="[all[]sort[]]" variable=tiddlername>
<$list 
filter="[get[text]splitregexp[\n]regexp[^\\define]splitregexp[^\\define]!is[blank]]"
 
variable="splitme">

<$text text={{{ [splitregexp[\(.*?\)]first[]] }}}/>
<$link to=<> ><$text text=<>/>
<$text text={{{ [tag[$:/tags/Macro]then[Yes]else[No]] }}}/>






On tiddlywiki.com this also finds "\define" in documentation (often 
proceeded by '''/n)

Regards
Tony





On Sunday, September 1, 2019 at 11:50:26 AM UTC+10, Mark S. wrote:
>
> Hi Tony,
>
> Here's the list it generated for me (I had to alphabetize them in order to 
> get rid of google line break anomalies) . Which ones do you think are false 
> positives?
>
>
>
>  .advancedsearch-tab
>  .attr
>  .button
>  .clink
>  .combokey
>  .controlpanel-tab
>  .deprecated-since
>  .dlink
>  .dlink-ex
>  .em
>  .example
>  .example-tab
>  .field
>  .flink
>  .from-version
>  .info-tab
>  .inline-operator-example
>  .js-macro-link
>  .key
>  .keycombo
>  .link
>  .lorem
>  .macro-examples
>  .mlink
>  .mlink2
>  .more-tab
>  .mtitle
>  .node-only-operator
>  .note
>  .olink
>  .olink2
>  .op
>  .operator-example
>  .operator-examples
>  .otitle
>  .param
>  .place
>  .preamble
>  .s-matching-is-case-sensitive
>  .sidebar-tab
>  .state-prefix
>  .strong
>  .tab
>  .tag
>  .this-is-operator-example
>  .this-is-static-link-variable
>  .this-is-toolbar-config-variable
>  .tid
>  .tip
>  .toc-lorem
>  .toc-tab
>  .using-days-of-week
>  .value
>  .var
>  .variable-examples
>  .vlink
>  .vlink2
>  .vtitle
>  .warning
>  .wid
>  .widget-examples
>  .wlink
>  .wlink2
>  .word
>  style-guide
>  tw-code
>  tw-code-link
>  wikitext-example
>  wikitext-example-without-html
> .concat
> .def
>
>
>

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


[tw5] Re: Announcing Tiddlywiki and regexp Examples: Documentation wiki

2019-08-31 Thread 'Mark S.' via TiddlyWiki
Hi Tony,

Here's the list it generated for me (I had to alphabetize them in order to 
get rid of google line break anomalies) . Which ones do you think are false 
positives?



 .advancedsearch-tab
 .attr
 .button
 .clink
 .combokey
 .controlpanel-tab
 .deprecated-since
 .dlink
 .dlink-ex
 .em
 .example
 .example-tab
 .field
 .flink
 .from-version
 .info-tab
 .inline-operator-example
 .js-macro-link
 .key
 .keycombo
 .link
 .lorem
 .macro-examples
 .mlink
 .mlink2
 .more-tab
 .mtitle
 .node-only-operator
 .note
 .olink
 .olink2
 .op
 .operator-example
 .operator-examples
 .otitle
 .param
 .place
 .preamble
 .s-matching-is-case-sensitive
 .sidebar-tab
 .state-prefix
 .strong
 .tab
 .tag
 .this-is-operator-example
 .this-is-static-link-variable
 .this-is-toolbar-config-variable
 .tid
 .tip
 .toc-lorem
 .toc-tab
 .using-days-of-week
 .value
 .var
 .variable-examples
 .vlink
 .vlink2
 .vtitle
 .warning
 .wid
 .widget-examples
 .wlink
 .wlink2
 .word
 style-guide
 tw-code
 tw-code-link
 wikitext-example
 wikitext-example-without-html
.concat
.def


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


[tw5] Re: (HowTo) use Google Fonts in your Tiddlers

2019-08-31 Thread TonyM
Folks,

I was going to add for offline support and to avoid what Mario pointed out 
you can import css files into tiddlywiki and tag them as stylesheets 
removing the dependance on the internet. I am not so sure how to do It with 
Mohamed's examples but I expect you can find how. If you visit 
https://fonts.googleapis.com/css?family=Playfair%20Display you can see the 
first level of file you can import to a style sheet. Then you can download 
the woff files and link locally (if not embed them in tiddlywiki as well).

And whilst Mario rightly points out what can be a privacy concern this can 
be used to your advantage because you could put analytics against your own 
copy of css to see how far a wiki you distribute propagates. I would also 
Imagine Mario would insist if you are going to do this it would be a good 
ethical practice to inform the users of your wiki of this and allow them to 
"defeat" it if they wish.

Regards
Tony

On Sunday, September 1, 2019 at 10:01:19 AM UTC+10, PMario wrote:
>
> Hi, 
> Do you really want to inform google, everytime someone opens your TWs?
> I don't!
> And I'll block it!
> -m
>

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


[tw5] Re: (HowTo) use Google Fonts in your Tiddlers

2019-08-31 Thread PMario
Hi, 
Do you really want to inform google, everytime someone opens your TWs?
I don't!
And I'll block it!
-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/90fee391-28fb-47f1-83d7-d34da61a5bf0%40googlegroups.com.


[tw5] Re: Proposal: Tiddler Serial Numbers

2019-08-31 Thread PMario
On Saturday, August 31, 2019 at 12:25:15 PM UTC+2, bimlas wrote:

I have not heard of the DAT protocol and I do not know how Peer-2-Peer 
> works, but it is clear that it has to do with networks.
>

Yes, it has to do with networks. It establishes direct communication 
between 2 peers. ... There are some 3rd party servers involved at the 
moment, because you need to find other peers.  
 

> One of TiddyWiki's basic ideas is to be free of external dependencies and 
> work on its own. Does the DAT protocol break this principle?
>

No - in the contrary. It is an attempt to avoid the dependency on large 
companies. As soon as your browser is running, it also can be a host if the 
user wants it. If someone else knows the ID = dat:// they can 
connect to your archive and load the content. 

They can only read the info. ... The only person, that can write to a dat 
archive is the "private key" owner. 
 

> Can the ID be generated offline or do I have to register it on an online 
> server?
>

The ID is generated offline. Either in the browser (that supports it) or 
with an external command line program. 

There are some efforts going on atm, to allow browsers to read / write dat 
archives. TiddlyWiki already contains a default saver, that is able to 
save, if you use the beaker browser. ... others will follow in the future. 



The OP discusses the need to create a serial number. ... The problem is, 
that this number is only unique within 1 TW. ... That's the same as with 
tiddler titles. ... 

The dat:// is unique by default. .. It belongs to 1 user. So in 
combination with a dat:// a tiddler title can be universal unique. 
... Including it's history. ... 

That's only 1 reason, why I'm so excited about the dat-project. 

have fun!
mario

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


[tw5] Re: Announcing Tiddlywiki and regexp Examples: Documentation wiki

2019-08-31 Thread 'Mark S.' via TiddlyWiki
There are no core tools for extracting sections identified by regular 
expressions directly. Instead you
have to apply various levels of splitting, identifying, extracting 
(sometimes using nth operator). The actual
separator gets thrown away -- the opposite of what would be convenient for 
extracting text.

So, if there were macros in tiddler test1, then this works (in my test) :

<$list 
filter="[[test1]get[text]splitregexp[\n]regexp[^\\define]splitregexp[^\\define]!is[blank]]"
 
variable="splitme">
{{{ [splitregexp[\(.*?\)]first[]] }}}


So stuff gets split into lines. Then matching lines are identified. Then 
split. Compressed. Used in {{{ }}} where they are split again by 
(parameter), but this time only the part before the split is saved.


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3cb85911-3bb2-47ff-808c-af42778fd0ab%40googlegroups.com.


[tw5] Update field of a Tiddler whose name derived from macro

2019-08-31 Thread MagoArcade
Hi. The below:

\define NodePath()
$:/plugins/felixhayashi/tiddlymap/graph/views/$(DDView)$/filter/nodes
\end

returns:

$:/plugins/felixhayashi/tiddlymap/graph/views/TestView/filter/nodes 


I want to change the value of a field "filter" of the Tiddler of the name 
generated by the macro. Basically, I want to get the existing field value, 
append some text to the end of this and then save the updated value. E.g. 
Existing filter field = "Hello" ; I want to append " World" to change the 
field to "Hello World"

What is the best way to achieve this?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cb65d4bb-70fa-4b3f-8c5c-a3b66a3cd039%40googlegroups.com.


Re: [tw5] Re: Announcing Tiddlywiki and regexp Examples: Documentation wiki

2019-08-31 Thread Mohammad Rahmani
This is a link to Yazd and show-macro
https://tw-scripts.github.io/Yazd/#macro%2Fshow-macro

Show macro uses the powerful find macro which itself can be used for
partial transclusion.


Best wishes
Mohammad


On Sat, Aug 31, 2019 at 11:55 PM coda coder 
wrote:

>
>
> On Saturday, August 31, 2019 at 1:40:41 PM UTC-5, Mohammad wrote:
>>
>> Hi Tony
>>  I have already published a macro to find all macros and show them in a
>> useful format!
>> Have a look at Yazd wiki!
>>
>
> link?
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/fb215b8e-0f18-466a-9c01-0d2a8e500438%40googlegroups.com
> 
> .
>

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


Re: [tw5] Re: Announcing Tiddlywiki and regexp Examples: Documentation wiki

2019-08-31 Thread coda coder


On Saturday, August 31, 2019 at 1:40:41 PM UTC-5, Mohammad wrote:
>
> Hi Tony
>  I have already published a macro to find all macros and show them in a 
> useful format!
> Have a look at Yazd wiki!
>

link?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fb215b8e-0f18-466a-9c01-0d2a8e500438%40googlegroups.com.


[tw5] Re: Count fields that have a specific value within one single tiddler

2019-08-31 Thread 'Mark S.' via TiddlyWiki
Returns count for all fields that start with "stuf" and contain string 
"wrong".

The complexity of this answer suggests that you might want to restructure 
your project/questions, so that each response goes into
its own tiddler. Then getting the count (and other data analyses) will be 
much more straightforward.

\define mywrongs() 
<$vars mytid="""$(mytid)$"""><$list filter="[fields[]regexp[^stuf]]" 
variable="field"><$list filter="[getregexp[wrong]]"><>

\end
\define wrongsintiddler(mytid)
<$vars mytid="""$mytid$""">
<$wikify text=<> name="wrongs">
{{{ [enlistcount[]] }}}


\end

<>



On Friday, August 30, 2019 at 2:03:32 AM UTC-7, Mirko Richter wrote:
>
> Hi,
>
> is it possible to* count all fields* within some *single specific tiddler* 
> that have *a certain value*? If yes, how ;)? Im currently struggling on 
> that and don't know how to go on...
>
> (My use case: a filled-out questionnaire with the text "wrong" or 
> "correct" (i already calculate it while stepping the wizzard) in an 
> arbitrary number of fields. The field's name is the name of the underlying 
> question. I just want to know how many "wrong"s or "correct"s are in there.)
>
> *Additional question:* Can i also restricted the fields under 
> consideration in terms of regexp[], suffix[], prefix[] or other 
> string-based criteria?
>
> Thanks,
> Mirko
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/290a00d4-e577-4b25-bb80-07d36ec4ad82%40googlegroups.com.


Re: [tw5] Re: Announcing Tiddlywiki and regexp Examples: Documentation wiki

2019-08-31 Thread Mohammad Rahmani
Hi Tony
 I have already published a macro to find all macros and show them in a
useful format!
Have a look at Yazd wiki!

By the way, your suggestion is useful in creating regexp example and
hopefully Mark, Josiah will create one!


Best wishes
Mohammad


On Sat, Aug 31, 2019 at 8:11 AM TonyM  wrote:

> Another useful CSS operating on the text field if possible?
>
> Search a macro tiddler for macros of the form
>
> \define macro-name()
>
>
> then list all "macro-names"
>
> Which can then be used to display the "current value" of that macro
>
>
>
>- Ie begins \define
>- one or more spaces
>- capture the name
>- end of name when "(" is detected.
>
> Regards
> Tony
>
>
> Regards
>
> Tony
>
>
> On Friday, August 30, 2019 at 10:05:20 PM UTC+10, Mohammad wrote:
>>
>> *Announcement: RegExp in Tiddlywiki*
>> *Date: Aug30, 2019*
>> *Status: In progress*
>> *Revision: 0.8*
>> *Purpose: Learn regexp in Tiddlywiki*
>>
>>
>> Wiki: http://tw-regexp.tiddlyspot.com/
>>
>>
>>- *0.8 - Aug 30, 2019*
>>
>>
>>1. Regexp Search in Fields improved
>>2. A new search-regexp macro has been added which can be called
>>anywhere.
>>3. RegExp Experimentation with a Specified Field was added to let
>>freely play with regexp patterns in a user defined field
>>4. Search in Titles with Predefined Rexexp Patterns improved for
>>documentation.
>>5. Several sample patterns are added
>>
>>
>> Your feedback are highly welcome.
>>
>> Cheers
>> Mohammad
>>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/a52cac8d-d1bc-407d-9144-de6f8788b9aa%40googlegroups.com
> 
> .
>

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


[tw5] Append text to Tiddler whose name is derived via a macro

2019-08-31 Thread MagoArcade
Hi. Consider below:

\define NodePath()
$:/plugins/felixhayashi/tiddlymap/graph/views/$(DDView)$/filter/nodes
\end


\define NodePathItem()
{{!!text}} [field:tmap.id[$(tmapid)$]]
\end


NodePathItem is meant to produce a value which appends some text to the 
text field of the Tiddler named as the result of NodePath. But it doesn't. 
What's the correct syntax?

(P.S. Don't worry about $(DDView)$ and $(tmapid)$ - assume they both work)

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


[tw5] Re: Announcing Tiddlywiki and regexp Examples: Documentation wiki

2019-08-31 Thread @TiddlyTweeter
Ciao TonyM & Mohammad

Search a macro tiddler for macros of the form
> \define macro-name()
> then list all "macro-names"
> Which can then be used to display the "current value" of that macro


Creating a regular expression to match what you want is quite easy.
My problem is maybe I don't know enough about TW operators to finalise it.
In the regex you can "capture" the name of a defined macro into a numbered 
group.
I just can't find any examples or documentation of how to return that in a 
listing, rather than a list of titles the macros are in.

Any ideas welcome.

TT

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


Re: [tw5] How to force Block Mode in a Widget

2019-08-31 Thread Yaisog Bonegnasher
Thank you Jeremy for the quick reply.
Sounds like something that would be rather complicated to implement for 
relatively little gain. I had hoped there was a simpler solution.

Have a nice weekend,
Yaisog


On Saturday, August 31, 2019 at 5:20:07 PM UTC+2, Jeremy Ruston wrote:
>
> Hi Yaisog
>
> All widgets are parsed by the HTML element parser, and it isn't currently 
> possible for a specific widget to customise the parsing process. Instead, 
> you can create a parser that implements a new wikitext construction with 
> the syntax that you want (but that doesn't clash with the existing HTML 
> element parser), and then generates an instance of your widget.
>
> Best wishes
>
> Jeremy
>
> --
> Jeremy Ruston
> jer...@jermolene.com 
> https://jermolene.com
>
>

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


Re: [tw5] How to force Block Mode in a Widget

2019-08-31 Thread Jeremy Ruston
Hi Yaisog

All widgets are parsed by the HTML element parser, and it isn't currently 
possible for a specific widget to customise the parsing process. Instead, you 
can create a parser that implements a new wikitext construction with the syntax 
that you want (but that doesn't clash with the existing HTML element parser), 
and then generates an instance of your widget.

Best wishes

Jeremy

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

> On 31 Aug 2019, at 10:50, Yaisog Bonegnasher  wrote:
> 
> 
> Hi,
> does anyone know of a way to have the content in a (custom) widget always 
> rendered in block mode? If at all possible, I would like to avoid having to 
> insert two line breaks after the widget's opening element.
> 
> Background: I'm using a custom widget to insert s with the attribute 
> "tabindex=-1" and an identifier attribute around sections of wikitext. I can 
> the use the tm-focus-selector message to scroll the section into view on a 
> button click. This way I can set up a tiddler ToC for long tiddlers that can 
> navigate to individual sections. It's the next best thing to section links in 
> TWC for me (if it were combined with tm-navigate).
> 
> <$sec title="Section Title">
> Some wikitext, usually in the form of lists.
> 
> 
> The title attribute is rendered as an H2, and the wikitext must be parsed in 
> block mode in order for the lists to work. Currently, I need to insert an 
> extra line break to achieve that, which reduces the readability of the 
> wikitext in tiddlers with many sections.
> 
> Regards,
> Yaisog
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/f9e87640-7960-4fcf-9002-2b65db7548b8%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7019BB5B-4378-465C-8BB2-3EBB1BE86289%40gmail.com.


[tw5] Re: (HowTo) use Google Fonts in your Tiddlers

2019-08-31 Thread coda coder


On Saturday, August 31, 2019 at 8:52:49 AM UTC-5, Mohamed Amin wrote:
>
>
>  rel='stylesheet'>
>  rel='stylesheet'>
>  rel='stylesheet'>
>  rel='stylesheet'>
> 
>
>
Just pointing out, if you place the link elements in a tiddler and tag it 
$:/tags/RawMarkup they will be available everywhere.

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


[tw5] (HowTo) use Google Fonts in your Tiddlers

2019-08-31 Thread Mohamed Amin
Dears,

I thought that sharing my answer here 

 with 
this group is a very little thing in return of your support to me (for new 
users like me).

This is How:

1- Go to "Google Fonts" Gallary in W3Schoole website here  

2- Choose your font and "Copy" its name
3- Add/Customise Font name to your tiddler as in the following example (you 
can Copy/Past the example to a new Tiddler to check)










.st2 {font-family: 'Playfair Display';font-size: 42px;}
.st3 {font-family: 'Sofia';font-size: 42px;}
.st4 {font-family: 'Alex Brush';font-size: 42px;}
.st5 {font-family: 'Akronim';font-size: 42px;}
.st6 {font-family: 'Annie Use Your Telescope';font-size: 42px;}



'Playfair Display'  1234567890 ABC abc
'Sofia'  1234567890 ABC abc
'Alex Brush'  1234567890 ABC abc
'Akronim'  1234567890 ABC abc
'Annie Use Your Telescope'1234567890 ABC abc

Worm Regards
Mohamed Amin

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


[tw5] Re: Saving in chrome

2019-08-31 Thread A Sklpns
PMario,
copy that, looking forward to the chrome version.
Thank you!
sklpns

Τη Πέμπτη, 29 Αυγούστου 2019 - 11:00:27 π.μ. UTC+3, ο χρήστης PMario έγραψε:
>
> On Friday, May 10, 2019 at 9:28:45 AM UTC+2, A Sklpns wrote:
> ...
>
>> Any ideas? Is there possibly as simple a solution for Chrome as Firefox's 
>> File Backups addon?
>>
>
> There is a new beta on the way. 
> https://github.com/pmario/file-backups/releases ... 
>
> It also contains some changes that should get me closer to a chrome 
> version. I had to remove the URL icon, since Chrome only allows 1 icon 
> active at a time. I decided to go with the diamond ;)
>
> Since MS Edge is on the way, I also want to support this one with a future 
> file-backups version. 
>
> have fun!
> mario
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/973dcf3c-a974-448c-8df1-d1cb20a1d7a0%40googlegroups.com.


[tw5] Re: Proposal: Tiddler Serial Numbers

2019-08-31 Thread bimlas
This made it more clear: https://github.com/datproject/dat#getting-started


   - Track your files with automatic version history.
   - Share files with others over a secure peer to peer network.
   - Automate live backups to external HDs or remote servers.
   - Publish and share files with built in HTTP server.

 

>  Can the ID be generated offline or do I have to register it on an online 
> server?
>

Yes, just tried out the followings with disabled network:

$ cd dat-test
$ dat share
dat v13.13.1
Created new dat in /home/bimlas/Letöltések/dat-test/.dat
dat://5d5b02b61e7d883732cc5007743d4ef987157073824a489330bcbf791a8cae6e
Sharing dat: 1 files (3.0 KB)


0 connections | Download 0 B/s Upload 0 B/s


Watching for file updates



Exiting the Dat program...% 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/238b9cf9-998e-4c65-9040-0a795fb5b049%40googlegroups.com.


[tw5] Re: Count fields that have a specific value within one single tiddler

2019-08-31 Thread Anjar
Hi Mirko

That's a great question, and I guess there should be simpler solutions, but 
as far as I could see, this will work:
\define getScoreTiddler() $:/score/{{!!title}}

\define countScore()
<$action-deletetiddler $filter="[prefix[$:/temp]tag[ScoreTiddler]]"/>
<$list filter="[all[current]fields[]] -text -title" variable=F >
<$list filter="[all[current]getmatch[correct]]" >
<$action-createtiddler $basetitle="$:/temp" tags="ScoreTiddler"/>


<$set name=c filter="[prefix[$:/temp]tag[ScoreTiddler]count[]]">
<$action-setfield $tiddler="$(scoreTiddler)$" text=<> />

\end

<$wikify name=scoreTiddler text=<> >
<$button actions=<> >
Count score


Score: <$transclude tiddler=<> />



It creates a temporary tiddler for each correct answer, then counts the 
tiddlers and assign the number to a new tiddler "$:/score/" so that the score for each tiddler is saved seperately.


Best,
Anders

fredag 30. august 2019 11.03.32 UTC+2 skrev Mirko Richter følgende:
>
> Hi,
>
> is it possible to* count all fields* within some *single specific tiddler* 
> that have *a certain value*? If yes, how ;)? Im currently struggling on 
> that and don't know how to go on...
>
> (My use case: a filled-out questionnaire with the text "wrong" or 
> "correct" (i already calculate it while stepping the wizzard) in an 
> arbitrary number of fields. The field's name is the name of the underlying 
> question. I just want to know how many "wrong"s or "correct"s are in there.)
>
> *Additional question:* Can i also restricted the fields under 
> consideration in terms of regexp[], suffix[], prefix[] or other 
> string-based criteria?
>
> Thanks,
> Mirko
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/432d205c-19fe-4567-9d6d-c965f69be2cc%40googlegroups.com.


[tw5] Re: Proposal: Tiddler Serial Numbers

2019-08-31 Thread bimlas
PMario,

I have not heard of the DAT protocol and I do not know how Peer-2-Peer 
works, but it is clear that it has to do with networks. One of TiddyWiki's 
basic ideas is to be free of external dependencies and work on its own. 
Does the DAT protocol break this principle? Can the ID be generated offline 
or do I have to register it on an online server?

I found a brief summary of what DAT is like, if it wasn't clear to anyone:

Beaker Browser is an experimental P2P web browser that natively integrates 
> the Dat protocol. You can think of Dat as being an improved version of 
> BitTorrent that’s optimized for sharing folders of data that are constantly 
> changing. This makes Dat a good fit for hosting static websites and 
> building hostless applications because the author of a website or 
> application can publish updates that users can download from anyone on the 
> network and still be sure that they are downloading the same updates as 
> everyone else. (See this blog post for more info). With Beaker, creating a 
> new website becomes as easy as entering a name for the site and clicking on 
> a button to generate a new “key pair.” The “private” key gives the author 
> the power to change the site while the “public” key gives other users the 
> power to find and download the site.


https://medium.com/offline-camp/offline-first-peer-to-peer-networks-da2bc4bc92af

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


[tw5] How to force Block Mode in a Widget

2019-08-31 Thread Yaisog Bonegnasher
Hi,
does anyone know of a way to have the content in a (custom) widget always 
rendered in block mode? If at all possible, I would like to avoid having to 
insert two line breaks after the widget's opening element.

Background: I'm using a custom widget to insert s with the attribute 
"tabindex=-1" and an identifier attribute around sections of wikitext. I 
can the use the tm-focus-selector message to scroll the section into view 
on a button click. This way I can set up a tiddler ToC for long tiddlers 
that can navigate to individual sections. It's the next best thing to 
section links in TWC for me (if it were combined with tm-navigate).

<$sec title="Section Title">
Some wikitext, usually in the form of lists.


The title attribute is rendered as an H2, and the wikitext must be parsed 
in block mode in order for the lists to work. Currently, I need to insert 
an extra line break to achieve that, which reduces the readability of the 
wikitext in tiddlers with many sections.

Regards,
Yaisog

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


Re: [tw5] Date time wiki last updated or saved?

2019-08-31 Thread Jeremy Ruston

> I know each tiddler has a datetime that it was last modified but is there a 
> variable that gets updated with each save of the whole wiki such that I could 
> report on that field within the wiki?

A special timestamp tiddler that gets updated on saving is an interesting idea: 
I've added a ticket here:

https://github.com/Jermolene/TiddlyWiki5/issues/4224

Best wishes

Jeremy


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/E24FDA44-FF70-4D67-AC70-042A516E6CCF%40gmail.com.


[tw5] Re: TW & accessibilty (vision impairement)

2019-08-31 Thread Jed Carty
I have been working on putting together some guidelines for accessibility. 
The current list mainly focuses on dyslexia because that is what I have 
experience with, but if you have suggestions I would like to include them.

https://www.ooktech.xyz:8443/Public#Making%20interfaces%20accessible

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/eb9a9330-11f1-4935-9de0-69fab93a666c%40googlegroups.com.


[tw5] Re: TW & accessibilty (vision impairement)

2019-08-31 Thread PMario
On Saturday, August 31, 2019 at 6:50:03 AM UTC+2, A Gloom wrote:

 
>
>> In the right sidebar: Tools: Palettes  there are 2 palette settings. 
>>
>
> Palettes are not functional for me -- the system/Firefox theme 
> overrides/negates any css/html colors and replaces with white foreground 
> elements (borders, text, etc) on black background.  The only way I can get 
> color into Firefox is through images or svg's.  Now the toolbar icons issue 
> I belive is because they're svg icons with decreased opacity till hovered 
> over and they color fill (on my system they're dim grey that I can't 
> usually see but when I hover over them they become white and visible)
>

How do you set up this high-contrast mode... In windows 10 I can 
enable/disable "high contrast". But that only works for the window 
elements. So FireFox content is still light background. 

The normal "black" theme for FF only decorates the UI elements. ... So site 
content is still light background and the TW palette setting takes effect 
for me ... that's strange. 

-m

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/98d48c48-468c-4ab4-8f6d-6b1f64b8a335%40googlegroups.com.