[tw5] Re: Customizing Levels of TOC

2018-10-05 Thread barrowgloom
Tony,

I am definitely interested in what others know or have done with various 
things in TW cause I plan on putting my applications of TW through some 
serious tests for world building/video game development.

Like me replaced my exclude usage with sort![] once I saw Mark S suggesting 
a more stable method-- I didn't want to pass on a potentional disaster to 
my users if they decided to duplicate what I did and made a mistake doing 
it.

I intend on tinkering with the toc macro cause I want to put "new from 
here" buttons to toc entries for quick and easy creation of tagged tiddlers 
from the toc.

and I have been studying what you and Mark have shown in this thread-- it 
was quite fruitful sparking a discussion in this thread.

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


[tw5] Re: Tinka pluging: How to add readme, usage and other tiddlers

2018-10-05 Thread 'Mark S.' via TiddlyWiki
I couldn't get the caption to do anything. It seemed to only care about the 
name in the list field matching the tale end of the tiddler name. But 
perhaps I wasn't doing it right.


Meanwhile, I've submitted a PR with additional documentation 
toTinkaPlugin/Tinka . (https://github.com/TinkaPlugin/Tinka/pull/12)

-- Mark

On Friday, October 5, 2018 at 8:25:41 PM UTC-7, Mohammad wrote:
>
> Mark, in my case the tab title is taken from caption (if not set from 
> tiddler title).
>
> As you said it is good Tinka documentation add a note on this.
>
> -Mohammad
>

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


[tw5] Re: Customizing Levels of TOC

2018-10-05 Thread TonyM
Michael,

Extending the concepts shared by others I have built a TOC that you can set 
the number of levels deep on so you do not need to exclude items.

It does require Evans formulae plugin 
 to work just to increment 
a value, this is just an experiment but it provides a simpler macro to 
modify for include excludes and alternate output formatting. In this case 
it uses the heading level of the levels deep and block quotes to indent.

\define toc-levels(root-tiddler max)
<$set name=level value="1">
<$set name=max value="$max$" emptyValue="100">

$root-tiddler$ (Max levels deep <>)
<$list filter="[tag[$root-tiddler$]]" variable=name>
  <$macrocall $name=loopme tiddlername=<> level=<> max=<>
/>



\end
\define loopme(tiddlername level max)

$level$. <$link to="$tiddlername$" tooltip="Click to open 
$tiddlername$"><$view tiddler="$tiddlername$" field="caption" 
format=text><$view 
tiddler="$tiddlername$" field="title" format=text>
<$formula-vars
   next-level=add($level$,1)>
<$list filter="[[$max$]] -[[$level$]]">
<$list filter="[tag[$tiddlername$]]" variable=loop-name>
  <$macrocall $name="loopme" tiddlername=<> level=<> 
max="$max$"/>




\end


<>

Regards
Tony

On Thursday, October 4, 2018 at 7:36:18 AM UTC+10, michaelha...@gmail.com 
wrote:
>
> I have been using TiddlyWiki 5 for a few years now, and I have always used 
> a hierarchal structure of tags. I am now coming to the point where I have 
> enough sub-levels of tags, it feels like I have to scroll more horizontally 
> than vertically.
>
>
> One of the things I really like about TiddlyWiki is that tags can be just 
> another level of tiddlers, and I would quite like to retain that ability to 
> click on a tag and jump to the parent tiddler right away. Unfortunately, 
> this system has resulted in an ungainly table of contents.
>
>
> I would like to ask if there is any way to hide or deactivate parts of the 
> right bar table of contents after a certain level, or hide certain tags 
> specifically.
>
>
> For example, if my TOC looked like this:
>
>
>
>- 
>
>Item 1
>- 
>   
>   Subitem 1
>   - 
>  
>  Extra 1
>  - 
>  
>  Extra 2
>  - 
>  
>  Extra 3
>  - 
>
>Item 2
>- 
>   
>   Subitem 2
>   - 
>
>Item 3
>- 
>   
>   Subitem 3
>   
>
> And so on.
>
>
> Would there be a way to hide the list under Section 1, so instead my TOC 
> looked like this:
>
>
>
>- 
>
>Item 1
>- 
>   
>   Subitem 1
>   - 
>
>Item 2
>- 
>   
>   Subitem 2
>   - 
>
>Item 3
>- 
>   
>   Subitem 3
>   
>
> Would something like this be doable?
>
>
> Thank you.
>

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


[tw5] Re: Tinka pluging: How to add readme, usage and other tiddlers

2018-10-05 Thread Mohammad
Mark, in my case the tab title is taken from caption (if not set from 
tiddler title).

As you said it is good Tinka documentation add a note on this.

-Mohammad

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


[tw5] [TW5] testing Bob and BobEXE version 1.0.7 prerelease

2018-10-05 Thread TonyM
Jed,

It is great to see your continuose innovation of Bob, thanks so much.

Centralised management of plugins is very helpful, and I will implement this 
once past prerelease. It will however be a rework of my current wiki network 
and will require a time commitment.

You are running at the leading edge and may only get responces from early 
adopters but be assured your solutions will in time be adopted by many more 
people since they offer systematic improvements.

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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b6208424-68bb-42a8-b421-8c3212ab9080%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Customizing Levels of TOC

2018-10-05 Thread TonyM
Folks,

The questions discussed here with toc and filtered tocs etc... Is all about 
heirachies represented in tiddlywiki. Out of the box tiddlywiki handles this 
very well.

There are a number of threads here that cover this and extending functionality 
like the exclude tiddlers.

I can recomend playing with and building your own toc macro because its a great 
way to learn about recursion ie call a macro that calls a second macro that 
calls itself. and of course you can customise it. True avoiding infinite loops 
may be nessasary if your data was not structured.

I am posting here, as heirachical organisation and going beyond simple 
heirachies, is an interest of mine. I intend to build some grand solutions 
based on this in time, but you can expect a trickle of macros.

I see the ability to increment a variable to count how deep in the heirachy is 
an importiant feature we need.

Otherwise I want sophisticated solutions that will ultimately meet most user 
requirements in a simplified way, potentialy hiding the real complexity.

I am allways open to collaboration.

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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c47a5a0e-c303-4a32-9f5a-52acc7016548%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tinka pluging: How to add readme, usage and other tiddlers

2018-10-05 Thread 'Mark S.' via TiddlyWiki
In my tests, the caption didn't seem to do anything. It would be nice if 
there was a note about the relationship in naming between the list and the 
tiddlers.

-- Mark

On Friday, October 5, 2018 at 11:28:24 AM UTC-7, Mohammad wrote:
>
> Thank you Jed! It worked.
>
> Just for documentation purpose and other people who may have similar 
> question:
>
>
>- Name your readme like below
>   - $:/plugings/myName/myPlugin/readme
>- set caption of tiddler to "readme"
>- In the List (Tinka) add: readme
>
> That's all.
>
> - 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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/35b03988-6dc1-4909-b6da-2ee2178959c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Customizing Levels of TOC

2018-10-05 Thread barrowgloom
Eric,

Thank you for the info about, the exclude option.  I agree with the reason 
it isn't shown in the documentation and will follow suit with being 
cautious about suggesting its use to others because of the potential 
disastrous results if it's no used incorrectly.  The ! exclude ability of 
the sort function is much safer.

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


[tw5] [TW5] testing Bob and BobEXE version 1.0.7 prerelease

2018-10-05 Thread Jed Carty
This update is focused on improving the fetching interface and the plugin 
server functionality.

You can now add plugins to the plugin library from inside the wiki and you 
can use any plugins that are available in the plugin library in any of the 
served wikis. You can drag and drop a plugin into a wiki and then use the 
interface in the control panel to save the plugin on the server. Then in 
the control panel you can select which plugins you want to include in the 
wiki.

Both features work but I haven't had a chance to thoroughly test them or to 
figure out what would be a good interface. Which is why we have the 
prerelease version here.

I am sure that as soon as anyone else touches it there will be many bugs 
that need to be fixed so have at it.

Some more documentation about the plugin library features is here:
https://github.com/OokTech/TW5-Bob/blob/master/Documentation/Plugin%20Library.tid

Documentation about the individual components is in the documentation 
included with Bob.

The plugin version is available here: https://github.com/OokTech/TW5-Bob
The BobEXE version is available 
here: https://github.com/OokTech/TW5-BobEXE/releases/tag/1.0.7

!! Version 1.0.7 (ongoing)

- Add `savePluginFolder` web socket message to save packaged plugins as 
folders
on a server. These plugins can then be available to other served wikis and 
in
the plugin library, if it is enabled.
- Add the `import` borwser message handler to make fetching nicer
- Add options for how to handle conflicts for `internalFetch`
- `internalFetch` now displays a list of imported tiddlers
- Added a way to change which plugins a wiki uses from inside the wiki
- Added an interface to save plugins to the server and to select which 
plugins
from the server should be used in the current 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/15390253-1d3e-4665-b9f3-a758ef693c11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tinka pluging: How to add readme, usage and other tiddlers

2018-10-05 Thread Mohammad
Thank you Jed! It worked.

Just for documentation purpose and other people who may have similar 
question:


   - Name your readme like below
  - $:/plugings/myName/myPlugin/readme
   - set caption of tiddler to "readme"
   - In the List (Tinka) add: readme

That's all.

- 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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8ad79bff-05f8-43b1-87e4-0d92928db941%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Customizing Levels of TOC

2018-10-05 Thread barrowgloom
Mark,

Nope, using it with the standard toc macro.

Your sorting ! exclude looks good, do they go before or after the usual 
field sorting such as 
sort:"[field]![bad tag]"

Perhaps Barro has a customized version of the toc-selective-expandable 
macro. The standard macro doesn't include the exclude option. You can use 
the "sort" option, but the syntax would be more like:

Also I'm probably also confusing things cause I haven't seen anywhere else, 
anyone using multiple toc macros in the same same toc div/sidebar tiddler. 

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


[tw5] Re: Customizing Levels of TOC

2018-10-05 Thread barrowgloom
Micheal,

barro, I am sorry, but could I ask two more questions?
>

no problem, this group is all about asking questions and I ask questions 
all the time, so ask away-- if I don't have the answer, perhaps more 
knowledgeable members will see your question and stepin with an answer...
 

> First, how exactly would I write the table of contents to include multiple 
> tags? Like this:
>
> <>
>

kk I see in a later post you figured how to do multiple excludes, each 
excluded tag has its own exclude.
 

> Second, after removing the items listed beneath, my TOC headers still show 
> the expandable arrows, though they no longer do anything. How might I get 
> rid of these? 
>

The arrow I hadn't been able to get rid of

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


[tw5] Re: Customizing Levels of TOC

2018-10-05 Thread barrowgloom
Mark


> Where is the "exclude" option coming from? It's not listed in the 
> documentation at tiddlywiki.com.
>
>
The "exclude" feature I learned here in th TW Group, it was cited as an 
undocumented feature of the toc macro-- it seems to 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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5c404305-4399-4808-8e3d-6bc1a018f8f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: href and camel-case in TW: Is this a bug?

2018-10-05 Thread Mohammad
Many thanks Mark! I got the point!

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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c1752513-c4c3-4585-8d56-9035c2ae0a37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tinka pluging: How to add readme, usage and other tiddlers

2018-10-05 Thread Jed Carty
The tiddler names have to have the prefix for the plugin. Like this 
$:/plugins/.mr/test-plugin/readme

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


[tw5] Re: Customizing Levels of TOC

2018-10-05 Thread Mohammad
So, I would ask people here to like your post! :-)

