[tw5] Lately, the $set widget has been intruding on my peace

2019-04-11 Thread S. S.

Recently there was a long and interesting discussion on the $set widget 
which led to me making the funky (at least I think it's funky!) : Set 
Widget Tester for attribute precedence 

That tiddler allows you to see how most every attribute combination 
available in the $set widget will behave against other attributes.

Today I came across a little change 

 
in the $:/core/ui/PageTemplate 
 tiddler made 
the other day which made me wonder ...

The orginal code was:
$set name="currentTiddler" value={{$:/language}}>

<$set name="languageTitle" value={{!!name}}>

<$set name="currentTiddler" value="">


The comment for changing this to the new code below is: 

> *We no longer need to mess around with the currentTiddler variable to be 
> able to access to the "name" field of the current language*
>

<$set name="languageTitle" value={{{ [{$:/language}get[name]] }}}>

The above is of course quite elegant and concise. 
Just as a matter of interest, I was wondering why this wasn't written as 
either of the below:

<$set name="languageTitle" tiddler={{$:/language}} field="name">

<$set name="languageTitle" filter="[{$:/language}get[name]]">

All said, I don't know why, but I quite like the ability to accomplish the 
same result in 4 different ways. Maybe its because the $set widget can be 
used so effectively for IF THEN ELSE situations once one known the 
precedence order of its attributes.

Cheers.

-- 
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/e96c338e-fb4c-4796-8092-b8f6337f52f9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Bob / node disconnects a lot

2019-04-11 Thread Dave
that was it :)  

I just put

; sleep 2 

between each instance of writing a file into the tiddler folder and that 
seemed to fix the problem

-- 
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/1cd7241b-676d-4f70-8f01-a28841113155%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] [TW5] [Feature request] Intra tiddler Table of contents

2019-04-11 Thread TonyM
Andre

As dave and mark have said I am confident a toc to anchors can be done since 
the workaround became available and people have seperatly generated lists from 
content. 

A posible approach is to create a macro you pass a filter to that lists a set 
of tiddlers inside another tiddler generating both the toc and the anchors to 
each heading. This could be extended to have additional features.

Until 5.1.20 you could count the number of tiddlers you need headings for, then 
provide this as the top number in the range operator, to increment the id you 
generate on the fly. Use qualify to make your anchor ids unique to this listing.

List this range once to create the links or toc and a second time to generate 
tge anchors and tranclude the tiddler content.

I would build this but Im on the road for a few days (to Hill End NSW)

regards
tony

Regards

-- 
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/cb3bb0a4-6094-4b6c-9e69-1a3e62a99ada%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] [Feature request] Intra tiddler Table of contents

