[tw5] send wikify results to another widget (clipboard button)

2018-11-16 Thread Dave
Hi, I'm trying to get two things that work to "combine":

this is a wikify widget that works (Thanks Mark S.)
<$wikify text="<> +[!nsort[]limit[5]]" 
name="filter-counts"><$list filter=<> 
variable="count-indications"><>

it gives one or more lines of text

and this puts something on the clipboard:
<$button message="tm-copy-to-clipboard" param="some text">
to clipboard


I want to be able to put the wikify results in another program via the 
clipboard,
but when I put the first as a param of the second it doesn't work, and I've 
tried it with triple quotes, and """{{{ brackets, 

and I set it as a macro like this:
\define mylist2()

"""{{{<$wikify text="<> +[!nsort[]limit[5]]" name="
filter-counts"><$list filter=<> variable="count-indications
"><>}}}"""

\end

which works in the normal tiddler as <>
but when I put it as <> and "<>" as the param in the 
button widget that didn't work either.

Then I thought maybe the button should be within the wikify widget, but the 
button widget should kind of be where the list widget is, so, I'm not sure 
where to go with it next.

Any suggestions?




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


[tw5] Re: Using a field value as the index to a data tiddler

2018-11-16 Thread BurningTreeC
Hi Linda, you could use the transclude widget directly ( the {{ }} syntax 
is just a short form of it) :

<$transclude tiddler="data-tiddler" index={{!!field-name}}/>

see https://tiddlywiki.com/#TranscludeWidget

Simon
 

Am Samstag, 17. November 2018 02:21:32 UTC+1 schrieb Linda Moss:
>
> Hey, I've been trying to figure this out, but not getting anywhere.
>
> How do I reference an item from a data dictionary tiddler, using the value 
> of a field as the index? 
>
> (unsurprisingly) this doesn't work:
>
> {{data-tiddler##{{!!field-name
>
> because the curlybrackets don't nest like that. Ive also tried:
>
> {{data-tiddler##!!field-name}}
>
> Which is also incorrect.
>
> I've been unable to find an alternate way to reference the data tiddler 
> index, which would let me use the {{!!field-name}}, without nesting curly 
> brackets. Is there a way to do 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 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/32e2e1f4-2440-4f76-ad8e-dc14f58eb570%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Using a field value as the index to a data tiddler

2018-11-16 Thread 'Mark S.' via TiddlyWiki
Once you get beyond a certain level of complexity, it's probably better to 
use widgets than wikitext. e.g

<$transclude tiddler="data-data" index={{!!field-name}}/>

Good luck!
-- Mark

On Friday, November 16, 2018 at 5:21:32 PM UTC-8, Linda Moss wrote:
>
> Hey, I've been trying to figure this out, but not getting anywhere.
>
> How do I reference an item from a data dictionary tiddler, using the value 
> of a field as the index? 
>
> (unsurprisingly) this doesn't work:
>
> {{data-tiddler##{{!!field-name
>
> because the curlybrackets don't nest like that. Ive also tried:
>
> {{data-tiddler##!!field-name}}
>
> Which is also incorrect.
>
> I've been unable to find an alternate way to reference the data tiddler 
> index, which would let me use the {{!!field-name}}, without nesting curly 
> brackets. Is there a way to do 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 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/03c9f903-3ffa-46f8-a79a-5fe5e882b3f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: KeeBoord Plugin - Testers needed 8-) !

2018-11-16 Thread BurningTreeC
@Jan, could you try downloading the prerelease again, but from 
tiddlywiki.com/prerelease (not from 
tiddlywiki.com/prerelease/#%24%3A%2FControlPanel ) ?


-- 
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/429bb15e-ed21-4b43-b4ae-e708766cbe6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: KeeBoord Plugin - Testers needed 8-) !

2018-11-16 Thread BurningTreeC
Hi Jan, do you use a prerelease .html file? what's your firefox version 
exactly?

Need to figure out where the problem is

-- 
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/01c17616-6d38-4013-878b-310612b8903f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Show parent-, grandparent-, grandgrandparenttiddler via template

2018-11-16 Thread Magnus
I would like to be able to show the "parent" and "grandparent" tiddler from 
TOC in my tiddler. I use a toc based on a parent-field, don't remember from 
where, but how can write a template where I reference a field in the 
parent-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/c4ad44fc-7416-4ec2-821f-e86cd4906739%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Visual Reference Map

2018-11-16 Thread h0p3

Thank you! The "Live" view is the closest tool I've seen by far. I'll see 
if I can get the behavior/views I'm looking for with custom filters. 

On Friday, November 16, 2018 at 6:40:25 PM UTC-5, Greg Molyneux wrote:
>
> If I understand what you're trying to accomplish, you can do this directly 
> from the Live View tab of TiddlyMap:
>
> http://tiddlymap.org/#TiddlyMap
>
> This tiddler is linked from a large number of the other tiddlers on the 
> sample site.  Visiting this link, and then selecting the "Live" tab on the 
> right side of the window allows you to see these native links, zoom in or 
> out, and browse the various other connections in a visual manner.  
> Double-click on one of the referenced/referencing tiddlers in the map to 
> open it, and see the tiddlers it is linked to in the map view.  Searching 
> the docs on this site demonstrates ways to customize views based on custom 
> filters as well.
>
>
>
> On Thursday, November 15, 2018 at 10:14:02 AM UTC-8, h0p3 wrote:
>>
>> Is there a tool which shows the tree/web/map/table built from the 
>> References tab for each tiddler? I want to see a visual of tiddlers linking 
>> to each other. One can go to the Reference tab of the information tiddler, 
>> open a referencing tiddler, and repeat the process. I'm not looking to 
>> snake my way through tiddlers because it doesn't show the connections; I'm 
>> trying to find a visualization of the References on a growing map.
>>
>> I've been looking through visualization tools, but I've not seen one 
>> which functions like this. I'm not looking to build the visualization by 
>> hand (which some of the mind mapping tools appear to require), but rather 
>> view an automated visualization of the connections already built into the 
>> wiki. I'm wondering if there is a plugin with a visual map that grows as 
>> you click on nodes, adding new referents to the map along with the 
>> connections as you go.
>>
>> If there is not one, perhaps there is a preferred plugin to modify to do 
>> this work. Where should I go?
>>
>

-- 
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/8cc88b57-8268-4dbb-86d8-d8c139d76512%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Using a field value as the index to a data tiddler

2018-11-16 Thread Linda Moss
Hey, I've been trying to figure this out, but not getting anywhere.

How do I reference an item from a data dictionary tiddler, using the value 
of a field as the index? 

(unsurprisingly) this doesn't work:

{{data-tiddler##{{!!field-name

because the curlybrackets don't nest like that.

I've been unable to find an alternate way to reference the data tiddler 
index, which would let me use the {{!!field-name}}. Is there a way to do 
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 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/66f82f29-5d4f-44b1-9947-862774b328e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: macro vs transclusion confusion (viewing fields)

2018-11-16 Thread Dave
of course! now it works.  Well, hopefully someone will find the snippet of 
code useful at least, lol

Thanks 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 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/7150c1b2-f24e-43cb-bd7b-891b44cf5630%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: macro vs transclusion confusion (viewing fields)

2018-11-16 Thread PMario
Hi, 

Did you try to add an \end marker?

\define fhere()


<$list filter="[all[current]fields[]sort[title]] -text -tags -created 
-modified -title" template="$:/core/ui/TiddlerFieldTemplate" variable=
"listItem"/>


\end



This works for me.

-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/51298c21-d718-4254-822c-e69107c8fd0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Why is there no table of content in the empty wiki?

2018-11-16 Thread PMario
Hi, 

That's a nice intro. The current implementation need an online connection 
to work. ... 

TWs internal state can be manipulated with tiddlers. So it should be 
possible to achieve the same or a similar thing with TW itself. 

-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/d5dc4a52-3d0e-4f55-bc75-9dcad30785ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Visual Reference Map

2018-11-16 Thread Greg Molyneux
If I understand what you're trying to accomplish, you can do this directly 
from the Live View tab of TiddlyMap:

http://tiddlymap.org/#TiddlyMap

This tiddler is linked from a large number of the other tiddlers on the 
sample site.  Visiting this link, and then selecting the "Live" tab on the 
right side of the window allows you to see these native links, zoom in or 
out, and browse the various other connections in a visual manner.  
Double-click on one of the referenced/referencing tiddlers in the map to 
open it, and see the tiddlers it is linked to in the map view.  Searching 
the docs on this site demonstrates ways to customize views based on custom 
filters as well.



On Thursday, November 15, 2018 at 10:14:02 AM UTC-8, h0p3 wrote:
>
> Is there a tool which shows the tree/web/map/table built from the 
> References tab for each tiddler? I want to see a visual of tiddlers linking 
> to each other. One can go to the Reference tab of the information tiddler, 
> open a referencing tiddler, and repeat the process. I'm not looking to 
> snake my way through tiddlers because it doesn't show the connections; I'm 
> trying to find a visualization of the References on a growing map.
>
> I've been looking through visualization tools, but I've not seen one which 
> functions like this. I'm not looking to build the visualization by hand 
> (which some of the mind mapping tools appear to require), but rather view 
> an automated visualization of the connections already built into the wiki. 
> I'm wondering if there is a plugin with a visual map that grows as you 
> click on nodes, adding new referents to the map along with the connections 
> as you go.
>
> If there is not one, perhaps there is a preferred plugin to modify to do 
> this work. Where should I go?
>

-- 
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/b49c119a-c3a1-4464-815f-bfce82d10737%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] macro vs transclusion confusion (viewing fields)

2018-11-16 Thread Dave
I don't understand why this macro doesn't work:

\define fhere()


<$list filter="[all[current]fields[]sort[title]] -text -tags -created 
-modified -title" template="$:/core/ui/TiddlerFieldTemplate" variable=
"listItem"/>



<>

I.e. when I tag it $:/tags/Macro  and then put <> in another 
tiddler, nothing shows up (assuming there are some custom fields there)

The custom fields show up in the original tiddler, and when I do this 
{{||fieldsHere(fhere)}}
that works the way I want it to


In other words, I've solved my need to look at the fields in a particular 
tiddler without going into edit mode, but I would like to know why the 
macro version doesn't work (please :)


btw, the original code is from here: 
http://tobibeer.github.io/tw/filters/#fields%20of%20current%20tiddler

-- 
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/8cc121c0-1e01-461b-9671-46a24d40b70a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Why is there no table of content in the empty wiki?

2018-11-16 Thread bimlas
I like the idea, though a new user I think will not close the default 
tiddler, but just create a new one -> the Open list will not be empty the 
button is not showed at all.

However, you have a good insight: the point is to inform the visitor once 
about where to find the main things and what he sees on the screen. I think 
Maarfapad has solved this very nicely: 
https://cdn.rawgit.com/abesamma/TW5-editions/78846468/empty.html

There is a Javascript library for that 
(https://cdn.rawgit.com/abesamma/TW5-editions/78846468/empty.html#%24%3A%2Fplugins%2Ftutorial-maker),
 
but if we do not use the solution, a similar, simple and understandable 
"tutorial" would be great.

-- 
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/7efe88b4-4b11-4fcb-bc3b-d4f684b364a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: KeeBoord Plugin - Testers needed 8-) !

2018-11-16 Thread Jan

Hi everybody,
great to have this feature in the core... but unfortunately the 
prerelease is throwing an error in my PreApocalyse-Firefox version.


Syntax error in boot module $:/core/modules/wiki.js:565: 
_boot/$tw.utils.evalGlobal@https://tiddlywiki.com/prerelease/#%24%3A%2FControlPanel:30942:8 
_boot/$tw.modules.execute@https://tiddlywiki.com/prerelease/#%24%3A%2FControlPanel:31231:5 
_boot/$tw.modules.forEachModuleOfType/<@https://tiddlywiki.com/prerelease/#%24%3A%2FControlPanel:31271:18 
_boot/$tw.utils.each@https://tiddlywiki.com/prerelease/#%24%3A%2FControlPanel:30577:12 
_boot/$tw.modules.forEachModuleOfType@https://tiddlywiki.com/prerelease/#%24%3A%2FControlPanel:31270:2 
_boot/$tw.modules.applyMethods@https://tiddlywiki.com/prerelease/#%24%3A%2FControlPanel:31294:2 
exports.startup@$:/core/modules/startup/load-modules.js:30:2 
_boot/$tw.boot.executeNextStartupTask@https://tiddlywiki.com/prerelease/#%24%3A%2FControlPanel:32609:5 
_boot/$tw.boot.startup@https://tiddlywiki.com/prerelease/#%24%3A%2FControlPanel:32566:2 
_boot/$tw.boot.boot/<@https://tiddlywiki.com/prerelease/#%24%3A%2FControlPanel:32719:3 
_boot/$tw.boot.decryptEncryptedTiddlers@https://tiddlywiki.com/prerelease/#%24%3A%2FControlPanel:31901:3 
_boot/$tw.boot.boot@https://tiddlywiki.com/prerelease/#%24%3A%2FControlPanel:32717:2 
_boot@https://tiddlywiki.com/prerelease/#%24%3A%2FControlPanel:32726:2 
@https://tiddlywiki.com/prerelease/#%24%3A%2FControlPanel:32736:2


Do you think this is going to pass ?
Yours Jan

Am 15.11.2018 um 13:26 schrieb BurningTreeC:


Wow, that is a good news!

How much of KeeBoord code is now in TW 5.1.18?


The code needed so that users can define their own shortcuts + ...

Look in https://tiddlywiki.com/prerelease/#%24%3A%2FControlPanel
 I see
alt+I, alt+J and alt+N


... + exactly these three shortcuts

I think it doesn't make too much sense to add too many shortcuts and 
functions now,

time will show if and how this gets used
--
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/c16f1567-e8a4-49d2-ad99-1167f2a508f8%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/5BEF3F8B.4080402%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Why is there no table of content in the empty wiki?

2018-11-16 Thread TonyM
Selective delete sure, but this would encourage people to make more of a 
helping edition of tiddlywiki, by deleting they may go on to customise it 
into a wiki of their own. I see the ability to export their notes more 
important.

I am more interested in providing the tools, and gap filling documentation 
for people to learn more about tiddlywiki but encourage them to obtain 
empty.html or other editions for their working wikis.

When I started to focus on TW5 I did exactly this, download full 
tiddlywiki.com, worked through all the documentation, took my own notes and 
experimented. With hind sight I wish I could favourite, build my own toc, 
log my own discoveries and document examples and in my own words.

Regards
Tony



On Saturday, November 17, 2018 at 2:36:26 AM UTC+11, @TiddlyTweeter wrote:
>
> Right. And a Bundler with selective delete functions would be ideal ;-)
>
> J.
>
> PMario wrote
>>
>> I'd suggest to use bundles instead.  We would need to make those 
>> documentation-bundles easier to be found. ...
>>
>

-- 
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/6c339497-4d60-4e42-8c98-2d0f6ace5461%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: New Plugin tw-receiver saves wiki to PHP

2018-11-16 Thread sendwheel
I wanted to add that the Challenge Digest Authentication relies on Sessions 
and cookies. I don't mention it in the readme, but if for some reason your 
system had  cookies disabled, it could cause an auth problem.

If that could be the case, the feature can be disabled in the wiki tab and 
on line 37 of the php file. (although challenge auth is recommended, since 
you're using https it would be fine)

-- 
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/2819f3bd-ef2a-48cd-af6b-86c4b31688a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: New Plugin tw-receiver saves wiki to PHP

2018-11-16 Thread sendwheel
Ok let's figure this out.
You only need to work with the Saving>TW Receiver tab. It needs the secret 
key that you put into the tw-receiver-server.php on line 4
The Filename should also match whatever your wiki file is name (but that 
should not cause an auth issue)

What exact error msg is TiddlyWiki giving you? May help to debug. (Assuming 
you have triple checked your password matches in both places :)

On Friday, November 16, 2018 at 2:03:53 PM UTC-5, Scott Kingery wrote:
>
> Something still isn't right. Do I need to set anything on the Tiddlyspot 
> Saver tab or only the TW Receiver tab? Debug looks ok.
>
> Debug Tests
> ini setting: file_uploads OK
> ini setting: upload_max_filesize 64M
> ini setting: post_max_size 64M
> backups enabled YES
> backups max count 10
> backups directory exists OK
> backups directory is writable OK
> this directory is writable OK
> external key enabled NO
> external key reachable NO
> secure connection (https) YES
> challenge digest auth mode YES
> check data integrity signature YES
> check stale overwrite protection NO
> *Notes:* 
> - Your *upload_max_filesize* and *post_max_size* must be at least larger 
> than your wiki filesize 
> - On NGINX client_max_body_size is another parameter worth looking at if 
> uploads fail with *413 Request Entity Too Large*  
>
> On Fri, Nov 16, 2018 at 8:16 AM sendwheel  > wrote:
>
>> Great.
>> Authentication should be easy fix, just make sure you put the password in 
>> the wiki and in the PHP file on the server.
>>
>> On Friday, November 16, 2018 at 11:00:41 AM UTC-5, Scott Kingery wrote:
>>>
>>> Thanks. Got the file and set everything up. At least I think I did. 
>>> Running into authentication errors when I try to save. Going to try again 
>>> on a fresh empty wiki just to be sure I don't have anything hidden in there.
>>>
>>> On Fri, Nov 16, 2018 at 6:09 AM sendwheel  wrote:
>>>
 Hey Scott, you're not wrong.
 I just restored it, so you should be able to find it on the github page 
 now.

 Let me know if you run into any troubles.


 On Friday, November 16, 2018 at 1:16:19 AM UTC-5, Scott Kingery wrote:
>
> I was just checking this out. The Read Me makes reference to 
> importing plugin_sendwheel_tw-receiver.json into your wiki. Where can I 
> find plugin_sendwheel_tw-receiver.json? I didn't see it on the github 
> page 
> unless Im missing something.
>
>> -- 
 You received this message because you are subscribed to a topic in the 
 Google Groups "TiddlyWiki" group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/tiddlywiki/1pKkov12baI/unsubscribe.
 To unsubscribe from this group and all its topics, 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/178c3dd7-1f1f-4621-a46b-5c90a82eca68%40googlegroups.com
  
 
 .
 For more options, visit https://groups.google.com/d/optout.

>>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/tiddlywiki/1pKkov12baI/unsubscribe.
>> To unsubscribe from this group and all its topics, 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/69be41a7-ba53-4366-a24b-6cf29967c217%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/78c6533c-aa9a-4aa2-8ac8-aeec033f8b80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: New Plugin tw-receiver saves wiki to PHP

2018-11-16 Thread Scott Kingery
Something still isn't right. Do I need to set anything on the Tiddlyspot
Saver tab or only the TW Receiver tab? Debug looks ok.

Debug Tests
ini setting: file_uploads OK
ini setting: upload_max_filesize 64M
ini setting: post_max_size 64M
backups enabled YES
backups max count 10
backups directory exists OK
backups directory is writable OK
this directory is writable OK
external key enabled NO
external key reachable NO
secure connection (https) YES
challenge digest auth mode YES
check data integrity signature YES
check stale overwrite protection NO
*Notes:*
- Your *upload_max_filesize* and *post_max_size* must be at least larger
than your wiki filesize
- On NGINX client_max_body_size is another parameter worth looking at if
uploads fail with *413 Request Entity Too Large*

On Fri, Nov 16, 2018 at 8:16 AM sendwheel  wrote:

> Great.
> Authentication should be easy fix, just make sure you put the password in
> the wiki and in the PHP file on the server.
>
> On Friday, November 16, 2018 at 11:00:41 AM UTC-5, Scott Kingery wrote:
>>
>> Thanks. Got the file and set everything up. At least I think I did.
>> Running into authentication errors when I try to save. Going to try again
>> on a fresh empty wiki just to be sure I don't have anything hidden in there.
>>
>> On Fri, Nov 16, 2018 at 6:09 AM sendwheel  wrote:
>>
>>> Hey Scott, you're not wrong.
>>> I just restored it, so you should be able to find it on the github page
>>> now.
>>>
>>> Let me know if you run into any troubles.
>>>
>>>
>>> On Friday, November 16, 2018 at 1:16:19 AM UTC-5, Scott Kingery wrote:

 I was just checking this out. The Read Me makes reference to
 importing plugin_sendwheel_tw-receiver.json into your wiki. Where can I
 find plugin_sendwheel_tw-receiver.json? I didn't see it on the github page
 unless Im missing something.

> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "TiddlyWiki" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/tiddlywiki/1pKkov12baI/unsubscribe.
>>> To unsubscribe from this group and all its topics, 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/178c3dd7-1f1f-4621-a46b-5c90a82eca68%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/1pKkov12baI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/69be41a7-ba53-4366-a24b-6cf29967c217%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/CAGUDtYHPUWmQhSFDCkEqi0wMsx6MEGi0veQcOfXotWwTKyt4DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: New Plugin tw-receiver saves wiki to PHP

2018-11-16 Thread sendwheel
Great.
Authentication should be easy fix, just make sure you put the password in 
the wiki and in the PHP file on the server.

On Friday, November 16, 2018 at 11:00:41 AM UTC-5, Scott Kingery wrote:
>
> Thanks. Got the file and set everything up. At least I think I did. 
> Running into authentication errors when I try to save. Going to try again 
> on a fresh empty wiki just to be sure I don't have anything hidden in there.
>
> On Fri, Nov 16, 2018 at 6:09 AM sendwheel  > wrote:
>
>> Hey Scott, you're not wrong.
>> I just restored it, so you should be able to find it on the github page 
>> now.
>>
>> Let me know if you run into any troubles.
>>
>>
>> On Friday, November 16, 2018 at 1:16:19 AM UTC-5, Scott Kingery wrote:
>>>
>>> I was just checking this out. The Read Me makes reference to 
>>> importing plugin_sendwheel_tw-receiver.json into your wiki. Where can I 
>>> find plugin_sendwheel_tw-receiver.json? I didn't see it on the github page 
>>> unless Im missing something.
>>>
 -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/tiddlywiki/1pKkov12baI/unsubscribe.
>> To unsubscribe from this group and all its topics, 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/178c3dd7-1f1f-4621-a46b-5c90a82eca68%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/69be41a7-ba53-4366-a24b-6cf29967c217%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Why is there no table of content in the empty wiki?

2018-11-16 Thread PMario
On Friday, November 2, 2018 at 10:37:30 PM UTC+1, bimlas wrote:
... 

> When they write a new note, it appears in the Open sidebar, but as soon as 
> they are closing it, the note disappearing from the list, so they think 
> they have deleted their note, they do not know they can access it in the 
> Recent sidebar. 
>

I think this is a very valid issue ... for newbie users. ... The problem 
disappears, once you got it. ... So it doesn't have a high priority, for 
most users who post here on the list. 

I did create a prototype, that you can download and import, for a new 
"Open" tab, that shows a new button, if the list is empty. 

That can be improved, but I think you get the idea. Similar thing could 
happen for "Create a TOC tab here"

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 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/7314c687-e262-4b12-a475-cc6c42b53808%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


$__core_ui_SideBar_Open.json
Description: application/json


Re: [tw5] Re: New Plugin tw-receiver saves wiki to PHP

2018-11-16 Thread Scott Kingery
Thanks. Got the file and set everything up. At least I think I did. Running
into authentication errors when I try to save. Going to try again on a
fresh empty wiki just to be sure I don't have anything hidden in there.

On Fri, Nov 16, 2018 at 6:09 AM sendwheel  wrote:

> Hey Scott, you're not wrong.
> I just restored it, so you should be able to find it on the github page
> now.
>
> Let me know if you run into any troubles.
>
>
> On Friday, November 16, 2018 at 1:16:19 AM UTC-5, Scott Kingery wrote:
>>
>> I was just checking this out. The Read Me makes reference to
>> importing plugin_sendwheel_tw-receiver.json into your wiki. Where can I
>> find plugin_sendwheel_tw-receiver.json? I didn't see it on the github page
>> unless Im missing something.
>>
>>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/1pKkov12baI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/178c3dd7-1f1f-4621-a46b-5c90a82eca68%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/CAGUDtYGJ37iJ2nnah0LAm4E%3DRJqsKRE5_Rb%2BSGBTcnpKv8rHOw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Why is there no table of content in the empty wiki?

2018-11-16 Thread @TiddlyTweeter
Right. And a Bundler with selective delete functions would be ideal ;-)

J.

PMario wrote
>
> I'd suggest to use bundles instead.  We would need to make those 
> documentation-bundles easier to be found. ...
>

-- 
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/e02c5cd9-1136-49bd-9ab9-cc2cf016ae36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Why is there no table of content in the empty wiki?

2018-11-16 Thread PMario
On Friday, November 16, 2018 at 11:01:16 AM UTC+1, TonyM wrote:
...

I support moving such stuff into plugins.


The existing TOC can be released as a plugin but I think documentation 
shouldn't! .. The "probelm" with plugin-like docs is, that you can't remove 
it, once you don't need it anymore. 

Plugin tiddlers live as shadow tiddlers, so it's hard to get rid of them. 
You can remove the plugin, which would delete all tiddlers. ... BUT what, 
if you only want to remove parts of the docs. 

I'd suggest to use bundles instead.  We would need to make those 
documentation-bundles easier to be found. ... 

But for new users I think we need to provide an edition they can download 
> and use with little friction.


An edition, that contains the TOC should be doable. 
 

> I have even come to believe a version of tiddlywiki.com and its 
> documentation with addons for notes and guidence.


It's easy to download the whole content of tiddlywiki.com - Just visit the 
site and press the "save changes" button. It will automatically download a 
full version.

The same is true for other editions, that provide (partially) translated 
documentation. see: https://tiddlywiki.com/#Languages:Languages

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 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/502a3eaa-29f0-4934-9892-0d79f6207e12%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Why is there no table of content in the empty wiki?

2018-11-16 Thread @TiddlyTweeter
Right ... "I've learned. Please delete the instructions", button press.

Thomas Elmiger wrote:
>
> My case is: let them separate their own content and (no longer needed) 
> educational stuff easily whenever they want. Plugins would be ideal for 
> this in my eyes. 
>

-- 
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/f178119d-4a2c-4c0c-b509-7c64aeb1710c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: Why is there no table of content in the empty wiki?

2018-11-16 Thread Thomas Elmiger
Tony,

Make it an edition containing plugins with content and tutorials for
beginners :)

My case is: let them separate their own content and (no longer needed)
educational stuff easily whenever they want. Plugins would be ideal for
this in my eyes.

Cheers,
Thomas

sent from my mobile

Am Fr., 16. Nov. 2018, 11:01 hat TonyM 
geschrieben:

> Thomas,
>
> I support moving such stuff into plugins. But for new users I think we
> need to provide an edition they can download and use with little friction.
> I have even come to believe a version of tiddlywiki.com and its
> documentation with addons for notes and guidence.
>
> I will publish an example soon.
>
> Regards
> Tony
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/y7THOx9VJtQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To post to this group, send email to tiddlywiki@googlegroups.com.
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/1d03661d-937f-4894-95c0-925fef6a143f%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/CALXLrTiSZxLYT3XtZTbCeW5YD42J2Np0OKRW6eH430tw1Kwcew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Would it be possible to import a .tid-files from a webfolder?

2018-11-16 Thread Jan

Hi Jeremy
So it is nothing for the comments but a great upgrade-trigger.

At least we could get a list of the postings into an iframe via php, 
then it could be possible to drag the links into an edit-field and 
trigger it with a button.


Yours Jan


Am 16.11.2018 um 15:07 schrieb Jeremy Ruston:

Hi Jan,

No, sadly, the technique requires you to know the pathname of the file 
in advance.


Best wishes

Jeremy

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

On 16 Nov 2018, at 13:58, Jan > wrote:



Hi Jeremy,
thanks for this idea!
I would love to have this mechanism - and a jsonp-tiddler creator, 
because this is what I would need for a php-upload-mechanism.
As I guess,  
would apply to one special file with a known title, would it be 
possible to get a list of all files in a directory and choose which 
one to download?


best wishes,
Jan

Am 15.11.2018 um 22:37 schrieb Jeremy Ruston:

Hi Mark

Can the script tag be used anywhere during loading, or was that for 
just for illustrative purposes?


I was  just intending to show the structure of the script tag that 
is needed, but as it happens one could include such a script tag 
directly in a $:/tags/RawMarkup tiddler.


If I understand the flow you are suggesting, you wouldn't be able 
to load tiddlers on the fly. But you could activate a checklist 
that would then be used during the next reload to bring in the 
tiddlers ??


No, you could load them on the fly: clicking a button would trigger 
the tm-load-jsonp message, which would then load the tiddlers 
dynamically.


I feel like the security model is very odd. They don't want you to 
load/data/, but loading actual/code/is OK/?/


Browsers have, until recently, been relatively laissez fair about 
continuing with the features that web developers need for testing 
simple web pages locally via a file:// URI. Just recently, though, 
new features (like service workers) are restricted in such a way 
that a local web server is required for development.


(By the way, the reason why loading code is safer than data in this 
context is because JSONP can only be used to read files that (a) one 
knows the URL and (b) the file contains valid JavaScript that 
returns a result in a very specific way. Note that the invoking 
JavaScript code never sees the literal content of file that is 
loaded, it just sees the results of executing it. So it’s pretty 
much impossible to use this technique to exfiltrate personal data, 
whereas a generic capability to read data files where one knows the 
path would be absolutely devastating).


Best wishes

Jerwemy.


/
/
Thanks!
Mark


On Thursday, November 15, 2018 at 6:53:04 AM UTC-8, Jeremy Ruston 
wrote:


There is one technique that could be used to accomplish some of
what is being discussed in this thread: JSONP
https://en.wikipedia.org/wiki/JSONP


Basically, it would require that tiddlers be stored in .jsonp
files like this:

$tw.wiki.addTiddlers([
{
"title": "HelloThere",
"text": "Some text"
},{
"title": "Getting Started",
"text": "Some more text"
}
]);


Then, to load tiddler(s) in a particular file, you’d need to
use JS to create a script tag that references that file and
insert the script tag into the DOM. The script tag would look
like this:




In TW5, one might implement the loading via a startup module
that handles a "tm-load-jsonp” message.

It would be straightforward to make a new exporter template for
the JSONP format.

Best wishes

Jeremy



On 15 Nov 2018, at 04:12, TonyM http://gmail.com/>> wrote:

Am 14.11.2018 um 04:41 schrieb TonyM:
>   Are the tid filenames already known?
For posts it would be good to import all tids in a folder
I think this
is  most practical for most usecases.

The problem is the tiddlywiki needs to find the file names, if
it knows them in advance it may be easier

> What if you could see the content in the files without
importing them?
I knowThis could be realized by php...but in most cases I
would need
work with the files in the wiki.

Did you know this displays the content of a tid file ? 
I have not yet worked out how to use this, but creating a new
tiddler with the text set to {{Test include}} may work

> Do you want a directory list to select from?
This would be great!

To me we can either have a file server (Eg TiddlyServer) or
another that allows you to view and import from the list of
files as URLs'
Or we can import them into a tiddler using another tool from
which you can select the files to import.

> How do the tid files get there in the first place?
Mostly uploaded by my php-upload mechanism. Maybe some
uploaded by me

[tw5] Re: New Plugin tw-receiver saves wiki to PHP

2018-11-16 Thread sendwheel
Hey Scott, you're not wrong.
I just restored it, so you should be able to find it on the github page now.

Let me know if you run into any troubles.


On Friday, November 16, 2018 at 1:16:19 AM UTC-5, Scott Kingery wrote:
>
> I was just checking this out. The Read Me makes reference to 
> importing plugin_sendwheel_tw-receiver.json into your wiki. Where can I 
> find plugin_sendwheel_tw-receiver.json? I didn't see it on the github page 
> unless Im missing something.
>
>>

-- 
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/178c3dd7-1f1f-4621-a46b-5c90a82eca68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Would it be possible to import a .tid-files from a webfolder?

2018-11-16 Thread Jeremy Ruston
Hi Jan,

No, sadly, the technique requires you to know the pathname of the file in 
advance.

Best wishes

Jeremy

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

> On 16 Nov 2018, at 13:58, Jan  wrote:
> 
> Hi Jeremy, 
> thanks for this idea!
> I would love to have this mechanism - and a jsonp-tiddler creator, because 
> this is what I would need for a php-upload-mechanism.
> As I guess,  would apply 
> to one special file with a known title, would it be possible to get a list of 
> all files in a directory and choose which one to download?
> 
> best wishes,
> Jan
> 
>> Am 15.11.2018 um 22:37 schrieb Jeremy Ruston:
>> Hi Mark
>> 
>>> Can the script tag be used anywhere during loading, or was that for just 
>>> for illustrative purposes?
>> 
>> I was  just intending to show the structure of the script tag that is 
>> needed, but as it happens one could include such a script tag directly in a 
>> $:/tags/RawMarkup tiddler. 
>> 
>>> If I understand the flow you are suggesting, you wouldn't be able to load 
>>> tiddlers on the fly. But you could activate a checklist that would then be 
>>> used during the next reload to bring in the tiddlers ??
>> 
>> No, you could load them on the fly: clicking a button would trigger the 
>> tm-load-jsonp message, which would then load the tiddlers dynamically.
>> 
>>> I feel like the security model is very odd. They don't want you to load 
>>> data, but loading actual code is OK?
>> 
>> Browsers have, until recently, been relatively laissez fair about continuing 
>> with the features that web developers need for testing simple web pages 
>> locally via a file:// URI. Just recently, though, new features (like service 
>> workers) are restricted in such a way that a local web server is required 
>> for development.
>> 
>> (By the way, the reason why loading code is safer than data in this context 
>> is because JSONP can only be used to read files that (a) one knows the URL 
>> and (b) the file contains valid JavaScript that returns a result in a very 
>> specific way. Note that the invoking JavaScript code never sees the literal 
>> content of file that is loaded, it just sees the results of executing it. So 
>> it’s pretty much impossible to use this technique to exfiltrate personal 
>> data, whereas a generic capability to read data files where one knows the 
>> path would be absolutely devastating).
>> 
>> Best wishes
>> 
>> Jerwemy.
>> 
>>> 
>>> Thanks!
>>> Mark
>>> 
>>> 
 On Thursday, November 15, 2018 at 6:53:04 AM UTC-8, Jeremy Ruston wrote:
 There is one technique that could be used to accomplish some of what is 
 being discussed in this thread: JSONP https://en.wikipedia.org/wiki/JSONP
 
 Basically, it would require that tiddlers be stored in .jsonp files like 
 this:
 
 $tw.wiki.addTiddlers([
  {
  "title": "HelloThere",
  "text": "Some text"
  },{
  "title": "Getting Started",
  "text": "Some more text"
  }
 ]);
 
 Then, to load tiddler(s) in a particular file, you’d need to use JS to 
 create a script tag that references that file and insert the script tag 
 into the DOM. The script tag would look like this:
 
 
 
 In TW5, one might implement the loading via a startup module that handles 
 a "tm-load-jsonp” message.
 
 It would be straightforward to make a new exporter template for the JSONP 
 format.
 
 Best wishes
 
 Jeremy
 
 
> On 15 Nov 2018, at 04:12, TonyM  wrote:
> 
>> Am 14.11.2018 um 04:41 schrieb TonyM: 
>> >   Are the tid filenames already known? 
>> For posts it would be good to import all tids in a folder I think this 
>> is  most practical for most usecases. 
> The problem is the tiddlywiki needs to find the file names, if it knows 
> them in advance it may be easier
>> > What if you could see the content in the files without importing them? 
>> I knowThis could be realized by php...but in most cases I would need 
>> work with the files in the wiki. 
> Did you know this displays the content of a tid file ?  src="2018-11-15.tid"> 
> I have not yet worked out how to use this, but creating a new tiddler 
> with the text set to {{Test include}} may work
>> > Do you want a directory list to select from? 
>> This would be great! 
> To me we can either have a file server (Eg TiddlyServer) or another that 
> allows you to view and import from the list of files as URLs' 
> Or we can import them into a tiddler using another tool from which you 
> can select the files to import.
>> > How do the tid files get there in the first place? 
>> Mostly uploaded by my php-upload mechanism. Maybe some uploaded by me 
>> vía ftp 
> this means you can dictate the naming standard so  you should be able to 
> match this with your tiddlywiki
>> > How are you serving the tiddlywiki or is it in a file folder? 
>> Html 

Re: [tw5] Would it be possible to import a .tid-files from a webfolder?

2018-11-16 Thread Jan

Hi Jeremy,
thanks for this idea!
I would love to have this mechanism - and a jsonp-tiddler creator, 
because this is what I would need for a php-upload-mechanism.
As I guess,  would 
apply to one special file with a known title, would it be possible to 
get a list of all files in a directory and choose which one to download?


best wishes,
Jan

Am 15.11.2018 um 22:37 schrieb Jeremy Ruston:

Hi Mark

Can the script tag be used anywhere during loading, or was that for 
just for illustrative purposes?


I was  just intending to show the structure of the script tag that is 
needed, but as it happens one could include such a script tag directly 
in a $:/tags/RawMarkup tiddler.


If I understand the flow you are suggesting, you wouldn't be able to 
load tiddlers on the fly. But you could activate a checklist that 
would then be used during the next reload to bring in the tiddlers ??


No, you could load them on the fly: clicking a button would trigger 
the tm-load-jsonp message, which would then load the tiddlers dynamically.


I feel like the security model is very odd. They don't want you to 
load/data/, but loading actual/code/is OK/?/


Browsers have, until recently, been relatively laissez fair about 
continuing with the features that web developers need for testing 
simple web pages locally via a file:// URI. Just recently, though, new 
features (like service workers) are restricted in such a way that a 
local web server is required for development.


(By the way, the reason why loading code is safer than data in this 
context is because JSONP can only be used to read files that (a) one 
knows the URL and (b) the file contains valid JavaScript that returns 
a result in a very specific way. Note that the invoking JavaScript 
code never sees the literal content of file that is loaded, it just 
sees the results of executing it. So it’s pretty much impossible to 
use this technique to exfiltrate personal data, whereas a generic 
capability to read data files where one knows the path would be 
absolutely devastating).


Best wishes

Jerwemy.


/
/
Thanks!
Mark


On Thursday, November 15, 2018 at 6:53:04 AM UTC-8, Jeremy Ruston wrote:

There is one technique that could be used to accomplish some of
what is being discussed in this thread: JSONP
https://en.wikipedia.org/wiki/JSONP


Basically, it would require that tiddlers be stored in .jsonp
files like this:

$tw.wiki.addTiddlers([
{
"title": "HelloThere",
"text": "Some text"
},{
"title": "Getting Started",
"text": "Some more text"
}
]);


Then, to load tiddler(s) in a particular file, you’d need to use
JS to create a script tag that references that file and insert
the script tag into the DOM. The script tag would look like this:




In TW5, one might implement the loading via a startup module that
handles a "tm-load-jsonp” message.

It would be straightforward to make a new exporter template for
the JSONP format.

Best wishes

Jeremy



On 15 Nov 2018, at 04:12, TonyM http://gmail.com/>> wrote:

Am 14.11.2018 um 04:41 schrieb TonyM:
>   Are the tid filenames already known?
For posts it would be good to import all tids in a folder I
think this
is  most practical for most usecases.

The problem is the tiddlywiki needs to find the file names, if
it knows them in advance it may be easier

> What if you could see the content in the files without
importing them?
I knowThis could be realized by php...but in most cases I
would need
work with the files in the wiki.

Did you know this displays the content of a tid file ? 
I have not yet worked out how to use this, but creating a new
tiddler with the text set to {{Test include}} may work

> Do you want a directory list to select from?
This would be great!

To me we can either have a file server (Eg TiddlyServer) or
another that allows you to view and import from the list of
files as URLs'
Or we can import them into a tiddler using another tool from
which you can select the files to import.

> How do the tid files get there in the first place?
Mostly uploaded by my php-upload mechanism. Maybe some
uploaded by me
vía ftp

this means you can dictate the naming standard so  you should be
able to match this with your tiddlywiki

> How are you serving the tiddlywiki or is it in a file folder?
Html File from webdirectory

How are you making your tiddlywiki savable?


> Do you want a button that on clicking imports a known tid
file in the current directory?
>
Yeah! ...and all unknown .tids & .jsons in the directory as
well. In my
case they are automatically tagged and there is a filter
against 

[tw5] Re: Tony's Meaningful tip - Why must I add extra enter's in my text?, how can I get text formatted as pasted?

2018-11-16 Thread PMario
Hi, 

Since 5.1.16 we have a new possibility to style tiddlers with data-tags. 
... One of the examples is: Hard Linebreaks with CSS 

 

It shouldn't be so strict as the 3 doublequotes. It should work with most 
text formatting wiki-rules . ... BUT 
there may be side effects if you transclude heavy modified *templates *and 
*macros*. 

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 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/94267300-40c4-40bc-aff8-8d1d16092bf5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Check if an external file exists

2018-11-16 Thread PMario
Hi Hubert,

That's a browser problem.

Modern browsers don't allow us such kind of access to the local disk. 
because of security and privacy reasons.

At the moment, there is no way to check this info, other than manually 
click the link.

-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 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/4daffe7f-66dc-4a96-9572-801c624ad662%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Check if an external file exists

2018-11-16 Thread Hubert
Hello,

Using <$reveal>, I was trying to find a way to check whether a file, 
located in the same folder as the TW file, exists. I could not make it work.

For an example text file named test.txt and located in the same folder as 
the TW file, I was using [ext[test.txt]] but this only renders a link to 
the file with no 'fallback' emptyMessage-like parameter to indicate whether 
the link is pointing to a non-existing file or not. In the same way, there 
was no way to transclude the contents of such a file.

My experiments with the <$view> and <$translude> whose contents could be 
fed to the <$reveal> widget for evaluation did not result in anything 
meaningful as the transclusion of the contents of an external files does 
not seem to work. I know it's a bit far-fetched and naive but I was just 
experimenting as usual.

Thanks in advance for any ideas.

Best,
Hubert






-- 
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/58113e84-c566-4224-b1b8-2f7a16cba6b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Why is there no table of content in the empty wiki?

2018-11-16 Thread TonyM
Thomas,

I support moving such stuff into plugins. But for new users I think we need to 
provide an edition they can download and use with little friction. I have even 
come to believe a version of tiddlywiki.com and its documentation with addons 
for notes and guidence.

I will publish an example soon.

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/1d03661d-937f-4894-95c0-925fef6a143f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Tony's Meaningful tip - Why must I add extra enter's in my text?, how can I get text formatted as pasted?

2018-11-16 Thread TonyM
Mohammad,

Yes, thanks for that, good point, however we should reference the main site not 
the prerelease which will change.

https://tiddlywiki.com/#Hard%20Linebreaks%20in%20WikiText

Please edit your reply, and I will delete this one.

I will follow your suggestions

Thanks again
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/5e73f8d5-d496-412b-8353-2cc5717dca10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Why is there no table of content in the empty wiki?

2018-11-16 Thread S. S.
If it's problematic to find a way of including a generic Table of Contents 
in the empty.html tiddlywiki, perhaps in the meantime, having simple *step 
by step, detailed beginner's help* will be useful.

Inspired by Mark S.'s quick work of improving TW's tiddler: Adding a table 
of contents to the sidebar 

 
, and submitting it (PR3518 
) on github, my attempt 
to help on this issue has been posted in the TiddlyWikiDocs Google Group 
under the title Beginners help for Table of Contents 
. 

Feedback on that effort would make it easier to complete this successfully.

On Wednesday, November 7, 2018 at 5:54:11 AM UTC+7, Mark S. wrote:
>
> Not sure how much of an improvement it is, but incorporated some of your 
> notes in PR3518 
>
> -- Mark
>
> On Sunday, November 4, 2018 at 10:21:29 PM UTC-8, S. S. wrote:
>>
>> *Below is a short excerpt of my notes from when I first started using 
>> TiddlyWiki.*
>>
>> *- begin -*
>>
>> When I was brand new to TiddlyWiki, one of the first things I did was to 
>> add some tiddlers with a few notes from my extensive personal notes text 
>> file. Just Tiddler Titles, and a sentence or two of text in each tiddler. 
>> Once I had done a few of those and saved the file, I wanted to know how to 
>> find them easily again. The "Recent" tab did not seem the right way. I 
>> wanted a "Contents" tab like on the TW5 home page 
>> , and I wondered why there wasn't one. After 
>> all, the TiddlyWiki homepage had a Contents tab - why was mine missing 
>> this? And why was it missing that  icon? "Strange", I thought.
>>
>>
>> I typed "Contents" into the search bar of my TW - but nothing.
>> Then , I typed "Contents" into the search bar on the TiddlyWiki home 
>> page, and opened the tiddler named "*Contents*"
>> This was not useful. In fact it caused a lot of confusion as it was full 
>> of strange Latin writing, and led onwards to "*Table-of-Contents Macros 
>> (Examples)*".
>>
>> Next from the search box I clicked on "*Adding a table of contents to 
>> the sidebar*". I read this but found it confusing. What was the 
>> "sidebar"? What did "Give it the tag $:/tags/SideBar" mean? What was a 
>> "tag?" How did one "give the tag?" (Some days later, when I had figured 
>> these out, even when I made the " TableOfContents" tiddler, nothing showed 
>> up.)
>>
>> On the last line of the "*Adding a table of contents to the sidebar*" 
>> tiddler, it says: 
>> "Add entries to the table of contents by creating tiddlers tagged 
>> TableOfContents. An easy way is to choose < new-here icon> new here from 
>> the tiddler toolbar. To create sub-entries, tag them with the name of the 
>> parent entry."
>>
>> There was no  on the tiddler toolbar. Without clear 
>> instructions, it was not "intuitive" to find this by clicking the 
>>  on the upper right of the tiddler.
>>
>> Nor was it clear what "creating sub entries" meant. How did one "create 
>> sub entries?" More confusing was "tag them with the name of the parent 
>> entry." What was a "tag?" How did one tag? What was a "parent entry?"
>>
>> On the top line of the tiddler - *Adding a table of contents to the 
>> sidebar* - is the following line:
>> A customisable *table of contents* can be added to the sidebar with the 
>> following steps:
>>
>> Clicking the link: *table of contents* : takes on the the tiddler: 
>> *Table-of-Contents 
>> Macros*
>> What is a Macro? How does one use these? : *toc toc-expandable 
>> toc-selective-expandable toc-tabbed-internal-nav and 
>> toc-tabbed-external-nav* 
>> More confusion.
>>
>> A little too advanced flow for the beginner. As a first step, I just want 
>> a table of contents that shows the few new tiddlers I have just made. That 
>> would make me so happy. Later, I can figure out how to do more, but right 
>> now, at the beginning, when I am just starting, I want it simple and easy, 
>> and to be able to see some result immediately.
>>
>> *- end -*
>>
>> Making the layout of the empty TW similar to the what is on 
>> tiddlywiki.com could be beneficial. It avoids the initial confusion of 
>> "why are these missing?"
>> That would mean having a "Contents" tab, and also displaying the 
>> "More-actions" icon. 
>>
>> The challenge might be - WHAT tiddler(s) are included in the empty.html 
>> that will be tagged with "TableOfContents" so that they show up in the 
>> newly included "*TableOfContents*" tiddler? What will they refer to? A 
>> few basic help tiddlers? An empty Journal entry?
>>
>> I imagine the LESS clutter in the empty.html the better, so what is the 
>> right balance? 
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and 

[tw5] Re: KeeBoord Plugin - Testers needed 8-) !

2018-11-16 Thread Mohammad
Thank you Simon!
I will look at it and will test when prerelease out there.
I will then inform you the results.

Thank you for all your efforts

Best
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/365b00bf-4095-4754-ad69-69e350fe51de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.