- 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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/95b01072-98f5-445e-af00-65d9c079b6a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Tinka pluging: How to add readme, usage and other tiddlers

2018-10-05 Thread Mohammad
Tinka: https://tinkaplugin.github.io/ does not correctly shows readme and 
usage!

plugin-type: plugin
plugin-path: $:/plugins/.mr/test-plugin
list:readme usage

The below tiddlers are added in Step two

tid-a
tid-b
readme
usage

After creating the plugin, I see the readme tab and usage tab are empty! 
What is wrong here?

/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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/eb5ee12f-0234-4dac-9b00-ceb776be53aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Customizing Levels of TOC

2018-10-05 Thread 'Mark S.' via TiddlyWiki
I think we would need to prove that more than two people find it useful! ;-)

On Friday, October 5, 2018 at 8:16:09 AM UTC-7, Mohammad wrote:
>
> Great job Mark!
>
> Is it possible to raise the issue and solution at github with the hope of 
> Jeremy adds this to the core!
>
> -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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6b511c4a-17aa-408c-8d12-0e050f54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: href and camel-case in TW: Is this a bug?

2018-10-05 Thread 'Mark S.' via TiddlyWiki
Oh, if you just want to talk about "is it a bug" I would say "No". The 
value from the field is transcluded and rendered as a wiki-link, which is 
just what you would expect. 

