Hello,
I'm running the node backend downloaded
from https://github.com/Jermolene/TiddlyWiki5
and was wondering exactly what the protocol between the browser and backend
was.
At a guess it's JSON over HTTP (I might be wrong) - is the protocol
*specified* somewhere
or do I have to read the code
Thanks Jeremy - Actually I did some experiments
I set up a relay server to log all messages between
the Tiddly wiki and the node backend. This is what happened
(Messages always start from the TW - these are the HTTP messages involved)
1) "OPTIONS /"
response 404 Not found
(I had to look up wha
smaller subset of TW5 (ie smaller than empty.html) which
gets you to the point where only get/put tiddler requests can be
processed???
Cheers
/Joe
On Sunday, 18 February 2018 16:07:47 UTC+1, joearms wrote:
>
> Hello,
>
> I'm running the node backend downloaded from
>
I'm using the node server version of TW5
As an experiment I thought I could just drop new .tid files into the
tiddlers sub-directory but the system does not seem to find these files.
1) I made a tiddler called Hello
This gets saved in the tiddlers directory in a file Hello.tid
2) I copi
On Friday, 2 March 2018 18:16:55 UTC+1, Simon Huber wrote:
>
>
> I'm using the node server version of TW5
>>
>>
>> As an experiment I thought I could just drop new .tid files into the
>> tiddlers sub-directory but the system does not seem to find these files.
>>
>>
>> 1) I made a tiddler called
On Friday, 2 March 2018 18:20:04 UTC+1, Simon Huber wrote:
>
> my last guess: the node process should be restarted
>
Yes - silly me - I should have thought of that.
I guess the node server assumes that nobody else will muck around with the
tiddlers sub directory while it is running - a restar
Can I keep all old versions of a tiddler in TW5?
Would this be a good idea?
(Why? because I made a Wiki a few years ago that did this - and the
overheads were quite small - if you diff and compress the files)
/Joe
--
You received this message because you are subscribed to the Google Groups
"
Do you
1) Put all your tiddlers in one name space (ie one TW)
2) Put them into different namespaces (one TW per project)
Tiddlers should be small (in order to make them reusable)
If they are (say) on average c. 300 bytes
we could get 3 tiddlers per KB of 3K tiddlers / MB
or 3M tiddlers per GB
So
On Friday, 2 March 2018 18:52:22 UTC+1, Jeremy Ruston wrote:
>
> Hi Joe
>
> Can I keep all old versions of a tiddler in TW5?
>
>
> It isn’t supported at the moment. (The TiddlyWeb API does support
> revisions, but the TW5 client and server just implement minimalist change
> count tracking to su
On Friday, 2 March 2018 18:45:31 UTC+1, Jeremy Ruston wrote:
>
> Hi Joe
>
> Yes - silly me - I should have thought of that.
>
> I guess the node server assumes that nobody else will muck around with the
> tiddlers sub directory while it is running - a restart did the job.
>
>
> The original plan
I was wondering about attachments in the node/server version of TW5
It might be me but I find the act of attaching a file to TW5 overly
complicated,
and I still haven't figured out how to do this :-(
What I'd like:
In the TW file system there is a directory called 'attachments'
(parallel to ti
Goodness - In front of your there are many doors leading to
twisty passages - you pluck up your courage and press on
"core" - your brain explodes ...
Thanks
/Joe
On Friday, 2 March 2018 23:14:34 UTC+1, PMario wrote:
>
> As I wrote: Everything is a tiddler:
>
> You can explore the core structur
I'm using TW5 node server.
In order to add a local image from an external (ie not the node server)
server I did this :
1) create a tiddler image.jpg
2) set the mime type to image/jpg
3) set _canonical_uri to the correct address in this case
http://localhost:9000/image.jpgwhich is where
Hello,
I'm trying to understand how to program the TW - right now what I'm doing
is reading the source of individual tiddlers and guessing what the
code means.
This is a rather time consuming process, and unsatisfactory, to the
extent that if something works, I'm not sure if it works because I
ac
Hello,
I'm *very* confused - using TW5 node server
In my Recent tab I have a tiddler called
"Draft of 'My test tiddler'"
If I click on them I get a tiddler in an open editor
And the top Left hand corner says
Draft of 'My test tiddler'
(so I'm editing the draft)
If I click on the Dustbin it s
On Sunday, 4 March 2018 19:11:43 UTC+1, Mat wrote:
>
> Hi Joe.
>
> You have much, and good, documentation at tiddlywiki.com
> (I'm curious, for constructive purposes: How come you have not seen this?)
>
I have and I keep a local copy and search in it.
>
> Some specific questions of yours:
>
On Sunday, 4 March 2018 20:10:33 UTC+1, Simon Huber wrote:
>
>
>> And a followup question.- I searched for semantics evaluation etc. but no
>> hits.
>>
>> Is there a description of how a tiddler gets turned into HTML?
>>
>> If I were to implement this I'd be thinking
>>
>> tokenize -> parse -> t
On Monday, 5 March 2018 11:26:53 UTC+1, PMario wrote:
>
> Hi Joe,
>
> That's intentional. The "Draft of" tiddler is a "clone" of the tiddler you
> want to edit.
> Using the draf to edit a tiddler is the only way to implement a "canceling
> system", which reverts back to the original.
>
> If
I'm trying to gather a large number of tiddlers for some experiments - I've
used the list at the end of this mail
this was cut-and paste from various web sites and is by no means
exhaustive. From this I found 7075 tiddlers
Is their (somewhere) a "big list" of TW5's - or a web site where one coul
Has anybody written any code to derive a TW from
- a set of postings to a forum
- postings to a mailing list
- a set of HTML documents
It occurs to me that h1 tags could be used to split HTML into tiddlers
and things like TF*IDF algorithms could be used to derive keywords
One would als
Thanks - I didn't know about this.
This is brilliant - now I have to see if I can recover all the tiddlers :-)
Thanks
/Joe
On Sunday, 30 September 2018 15:38:08 UTC+2, @TiddlyTweeter wrote:
>
> joearms wrote:
>>
>> Is their (somewhere) a "big list" o
create transclusions :-)
Cheers
/Joe
On Sunday, 30 September 2018 15:29:44 UTC+2, Jeremy Ruston wrote:
>
> Hi Joe
>
> On 30 Sep 2018, at 09:24, joearms > wrote:
>
> h1 tags could be used to split HTML into tiddlers
>
>
> You can use the “text-slicer” plugin fo
It would be nice to add one more layer of indirection if necessary -- here
are some examples
{{foo.jpg}} -- transclude an image
{{foo.jpg | width:100, height:35} -- translude a image with size
{{TiddlerLink}} -- transclude a tiddler
{{my_local_file.txt | type:text, start:200,
I want to format tiddlers with a specific tag in a particular way.
I have made two tiddlers
1) called mod:lists:reverse:2
With tag 'erlang_code' and content
%% reverse a list
reverse([], L) -> L;
reverse([H|T], L) -> reverse(T, [H|L]).
2) a tiddler called test_formatting wit
esult of the
> view template. So you see it twice.
>
> Have you tripped over yourself?
>
> Regards
> Tony
>
> On Sunday, December 9, 2018 at 9:27:51 PM UTC+11, joearms wrote:
>>
>> I want to format tiddlers with a specific tag in a particular way.
>>
>
I'd like an overview of how wikitext ends up as HTML
1) macros are expanded
?) html is output
or is it
1) wikitext is parsed
etc.
I have no idea - is this documented somewhere?
In particular, how is the interaction with 'magically named tiddlers'
managed.
I am aware that giving
Thank you very much Eric,
comments in-line
Cheers
/Joe
On Sunday, 9 December 2018 17:05:02 UTC+1, Eric Shulman wrote:
>
> On Sunday, December 9, 2018 at 2:27:51 AM UTC-8, joearms wrote:
>>
>> I want to format tiddlers with a specific tag in a particular way.
>>
&g
Hello
I'm trying to understand the state mechanism. I'm beginning to get a clue
so I thought I'd write it down before I forgot.
In the "tabs" example there is the following code:
```
<>
```
I made a tiddler called StateWatcher with the following code
```
<$list filter="[prefix[$:/state/tab1]]
I just spent a good half an hour scratching my head.
I made the following error
I wrote: `<>`
Instead of:
`<>`
(I know it should be a small "p" and not a big "P" - but errors like this
(silent errors)
are extremely difficult to spot. I call errors like this `quiet errors`.
I have no idea h
The code makes two buttons. One to add a tag to the current widget another
to remove the tag
Works fine in edit mode with live preview.
Stops working when I save the tiddler.
What's happening here?
Cheers
/Joe
<$button>
<$action-sendmessage $message="tm-add-tag" $param="example"/>
add ex
Solved - but I'm still worried by the fact that live preview and view mode
work differently.
Solution:
Wrap the button code in a fieldmanger like this:
ie:
<$fieldmangler>
<$button ...> ... as below
...
<$/fieldmangler>
On Saturday, 15 December 2018 10:42:
I wanted to list all core images so I wrote
<>
I saw nothing - Am I going nuts? this worked
<>
This did what I expected - what does the "documentation" say
(by that mean https://tiddlywiki.com/#list-links%20Macro%20(Examples))
(I assume this is the definitive version)
This example lists all
nline JS
I'm torn between the joy of what I can create with the TW since I've seen
all these amazing examples
and the peculiarities of the syntax.
Cheers
/Joe
> J, x
>
> joearms wrote:
>>
>> Solution:
>>
> Wrap the button code in a fieldmanger ...
>
This makes a tag with a drop down of all core images
<>
But this does not list them
<>
Any ideas why?
/Joe
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
>
>
> "Shadow tiddlers" are the payload tiddlers within plugins. They are hidden
> from most operations because they are not "real" tiddlers; this is done to
> reduce clutter.
>
> Best wishes
>
> Jeremy
>
> --
> Jeremy Ruston
> jer...@jermo
iddlers. The "tag" macro looks for shadow tiddlers by default. The
>> list-links macro will only look for shadow tiddlers if you provide an
>> appropriate filter that includes them:
>>
>> <>
>>
>> "Shadow tiddlers" are the payload tid
s are NOT listed
So for example to list all core images (which are shadow tiddlers) we use
the following syntax
<>
Or similar
Cheers
/Joe
On Saturday, 15 December 2018 13:22:00 UTC+1, PMario wrote:
>
>
> On Saturday, December 15, 2018 at 11:38:52 AM UTC+1, joearms wrote:
On Saturday, 15 December 2018 13:47:23 UTC+1, PMario wrote:
>
> Hi Joe,
>
> That <> macro internally uses the <$reveal> widget. The reveal
> widget stores it's state in a state-tiddler, as you found out. The strange
> number at the end is a hash to make the state tiddler name unique. Unique
>
I'd like some feedback on some tiddlers I've been writing.
If I publish the tidders on github (ie the individual tiddlers and NOT an
entire TW)
is there a syntax that can be used that can yank in and view the tiddler
from any other
TW?)
I realise this breaks security - but would be very conveni
/Joe
On Sunday, 16 December 2018 11:43:26 UTC+1, joearms wrote:
>
> I'd like some feedback on some tiddlers I've been writing.
>
> If I publish the tidders on github (ie the individual tiddlers and NOT an
> entire TW)
> is there a syntax that can be used that can yan
On Sunday, 16 December 2018 15:30:02 UTC+1, @TiddlyTweeter wrote:
>
> Do you have an address?
>
> On Sunday, 16 December 2018 11:43:26 UTC+1, joearms wrote:
>>
>> I'd like some feedback on some tiddlers I've been writing.
>>
>> If I publish the tid
:
>
> Do you have an address?
>
> On Sunday, 16 December 2018 11:43:26 UTC+1, joearms wrote:
>>
>> I'd like some feedback on some tiddlers I've been writing.
>>
>> If I publish the tidders on github (ie the individual tiddlers and NOT an
>> entire
I made a couple of tiddlers here:
- https://joearms.github.io/tiddlers/SharedTiddlers.tid
- https://joearms.github.io/tiddlers/A programmers introduction to the
TiddlyWiki.tid
These pages are made automatically when I push to
https://github.com/joearms/joearms.github.io/tree/master
On Sunday, 16 December 2018 18:18:50 UTC+1, Jeremy Ruston wrote:
>
> Hi Joe
>
> I'd like some feedback on some tiddlers I've been writing.
>
> If I publish the tidders on github (ie the individual tiddlers and NOT an
> entire TW)
> is there a syntax that can be used that can yank in and view the
A couple of comments
1) I like the idea of collaborating at the level of "single tiddlers"
All I have to do is put a single tiddler on github and publish the
address and off we go.
2) Bundles of related tiddlers could be published with names like
Tiddler.tid.zip (or something)
3) I suspect
I was wondering about the scope of macro definitions ...
The scope of a macro appears to be 'in the current tiddler where it was
defined
or any tiddler transcluded from the current tiddler'
Here are two tiddlers
Tiddler1Test is
\define foo()
say bar
\end
in tiddler 1 foo=<>
{{
;
> On Sunday, December 9, 2018 at 2:12:06 PM UTC+1, joearms wrote:
>
> In particular, how is the interaction with 'magically named tiddlers'
>> managed.
>>
>
> We call them templates: (list is sorted "simple" to complex)
>
> - ViewTemplate
>
On Monday, 17 December 2018 14:28:03 UTC+1, PMario wrote:
>
> Hi Joe,
>
> In TW macros are internally handled as variables, similar how the <$set
> widget defines them. <$set variables only work within <$set> x .
> macros do have a "tiddler-scope"
>
> If you want to use macros defined in ot
I'm trying to understand filters by comparing them to boolean logic.
Given three tags A B and C
Then a filter that finds A is "[tag[A]]"
B OR C is "[tag[B]] [tag[C]]"
A AND B is "[tag[A]tag[B]]"
A and (B or C) has to be rewritten as
(A and B) or (A and C) and is
"[tag[A]tag[B]] [tag[A]tag[C
I'm a tad confused about how to add images to the TW - what I'm doing is
making a TW by programmatically (outside the TW and in another programming
language :-) creating all the necessary tiddlers.
(I'm using the node TW implementation)
I have discovered by trial and error and the help of Mr Goo
On Wednesday, 19 December 2018 23:21:15 UTC+1, Jeremy Ruston wrote:
>
> Hi Joe
>
> Then a filter that finds A is "[tag[A]]"
>
> B OR C is "[tag[B]] [tag[C]]"
>
> A AND B is "[tag[A]tag[B]]"
>
> A and (B or C) has to be rewritten as
> (A and B) or (A and C) and is
>
> "[tag[A]tag[B]] [tag[A]tag[C
It also strikes me that rewriting
A AND (B OR C)
as
B C +A
is pretty neat - it eliminates the parentheses OR becomes whitespace and
AND becomes +
It's a Reverse Polish Monad Filter (RPMF)
/Joe
On Thursday, 20 December 2018 10:38:37 UTC+1, joearms wrote:
>
>
>
When I start a TW I see a certain page layout - I assume that this layout
is determined by a template, with transclusions in it.
Where do I start reading the code - what's the name of the top-level
tiddler ie the template that (or tiddler) that determines how the
first thing I see looks on screen?
ot; I understand.
>
> This thread is interesting for highlighting, I think, how an explanandum
> can clarify the variety of explanans.
>
> josiah
>
> joearms wrote:
>>
>>B C +A
>>
>> is pretty neat - it eliminates the parentheses OR becomes whitespace an
You'll have to skip to the bottom to read about the Rosetta stone :-)
I hope you won't mind me pointing out the obvious
The list widget is a for loop
that is:
<$list filter=" ...>
<>
means:
output = "";
for(i in )
output += ... $i ...
end
insert output into t
#x27;m not really sure if this is by accident or design. Does it do
something by accident or because
it was designed to do exactly this
Cheers
/Joe
>
> Just thoughts
> Josiah
>
>
> joearms wrote:
> There is method in my madness :-)
>
> I'm trying to relate stuff I
On Thursday, 20 December 2018 12:42:15 UTC+1, Jeremy Ruston wrote:
>
> Hi Joe
>
> On 20 Dec 2018, at 11:19, joearms > wrote:
>
> When I start a TW I see a certain page layout - I assume that this layout
> is determined by a template, with transclusions in it.
>
>
&g
I think I know what $set and $list do.
So what are 5 most important widgets to learn?- ranked in order of
importance.
I'd really appreciate some feedback
/Joe
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" group.
To unsubscribe from this group a
On Thursday, 20 December 2018 14:57:39 UTC+1, Mohammad Rahmani wrote:
>
> Joe,
>
> have you seen:
> https://tiddlywiki.com/#Widgets
>
Yes - I wanted to know the most important :-)
>
> These are list of widgets in TW core:
>
> The below five widgets are my choice for programming TW and I th
Hello,
For a while now I have been working on turning my Blog into a single file
TW - I now have a pre-release
it's not perfect and there are still a few problems to be fixed.
The Prerelease is at https://joearms.github.io/tw/share/output/index.html
If anybody could help with the outstanding pr
On Thursday, 20 December 2018 15:11:30 UTC+1, Mohammad Rahmani wrote:
>
> Joe,
> Look at these two amazing resources:
>
>
>1. https://ooktech.com/jed/ExampleWikis/FilterLogicExamples/
>2. http://tobibeer.github.io/tw/filters/#Filter%20Examples
>
>
Brilliant
/Joe
>
>1.
>
>
>
ondition" Plugin:
>
Goodness - I haven't got to reveal yet. I wouldn't have guessed it was an
IF statement :-)
/Joe
>
> http://evanbalster.com/tiddlywiki/formulas.html#Condition%20Plugin
>
> which exposes <$if>, <$else-if> and <$else> widgets
ype="match" default=<> text=<> >
> This content is shown if variable1 and variable2 match
>
>
> On Thursday, December 20, 2018 at 12:03:06 PM UTC-6, joearms wrote:
>>
>>
>>
>> On Thursday, 20 December 2018 18:59:56 UTC+1, Di
Has anybody written a "How to write a widget" guide?
I'm looking for a guide that starts with the simplest possible
widget (zero args) and explains in gruesome detail exactly what
each line of code does.
Following this I'd like to see how arguments get added ..
Any suggestions?
Cheers
/Joe
--
Every day I go into the sidebar and search for the names of
some widget that I want to read. These widgets do not
show up in the recent tab (which I assume is derived from the
last modified date in the tiddler (is that right))
Many programs (twitter) example remember your last few
searches.
How c
t.js
>
> Finally, the “keyboard” widget is a simple example of a widget with an
> event handler:
>
>
> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/widgets/keyboard.js
>
> Best wishes
>
> Jeremy
>
>
> On 21 Dec 2018, at 09:07, joearms > wrote
My Blog has two modes (with the righthand sidebar expanded or not)
It's here: https://joearms.github.io/tw/share/output/index.html
and the source is
at:https://github.com/joearms/joearms.github.io/tree/master/tw
When I click on the "show sidebar" chevron the sidebar is shown
b
g copyright. Probably an easier issue. Plugins often carry
> copyright/usage terms. I never seen one that was restrictive. Its more
> likely it doesn't occur to most users to put terms on each tiddler. How
> about a general TW flag "you can use it" covering all usage unless at
&
The tiddler to add a tweet link at the bottom of every tiddler is here:
https://github.com/joearms/joearms.github.io/blob/master/tw/share/tiddlers/My%20Footer.tid
Or in plain text
created: 20181224191135261
list-after: $:/core/ui/ViewTemplate/body
modified: 20181224191445492
tags: $:/tags
I want to turn off most of the advanced features of the TW -
Imagine two modes.
"safe" - only opening tiddlers, searching and closing tiddlers remain
"normal" - the standard version.
Then I imagine a "do not press this" button - which when pressed causes
some very fancy fireworks
and swaps from
It's at https://joearms.github.io/
Thanks to everybody for your patience in answering my stream of questions.
Pull requests will be gratefully received :-)
Is this how to do it? (all comments on the structure of the TW are very
welcome)
Cheers and Happy Everything to everybody
/Joe
--
You r
Thanks Mario,
that was good to know.
What concerns me more are TWs I've found "in the wild" - can I quote from
them if I can't get permission from the author
and if there are no apparent rights in the TW file
Cheers
/Joe
On Tuesday, 25 December 2018 15:14:32 UTC+1, PMario wrote:
>
> Hi J
What I want is to programmatically create a TW from the following:
A large amount of documentation in XML
A large amount of code
Basically one XML file per code file.
This I want to turn into a TW and add a lot of fancy stuff (code Xref,
annotations etc.)
With some back-end support I could (I
I'm a bit unsure about version -- I did this
$ git clone https://github.com/Jermolene/TiddlyWiki5.git
Cloning into 'TiddlyWiki5'...
$ cd ~/experiments/TiddlyWiki5
$ ./tiddlywiki.js --version
5.1.20-prerelease
But you're right my current version is 5.1.19pre
I don't know how to fetch 5.1.19fin
On Thursday, 27 December 2018 09:39:16 UTC+1, Riz wrote:
>
> Hi Joe,
>
> I see you are enjoying your TW5 quite well. Here is a thought for your
> consideration. The basic TW5 you download from GitHub or tiddlywiki.com
> is a good fit for several things. Unfortunately the idea of using
> Tiddly
On Thursday, 27 December 2018 12:47:48 UTC+1, @TiddlyTweeter wrote:
>
> Ciao Riz & Joe
>
> 1 - Riz. Great practical comment. Some time ago you did some really neat
> experiments for static output that was more "integrative" looking than
> https://tiddlywiki.com/static/. Tw.com static can come o
Interesting - I notice checkbox was not in any of your lists. My
one-liner was very instructive:
<$checkbox tag="welcome"> welcome?
Playing with this in live preview mode showed the symmetric nature of the
data binding.
When I toggled the checkbox the tag "welcome" came and went.
The *exciti
nt, because this is a platform of almost infinite possibilities.
>
It's great
>
> Welcome to the community, I see by your questions, you are likely to be a
> productive member.
>
Thanks for those kind words :-)
/Joe
>
> Regards
> Tony
>
>
> On Th
onal content.
>
> To me these are the most obviouse examples, are you looking for something
> more specific?
>
That's fine for starters - thank you.
/Joe
>
> Regards
> tony
>
>
> On Saturday, 5 January 2019 08:50:48 UTC+11, joearms wrote:
>>
>>
I've been reading some plugin code.
The code is not helped by having extremely long lines with no
whitespace and by being unindented.
Some of the worse culprits are extremely long filter expressions
which I can't even print reasonably since they have no line feeds
and are very wide.
It seems l
How do I do printf debugging?
In all programming langauages I know I stick print statements all over the
place to see what's going on - then I remove them when the program works.
What's the equivalent in developing TW plugins?
Specifically I've made a button like this:
<$button actions={{Commen
In general, what do you do when something goes wrong.
On several occasions, I've written some code (an action to be performed
when something happens)
but I see nothing - I expect some output but there is none.
A typical case is an incorrect filter which returns nothing but I'd
expected it to
r
I want to find the source code that implements the "tm-new-tiddler" message?
Why do I want it?
I've been looking at the documentation for
tm_new_tiddler at
https://tiddlywiki.com/#WidgetMessage%3A%20tm-new-tiddler
Having read this I could not understand what the paramObject was so I
experime
s/navigator.js
>
> Regards
>
> FrD
>
> Le samedi 12 janvier 2019 10:40:47 UTC+1, joearms a écrit :
>>
>>
>>
>> I want to find the source code that implements the "tm-new-tiddler"
>> message?
>>
>> Why do I want it?
>>
>> I&
Can anybody recommend a tutorial on how to write a plugin?
Failing a tutorial can anybody point me to the simplest possible
plugin(s) that I can study?
Possible several examples - with and without javascript etc.
Nothing fancy - I just want to see the essentials and the structure
Thanks
/Joe
Node.js
>>> *
>>> https://tiddlywiki.com/dev/#How%20to%20create%20plugins%20in%20the%20browser
>>>
>>> <https://tiddlywiki.com/dev/#How+to+create+plugins+in+the+browser> is a
>>> brief guide to creating plugins in the browser
>>> *
&
An alternative might be some form of transaction memory.
When a tiddler is served over a network it has last-modified time (this is
the time when the server
last stored a modification)
If a user edits a tiddler and sends it back it should include this time.
Call this Told.
When the server recei
Hello,
I'm a great fan of what I call "noisy" errors - a noisy error is
when the systems tells you in no uncertain terms that something is wrong
My view is that anything that smells bad should be brought to the attention
of
the programmer in a way they cannot miss.
Recently I've been hit in th
88 matches
Mail list logo