2019-04-11 Thread 'Mark S.' via TiddlyWiki
With a regular expression extractor (PR #2963) I can imagine a TOC being 
generated (though the order would probably have to be set by the id #s).

-- Mark

On Thursday, April 11, 2019 at 10:48:01 AM UTC-7, David Gifford wrote:
>
> From the example André gave I think he is saying he would like a plugin 
> that grabs the headers (!) (!!) etc, in a tiddler and creates a toc from 
> them.
>
> With the recent workaround for section ID's (
> https://groups.google.com/forum/#!searchin/tiddlywiki/anchor%7Csort:date/tiddlywiki/ikjxwjllFtE/wIfyXCCsCQAJ),
>  
> would this now be possible to create?
>
> Dave
>
> On Thursday, April 11, 2019 at 12:30:35 PM UTC-5, Mark S. wrote:
>>
>> Probably the official way you'd do this is to have a tiddler that lists 
>> your tiddlers. That becomes your TOC. Have a button that opens all the 
>> tiddlers in your story. Use a templates and styles to hide the divisions 
>> between tiddlers. Now it will look like a single page with a TOC, and you 
>> can navigate to "sections",  but behind the scenes it's using tiddlers. I'm 
>> sure this has been done somewhere already.
>>
>> You could also look at this post 
>> https://groups.google.com/forum/#!msg/tiddlywiki/ikjxwjllFtE/CYlY6UwrAQAJ 
>> that shows a method to allow you to have anchors in tiddlers again. But I 
>> think you would have to hand-make the TOC.
>>
>> Good luck!
>>
>> On Thursday, April 11, 2019 at 8:44:35 AM UTC-7, André Carvalho wrote:
>>>
>>> Hi all
>>>
>>> I used a TiddlerToCPlugin 
>>>  in Classic 
>>> TiddlyWiki that was perfect ( See example at 
>>> http://acarvalho.tiddlyspot.com/#%5B%5BWriting%20Good%20Requirements%5D%5D 
>>> ). And can not find anything similar for 5. 
>>>
>>> I'm not a Javascript programmer but I do not see any architectural 
>>> obstacle to do an intra-tiddler TOC and it is a feature that is essential 
>>> for my way of using TiddlyWiki so I would be thankful to anyone that point 
>>> me to some sort of solution. 
>>>
>>> Please keep the "*tiddler philosophy*" off the discussion, TiddlyWiki 
>>> is a tool, an amazing one, and I'll use it as I can and want.
>>> I think that we lost a lot (and gained another lot) on the breaking 
>>> upgrade from Classic and I do not see TW 5 plugins gaining *momentum* 
>>> to get even close to what we had in Classic. That's unfortunate because 
>>> TiddlyWiki is such an amazing tool that can be used in so much different 
>>> ways. In my humble view part of the problem may be the excessive use of the 
>>> "*tiddler philosophy*" answer... if it is architecturally possible, 
>>> please, just consider it (or ignore it if you want) and let each user 
>>> decide how they want to use our beloved TiddlyWiki.
>>>
>>> Best regards
>>> André
>>>
>>>
>>>

-- 
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/3fd2f265-a047-4d5b-86f2-a65c6f5e9369%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Bob / node disconnects a lot

2019-04-11 Thread Dave
Oh, so maybe I should look into those scripts and just slow them down a bit... 
I'll try that. 

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/3c01ad11-fa63-4ece-a775-4d6b2087d58a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Bob / node disconnects a lot

2019-04-11 Thread Jed Carty
Nothing about Bob should quit saying 'Terminated', it should be giving some 
sort of output when it closes.

Are you sure it is crashing and not just breaking the connection to the 
browser? Sometimes if the server is very busy it can lose the connection, 
if you are creating or editing a lot of tiddlers in a loaded wiki it could 
do that.

-- 
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/3bb40965-08c5-44ab-8598-22dba163c7b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Bob / node disconnects a lot

2019-04-11 Thread Dave
I.e. me running that script was when it terminated

-- 
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/379fc5c9-9730-45f9-87dc-fb305000724b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Bob / node disconnects a lot

2019-04-11 Thread Dave

>
> pkill node;sleep 1;cd /home/david/SyncthingFolders/Bob/TiddlyWiki5;node 
> ./tiddlywiki.js Wikis/BobWiki  --wsserver;yad --text="Bob coming up (in 
> Chrome)" --timeout=1 --center 
> NodeSettings - Parsed raw settings.
> TiddlyWiki version 5.1.18 with Bob version 1.2.2r2
> Serving on 0.0.0.0:8080
> (press ctrl-C to exit)
>  syncer-server-WebsocketAdaptor: Dispatching 'save' task: $:/StoryList 
> new connection
> Terminated


as soon as I did that I ran a script that updates a bunch of text files 
which write into the tiddlers folder.  I'll let you know if I find I've 
done something obviously stupid in that.

-- 
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/13dde201-660c-4105-b783-b39762bdf126%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Bob / node disconnects a lot

2019-04-11 Thread Dave
plugin version, 

Linux (Ubuntu 18.04.2 LTS), 

and I launch it with a script as opposed to right at the terminal.  

I'll try restarting it right from the terminal and let you know what it 
says next time it crashes.

-- 
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/b59af92d-e1be-48cf-8c0c-9a02812ec454%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Bob / node disconnects a lot

2019-04-11 Thread Jed Carty
Are you using BobEXE or the plugin version?

Also, what OS are you using?

When it disconnects do you get any messages in the terminal?

-- 
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/f042b508-057b-4c73-960c-fb388192a4a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Bob / node disconnects a lot

2019-04-11 Thread Dave
What should be the steps for troubleshooting this problem.

Quite often in a day I'll have my TW/Bob instance open and it will 
disconnect and I have to pkill node and restart it.

I suspect its because I have all these little bash scripts that 
occasionally run to update some text file in the Bob tiddlers folder and 
something about Bob or nodejs doesn't seem to like that and it crashes.  
Its not that it makes Bob unuseable, but it is a bit frustrating.

Bob version is 2.1.2v2 (I think its a "v" -its pretty tiny)
TW version 5.1.18 (I can't figure out how to upgrade to 5.1.19)

Thanks,
- Dave

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


[tw5] Re: [TW5] [Feature request] Intra tiddler Table of contents

2019-04-11 Thread David Gifford
>From the example André gave I think he is saying he would like a plugin 
that grabs the headers (!) (!!) etc, in a tiddler and creates a toc from 
them.

With the recent workaround for section ID's 
(https://groups.google.com/forum/#!searchin/tiddlywiki/anchor%7Csort:date/tiddlywiki/ikjxwjllFtE/wIfyXCCsCQAJ),
 
would this now be possible to create?

Dave

On Thursday, April 11, 2019 at 12:30:35 PM UTC-5, Mark S. wrote:
>
> Probably the official way you'd do this is to have a tiddler that lists 
> your tiddlers. That becomes your TOC. Have a button that opens all the 
> tiddlers in your story. Use a templates and styles to hide the divisions 
> between tiddlers. Now it will look like a single page with a TOC, and you 
> can navigate to "sections",  but behind the scenes it's using tiddlers. I'm 
> sure this has been done somewhere already.
>
> You could also look at this post 
> https://groups.google.com/forum/#!msg/tiddlywiki/ikjxwjllFtE/CYlY6UwrAQAJ 
> that shows a method to allow you to have anchors in tiddlers again. But I 
> think you would have to hand-make the TOC.
>
> Good luck!
>
> On Thursday, April 11, 2019 at 8:44:35 AM UTC-7, André Carvalho wrote:
>>
>> Hi all
>>
>> I used a TiddlerToCPlugin 
>>  in Classic 
>> TiddlyWiki that was perfect ( See example at 
>> http://acarvalho.tiddlyspot.com/#%5B%5BWriting%20Good%20Requirements%5D%5D 
>> ). And can not find anything similar for 5. 
>>
>> I'm not a Javascript programmer but I do not see any architectural 
>> obstacle to do an intra-tiddler TOC and it is a feature that is essential 
>> for my way of using TiddlyWiki so I would be thankful to anyone that point 
>> me to some sort of solution. 
>>
>> Please keep the "*tiddler philosophy*" off the discussion, TiddlyWiki is 
>> a tool, an amazing one, and I'll use it as I can and want.
>> I think that we lost a lot (and gained another lot) on the breaking 
>> upgrade from Classic and I do not see TW 5 plugins gaining *momentum* to 
>> get even close to what we had in Classic. That's unfortunate because 
>> TiddlyWiki is such an amazing tool that can be used in so much different 
>> ways. In my humble view part of the problem may be the excessive use of the 
>> "*tiddler philosophy*" answer... if it is architecturally possible, 
>> please, just consider it (or ignore it if you want) and let each user 
>> decide how they want to use our beloved TiddlyWiki.
>>
>> Best regards
>> André
>>
>>
>>

-- 
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/39600840-ddfa-4203-8c1b-e970208c2090%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: [TW5] [Feature request] Intra tiddler Table of contents

2019-04-11 Thread 'Mark S.' via TiddlyWiki
Probably the official way you'd do this is to have a tiddler that lists 
your tiddlers. That becomes your TOC. Have a button that opens all the 
tiddlers in your story. Use a templates and styles to hide the divisions 
between tiddlers. Now it will look like a single page with a TOC, and you 
can navigate to "sections",  but behind the scenes it's using tiddlers. I'm 
sure this has been done somewhere already.

You could also look at this post 
https://groups.google.com/forum/#!msg/tiddlywiki/ikjxwjllFtE/CYlY6UwrAQAJ 
that shows a method to allow you to have anchors in tiddlers again. But I 
think you would have to hand-make the TOC.

Good luck!

On Thursday, April 11, 2019 at 8:44:35 AM UTC-7, André Carvalho wrote:
>
> Hi all
>
> I used a TiddlerToCPlugin 
>  in Classic 
> TiddlyWiki that was perfect ( See example at 
> http://acarvalho.tiddlyspot.com/#%5B%5BWriting%20Good%20Requirements%5D%5D 
> ). And can not find anything similar for 5. 
>
> I'm not a Javascript programmer but I do not see any architectural 
> obstacle to do an intra-tiddler TOC and it is a feature that is essential 
> for my way of using TiddlyWiki so I would be thankful to anyone that point 
> me to some sort of solution. 
>
> Please keep the "*tiddler philosophy*" off the discussion, TiddlyWiki is 
> a tool, an amazing one, and I'll use it as I can and want.
> I think that we lost a lot (and gained another lot) on the breaking 
> upgrade from Classic and I do not see TW 5 plugins gaining *momentum* to 
> get even close to what we had in Classic. That's unfortunate because 
> TiddlyWiki is such an amazing tool that can be used in so much different 
> ways. In my humble view part of the problem may be the excessive use of the 
> "*tiddler philosophy*" answer... if it is architecturally possible, 
> please, just consider it (or ignore it if you want) and let each user 
> decide how they want to use our beloved TiddlyWiki.
>
> Best regards
> André
>
>
>

-- 
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/a0637745-59da-40f6-a412-935c3e74a88d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] [TW5] [Feature request] Intra tiddler Table of contents

2019-04-11 Thread André Carvalho
Hi all

I used a TiddlerToCPlugin 
 in Classic 
TiddlyWiki that was perfect ( See example at 
http://acarvalho.tiddlyspot.com/#%5B%5BWriting%20Good%20Requirements%5D%5D 
). And can not find anything similar for 5. 

I'm not a Javascript programmer but I do not see any architectural obstacle 
to do an intra-tiddler TOC and it is a feature that is essential for my way 
of using TiddlyWiki so I would be thankful to anyone that point me to some 
sort of solution. 

Please keep the "*tiddler philosophy*" off the discussion, TiddlyWiki is a 
tool, an amazing one, and I'll use it as I can and want.
I think that we lost a lot (and gained another lot) on the breaking upgrade 
from Classic and I do not see TW 5 plugins gaining *momentum* to get even 
close to what we had in Classic. That's unfortunate because TiddlyWiki is 
such an amazing tool that can be used in so much different ways. In my 
humble view part of the problem may be the excessive use of the "*tiddler 
philosophy*" answer... if it is architecturally possible, please, just 
consider it (or ignore it if you want) and let each user decide how they 
want to use our beloved TiddlyWiki.

Best regards
André


-- 
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/1e26001a-6063-4e67-ae12-1cd526e89b92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Excel cell content VBA search on Tiddywiki

2019-04-11 Thread rodolfo gorveña
Hi:

Trying to make a search on local tiddywiki from an excel cell content
Have this on vba working for google

IE.navigate "http://www.google.com/search?q="; & Cells(5, 3)

Is it possible to make reference to the search box on tiddlywiki?

Thanks in advance

-- 
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/45a67712-9f93-4256-a31b-46a4ae35568d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: How do I can I display txt-file in TW widget or macro.

2019-04-11 Thread Jan

Hello Mohammad,
embed produces a sort of Iframe-Element.
This does not meet my needs, I do not only want to display it need to 
work with the result this means I want to insert it into a field.

I guess XMLHttpRequest is the answer...
But I can not find how to get this into the widget-code...

Best wishes Jan




Am 10.04.2019 um 19:13 schrieb Mohammad:

Jan,
 For me it works like a charm!
I use FF 66 and there is no problem.

--Mohammad


On Wednesday, April 10, 2019 at 9:24:01 PM UTC+4:30, Jan wrote:

Hi Mohammad!
This looks good, and so easy!
I will check the refresh behaviour, for the data-tag that was a
problem...
Why does Firefox tell me I need a plugin for this ?!

Jan

Am 10.04.2019 um 17:15 schrieb Mohammad:

Jan
 In TW-Scripts there are some examples uses HTML5 embed to embed
text, video or audio,...

I am not sure, but may be helpful or shed some lights into this case.

See for example:
Embed text and object in Tiddlywiki




--Mohammad
On Wednesday, April 10, 2019 at 6:42:38 PM UTC+4:30, Jan wrote:

Hello Tony,
thanks a lot for your interest. I think the ability to work
with external ressources would enable us to new and
"unothodox" Uses of TiddlyWiki.
Unorthodox because they contradict the single file concept of TW.
This is why importing the .txt is not the solution.
https://szenio.de/Test/post/Posttester/Jan_Test.txt
 is
created by a php which allows students to post to the wiki
and to modify the posts during the session see
https://szenio.de/Test/post/Posttester
. The posts are then
shown on the sidebar and I am importing into a mod of admls
Mentat you find here: http://szenio.de/pin. (On the Desktop
you can drag an entry to the pin and show it...) It is all
work in progress so i did not show it to the group yet.)