Use "inspect element" in your browser and you'll see that the code is 
rendered as:

https://tiddlywiki.com/prerelease/;>JeremyRuston

So there's a link inside a link. The inside link wins, just as it would if 
you made the HTML by hand.

In general, when transcluding text, you want the text to be rendered as 
wikitext. In most cases you would be disappointed if it did not render as 
wiki-text. In the case of JeremyRuston, if you didn't want it to render as 
wikitext, you could precede it with a ~, e.g. ~JeremyRuston , just like you 
would do if his name appeared in a tiddler.

-- Mark

On Friday, October 5, 2018 at 7:10:04 AM UTC-7, Mohammad wrote:
>
> Yes Mark, your solution either works! but for the first case in my 
> question TW considers first the wikified link not the one is given by href 
> e.g
>
> {{!!author}}
>
>
> TW on click navigate to !!author not !!url.
>
> 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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ba2baec3-6063-46ed-b3bd-1bb42415fea6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: href and camel-case in TW: Is this a bug?

2018-10-05 Thread PMario
On Friday, October 5, 2018 at 4:10:04 PM UTC+2, Mohammad wrote:
>
> Yes Mark, your solution either works! but for the first case in my 
> question TW considers first the wikified link not the one is given by href 
> e.g
>

JeremyRuston is a CamelCase wikilink. ... Which is inside of your 
a-element. That may be the problem. 

