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
<https://kookma.github.io/TW-Scripts/#Example%2019%3A%20Embeding%20Video:%5B%5BExample%2019%3A%20Embeding%20Video%5D%5D%20%5B%5BExample%2014%3A%20Embeding%20Media%5D%5D>
--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
<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
<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
<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
<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 an attempt on http://szen.io/Test/ to solve the
Problem but I am stuck...
best wishes Jan
Am 29.03.2019 um 23:44 schrieb Jan:
Hi Jed, Hi everybody!
I am beginning to grasp the difference of widgets and macros
which I mixed up on http://szen.io/Test/ would you propose
to make a widget or a macro to display refreshing txt.files...
Have you found a solution?
Best wishes Jan
Am 27.03.2019 um 17:54 schrieb Jed Carty:
My last post may be almost completely wrong. It is one way
that you could handle the problem but I think that your
example is not far from working. One problem you have is
you are mixing a javascript macro with a widget, the two
are different and having pieces of both is causing trouble.
I will look at this for a bit longer and I may have
something to help a little at least.
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at
https://groups.google.com/group/tiddlywiki
<https://groups.google.com/group/tiddlywiki>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/93e8c566-ece0-451d-80f9-40d998b6b9ef%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/93e8c566-ece0-451d-80f9-40d998b6b9ef%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout
<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 [email protected] <javascript:>.
To post to this group, send email to [email protected]
<javascript:>.
Visit this group at https://groups.google.com/group/tiddlywiki
<https://groups.google.com/group/tiddlywiki>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/3dfc4c75-ee7b-4566-8a0c-8bdbebb424e0%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/3dfc4c75-ee7b-4566-8a0c-8bdbebb424e0%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout
<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 [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
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/7ce5b7cf-f322-4a67-bbab-e8549eb9ddec%40googlegroups.com
<https://groups.google.com/d/msgid/tiddlywiki/7ce5b7cf-f322-4a67-bbab-e8549eb9ddec%40googlegroups.com?utm_medium=email&utm_source=footer>.
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 [email protected].
To post to this group, send email to [email protected].
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/5CAE1F9F.6050404%40googlemail.com.
For more options, visit https://groups.google.com/d/optout.