So this is why I need a new way to
-display txt-files configurably
-use them inside widgets (like converting them it them into
tiddlers)
-and it would be great it I could make them *refresh* on click.

Best wishes Jan


Am 10.04.2019 um 05:42 schrieb TonyM:

jan

I would like this as well, If we could only access the
content of an external text file we could easily interrogate
the status of something that say a server process set or
another user deposited.

I believe using the html object to display a file should
provide us the opportunity if not with a button click or
trigger, it is after all on the screen in front of us, I can
use the mouse to select and copy it so why can I not get a
TiddlyWiki process to capture it. I believe a refresh of the
tiddler does refresh the file from disk.

However not withstanding the value I see in this, Perhaps
there is another way to achieve what you are after. Have you
considered importing the text file, or giving each student
their own wiki and exporting/importing tiddlers created by
their username?

Importing from external resources

Try this - Go to TiddlyWiki.com then use import and rather
than provide a local file provide the following url
https://tiddlywiki.com/prerelease/index.html

This will open the whole prerelease wiki and you can select
one or all tiddlers to import.

I tested also importing a text file such as
https://psat.com.au/tiddlywiki/Readme.txt
 and it worked

The Browse widget also works for html/tiddlywiki files but
not for txt files

Perhaps you could build an independant process to collect
all the students text files and create a local copy then use
<$browse multiple> and select all the text files and import
them in one step

Also
In the pre-release there is a local storage and an Innerwiki
plugin that may solve a number of related needs.

Regards
Tony

On Wednesday, April 10, 2019 at 7:44:45 AM UTC+10, Jan wrote:

Hello,
I still was not able to solve this problem...
Should I use a macro or a widget to display external
.txt-files
I want to
-display txt-files configurably
-use them in widgets (like converting them it them into
tiddlers)
-and it would be great it I could make them refresh on
click.

I made a