-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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/271cfa08-f8c7-4105-b9c6-6bf15b77b37f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Customizing Levels of TOC

2018-10-05 Thread Mohammad
Great job Mark!

Is it possible to raise the issue and solution at github in a hope, Jeremy 
add this to the core!

-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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ad8d6c54-ebb5-421f-8910-4c9921d50c9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: href and camel-case in TW: Is this a bug?

2018-10-05 Thread Mohammad
Yes, Mark your solution either works! but for the first case in my question 
TW considers first the wikified link not the one is given by href e.g

{{!!author}}


TW on click navigate to !!author not !!url.

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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1805fd9e-6ee6-4f2c-99b8-ef32a0a25158%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: href and camel-case in TW: Is this a bug?

2018-10-05 Thread Mohammad
Tony, that was my mistake (copy paste)! I have edited the post!

- Mohammad

On Friday, October 5, 2018 at 7:03:40 AM UTC+3:30, TonyM wrote:
>
> What are the stray }} towards the end.
>
> 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 post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a189847a-ff88-4ea2-b4da-1e47e25cd613%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] is it possible to configure "Bob" to store tiddler files in the same directory as the wikifolder?

2018-10-05 Thread @TiddlyTweeter
Ciao ch

I understand the issue. But actually Bob will let you store a wiki 
anywhere. Pathing can also be relative. That combination is about as good 
as it gets.

Yes, you have to override the default behaviour manually in the settings to 
do that. But I think that is understandable. Otherwise it would could get 
confusing if you just want to "click and make". 

.\Wikis as default looks fine to me.

BTW, you can create as many sub-groupings of wikis to any depth you want 
though the manual settings.

Best wishes
Josiah

ch wrote:
>
> well, i don't want everything to be in the same folder since i want to 
> utilize customising tiddler file naming - however, i don't want the "source 
> files" (i.e. the "tiddlers") which *is* the wiki to be stored in a 
> directory that is hard-coded(!) by the programmer - it should be up to the 
> TiddlyWiki user to name the directory where all tiddlers are stored - i'm 
> not that comfortable having multiple wikis stored together with a common 
> parent directory, 
>

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


[tw5] Re: I love TiddlyWiki because...

2018-10-05 Thread @TiddlyTweeter
"... for self-intelligent documents. TW is both "maker" & "made". Its both 
the means to make and the thing made. (Technically its one of the few 
practical examples of a quine.)"

@TiddlyTweeter 

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


Re: [tw5] 404 not found when using GET all tiddler in 5.1.18

2018-10-05 Thread vpl
Hi Jeremy

This is working fine now !
Thanks a lot for your quick help

WIth regards

Vpl

Le jeudi 4 octobre 2018 21:52:38 UTC+2, Jeremy Ruston a écrit :
>
> Hi VPL
>
> I'm currently testing these new API function in 5.1.18
> I've installed & created a new tiddlywiki that I can access nornally 
> http://x.y.z.w:8090 
> I arrive to the "Get Started page"
>
> Now using Postman I try to submit a GET all tiddler using the following URL
>
> GET x.y.z.w:8090/recipes/default/tiddlers/tiddlers.json
>
> and receive in return a 404 Not Found ...
>
> Is there something I've missed ?
>
> Thanks for your help
>
>
> My apologies, that’s a documentation error, the path should be 
> /recipes/default/tiddlers.json
>
> I’ve updated 
> *https://tiddlywiki.com/prerelease/#WebServer%20API%3A%20Get%20All%20Tiddlers 
> *
>
> Best wishes
>
> Jeremy
>
>
>
> Regards
>
> Vpl
>
> -- 
> 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+...@googlegroups.com .
> To post to this group, send email to tiddl...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/97bff5db-b2cc-4742-a0d4-2ff0cfcf3472%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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/90501213-b5e5-4db0-ad0b-7aab7c6645c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Filtering multiple fields at once

2018-10-05 Thread PWL
Thank you so much Mark, that worked perfectly!  You've been a great help.  
Again thank you.

On Friday, 5 October 2018 00:42:23 UTC-3, Mark S. wrote:
>
> So, basically you want to select the search. TiddlyWiki gives you a way to 
> make those kind of choices. It's the select widget.
>
> Here we're back to using the search box on the side. Paste this into INDEX 
> or wherever you want:
>
> <$select tiddler="$:/temp/searchfilter" default="Choose">
> -Choose one-
> 
> Intelligence
>  "[has[climate_terrain]search:climate_terrain{$:/temp/search}]">
> Climate/Terrain
> HD
> 
>
> <$macrocall $name="list-links" filter={{$:/temp/searchfilter}} />
>
> The "macrocall" is invoking the list-links macro in a way that allows us 
> to pass in the results of the selection.
>
> The selection creates a drop-down list. You can pick whatever search you 
> want and that's how the contents of the search box will be used. You can 
> hopefully see how the filter for each option choice is made. You can copy 
> the existing options and tweak them to match other search criteria as you 
> add fields to your data and searches.
>
> As always make backups!
>
> HTH
> -- Mark
>
>
> On Thursday, October 4, 2018 at 4:14:46 PM UTC-7, PWL wrote:
>>
>> That is a great start Mark.  I guess I wasn't clear enough.  I need to be 
>> able to search each field individually.  I am really not concerned with 
>> having a match in all three at once, just which ever one I am looking for 
>> at the time.  If you would like access to my data I can send it too you.  
>> or post a cap of the tiddler code here.
>>
>> On Thursday, 4 October 2018 19:47:30 UTC-3, Mark S. wrote:
>>>
>>> Since you're searching on 3 things, you need 3 search fields. This means 
>>> you'll need custom search input boxes. Put the following in a tiddler 
>>> (possibly in your INDEX tiddler):
>>>
>>> Intelligence: <$edit-text tiddler="$:/temp/intelligence" tag="input" 
>>> size=10 placeholder="Intel"/> 
>>>
>>>
>>> Also make an empty tiddler with the title $:/temp/intelligence. 
>>> Hopefully you can see how this works. You need a separate tiddler for each 
>>> aspect that you want to search. Copy the line and "intelligence" (and 
>>> "Intel") as appropriate for each dimension. So you might end up with:
>>>
>>> Intelligence: <$edit-text tiddler="$:/temp/intelligence" tag="input" 
>>> size=10 placeholder="Intel"/> 
>>> Climate/terrain: <$edit-text tiddler="$:/temp/climate_terrain" 
>>> tag="input" size=10 placeholder="Cli/Ter"/> 
>>> HD: <$edit-text tiddler="$:/temp/hd" tag="input" size=10 
>>> placeholder="HD"/> 
>>>
>>>
>>> And now your search (without the complication of minimum length) might 
>>> look like:
>>>
>>> <>> "[has[intelligence]search:intelligence{$:/temp/intelligence}has[climate_terrain]search:climate_terrain{$:/temp/climate_terrain}has[hd]search:hd{$:/temp/hd}]">>
>>>
>>> This will match exclusively for all 3 items. That is, all 3 items have 
>>> to match before any search results show. Note that an empty search field 
>>> will probably be seen as "all matches" so you may see an all-up listing at 
>>> first (because we've stripped out the minlength detection).
>>>
>>> Check my work for spelling and name consistencies -- I haven't tested 
>>> any of this. Writing up stuff takes time and testing takes even more when 
>>> you don't have a data source handy.
>>>
>>> Note that for fields that have simple, direct values (like "15") then 
>>> you can use filter items like "category[15]" which is more precise than 
>>> using search. But if your field has multiple values (like "Average 
>>> (10-12)") then you need to use something like the "search" operator.
>>>
>>> Good luck!
>>> -- Mark
>>>
>>>

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