[tw5] Re: How to? Build a custom search box

2023-08-30 Thread Jan
Hi, Mr Gupta, 
I want to invite you to the Tiddlywiki community on discourse, because most 
of the discussions happen there and do not fill your postbox : I also 
stumbled upon your post there 
https://talk.tiddlywiki.org/t/tw5-re-how-to-build-a-custom-search-box/7917
One tiny tip: You could replace the text you put into each Tiddler with one 
single viewtemplate.
B Gupta schrieb am Dienstag, 29. August 2023 um 08:19:12 UTC+2:

> As a relatively new TiddlyWiki user, I have been experimenting with 
> features and trying new ideas. After lots of searching to create a custom 
> search box, I came across this thread. While it is five years old, the 
> approach and ideas discussed here are still valid! I tweaked it to create 
> my custom search box in a tiddler running on Tiddlywiki 5.3.1. You can find 
> it here: 
> https://bpg-scripts.tiddlyhost.com/#Custom%20search%20box%20embedded%20in%20a%20tiddler
>  
>
> On Monday, September 24, 2018 at 8:57:50 PM UTC-4 TonyM wrote:
>
>> Great to hear and Good work, often a learning experience is better than 
>> an answer.
>>
>> Regards
>> Tony
>>
>>
>> On Tuesday, September 25, 2018 at 5:43:32 AM UTC+10, Surya wrote:
>>>
>>> Hey Tony :-)))
>>>
>>> It works!! :-)) THANKS A LOT!!
>>>
>>> Now it is like this:
>>> <$edit-text tiddler="$:/config/References/
>>> searchstrings" field=all-reference-search placeholder="Type your Search" 
>>> tag=input/>
>>> Search result:
>>>
>>> <$list 
>>> filter="[{$:/config/References/searchstrings!!all-reference-search}minlength{$:/config/Search/MinLength}limit[1]]"
>>>  
>>> emptyMessage=""">> class="tc-search-results">{{$:/language/Search/Search/TooShort}}""" 
>>> variable="listItem">
>>> <$list 
>>> filter="[!is[system]search:title{$:/config/References/searchstrings!!all-reference-search}]
>>>  
>>> +[!tag[>]search:title{$:/config/References/searchstrings!!all-reference-search}]
>>>  
>>> +[!tag[A]search:title{$:/config/References/searchstrings!!all-reference-search}]
>>>  
>>> +[!tag[B]" emptyMessage="None">
>>> 
>>> <$link><>
>>> 
>>>
>>>
>>> Fantastic! Surya
>>> and I am happy, that it is a little bit similar to my own idea :-)
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dcc201bf-6614-494d-ae32-cf43622c04c8n%40googlegroups.com.


[tw5] Re: TW 5.2.0 + CouchDB ?

2021-11-22 Thread Jan
Hi V,
this is a very important topic... 
I also would like to have the browser storage plugin play a more important 
role, because for some first-time users it is a deception that their 
changes are not saved when they return - couchDB could heal this. 
One setback for noteself was that the service proposed there - cloudant - 
was bought by ...IBM? and it became more complicated to obtain it. 

Another problem is that browser storage is great for personal notetaking 
but not if your wiki is meant for others (like students and so on).
If you are working on various machines and basically saving to a server, it 
can have unwanted side effects like Zombi-Tiddlers reappearing after they 
have been deleted and then saved are back by accident.
So I never really used browser storage, and so I cannot say whether the 
idea is weird:

I would like to have a sort of browser storage-on-demand, where you are 
either asked whether you want to recover from the  browser storage in the 
beginning if there is saved content that is not in the server-version. 

Best wishes Jan

P.S. It would be great to continue this discussion on 
https://talk.tiddlywiki.org/ It took me some time to find out why I could 
not reply in the there. 




mcdermott...@gmail.com schrieb am Montag, 22. November 2021 um 17:26:29 
UTC+1:

> I can't speak for everyone, only myself. When I picked TiddlyWiki several 
> years ago, I imposed the following constraints on myself (brief reason in 
> square brackets):
>
> * Lightweight text markup that included hyperlinking [these are among the 
> things that separate the solution from text-only]
> * Searchable
> * Open source [the content I generate for myself is too important to me 
> for it to go dark if a startup shutters]
> * Offline-first [travel or an internet outage shouldn't completely 
> separate me from my "second brain"]
>
> The first two are basic notetaking sorts of things, but the other two are 
> why I use the default file saver with TiddlyDesktop. A single file + 
> synchronization happens to be among the easier ways (to me) of 
> accomplishing offline first. Everything is a trade-off.
>
> I will say that document databases are a dime a dozen. Plain text and HTML 
> are probably the two most stable interfaces in technology today. I (and, I 
> suspect, a great deal of TiddlyWiki's user base) value that sort of 
> stability.
> On Monday, November 22, 2021 at 4:26:58 AM UTC-6 V wrote:
>
>> Hi. 
>>
>> I have been following the TW project for years and I am still very 
>> surprised that the community continues to actively support super strange, 
>> inconvenient and limited ways of saving and synchronizing – but at the same 
>> time all developments using normal technologies on which synchronization 
>> could be easy, seamless and safe, such as CouchDB, are not supported in 
>> official release and abandoned by community.
>>
>> Especially considering the new data storage format in JSON, with which 
>> synchronization with object databases has never been easier. It's even 
>> easier than maintaining the current server solution on files, which in 
>> principle cannot work offline, unlike a solution based on 
>> IndexedDB+PouchDB→CouchDB or IndexedDB→Mongo/Posrgres.
>>
>> I have used PouchDB adapter from NoteSelf, but it's outdated and contains 
>> a lot of bugs. Other solutions were outdated even earlier.
>>
>> If IndexedDB/CouchDB solution were supported out of the box, there would 
>> be no reason at all to use paid solutions like Evernote or Notion for 
>> personal notes.
>>
>> Based on discussions & repo, it seems that no movement in this direction 
>> is planned.
>>
>> I have only one question – why? 
>> Is it really more convenient for everyone to save files in Dropbox using 
>> crutches, constantly losing changes between devices and merging conflicts? 
>>
>> Are these some kind of ideological reasons?
>>
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9d088608-b5c3-4fba-8ff7-ba9d68fa305bn%40googlegroups.com.


Re: [tw5] How to make a tree structure of the notes?

2021-06-30 Thread Jan Johannpeter
Hi imleg,
as a first approach you could use Saq`s streams-plugin

Am Mi., 30. Juni 2021 um 08:32 Uhr schrieb imleg...@gmail.com <
imlegend...@gmail.com>:

> When I use tiddly I find it is easy to make a small piece of knowledge?
> But I really need to make a tree structure of the notes, because the notes
> I took are too scattered which make it hard to build a summary view of the
> knowledge
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/6c55b7ef-08fa-40e9-9c10-8d8c20e64a3fn%40googlegroups.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CALdpFy2F1t-MAfcF_AYXj0bPdqSiS8OPG4%2B0cjmWrdT69rz2%3DQ%40mail.gmail.com.


Re: [tw5] NoteTaking in Streams

2021-06-29 Thread Jan Johannpeter
Hi Walt,
I guess you have to install Saq's brandnew version 0.2.19 of  his plugin.
He programmed a hook to make the bottom-buttons appear because they are
tagged.

As for the requested sensor for the indent level I am sorry to admit that I
have no idea how to build this.

Cheers Jan

Am Di., 29. Juni 2021 um 20:45 Uhr schrieb ludwa6 :

> Thanks, Saq: I deleted the stream-row-template object, and now -tho i
> still don't see any new button at bottom of stream, i find that, by
> clicking on the bullet that appears at top left of a stream w/ nested
> nodes, it opens up the UI on this modal, which delivers what's promised
> -and more!
>
> @Jan: Thanks a heap for this update; it adds real utility to the app for
> me!  A nice bonus (maybe it was also in earlier version/ demo, and i didn't
> notice) is that pulldown option in the modal UI  to select either bulleted
> or numbered list, as alternative to the paragraph-formatted option.
> What could add even more value to this feature would be to have the number
> of bullets or hashmarks correspond to the indent level;  that would
> preserve the essential function of "flattening" the many nodes into a
> single text block, while also yielding text in format that TW could
> interpret and render with treelike indentation, as an option.  (there's my
> €0.02 of user feedback, fwiw! :-)
>
> /walt
>
>
> On Tuesday, June 29, 2021 at 6:39:28 PM UTC+1 saq.i...@gmail.com wrote:
>
>> @walt
>>
>> For the flatten capability you only need the tiddlers numbered 1-5
>> In particular I would advise caution against using the
>> stream-row-template override.
>>
>> If you drag and drop and import those 5 tiddlers, the flatten button will
>> turn up at the bottom of the stream as long as the stream has some nodes.
>>
>> On Tuesday, June 29, 2021 at 7:16:58 PM UTC+2 ludwa6 wrote:
>>
>>> Hey @Jan: Great to hear!
>>> So following these instructions <https://szen.io/stream/>, i have
>>> installed everything on that page below the Streams and Relink plugins
>>> (which i already have) -everything but the German language thingy.  That is
>>> to say: additional tiddlers numbered 1-5, plus stream-row-template, the two
>>> things under "A button to show the keyboard shortcuts," plus the
>>> MobileTweaks... But for all that, i cannot get any new button to reveal,
>>> nor does alt+f do anything useful ( on my mac, it enters the ƒ character).
>>> Of course i've saved, refreshed, tried in different browsers, etc.
>>> Any idea what i might have got wrong, or what else must i do, to get
>>> this add on working?
>>>
>>> /walt
>>>
>>>
>>> On Tuesday, June 29, 2021 at 12:42:47 PM UTC+1 Jan wrote:
>>>
>>>> Hi Walt, I am happy to announce that the streams to text is finally
>>>> updated: https://szen.io/stream/ . Thanks to Saq who has gently helped
>>>> me and provided hooks within the plugin, that make it fun tinkering with
>>>> the plugin, this version should be more future-proof than the last ones
>>>> .
>>>> As always: Backup before using it to recompress the ideas, you
>>>> collected with streams.
>>>>
>>>> Enjoy,
>>>> Jan
>>>>
>>> ...
>>>
>> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/82b32b60-8ecb-4532-a9dc-cf371ee8d095n%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/82b32b60-8ecb-4532-a9dc-cf371ee8d095n%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CALdpFy2HLi2TX64Vq7xXjvQQ3K3spiU-ZUsaBJDg5ui3ibRTRg%40mail.gmail.com.


Re: [tw5] NoteTaking in Streams

2021-06-29 Thread Jan Johannpeter
Hi Walt, I am happy to announce that the streams to text is finally
updated: https://szen.io/stream/ . Thanks to Saq who has gently helped me
and provided hooks within the plugin, that make it fun tinkering with the
plugin, this version should be more future-proof than the last ones
.
As always: Backup before using it to recompress the ideas, you collected
with streams.

Enjoy,
Jan



Am Do., 24. Juni 2021 um 15:22 Uhr schrieb ludwa6 :

> Picking up where this earlier thread
> <https://groups.google.com/g/tiddlywiki/c/vlAZ_K4K63o> left off, i am
> following Saq's advice
> <https://groups.google.com/g/tiddlywiki/c/vlAZ_K4K63o/m/9lO63cZEAQAJ> to
> start another conversation on the more specific question of HOW best to use
> -and perhaps adapt- the Streams plugin, to make TW into a great tool for
> not only "intertwingly" NoteTaking (which it certainly is), but also great
> for agile NoteTaking, as defined in aforementioned thread.
>
> Having just installed the plugin (Streams 0.2.18) in my TiddlyDesktop
> instance, i am already fairly drunk on the power of having what feels like
> a full-fledged outliner *within* a tiddler, where i can bang out a stream
> of bullet points, promote & demote, indent & outdent, etc... All as fast as
> i can type the keystrokes, or drag on mobile.
>
> But then: the result is a slew of tiddlers with long numeric IDs that, tho
> nicely presented in the edit window as a clean hierarchal outline, cannot
> be either flattened into a single tiddler, nor exported or even copy/pasted
> into the tiddler body via any built-in affordance.  I've been going the
> copy/paste way so far, but it's a hard road to travel, given any
> significant length and/or complexity to your outline.
>
> Now: plugin author Saq said essentially
> <https://groups.google.com/g/tiddlywiki/c/vlAZ_K4K63o/m/9lO63cZEAQAJ>
> that the only reason he hasn't built in any such affordance is that he
> doesn't know what users want: a simple concatenation of the stream? a
> hierarchial structure in some form?
>
> For me, the best (and simplest?) solution would be to convert the stream
> to Markdown: each node being just a line of text preceded by a number of
> asterisks (1->any) to reflect its level in the hierarchy.  This could be
> interpreted & displayed correctly in any tiddler that is formatted
> Markdown; TW has affordances for this -as does Github (.md is default
> format of ReadMe files there) and most web publishing & word processing
> apps you can find these days.  Indeed, Saq indicated
> <https://groups.google.com/g/tiddlywiki/c/vlAZ_K4K63o/m/BF2bQzugAAAJ>
> that a  .md<->.tid converter would be no big deal (for him, at least :-) to
> create; this would enable not only "flattening" of a Stream in such manner,
> but also importing a .md file as presentable tiddler content.  Now THAT
> would be cool, IMHO... But that's just me, so far.
>
> SO this is to ask all of you with any experience of Streams plugin: Can
> you relate to the need i am expressing?  Or have you found a good way
> "flatten" your streams, and integrate your Streams content properly into a
> TW instance?  If so, anything you might care to share in terms of workflow
> and/or code would be most appreciated.
>
> NB: I did learn in the course of that earlier thread about this 
> Streams-to-text
> solution <https://szen.io/stream/> (thanks @Si for the pointer), but Saq
> warned
> <https://groups.google.com/g/tiddlywiki/c/vlAZ_K4K63o/m/yXLAGwBIAQAJ>
> that the plugin (actually a microAddOn/Mod, according to author Jan) is not
> compatible with current version of Streams as it stands, though he believes
> that Jan is working on it.  So i'm holding off on installing that for now,
> but would love to hear any news or user reports about that.
>
> /walt
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/2485302e-c5a4-4b3d-a9d8-46a367a2c65cn%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/2485302e-c5a4-4b3d-a9d8-46a367a2c65cn%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CALdpFy3ZT37i31OL3Z%2BEhgtrP9%2Bf32LNePHvfH6uUkwz_-qRxQ%40mail.gmail.com.


Re: [tw5] [Plugin] Presenting TW5-Uglify! Plugin compression the TiddlyWIki way!

2021-06-19 Thread Jan Johannpeter
Hi Flibbles,
I think a publish filter is a good idea, I wanted to do that for years with
Mat's publish-plugin but lost it out of sight. What is the best tool to do
this right now?
It would be interesting to combine this with your plugin to have the
maximum reduction.

Best wishes Jan

Am Sa., 19. Juni 2021 um 01:21 Uhr schrieb Flibbles <
challenged.real...@gmail.com>:

> Hey Jan,
>
> I'm glad Uglify works well for you. To answer your questions
>
>
>1. Removing overridden core Tiddlers could reduce the code size
>somewhat, but I'm not sure how often that use case would come up. Even in
>my beastly TiddlyWiki projects, my overridden tiddlers don't make up very
>much space, particularly since I (and most people I'd think) only override
>smallish tiddlers. If it's something larger, a monkey-patch injection is
>used more often. Meanwhile, removing those overridden shadows could lead to
>a whole slew of nasty bugs if someone A) Removed the override down the
>line, or B) Tried to export their project into any form other than exactly
>what it is.
>2. Temporarily removing deactivated plugins seems out of scope for a
>content compression plugin (But just by a little. It compresses plugins.
>Removing them is a different job), and it's probably best done by the user.
>If they are serving versions of a tiddler where they want certain plugins
>excluded, they'd could use the publishFilter. A slightly elaborate
>tiddly-filter could exclude all deactivated plugins.
>
>
> Hope this helps!
> -Flibbles
>
> On Friday, June 18, 2021 at 6:45:03 PM UTC-4 Jan wrote:
>
>> Hi Flibbles,
>> great idea! My wikis tended to grow recently this seems to be a great
>> remedy.
>> Some Questions: Could it also remove
>> - overridden core Tiddlers
>> - temporarily deactivated plugins and inactive themes
>> from the version which is served?
>>
>> Best wishes Jan
>>
>> Am Di., 19. Jan. 2021 um 21:26 Uhr schrieb Flibbles <
>> challenge...@gmail.com>:
>>
>>> Some people want a minified version of the TW5 core, but it'd be too
>>> much work to maintain.
>>> Some people think it should remain uncompressed for the sake of editors,
>>> but TW5 continues to grow by the day.
>>> Some developers compress their plugins, making efficient code, but it's
>>> a pain for anyone debugging it.
>>> Some developers leave their plugins uncompressed, but that means it's
>>> larger than necessary for 90% of all end-users.
>>>
>>> Now there's a solution for everybody: TW5-uglify.
>>>
>>> This is a plugin primarily designed to be used by a Node.JS server. Your
>>> server has access to all your uncompressed and unpacked plugins, which is
>>> fine, since servers have the speed and memory for it. But what it sends to
>>> browsers are fully compressed plugins. Your little smart phones and tablets
>>> get the efficient TW5 they deserve.
>>>
>>> Or maybe you're a plugin developer who wants to minify their code. Now
>>> you no longer have to resort to using npm-gulp like some kind of chump.
>>> Your build process can remain an entirely TiddlyWiki process.
>>>
>>> Or maybe you want to miniify your standalone TiddlyWiki file. You can,
>>> but... think hard about this before you do it. Because unlike with
>>> TW5-Uglified server, compressing your standalone files is a one-way
>>> process. You'll forever have compressed code unless you download a new
>>> Tiddlywiki, redownload all your plugins, and transfer all your tiddlers
>>> from your old file. But hey! Maybe you're running TiddlyWiki on your 2000
>>> era Nokia phone in an wifi wasteland. Then go ahead.
>>>
>>> Check it out.
>>> Here's the demo site. <https://flibbles.github.io/tw5-uglify/>
>>> And here's the github page <https://github.com/flibbles/tw5-uglify>.
>>>
>>> Let me know what you all think.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to tiddlywiki+...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/tiddlywiki/2ce6fad2-8600-4c73-940c-515548e49c1en%40googlegroups.com
>>> <https://groups.google.com/d/msgid/tiddlywiki/2ce6fad2-8600-4c73-940c-515548e49c1en%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
> You received this me

Re: [tw5] [Plugin] Presenting TW5-Uglify! Plugin compression the TiddlyWIki way!

2021-06-18 Thread Jan Johannpeter
Hi Flibbles,
great idea! My wikis tended to grow recently this seems to be a great
remedy.
Some Questions: Could it also remove
- overridden core Tiddlers
- temporarily deactivated plugins and inactive themes
from the version which is served?

Best wishes Jan

Am Di., 19. Jan. 2021 um 21:26 Uhr schrieb Flibbles <
challenged.real...@gmail.com>:

> Some people want a minified version of the TW5 core, but it'd be too much
> work to maintain.
> Some people think it should remain uncompressed for the sake of editors,
> but TW5 continues to grow by the day.
> Some developers compress their plugins, making efficient code, but it's a
> pain for anyone debugging it.
> Some developers leave their plugins uncompressed, but that means it's
> larger than necessary for 90% of all end-users.
>
> Now there's a solution for everybody: TW5-uglify.
>
> This is a plugin primarily designed to be used by a Node.JS server. Your
> server has access to all your uncompressed and unpacked plugins, which is
> fine, since servers have the speed and memory for it. But what it sends to
> browsers are fully compressed plugins. Your little smart phones and tablets
> get the efficient TW5 they deserve.
>
> Or maybe you're a plugin developer who wants to minify their code. Now you
> no longer have to resort to using npm-gulp like some kind of chump. Your
> build process can remain an entirely TiddlyWiki process.
>
> Or maybe you want to miniify your standalone TiddlyWiki file. You can,
> but... think hard about this before you do it. Because unlike with
> TW5-Uglified server, compressing your standalone files is a one-way
> process. You'll forever have compressed code unless you download a new
> Tiddlywiki, redownload all your plugins, and transfer all your tiddlers
> from your old file. But hey! Maybe you're running TiddlyWiki on your 2000
> era Nokia phone in an wifi wasteland. Then go ahead.
>
> Check it out.
> Here's the demo site. <https://flibbles.github.io/tw5-uglify/>
> And here's the github page <https://github.com/flibbles/tw5-uglify>.
>
> Let me know what you all think.
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/2ce6fad2-8600-4c73-940c-515548e49c1en%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/2ce6fad2-8600-4c73-940c-515548e49c1en%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CALdpFy2dNGKbe%3DYYxtK9Bii%3D5zL6NOdj%2BjerM4GEJm-3K%2Bj7cg%40mail.gmail.com.


Re: [tw5] vis.js Timeline time format

2021-05-24 Thread Jan Johannpeter
Hi,
if you are not using the TW custom format for dates you have to set a
parameter to define it.
And I do not know what the plugin does with blank spaces like in your
format.

Cheers Jan

Am So., 23. Mai 2021 um 23:38 Uhr schrieb paulgilbert2000 <
mohamedmaghr...@hotmail.com>:

>
> Hi ,
>
> i am starting to learn how to use vis.js <http://visjs.org> Timeline
> http://kixam.github.io/TW5-visjsTimeline/
>
> i got everything installed , i am using custom date fields instead of
> Created/modified
>
> i am struggling with the date format i should be using in the customer
> fields, does any one know the correct format to be used ?
>
> I am using -MM-DD hh:mm
>
> but none of the values i am putting are interpreted correctly on the
> visual time line
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/e0a63c2c-bd78-43bc-b3c1-e9d7a4997ccdn%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/e0a63c2c-bd78-43bc-b3c1-e9d7a4997ccdn%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CALdpFy0K5goTBqJJa_yJNEbVObaO0h9ro6DY2j%3DQONOOYYTKzQ%40mail.gmail.com.


Re: [tw5] Fetching tiddlers from one wiki to another

2021-04-22 Thread Jan Johannpeter

Hi Saq,
I think that your plugin is great for educational scenarios - and there 
CORS won't be a problem because as student's  and teacher's wikis are 
likely to be hosted in the same domain.

I found the $filter in the widget - thanks for the hint.

I would like to build / use a set of wikis where
-the teacher (me) has a wiki has a wiki which is serving material and 
tasks.
-the students work on the tasks an build a portfolio doing this. There 
your plugin would be great to import the tiddlers with the current 
material
-the teacher has a anotherwiki to automatically collect the tiddlers 
marked to be sent in as solved tasks. (Again your plugin could be very 
usefull.)
(What is still missing in my thought is an easy way for the sutdents to 
interact in this construction)


So thanks for helping me with your valuable tool.
Jan






I found the way to implement a filter which is 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/JYHYRQ.LHYJLLEJQS1K%40gmail.com.


Re: [tw5] Mentat

2021-04-18 Thread Jan Johannpeter

Hi Ray,
I recall that the Tiddlers have to be tagged to behave in the mentat or 
volant mode.


Cheers
Jan





Am Sa, 17. Apr, 2021 um 3:29 VORMITTAGS schrieb Ray Vermey 
:

Hi,

i installed the great looking all the Mentat plugins and it looks 
really nice.

I drag and resize, works nice!
But when i create a new Tiddler it is shown behind the tiddlers on 
screen.

Is that on purpose?
I must close all the other tiddlers to reach the new one.
Am i using the wrong workflow here??

Also the red Engine button is hidden under the Google Drive button...
That is a bit annoying... is a placement option for 1 of the 2 
possible?


Also when i edit a tiddler the top of it is underneath the Topbar of 
Mentat.

That makes it a bit difficult to close..

I feel i use it the wrong way, can someone tell me how i can make the 
best use

of it?

Thanks

Ray
 --
 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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
 To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c6144b7c-2f43-4f62-ba89-a2f139523b45n%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/c6144b7c-2f43-4f62-ba89-a2f139523b45n%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/X4YRRQ.7SK8QTAGO7ZW1%40gmail.com.


Re: [tw5] Fetching tiddlers from one wiki to another

2021-04-17 Thread Jan Johannpeter

Hi Saq,
thank you very much for this widget! This is a great help, I have 
looked for something like this for a long time.
This is a very important puzzlepiece to use TW as an interactive 
Learning Management System.
For this usecase it is great that it has a silent mode, which makes it 
mor unobstrusive than the fetch-function of Twederation.

For the interactity of an LMS I would love three other features:

-Can it handle filters to import only certain tiddlers? So far I could 
not see how to implement them in the action-widget.
-It would be great if it could tag them imported tiddlers like "temp" 
or "imported"
-It would be very important to have an "Overwrite Filter" determining 
which tiddlers can be overwritten by the imported tiddlers. (For 
example al those whose modifier is not the current user).


Best wishes  and nany thanks for this great improvement!
Jan





Am So, 4. Apr, 2021 um 10:49 VORMITTAGS schrieb Saq Imtiaz 
:

Hi Jeremy,

A little background: I have a couple of ideas in mind for projects to 
do with education with some of the organizations I work with, for 
which I am considering TiddlyWiki. One of them would be very similar 
to the syncing educator and student notebooks project that was based 
on TiddlyWiki classic over 10 years ago. The other involves providing 
a sandbox for exploration and developing skills to do with using and 
potentially creating/customizing digital tools to aid one's own 
learning. While TiddlyWiki sounds like a good fit, it will also be 
essential that it is hard for the students to break the tool itself.


Both projects, if they proceed, will entail quite a bit of custom 
coding to get the user experience just right, so as a first step I 
wanted to understand what was possible today in terms of browser 
restrictions and loading content dynamically in TW5. As mentioned in 
my original post, I realize the use case for this particular 
prototype is very narrow. However I find that sharing ideas and 
prototypes is rarely a bad idea as it can often inspire other ideas 
in the community, so I try my best to do so whenever possible.


Those restrictions still exist. For example, the XMLHttpRequest 
approach described here generally won’t work from a file: URI, 
which was a major design goal for the plugin library and Twederation.


That's interesting as I've found it to work without problems to fetch 
content into a local file wiki as long as the remote content is 
served with the correct CORS headers (and the request is made without 
the X-Requested-With header). Or do you mean when the remote content 
is also accessed via a file: URI ? I have not tested that scenario.


Hosting all the wikis with CORS support is an easy requirement to 
satisfy for the projects I have in mind.


It’s definitely time we explored dynamic content loading via 
XMLHttpRequest in more detail. The constraints get less onerous as 
we gain better HTTP/HTTPS solutions.


Agreed. I quite miss the possibilities offered by the quite rich 
ecosystem of adaptors that we had in TiddlyWiki Classic and even the 
sync mechanism, despite all the clunkiness inherent in the design and 
the later difficulties imposed by greater browser restrictions.


Regards,
Saq
 --
 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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
 To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7ea4cca2-c07a-486d-a60c-b59c9838c0bdn%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/7ea4cca2-c07a-486d-a60c-b59c9838c0bdn%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/UMOPRQ.4ES1X6YF4FAM%40gmail.com.


[tw5] Presenting a new version of the stream to text addon

2021-03-08 Thread Jan Johannpeter

Hello friends of Saqs innovative writing Plugin Streams.

Streams helps to develop texts in a sort of brainstorm mode. To do 
this, it creates a lot of tiddlers for each paragraph.


I finally managed to update my mod/addon to this plugin, which helps to 
convert this Stream to a single Tiddler.


Tiddlers.<https://szen.io/stream/>

Enjoy!

Jan


This is an addon <https://szen.io/stream/#Stream%20Mod> to Saq's 
stream-plugin


*The URL*
*<https://saqimtiaz.github.io/sq-tw/streams.html>*

*Saq has written an ingenious flexible editor which allows to order 
your thoughts by writing in lists which can be rearranged using 
Keyboard Shortcuts <https://szen.io/stream/#Keyboard%20Shortcuts> and 
drag and drop.*


It does this by creating quite a lot of Tiddlers...which makes the 
result a little complicated to export and to search


This microaddon/Mod allows to join the branches or the whole 
treestructure to a single Tiddler when you have finished .


It mainly adds a modal in which you can...

flatten the whole stream or nodes of the stream.

and rename the Node

you trigger it...

by typing alt+f for flatten while you are in the writingmode of the 
node you want to flatten.


or with the opacity button below

(which shall imply "join")

You can try it right in this wiki.

it is a bit wierd because...

it inserts multiple linebreaks to keep the structure

I tried to make it with very few tiddlers, so the code may appear 
somewhat strange


To use it:

You can choose between ordered and unordered lists and paragraphs.

So if you want to transform your stream to a special structure start at 
the twigs an go back to the trunk.


All tiddlers that follow the generic naming-pattern ( and have "/20" in 
the title )will be deleted when flattening branches.


So if you want to keep the content in a seperate tiddler rename it 
first.


The installation is explained here:Stream Mod 
<https://szen.io/stream/#Stream%20Mod>


Big thanks to Saq for inventing this helpfull tool.
Go to <https://saqimtiaz.github.io/streams/> to learn how his original 
Plugin works.


*New feature: custom titles*
A new feature of this mod is, that custom titles ( traced by the 
absence of "/" ) are now displayed as headers in the stream.



--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1DDNPQ.I10YNEQS5EU53%40gmail.com.


Re: [tw5] TW5: Paywall plugin

2021-02-15 Thread Jan Johannpeter

Hi,
DanielO has made an EncryptTiddler Plugin, which also can Batch encrypt 
all encrpted Tiddlers.

Perhaps this could point a way.
Another way could be to use external Tiddlers which rely on external 
Tids that are behind a paywall.
But I thing you will have to do some Coding to make this work in a way 
that makes this an easy to perform action for the customers of your 
client.


Yours

Am Mo, 15. Feb, 2021 um 3:15 NACHMITTAGS schrieb Dr. Bob Jansen 
:
Anyone know of a paywall plugin for TW5? I have an interested 
potential client but he wants a paywall feature around parts of the 
wiki.


bobj

--

Dr Bob Jansen
122 Cameron St, Rockdale NSW 2216, Australia
Ph (Korea): +82 10-4494-0328
Ph (Australia) +61 414 297 448
Resume: 
Skype: bobjtls
KakaoTalk: bobjtls
http://cultconv.com 

In line with the Australian anti-spam legislation, if you wish to 
receive no further email from me, please send me an email with the 
subject "No Spam"


--
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 view this discussion on the web visit 
.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6DNKOQ.L4XAAO9OIEXW1%40gmail.com.


Re: [tw5] Re: Using TW on a server with node ... but without terminal.

2021-01-28 Thread Jan Johannpeter
Hi Jed,
thanks for your answer, I tried test it, but since yesterday evening I am
also caught in a medium hardware desaster, which slows me down a lot.
*Would deploying TW like that also work for your BOB-Server?*

Best Wishes Jan


Am Mi., 27. Jan. 2021 um 13:48 Uhr schrieb Jed Carty :

> This should be possible, but you would need to write a quick app.js file.
>
> Note that I haven't tested this, but I have done almost the same thing for
> the secure server setup I made.
>
> Put the TiddlyWiki5 folder on your server, then your app.js file next to
> that folder. In the app.js file put:
>
>
> $tw = require("./TiddlyWiki5/boot/boot.js").TiddlyWiki()
> const args = ['/path/to/wiki', '--listen']
> $tw.boot.argv = args
> $tw.boot.boot()
>
> then that should give you the same result as if you has terminal access
> and typed
>
> node ./TiddlyWiki5/tiddlywiki.js /path/to/wiki --listen
>
> so change /path/to/wiki to the path to the wiki you want and if you want
> to pass any more arguments to the listen command add them to the args array
> in the order you want them.
>
> Remember that unless you add the credentials argument this has no access
> controls unless your server provides them separately.
>
> https://tiddlywiki.com/#ListenCommand
>
> On Tuesday, January 26, 2021 at 10:33:52 PM UTC+1 Jan wrote:
>
>> Hi,
>> I would like to use a node installation of tw, but my internet-host does
>> not allow me to use the terminal.
>> I only can upload files via ftp and point node.js to an app.js
>> Are there any implementations for such a scenario?
>>
>> Best wishes
>> Jan
>>
>>
>> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/53636f7e-b79a-48dd-864d-63d17539b115n%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/53636f7e-b79a-48dd-864d-63d17539b115n%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CALdpFy066D9PnHqa3TGxmffkKch_WrCUtG7XcrXTuxmcdw%40mail.gmail.com.


[tw5] Using TW on a server with node ... but without terminal.

2021-01-26 Thread Jan

Hi,
I would like to use a node installation of tw, but my internet-host does 
not allow me to use the terminal.

I only can upload files via ftp and point node.js to an app.js
Are there any implementations for such a scenario?

Best wishes
Jan


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/60108973.4010601%40googlemail.com.


Re: [tw5] Re: Integrating tiddlywiki into LearningManagementSystems: OAuth- / OpenID-Connect-Server

2021-01-26 Thread Jan

Hi Saq, Hi all
thank you for pointing me to this, it took me some time to digest the 
new knowledge.
Booth solutions need a node installation ... and becaus my internet-host 
has a little wierd implementation of node (without terminal) i am still 
fighting to get node to work.
https://github.com/kunxi/tw5-auth  seems more versatile but I have to 
admit so far this is beyond my abilites.


For educational use-cases would be perfect to have a mechanism like that 
integrated in either Arlen's or Jed's readymade-server solution.
Jed already seems to have some mechanism 
https://github.com/OokTech/TW5-Login


So thanks I will keep to this but for me it might take some time to find 
out how this could work...


Best wishes Jan








Am 16.01.2021 um 22:22 schrieb Saq Imtiaz:
This might be of 
interest: https://www.reddit.com/r/TiddlyWiki5/comments/jzbmsy/success_oauth_google_signin_authentication_for_my/


On Saturday, January 16, 2021 at 1:12:07 PM UTC+1 Jan wrote:

Hello Community.

I think it, would be a great expasion of the possible usecases of
tw if we could integrate it into LearningManagementSystems.
_*And it really could make LearningManagementSystems a better place.*_
I think OAuth   and OpenID-Connect could be a Key to this.
*The first step would be to build a saving mechanism using either*...

https://en.wikipedia.org/wiki/OAuth
https://en.wikipedia.org/wiki/OpenID_Connect

*_I really would love this because _*_*it really could make
LearningManagementSystems a better place.*_

Best Wishes Jan

--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/575a48fb-4038-4d2e-8e99-af842e4c341fn%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/575a48fb-4038-4d2e-8e99-af842e4c341fn%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/60108274.7000804%40googlemail.com.


[tw5] Re: Integrating tiddlywiki into LearningManagementSystems: OAuth- / OpenID-Connect-Server

2021-01-16 Thread Jan

Hi TT,
just like me! I learned theese words some months ago and I am convinced 
that this could be something truely important for TW, I am always happy 
to see you highlighting a thread!


Hi Mohamed,
Single-Sign-on alas is very specific, I could not really understand what 
mechanism is used there. My goal today would be to integrate TW into a 
plattform called IServ.eu which is used in many german schools. In the 
long run it would be great to use it in Moodle. If you once worked with 
TW the Moodle-Wiki is no fun. Moodle allows user specific sign-on to 
etherpads...which also depend on node.js.

Perhaps I should have a look there.

Best wishes Jan



Am 16.01.2021 um 14:58 schrieb TiddlyTweeter:

Ciao Jan

Nice query! Being able use *OAuth*   and *OpenID *to connect is a 
great aim.


I believe Jed did some work and may have some thoughts on the issue?

Also Joshua Fotnany!

I am simply commenting I'd like to understand how to do it myself. 
Lots of online systems use it (e.g. Twitter) so better understanding 
it would be great!


Best wishes
TT

On Saturday, 16 January 2021 at 13:12:07 UTC+1 Jan wrote:

Hello Community.

I think it, would be a great expasion of the possible usecases of
tw if we could integrate it into LearningManagementSystems.
_*And it really could make LearningManagementSystems a better place.*_
I think OAuth   and OpenID-Connect could be a Key to this.
*The first step would be to build a saving mechanism using either*...

https://en.wikipedia.org/wiki/OAuth
https://en.wikipedia.org/wiki/OpenID_Connect

*_I really would love this because _*_*it really could make
LearningManagementSystems a better place.*_

Best Wishes Jan

--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5bb27299-4e52-41db-b00b-5c2f9330e7a2n%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/5bb27299-4e52-41db-b00b-5c2f9330e7a2n%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/60035920.9050007%40googlemail.com.


[tw5] Integrating tiddlywiki into LearningManagementSystems: OAuth- / OpenID-Connect-Server

2021-01-16 Thread Jan

Hello Community.

I think it, would be a great expasion of the possible usecases of tw if 
we could integrate it into LearningManagementSystems.

_*And it really could make LearningManagementSystems a better place.*_
I think OAuth   and OpenID-Connect could be a Key to this.
*The first step would be to build a saving mechanism using either*...

https://en.wikipedia.org/wiki/OAuth
https://en.wikipedia.org/wiki/OpenID_Connect

*_I really would love this because _*_*it really could make 
LearningManagementSystems a better place.*_


Best Wishes Jan

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6002D6CC.2020009%40googlemail.com.


Re: [tw5] Release: Muuri StoryView v0.2.0

2021-01-03 Thread Jan

Ahoi Simon!

The Kanban will come as a separate plugin the next days or so


That is a good idea! I just started puzzeling what is needed to get this 
to work... I guess I will wait then.


Two tiny ideas:
-It would be good if the PageControls-Icons would automatically 
dissappear when the muuri-view is not active.
-Otherwise the switch for the number of collummns could be used to 
activate muuri at the first click if it had not been active before.


Best wishes Jan



>I wanted to create a git hub account for some time...now you got my 
first star ever ;-)


Then I say thank you for the star!

Simon

Jan schrieb am Sonntag, 3. Januar 2021 um 12:04:44 UTC+1:

Hey Simon,
A gorgeous KanBan-Design.
I wanted to create a git hub account for some time...now you got
my first star ever ;-)

    Jan


Am 01.01.2021 um 21:01 schrieb BurningTreeC:

I hereby announce the release of the *Muuri StoryView* plugin
version 0.2.0

The Demo page with installation instructions can be found at:

https://burningtreec.github.io/tiddlywiki-muuri

The GitHub repository is located at
https://github.com/BurningTreeC/tiddlywiki-muuri


For issues please consider leaving me an issue over at GitHub or
here in this Google Groups thread

If you have questions about the usage or ideas for the next
release please leave me a comment here

I hope someone finds this plugin useful,
best wishes,
BTC
-- 
You received this message because you are subscribed to the

Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit

https://groups.google.com/d/msgid/tiddlywiki/57f5c569-c35d-4ab5-876f-0ec51106638fn%40googlegroups.com

<https://groups.google.com/d/msgid/tiddlywiki/57f5c569-c35d-4ab5-876f-0ec51106638fn%40googlegroups.com?utm_medium=email_source=footer>.


--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7ef03bda-8c24-4455-bc8a-3e5d69a5c09cn%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/7ef03bda-8c24-4455-bc8a-3e5d69a5c09cn%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5FF1AAD5.1080802%40googlemail.com.


Re: [tw5] Release: Muuri StoryView v0.2.0

2021-01-03 Thread Jan

Hey Simon,
A gorgeous KanBan-Design.
I wanted to create a git hub account for some time...now you got my 
first star ever ;-)


Jan

Am 01.01.2021 um 21:01 schrieb BurningTreeC:
I hereby announce the release of the *Muuri StoryView* plugin version 
0.2.0


The Demo page with installation instructions can be found at:

https://burningtreec.github.io/tiddlywiki-muuri

The GitHub repository is located at 
https://github.com/BurningTreeC/tiddlywiki-muuri



For issues please consider leaving me an issue over at GitHub or here 
in this Google Groups thread


If you have questions about the usage or ideas for the next release 
please leave me a comment here


I hope someone finds this plugin useful,
best wishes,
BTC
--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/57f5c569-c35d-4ab5-876f-0ec51106638fn%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/57f5c569-c35d-4ab5-876f-0ec51106638fn%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5FF1A37F.90101%40googlemail.com.


Re: [tw5] Re: OokWiki (Bob + A secure login + wiki and account permissions) as a replacement for TiddlySpot

2020-12-31 Thread Jan

Hi Stobot, Hi Jed,
for the friends of games: I also made a dungeon-like Wiki some time ago.
I comes with an editor you can find going down the page.
It would be a good idea to implement key-navigation, which was difficult 
at the time I did this experiment.


Yours Jan

Am 30.12.2020 um 16:44 schrieb Jed Carty:

Stobot,

I missed a lot of your message before, all my work has been on a 
phone, raspberry pi and a 7 year old laptop, so things are going slow. 
Unfortunately the lack of any help with getting a new computer means 
that this isn't going to change any time soon because I am not going 
to be able to get one myself until work picks up and then I won't have 
much time to devote to this.


The problem with typing too quickly in when changing a tiddler 
directly in Bob, like changing the site title, shouldn't be a problem 
with more recent versions of Bob. I don't remember which version that 
fix was introduced in.
I like the ideas of games in tiddlywiki, the first large project I did 
with tiddlywiki was an interactive fiction engine in tiddlywiki. It is 
in desperate need of an update, but it is still probably my favourite 
thing that I made. http://zorklike.tiddlyspot.com


On Monday, December 28, 2020 at 4:09:44 PM UTC+1 Jed Carty wrote:

A quick update:
I have a demo up (shh, its a secret but you may be able to guess
the url). I haven't enabled creating accounts yet because there is
still a lot of administrative UI that I need to work out.
It is running on a digital ocean droplet with apache and passenger
handling the bits that they handle.
Once I get the temporary accounts set up I will open that up so
people can play with it a bit.

Stobot,

I don't think that is taking the idea too far, considering that is
one of my big motivations for doing this. I maintained the wiki
reference wiki for a while but it was only me and I got distracted
by other things, so having something community owned where
multiple people can edit and maintain it is one of the prime
motivators.
I have lots of ideas about how to use this to help package and
distribute plugins in a way that allows far more collaboration and
community assistance than is currently available to people who
aren't familiar with GitHub and other coding tools. I want things
like community documentation and translations for plugins when
there is a need, and this could lower the barrier to entry for
contributing by a lot.

On Sunday, December 27, 2020 at 5:59:21 PM UTC+1 Stobot wrote:

Jed,

I don't want to take the idea too far, but if we were going to
have a community-run TiddlySpot-like option available
(OokTech) - I wonder if we could also cover / expand on what
things like TiddlyTools used to be (and I assume still is for
TWC) for the community? The "TiddlyWiki toolmap" in Dynalist
from David, and the "scripts" area that Mohammad maintains are
fantastic and I'm appreciative that someone puts all the
effort into maintaining them. But, most other software has an
unofficial plugin forum or something where all authors can
post to, get feedback on, and users can vote - or we can see
download count - or something else to rank / evaluate them for
newer users that don't spend time every day combing through
Google Groups like us addicts :) Loft goal, but could be a big
step in the maturity of the platform to have something like
this available, and this OokWiki could be the technology that
could finally make that happen.

On Sunday, December 27, 2020 at 6:14:20 AM UTC-5 Yann Moudet
wrote:

Hello,
  we use tiddlywiki + BOB as a knolewdge base for our team.
Our configuration:
 - a linux server with node (LTS versions).
 - oauth2-proxy: for authentication, Reverse-Proxy and SSL
termination.
 - an S3 bucket for storing wiki. (versioning enabled).
 - TiddlyWiki plugins: Bob, Comments and CheckList.
I could provision a demo server with this configuration
and/or lend a server for 6 months as a first lease. For
the second option, I would need a public key and a wished
configuration.
Yann
Le mercredi 23 décembre 2020 à 14:25:38 UTC+1, Stobot a
écrit :

Jed,

I'm very excited to hear that this continues to
develop - thank you! I continue to believe that easy
multi-user is a key pillar to growing TiddlyWiki usage
and adoption overall. As a fan of TiddlyWiki I am
happy to help anyway I can to support it's long-term
health. To that end, I've been going to your
https://github.com/OokTech/TW5-

Re: [tw5] OokWiki (Bob + A secure login + wiki and account permissions) as a replacement for TiddlySpot

2020-12-31 Thread Jan

Hi Jed,
great to hear. My Provider finally supports Node so I wanted to try Bod 
or Arlens Version for some time.

Do you have a demo running somewhere?
All my mechanisms (e.g. for uploads) work which php so I wonder if I 
could combine these things somehow.


I very much appeciate your constant work for the project. Do yo have a 
PayPal Tip Jar as well?


Best wishes and Guten Rutsch
Jan


Am 22.12.2020 um 11:05 schrieb Jed Carty:

Hello all,

The short version: I have a potential replacement for tiddlyspot that 
could be distributed and self-hosted on something small like a digital 
ocean droplet. My computer died and help getting a new one would 
greatly speed up the development and release.
I think that a community managed public server is a good idea, and it 
is designed so that you can create your own private server.


The long version:
I made a server that works with Bob and TiddlyWiki that adds a secure 
token-based login that is appropriate for having a web-facing server. 
I have been working on this periodically for a while, some of you may 
have seen it when I had Ooktech.xyz up. I have been working on it 
periodically for a long time and it is very close to ready for public 
release.


The problem is that an adorable kitten decided that dancing on my 
multiprise was a good idea and after some impressive sparks the 
computer I do my development on is dead. The kitten is fine and acts 
adorably innocent.


The server has all the features of Bob (multiple wikis, everything 
configured from within the wiki itself, support for multiple 
simultaneous users), as well as a secure login using JWT (json web 
tokens). Accounts have granular permissions which can be set, there 
many but here is a quick incomplete description of what you can do, in 
no real order. Server administrators can enable or disable almost all 
of these features if they are not useful for your purposes.


- A simple script to run that sets everything up
- Publicly viewable or private wikis
  - Allow specific people to view or edit a wiki
- If an account owns a wiki they can set permissions on their own wikis
- optional quotas for accounts both in terms of number of wikis and 
storage

- A plugin library built into the server
- Access controls for plugins as well (so plugins can be used to 
distribute content

  without making it public)
- Simple 1-click download for wikis as a single-file without Bob
- profiles/accounts and wikis can be set as private so on one can see them
- Create an account on the server from a wiki
  - update passwords and other account information from inside a wiki
  - accounts can have some 'about me' information, if they want to set it
- Set if an account can create wikis
- namespaces wikis (if I create a wiki called MyWiki it would be 
inmysocks/MyWiki) so

  that there are no naming conflicts
- change ownership of a wiki (give a wiki to someone else)
- inter-wiki federation, like chat and sharing tiddlers between wikis

There are many other details about administrator controls, but those 
are I think the highlights for using the server. Almost all of that is 
implemented, I am in the process of adding usable in-wiki interfaces 
for all of it.
The setup script is only currently for linux and osx, I would need 
someone who is familiar with windows to make that if anyone wants it. 
Hosting online is generally linux so I am not sure how much it would 
be needed.


My plan is to put up a demo site as soon as I can that has limited 
life-time accounts to show the features. You could create an account 
that lasts a day and after the account and wikis with it are removed.


I am not interested in hosting and running this myself, it would be a 
community with community governance supported by donations. I do not 
know the demands that would be put on it, but I don't think that the 
hosting costs would be more than about $100/month.
I would of course continue updating the server, but maintenance and 
operation must be a group effort so we don't get a situation like 
tiddlyspot where we rely on two people who may not be active members 
of the community and we have no way to shift ownership for continued 
operation.


I don't know what interest there is in this, so I am going to gauge 
that from the response to this post. Also, help with getting a 
development computer would speed things up a lot.


A link to the amazon wishilst for the computer components: 
https://www.amazon.fr/hz/wishlist/ls/2WM0S9VV3LJR1?ref_=wl_share


ps:

There are a lot of future features that I am working on, like the 
ability to search multiple wikis from one wiki, inter-server 
federation so you can have your own private server and interact with 
other servers, having a login on one server that lets you access wikis 
on other servers, things like 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

[tw5] A small goodie for the streams-plugin...and a question about the new version of streams

2020-12-30 Thread Jan

Hi Fans of Streams-Plugin.
I made a some Tiddlers which help turning a stream (of consciosness;-) 
back into a tiddler (or tiddlers).

You can find and test it here: https://szen.io/stream/

And I have one question to Sac:
After the update, I realized that insert mechanism seems to have 
changed, so that in my mod (and only there) the new nodes are now 
inserted above the last one .

What happened and what is the smartest way to get this in order.

Cheers! (And "Guten Rutsch" as you say in German on sylvester. Actally 
it derives from jiddish an means "Good Luck")

Jan

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5FECE71C.7060405%40googlemail.com.


Re: [tw5] [Request] Numbered lists need some love

2020-12-29 Thread Jan

Hi Eric,
thanks for this trick,
now preserving the numbering worked for me.

Best wishes Jan




Am 05.12.2020 um 22:11 schrieb Eric Shulman:

On Saturday, December 5, 2020 at 12:25:55 PM UTC-8 Jan wrote:

If I insert something else, like a header or a bullet there is no
way to pick up the numbering.


The trick to preserving the numbering is to wrap the block-mode item 
content inside a ..., like this:


# one
# two
# three

!!header in three

* first bullet in three
* second bullet in three
* third bullet in three

A paragraph within three.

and another paragraph.


# four
# five

see https://tiddlywiki.com/#Lists%20in%20WikiText (scroll to the 
bottom for "Paragraphs in Lists")


-e
--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/36a5b884-0f0b-4c0e-be55-e5f3790e83bfn%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/36a5b884-0f0b-4c0e-be55-e5f3790e83bfn%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5FEB49B9.3010203%40googlemail.com.


Re: [tw5] Showing off: Muuri StoryView 0.2.0 Prerelease

2020-12-22 Thread Jan

Hi Simon,
very beautifull. Great to see how muuri is constantly evolving. The 
handling is very smooth and logical.
It could be an idea to move the Tiddler-controls to a vertical bar and 
to reduce the size of the titles gradually while augmentign the number 
of columns.

Best wishes Jan
Jan

Am 20.12.2020 um 11:45 schrieb BurningTreeC:.


Hi TiddlyWiki folks,

I want to show you my Muuri StoryView plugin version 0.2.0 Prerelease.

It contains various Bugfixes and can overall be considered more stable

New Feature:

  * Drop Actions: actions triggered when dropping an item from one
grid into another grid
  o the actionTiddler and modifier variables are available within
the action-string, containing the title of the dragged item
respectively the modifier keys held while dragging

Missing Feature:

  * A configuration panel. I'm currently overhauling it.

You play with it at https://burningtreec.github.io/tiddlywiki-muuri

On the Demo page there's a Sidebar Grid where you can drop tiddlers 
into. Holding shift while dragging adds a tag to that Tiddler. Holding 
ctrl-shift while dragging shifts the Tiddler to edit mode.


That's just a Demo of what can be built with the Muuri StoryView.

If we think about it - having a Muuri StoryView in the main river on 
the left and having one or two Grids in the SideBar with some defined 
dropActions makes the whole TiddlyWiki a Kanban on steroids :)



As always, I'm open for critics and ideas, just leave me a post

all the best, BTC
--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8454e0f9-79b9-4954-a38d-c33fc8fb4008n%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/8454e0f9-79b9-4954-a38d-c33fc8fb4008n%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5FE1B723.2010004%40googlemail.com.


Re: [tw5] customize order of tag display

2020-12-14 Thread Jan

Hi Eric,
very usefull idea. It would be practical to have this in the core bey 
default, together with a filter which tags to exclude.

Best wishes Jan

Am 14.12.2020 um 07:56 schrieb Eric Shulman:

Hi all,

Recently, someone asked me if it is possible to apply a custom order 
to the tags that are displayed on a tiddler, and I came up with a 
one-line adjustment to the tags ViewTemplate that achieves this:


edit the $:/core/ui/ViewTemplate/tags shadow tiddler and change this line:
<$list 
filter="[all[current]tags[]sort[title]]" 
template="$:/core/ui/TagTemplate" storyview="pop"/>

to this:
<$list 
filter="[all[current]tags[]sort[title]sortby{$:/config/TagsOrder}]" 
template="$:/core/ui/TagTemplate" storyview="pop"/>


The only change is adding "*sortby{$:/config/TagsOrder}*" to the $list 
filter.


Then, you can enter tag names into $:/config/TagsOrder, and the 
display of tags in the ViewTemplate will show those tags in the order 
specified.


Note that any tags not included in the config tiddler will be listed 
first, in the default alphanumeric order.  Thus, if the config is 
empty or non-existent, the current TWCore default behavior is retained.


Also, if there are a lot of tags to be listed, you can auto-generate 
the initial contents of $:/config/TagsOrder by using the following 
$button:


<$vars lf="
">
<$set name="taglist" filter="[tags[]trim[]sort[]addsuffixjoin[]]">
<$button> make initial ~TagsOrder
   <$action-setfield $tiddler="$:/config/TagsOrder" text=<> />

(note that the literal newline following lf=" is important)

This outputs all the current tags, one per line, into the text field 
of $:/config/TagsOrder.  You can then edit the tiddler to 
add/delete/re-arrange the tags to suit your needs.


enjoy,
-e
T


--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bedfadea-df81-468b-b852-5e638374671en%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/bedfadea-df81-468b-b852-5e638374671en%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5FD7FAB8.101%40googlemail.com.


[tw5] Compress JSON with JSONCRUSH

2020-12-14 Thread Jan

Hi Tiddlywikians.
I just encountered the a library which can verry efficiently reduce the 
size of JSON files.


https://github.com/KilledByAPixel/JSONCrush

So far I do not have a TW-usecase for this. But I want to share it with 
you because maybe someone else can build something with that.


Best wishes Jan

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5FD7885F.204%40googlemail.com.


Re: [tw5] Creating a gallery of images in a directory

2020-12-13 Thread Jan

Hi Antony,
Unless you work with node.js you will need a php-backend for this, 
because your wiki does not know the structures on your server.

Best wishes Jan






Am 13.12.2020 um 16:32 schrieb Anthony:

Colleagues,

I'm interested in creating a gallery of images in a tiddler from all 
the files in a particular folder - i.e. without knowing beforehand 
filenames or the number of files. I've searched this group and 
https://tiddlywiki.com/ but haven't found anything that addresses this 
(but maybe my search terms have been inappropriate). However, I also 
have a feeling there may be security and/or rights issues with this so 
I'm expecting this isn't possible.


Many thanks in advance for any more knowledgable insights,

Anthony

--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a1b3b0d1-8650-4069-b79c-2382c311c711n%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/a1b3b0d1-8650-4069-b79c-2382c311c711n%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5FD67833.5080101%40googlemail.com.


Re: [tw5] Re: How to print the permaview

2020-12-12 Thread Jan

Hi Saq, hi Tones!
Saq your solution works great!
Sorry for not answering earlier...I could not get it to work at first 
because the join-opperator needed a newer version.

Having updated I can report success.
It is a button to call a modal with a QR code linking to the current 
Tiddler ... and after clicking the blue button to the entire story.


http://szen.io/tools/#%24%3A%2Fplugins%2FJJ%2FQR%2FShowlinkModal:%24%3A%2Fplugins%2FJJ%2FQR%2FShowlinkButton%20%24%3A%2Fplugins%2FJJ%2FQR%2FShowlinkModal

I still have to translate it so that it is easy to use for everyone.

Yours Jan



Am 10.12.2020 um 00:56 schrieb Saq Imtiaz:
Assuming you want to generate this from the tiddlers open in the story 
you can try this filter:


[list[$:/StoryList]first[]encodeuricomponent[]] 
[{$:/StoryList!!list}encodeuricomponent[]] 
+[join[:]addprefix[#]addprefix{$:/info/url/full}]


The resultant URL should result in navigation to the first tiddler in 
the story as I assume you want the order in the story at that time. 
You can change that by modifying the first run in the above filter 
expression.



--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dadd5a01-e46c-4e93-baac-4ff4227cd4b4n%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/dadd5a01-e46c-4e93-baac-4ff4227cd4b4n%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5FD4E9D7.3010507%40googlemail.com.


[tw5] Which means of datacompression can I use in TW (for sharing a QR code for an itty.bitty style site build in PHP.)

2020-12-12 Thread Jan Johannpeter

Hello community.
I am fascinated by the trick http://about.bitty.site/ can do, which was
shared some time ago in this group.

I would like to do a plugin and code a php-backend which can do this
directly from TW.
To make it efficient, the data would have to be compressed before
turning it into a qr-code.
What sort of datacompression is available in TW that can be decompressed
on my server.

PS: I know it would be more practical to use QR to link to a wiki-site.
The Idea ist to provide a method for colleagues which are not able to
save the wiki.

Any elegant shrinking ideas?

Best wishes Jan



--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5FD4CC98.509%40web.de.


[tw5] How to print the permaview

2020-12-09 Thread Jan

Hi,
I would like to generate a qr-code which links to an entire story opened 
inmy TW. I have difficulites to get the correct permaview into a field 
to use it in the qr-macro.

Does anyone know the spell?

Best wishes and thanks for your help: Jan


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5FD0F2C2.7040209%40googlemail.com.


Re: [tw5] [Request] Numbered lists need some love

2020-12-05 Thread Jan

Hi Dave, Hi all,

I think Dave is right. My biggest problem with numbered lists in TW ist 
that the numbers are so easily broken.
If I insert something else, like a header or a bullet there is no way to 
pick up the numbering.
Though this should be possible in CSS it would be great to do this 
natively in TW.


Best wishes Jan






Am 30.11.2020 um 15:06 schrieb David Gifford:

Hi all

To be honest, this is not really a request for my own personal 
projects. I tend to prefer unordered lists myself. This is a request 
thinking of new users.


Second and subsequent levels of numbered lists just repeat the arabic 
numerals.


1.

  * 1.

  o 1.

I have a feeling this turns people away from using multiple level 
numbered lists in TiddlyWiki.


Would it be possible for someone to create a plugin so that numbered 
lists look like this? (no bullets, obviously - the new Google Groups 
ui seems to have eliminated indenting as a text formatting option.)


1.

  * a.
  o i.

Another nice option would be

1.

  * 1.1
  o 1.1.1

I have no idea if either or both of these are possible. But it would 
definitely be a welcome improvement, even as a plugin rather than as a 
core improvement.


Perhaps Saq's Editor-Autolists plugin would be the best candidate to 
add this kind of functionality? I wonder if that is something he might 
consider pursuing. Or would this be better as its own plugin?


Thank you all for your consideration. Blessings!
--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/74c57951-c36f-4bc5-a16d-e4207960670bn%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/74c57951-c36f-4bc5-a16d-e4207960670bn%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5FCBEBA3.5000800%40googlemail.com.


Re: [tw5] Re: A truely great Slide-Show: reveal.js by Devin Weaver

2020-11-23 Thread Jan Johannpeter
Hi honeycut,
For the browsers I tested you first  have to Click into the widget an then
it is question of patience, you gotta click f long enough :-).
But I also would like to have the possibility to create a button to start
slideshow in full screen mode.
J

'JWHoneycutt' via TiddlyWiki  schrieb am So.,
22. Nov. 2020, 20:37:

> Strange behavior -
>
> When I link to my new TW5 named "Reveal-js.html" from TiddlyDesktop, F for
> Fullscreen does NOT work
>
> When I embed a link to this small separate wiki from my personal wiki
> using:
>
>- 
>- {{RevealLogo.svg}}
>- 
>
> F for Fullscreen works while in the demo - not sure why
>
> On Sunday, November 22, 2020 at 12:17:49 PM UTC-5 JWHoneycutt wrote:
>
>> Question:
>>
>> On tiddler "Introduction/06" there is a
>> "Press F to enter *fullscreen* mode."
>> feature - which did not transfer with the plugin
>>
>> Any ideas how to acquire this function in my target TW5.html file?
>>
>> Is the `` tag defined in a macro, or a stylesheet? I can't find it
>> (or don't know where to look).
>>
>> JWHoneycutt
>>
>> On Friday, November 20, 2020 at 6:15:23 PM UTC-5 David Gifford wrote:
>>
>>> It is now! Thanks for this discovery!
>>>
>>> On Friday, November 20, 2020 at 3:27:50 PM UTC-6 Jan wrote:
>>>
>>>> Hi folks!
>>>> Am I the only one to have missed this jewel?
>>>> Devin has Integrated the reveal.js library to TW.
>>>> This is a true gamechanger!
>>>> This has to be celebrated.
>>>>
>>>> Dave is this in your Dynalist already.
>>>>
>>>> https://sukima.github.io/tiddlywiki-reveal-js/
>>>>
>>>> enjoy!
>>>> Jan
>>>>
>>> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/f8be738e-1213-406f-b535-19efbd594df3n%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/f8be738e-1213-406f-b535-19efbd594df3n%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CALdpFy1O2y3L4Nkvp5KyVwW1aJa85Ptx623n0zxNy97xb9WArA%40mail.gmail.com.


[tw5] A truely great Slide-Show: reveal.js by Devin Weaver

2020-11-20 Thread Jan

Hi folks!
Am I the only one to have missed this jewel?
Devin has Integrated the reveal.js library to TW.
This is a true gamechanger!
This has to be celebrated.

Dave is this in your Dynalist already.

https://sukima.github.io/tiddlywiki-reveal-js/

enjoy!
Jan

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5FB833B2.1060603%40googlemail.com.


Re: [tw5] Re: Help on translating a virtual stack of cards to wikitext needed...

2020-11-20 Thread Jan

Hi,
thanks for the syntax of the radio-widget... the problem is to match the 
css to the html-elements produced by this syntax.
Because I want the cards to be animated, I have to do the transformation 
without the reveal-widget.


Sorry for not answering sooner... I felt several times close to the 
result...


Best Wishes Jan

P.S. Reveal uses "text" instead of "value".



Am 18.11.2020 um 23:32 schrieb 'c pa' via TiddlyWiki:
The tiddlywiki way is to have the radio buttons set a value into a 
field and then display the corresponding card based on the field being 
populated


Pseudo code:

<$radio tiddler=<> field="card-state" 
value="Card-1">Card 1 
<$radio tiddler=<> field="card-state" 
value="Card-2">Card 2 
<$radio tiddler=<> field="card-state" 
value="Card-3">Card 3 


<$reveal type="match" state="!!card-state" value="Card-1">
Card 1 content


<$reveal type="match" state="!!card-state" value="Card-2">
Card 2 content


<$reveal type="match" state="!!card-state" value="Card-3">
Card 3 content


On Tuesday, November 17, 2020 at 10:27:52 AM UTC-8 Jan wrote:

Hi Fans of skeumorph (https://en.wikipedia.org/wiki/Skeuomorph)
design.

When trying to enhance my quizcard macro I stumbled upon this codepen
https://codepen.io/miroot/pen/YXpOGG

The html and css already work in TW
    http://szen.io/quiz/#Quiz%20Cardstack .
So far I failed trying to translate the syntax to wikitext because
the
radio input makes use of IDs.

How can I solve this with the radiowidget?

Best wishes Jan







--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9cedf255-a283-466b-8822-5e3f185f0155n%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/9cedf255-a283-466b-8822-5e3f185f0155n%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5FB82DC1.4090008%40googlemail.com.


[tw5] Help on translating a virtual stack of cards to wikitext needed...

2020-11-17 Thread Jan

Hi Fans of skeumorph (https://en.wikipedia.org/wiki/Skeuomorph) design.

When trying to enhance my quizcard macro I stumbled upon this codepen
https://codepen.io/miroot/pen/YXpOGG

The html and css already work in TW http://szen.io/quiz/#Quiz%20Cardstack .
So far I failed trying to translate the syntax to wikitext because the 
radio input makes use of IDs.


How can I solve this with the radiowidget?

Best wishes Jan







--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5FB41504.10407%40googlemail.com.


Re: [tw5] Re: What is throwing an error after i installed the shufflefilter...and is there another random mechanism.

2020-11-15 Thread Jan

Am 14.11.2020 um 23:36 schrieb Saq Imtiaz:
Hi Saq,
thanks a lot, you are right.
After uninstalling hotzone, there are no errors left.

Yours Jan



Hi Jan,

The error seems to be originating from the HotZone plugin.

On Saturday, November 14, 2020 at 10:47:18 PM UTC+1 Jan wrote:

Hi everybody,
when trying to enhance my quiz-macro http://szen.io/quiz/ on
another wiki,
after installing
https://mklauber.github.io/tw5-plugins/#Shuffle%20Operator throws an
error saying:
TypeError: r is undefined

As this does not happen with the the current Tiddlywiki.com
version, I
updated to cure it but no way out.
So it must be something in my wiki: https://szen.io/altona/error/ (no
panic all is backuped)
Can anybody tell me what is going wrong to cure this

Thanks for help
Jan

--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/23a2699f-5afd-4811-a4cd-098b31ddfb5an%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/23a2699f-5afd-4811-a4cd-098b31ddfb5an%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5FB0F6DE.5020504%40googlemail.com.


[tw5] What is throwing an error after i installed the shufflefilter...and is there another random mechanism.

2020-11-14 Thread Jan

Hi everybody,
when trying to enhance my quiz-macro http://szen.io/quiz/ on another wiki,
after installing 
https://mklauber.github.io/tw5-plugins/#Shuffle%20Operator throws an 
error saying:

TypeError: r is undefined

As this does not happen with the the current Tiddlywiki.com version, I 
updated to cure it but no way out.
So it must be something in my wiki: https://szen.io/altona/error/ (no 
panic all is backuped)

Can anybody tell me what is going wrong to cure this

Thanks for help
Jan

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5FB04F3A.3040700%40googlemail.com.


Re: [tw5] Re: Tiddlyspot down ... gone?

2020-10-24 Thread Jan

Hostnightmare I would say
I hoped you all did your backups better than me :o .
There is still no sigh of life...

Best wishes Jan


Am 24.10.2020 um 13:16 schrieb TiddlyTweeter:

Ciao Eric

Just FYI, I host on Dreamhost for all my domains.

There are some issues on this recent update by DH that are affecting 
many. Its quite a radical update.


I'm sure it will come right.

Best
TT

On Saturday, 24 October 2020 00:01:29 UTC+2, Eric Shulman wrote:

On Friday, October 23, 2020 at 12:44:47 PM UTC-7, Mark S. wrote:

The message displayed at tiddlyspot doesn't inspire great
confidence. They seem to be offering to sell the site.


It looks like DreamHost has re-initialized their servers, and the
tiddlyspot.com <http://tiddlyspot.com> *account* is still defined,
but doesn't have any content.  Hopefully, this is just a matter of
reloading the content from their nightly backups,
and is not a more serious problem.

I know it was all working earlier today when I last updated one of
my tiddlyspot-hosted TW projects.

-e

--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8947104d-ccb8-482b-9401-1b84ff940314o%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/8947104d-ccb8-482b-9401-1b84ff940314o%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F943A1D.3090703%40googlemail.com.


Re: [tw5] Re: combining and syncing Tiddlywiki and Moodle

2020-10-04 Thread Jan

Hi Ed, Hi everybody!
thanks for your email which made perfect sense and made me dive further 
into learning systems...that is why it took me some time to reply.
I had to understand the difference between Tin-Can-Api , SCORM and then 
find out what role moodle plays there. So here is a very short summary 
of what I figured out:
As I understand, TinCan which has since been renamed to xAPI adds a 
feedback channel to SCORM to see what learners are doing with your input.
Moodle which uses the SCORM-format seems to have focussed on a similar 
field recently by adding learning-analytics which is quite a hot topic 
in that community at the moment...but without using xAPI. Interpreting 
the density of information I found, moodle seems to have evolved much 
faster than xAPI.


We agree on the point that moodle has abilitys that TW is not build 
for.  The main difference is the user management which enables theachers 
to  let students upload media and perform tests.
My Idea would be that TW5 would be the ideal portfolio to do the 
research for a course for university-teachers (Alberto Molina's Concept 
has prooved this a long time ago...), and for students to collect the 
information they judge valuable - and to take it with them into the 
post-academic life where their moodle-accounts have expired in a more 
sophisticated form than .pdf.


So I think having a converter (or conversion workflow) would be very 
good ... and doable for after all it is just parsing. But I am not shure 
on which side it should be placed. In this community it seems to be more 
likely to find wizard capable of creating and digesting the xml-based  
export-format of moodle. My skills being a little less superficial in 
php than in js I already had a look at how to create a moodle-plugin to 
perform this...but was a little intimidated by the hard standarts and 
the lack of such a wonderfull community like this here.


I think also Steves concept of usig TW parallely and referencing between 
them is an approach. My first idea was to use Moodle only as a sort of 
mailbox linking the "activities" from an informative TW-based 
coursebook. I was a little disappointed the URLs of the activities seem 
to change randomly if you are doing the course a second time... I am 
still wondering what a good workflow might be.

So please add your ideas...

Best wishes Jan




Am 02.10.2020 um 19:20 schrieb Ed Dixon:

Hi Jan,

Long time Moodle and TW5 fan here :)

Years ago, several here many had joined me in a push to add the TinCan 
API LMS standard to TW5 and I think your vision here and mine are 
similar in how TW5 could be used. What we were working on could / 
should work well with any stanard based LMS that supports SCORM 
comliance (Moodle amoung them). For me, my staff and I were in a 
blended learning environment so the goal was the students would have 
the materials to work with at home just as they would in class on 
Moodle and the TinCan API (which is a revision of the SCORM standard) 
when back in class could refresh those with new materials after 
importing the scorm data from the previous period. This would allow 
the teachers to track progress of the students work with those 
materals (time on task, simple self quizes, etc). We made a lot of 
headway and had not only many here from our community but also many 
other interested educators on board even a few from ADL which develops 
the SCORM standard. The API had a javascript implementation but there 
was an issue of using it with how the TW core was designed at that 
time. Regretfully shortly after we started all this a brain tumor was 
discovered and I ended up having 2 surgeries and am still trying to 
recover, no longer teaching, on full diability due to brain damage, 
and my memory is so fuzzy I am doing really well to remember any of 
this! I can only hope it makes sense LOL and that is probably only 
because it was so important to me then and would have been a huge help 
to all of us. I now use TW5 mainly as a journal to help me in my 
recovery.


Anyway, Jeremy was very involved in the effort and was working to 
provide support needed from the TW5 core for the API implementation. 
How far he got toward that (or others here with other solutions) I am 
not sure. I would love to see that goal fullfilled for all those 
involved and after having made such a big noise about it all. 
Hopefully Jeremy can shed some light on the possibility of doing it 
now but affraid other than just letting you know this I can't be of 
much more help.


As far as the effectivness of moodle over some of the other solutions 
mentioned here I have no idea (especially now) but to me then one of 
the bigger advantages of Moodle over the other LMS programs at that 
time was it ease in importing the digital materials and tests provided 
from the publishers directly into the system largly due to the LMS 
standards Moodle supports. I would not advocate using TW5 for test 
evaluaions but in tracking studen

Re: [tw5] Re: combining and syncing Tiddlywiki and Moodle

2020-10-01 Thread Jan

Hi Steve,
I have to admit what you say is ture... compared to TW moodle is 
complicated and clumpsy.

Preparing a course for the next semester is a drag.
But it alllows you to organize and engage students into tasks and 
collect their results in a very concise way.  I guess that is why the 
school-board took this choice.
And for me as for most of those who work in institutions who use moodles 
it would not be the smartes carreer-option to disdain such a choice.


Therefore: The idea is not to switch to moodle but to be able to feed 
the moodle from TW and to save back courses to TW...


Best wishes Jan



Am 01.10.2020 um 11:57 schrieb Ste:
Unless you have a cracking IT dept that has customised and tweaked the 
moodle to make it nice my general advice would be.. Don't use the moodle.

Moodle is clunky and creaky and updating resources on it is a faff.
I tended to work round the moodle so if you add a label and press the 
<> button you can inject html into it
I embedded my Pearltrees.com collections of resources and my wiki 
straight into the moodle.
That way I could update both.. The students would see any changes 
instantly / after a refresh and I didn't have to interact with the 
moodle ever again.


Ste

On Thursday, 1 October 2020 at 10:45:06 UTC+1 Jan wrote:

Hello Community,
Our school-board has just adopted a moodle-based
LearningManagementSystem.
Though I am a convinced TiddlyWikian I will use it because it brings
advantages in learning-scenarios.
To name these advantages
-Authentification
-GroupManagement
-Activities like H5P,
-Analytics

...of course als TW has great advantages
- Much faster editing and developping halfbaked thoughts to public
texts.
- Searching, combining...
- Beauty ;-)
- the priceless advantage of independence and the guarantee to be
able
to take your notes and texts with you in a form that is readable
deployable anywhere else and for decades...
(I already lost months of work in moodle where either I or the LMS
quit
the institution )

My desire would be to merge the advantages.

One thing that would be great would be a tool to exchange content.
For
example it would have helped me a lot if there had been an
export-to-TW-tool to export the courses at the university.
One the other hand I would love to prepare a Moodle-Course in TW
(collect, sort and combine ideas and content)

It seems there has been a tool for this back in 2007 for TW
Classic and
an old version of moodle ( http://moodle.tiddlyspot.com/ ) It
would be
great to relaunch this project for the new versions.

What are your Ideas?
Has anyone here already taken a look on moodle-programming and knows
how this could be achieved?

Best whishes Jan





--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a19c4976-9646-4fd3-a500-68e302825621n%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/a19c4976-9646-4fd3-a500-68e302825621n%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F75CCFC.7050106%40googlemail.com.


[tw5] combining and syncing Tiddlywiki and Moodle

2020-10-01 Thread Jan

Hello Community,
Our school-board has just adopted a moodle-based LearningManagementSystem.
Though I am a convinced TiddlyWikian I will use it because it brings 
advantages in learning-scenarios.

To name these advantages
-Authentification
-GroupManagement
-Activities like H5P,
-Analytics

...of course als TW has great advantages
- Much faster editing and developping halfbaked thoughts to public texts.
- Searching, combining...
- Beauty ;-)
- the priceless advantage of independence and the guarantee to be able 
to take your notes and texts with you in a form that is readable 
deployable anywhere else and for decades...
(I already lost months of work in moodle where either I or the LMS quit 
the institution )


My desire would be to merge the advantages.

One thing that would be great would be a tool to exchange content. For 
example it would have helped me a lot if there had been an 
export-to-TW-tool to export the courses at the university.
One the other hand I would love to prepare a Moodle-Course in TW 
(collect, sort and combine ideas and content)


It seems there has been a tool for this back in 2007 for TW Classic and 
an old version of moodle ( http://moodle.tiddlyspot.com/ ) It would be 
great to relaunch this project for the new versions.


What are your Ideas?
Has anyone here  already taken a look on moodle-programming and knows 
how this could be achieved?


Best whishes Jan





--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F75A40E.2040508%40googlemail.com.


Re: [tw5] Re: A small Plugin for a dramatic login-screen.

2020-09-24 Thread Jan

Hi HC,
very nice!
Your your tiddler names arebetter than my erratic ones. I did not see I 
typed styleshhed ;-)


Best wishes Jan




Am 21.09.2020 um 11:33 schrieb HC Haase:

HI Jan and everyone else.

I have solved the problem and now have a functioning mod of Jans very 
nice plugin :)


Thank you Jan for the info on how to tweak your plugin and thanks for 
building the first plugin. I think it is quite useful in a multi user 
wiki.


here is my mod. 
https://hchaase.github.io/HC-Plugins/#LoginCurtain-mod%20Introduction


This mod add

 1. modified login background to be more professional (e.g. boring)
 2. present a interface for picking a pre-made user.
 3. provide a user management tab in Control Panel/Info/login-settings.
 4. a button to create a user tiddler that also show what tiddlers the
user has made or modified.
 5. customisations of buttons, text and icons in Control
Panel/Info/login-settings.


have a look
torsdag den 10. september 2020 kl. 11.09.32 UTC+2 skrev HC Haase:

Hi Jan

I have been working on a mod of your plugin and it works*but only
in your login curtain wiki*. when I export the plugin to an empty
wiki, my mod don't work any more. I suspect, that there are some
tiddler not mentioned in the mod that do some stuff. I have looked
through the code, but I can't figure it out. If you could have a
look I would be very grateful.

what My mod do

I have tried to explain it in detail in the wiki.
The mod use the tiddler $:/Plugins/Screenwriting/WelcomeButton
(modifed) to show a list of predefined users to pic from. there is
a button to go to "guest" that gives the original login prompt,
and button to go to the list of predefined user again.

also adds some jazz for customisation and user management in settings.

link to my mod:
https://hchaase.github.io/tmp-logincurtain-mod/

onsdag den 1. april 2020 kl. 13.49.18 UTC+2 skrev HC Haase:



Could you maybe make version where you could let the user
change background and spalashscreen? That would be quite
useful

It is not so implement this because a splashcreen is
involved, so we can't easily transclude the content from a
tiddler use the normal stylsheet.
Or is there a possibility to do this?

I will make a small guide which  and classes to
modify to get the result you want. For example, if you do
not want the skeuomorph curtain, you can just remove the
gradients from .left-panel and .right-panel and replace it
by a normal bg-color.

Greetings Jan

Thank you Jan
I appreciate you have made the small guide. I will have a look
when I have time, and try to make a "corporate" friendly
version :)


btw the site has a double icon and input field going on, I
think it is because the icon tiddler is stil open in draft mode









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 tiddl...@googlegroups.com.

To view this discussion on the web visit

https://groups.google.com/d/msgid/tiddlywiki/7d3980d6-7919-47f3-ac8c-c5ef246afd2d%40googlegroups.com

<https://groups.google.com/d/msgid/tiddlywiki/7d3980d6-7919-47f3-ac8c-c5ef246afd2d%40googlegroups.com?utm_medium=email_source=footer>.


--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9e75b574-95c7-4d2c-8da5-6eec185363e0n%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/9e75b574-95c7-4d2c-8da5-6eec185363e0n%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F6C87DE.4020900%40googlemail.com.


[tw5] What kind of function is used when hashing in TW

2020-09-19 Thread Jan

Hi Tiddlydevs,
Thomas Elminger in his hashmacro uses a tw.utils-hash function:

|var hash = $tw.utils.hashString(str);
|

What kind of hash-function does TW use there? How would you enter it in 
php to reproduce the identical value for the same str serverside.


Thanks for your help!
Best wishes Jan

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F666E0D.2080006%40googlemail.com.


Re: [tw5] Re: Adjusting IFrame Trick I would like to implement in TW

2020-09-06 Thread Jan

Hi Steve,
to adjust the size -as Eric pointed out- the source of the Iframe has to 
point to the same domain.

So if you are running an instance of ethercalc there, this should work.

Best wishes Jan.

Am 06.09.2020 um 12:00 schrieb Ste:

Could this be used with ethercalc (https://ethercalc.net/) or other node.js 
apps?

I remember someone dropped social Calc spreadsheets into tiddlywiki ages and 
ages ago.



--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F5551A1.9010304%40googlemail.com.


Re: [tw5] Re: Adjusting IFrame Trick I would like to implement in TW

2020-09-05 Thread Jan

Hello Eric,
it's marvelous. Your instruction was perfect. (...and I see that I was 
not really awake this morning.)
This is a great help to integrate external content into tiddlywiki, 
thanks a lot!


All best wishes Jan



Am 05.09.2020 um 13:27 schrieb Eric Shulman:

On Saturday, September 5, 2020 at 4:07:29 AM UTC-7, Jan wrote:

so far it does not work yet...thought I took a really small but
long page and gave it a 1000 milliseconds.
But at least it does not throw an error-message like my brute
first attempt did.

If you want to inspect the installation look here:
https://www.szen.io/Kunstgeschichte/#FlexframeTest
<https://www.szen.io/Kunstgeschichte/#FlexframeTest>


In my instructions, I wrote:

* Set the tiddler's type field to a value of
"application/javascript" _*and create a "module-type" field with
value of "startup"*_


However, when I checked your test, $:/plugins/es/FlexFrame.js did NOT 
have a module-type field.
This field is required in order to cause the code to be invoked.  
Without it, the hooks are not

actually being defined.
*
*
You need to edit $:/plugins/es/FlexFrame.js and add that field.  Then 
save-and-reload.


-e
--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f845ffda-6d33-4571-bf25-85b33a8cdab2o%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/f845ffda-6d33-4571-bf25-85b33a8cdab2o%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F53E329.90304%40googlemail.com.


Re: [tw5] Re: Adjusting IFrame Trick I would like to implement in TW

2020-09-05 Thread Jan

Am 05.09.2020 um 05:55 schrieb TW Tones:

Jan,

I just had a look at etherpad, and reminds me of document part the now 
defunct Google Wave, but various google and Microsoft products have 
similar editing opportunities.


I see why you value having a iframe to access such documents. In 
addition to multi-user documents it gives rise to a WYSIWYG editor.


Always wishing to extend the functionality within tiddlywiki, I can 
see how this may be away to address some of out multi-user issues with 
tiddlywiki.


Given it is an open source environment, and tiddlywiki is too, perhaps 
this is an opportunity to bring the two projects together. Either read 
only or read/write tiddlywikis could delegate shared documents to 
etherpad as a special kind of tiddler, but tiddlywiki is in an ideal 
position to manage the multiple document view into multiple etherpad 
documents.


Much of this may already be the case with the iframe solution you are 
working on, so thanks for raising it here. But I think a little deeper 
integration would help both projects.


What may deeper integration look like?

  * Create a new etherpad document from within a special tiddler
  * Seed it with the content of the tiddler before conversion
  * Be able to use the wiki to manage/wrap multiple etherpads
  o Includes searchable and other features
  * Be able to import.export cut/copy and paste between etherpad and
tiddlers
  o Include drag and drop and handle conversions if needed.
  * Perhaps the etherpad client component can be made a plugin in
tiddlywiki
  * and the etherpad server component deployed with the tiddlywiki
node server install

If the technology or the etherpad community is not open to this 
valuable contribution, perhaps the tiddlywiki community could build a 
method for collaborative and external tiddler by tiddler server. Kind 
of taking the external tiddler model further. If we took this path we 
may be able to designer even tighter integration to the extent that 
once implemented interactive "shared" tiddlers could become a feature.


just thinking.

Regards
Tones

Hi Tones,
Etherpad also uses node.js on the server. For using it in class the 
possibility of using realtime cooperation is great.
I also think, the ability to create and show an etherpad in TW would be 
a great enhancement because reatime cooperation is difficult in TW so far.


Best wishes Jan

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F5372A5.207%40googlemail.com.


Re: [tw5] Re: Adjusting IFrame Trick I would like to implement in TW

2020-09-05 Thread Jan

Hi Eric,
so far it does not work yet...thought I took a really small but long 
page and gave it a 1000 milliseconds.
But at least it does not throw an error-message like my brute first 
attempt did.


If you want to inspect the installation look here:
https://www.szen.io/Kunstgeschichte/#FlexframeTest

Best wishes Jan


Am 05.09.2020 um 02:24 schrieb Eric Shulman:

On Friday, September 4, 2020 at 2:50:16 PM UTC-7, Jan wrote:

recently I stumbled upon a script which is able to adjust the size
of an Iframe to the content.
Because I like to work with external files like etherpads for
interaction, this would make a lot of things possible.
Here's a Demo
https://css-tricks.com/examples/iFrameResize/crossdomain.php#
<https://css-tricks.com/examples/iFrameResize/crossdomain.php#>

||

|

functionresizeIFrameToFitContent(iFrame ){
iFrame.width =iFrame.contentWindow.document.body.scrollWidth;
iFrame.height =iFrame.contentWindow.document.body.scrollHeight;
}
window.addEventListener('DOMContentLoaded',function(e){
variFrame =document.getElementById('iFrame1');
resizeIFrameToFitContent(iFrame );
// or, to resize all iframes:
variframes =document.querySelectorAll("iframe");
for(vari =0;i 
|

I wonder if this could be implemented to tiddlywiki.

Two things to change
-It needs to have flexible Ids to allow multiple instances.


The first two lines from the event listener are looking for an iframe 
with a specific ID.  The rest of the listener does the same for ALL 
iframes, regardless of ID.  Thus, you can simply omit the first two 
lines and keep the rest.


-width should be fixed only the height should adapt.


Just omit the "iFrame.width  = ... " line from the 
resizeIFrameToFitContent function, so that only the height is adjusted.


What do you think, is this possible?


Normally, this kind of code would be added to the  section of 
the HTML file.  To do this in TiddlyWiki, you would place the code in 
a tiddler tagged with $:/tags/RawMarkup and then save-and-reload so 
the code is inserted into the  of the HTML file.


HOWEVER... having said all of the above... *This code, as written, 
will NOT work in TiddlyWiki.*

*
*
The problem is that, in TiddlyWiki, any IFrame that is contained in a 
tiddler will not even *exist* until that tiddler is actually 
displayed... and at the time that the document is *loaded*, no 
tiddlers are displayed yet.  Thus, the above code will not find any 
"iframe" elements to modify. To make this work in TiddlyWiki, you need 
to trigger the code whenever a tiddler is opened or refreshed rather 
than when the DOM content is loaded.


Here's some EXPERIMENTAL code that uses the TiddlyWiki core "hook" 
mechanism instead of window.addEventListener()

|
/*\
title: ResizeIFrame
type: application/javascript
module-type: startup

\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";

// Export name and synchronous status
exports.name ="resizeIFrame";
exports.platforms =["browser"];
exports.after =["startup"];
exports.synchronous =true;
exports.startup =function(){
   $tw.hooks.addHook("th-page-refreshed",function(){
  setTimeout(function(){
variframes =document.querySelectorAll("iframe");
for(vari =0;i iframes[i].height 
=iframes[i].contentWindow.document.body.scrollHeight;

}
},100);
});
   $tw.hooks.addHook("th-navigating",function(event){
  setTimeout(function(){
variframes =document.querySelectorAll("iframe");
for(vari =0;i iframes[i].height 
=iframes[i].contentWindow.document.body.scrollHeight;

}
},100);
returnevent;
});
};
})();
|

Notes:
* Enter the code above into the text field of a tiddler (e.g., 
"ResizeIFrame")
* Set the tiddler's type field to a value of "application/javascript" 
and create a "module-type" field with value of "startup"

* Save-and-reload for the code to take effect.

To test:
* Create a tiddler containing an iframe, like this:
|

|
* IMPORTANT NOTE: the src="..." file must be from the *same domain* as 
your TiddlyWiki file because, for security reasons, modern browsers do 
not permit "cross-domain" access to the "document" object of another file.


How it works:
* The code defines a "startup" function that is invoked when your 
TiddlyWiki file is loaded.
* This code sets up two "hooks" that will be triggered in response to 
TWCore activities
* The "th-page-refreshed" hook is triggered when the page is first 
displayed and whenever it is refreshed (e.g., if you edit the 
PageTemplate)
* The "th-navigating" hook is triggered whenever you open a tiddler or 
follow a link to an already opened tiddler.
* Each hook uses setTimeout(...) to delay it's action by 100 
milliseconds.  This is needed

[tw5] Adjusting IFrame Trick I would like to implement in TW

2020-09-04 Thread Jan

Hello community,
recently I stumbled upon a script which is able to adjust the size of an 
Iframe to the content.
Because I like to work with external files like etherpads for 
interaction, this would make a lot of things possible.


Here's a Demo https://css-tricks.com/examples/iFrameResize/crossdomain.php#

|

function  resizeIFrameToFitContent(  iFrame)  {

iFrame.width=  iFrame.contentWindow.document.body.scrollWidth;
iFrame.height=  iFrame.contentWindow.document.body.scrollHeight;
}

window.addEventListener('DOMContentLoaded',  function(e)  {

var  iFrame=  document.getElementById(  'iFrame1'  );
resizeIFrameToFitContent(  iFrame);

// or, to resize all iframes:
var  iframes=  document.querySelectorAll("iframe");
for(  var  i=  0;  i<  iframes.length;  i++)  {
resizeIFrameToFitContent(  iframes[i]  );
}
}  );



|

I wonder if this could be implemented to tiddlywiki.

Two things to change
-It needs to hav flexible Ids to allow multiple instances.
-width should be fixed only the height should adapt.

What do you think, is this possible?
Best wishes Jan



--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F52B59B.7040308%40googlemail.com.


Re: [tw5] Re: How to avoid loosing work by saving an older copy still open in the browser.

2020-09-03 Thread Jan

Hi Eric,...
Aahh, these two issues make the question even more komplex. especially 
the timestring issue... I guess I will keep this in mind untill I have 
an Idea.

Thanks for explaining this to me.
Jan


Am 02.09.2020 um 22:36 schrieb Eric Shulman:

On Wednesday, September 2, 2020 at 12:54:23 PM UTC-7, Jan wrote:

this is what I know I should always do. But I am human and want a
machine-solution against forgetting to do this...


In theory, you could modify the store.php script so that when sending 
the current TW contents to store.php, you also send the 
document.lastModified value.  Then, store.php could compare that value 
against the date of the hosted version of the file to ensure that the 
date on the server is not more recent than the date sent from the 
currently loaded document. If it is more recent, it could reject the 
save and return an error.  Then, to resolve the problem, you would 
export the changed tiddlers from the TW in the browser (saving the 
export file locally), and then reload from the server, and then import 
the changes to merge them.  Then save to the server again.


I say "in theory" because I don't have access to the version of 
store.php that you are using, and I also don't have a server on which 
to test the changes.


Some possible issues:
* the document.lastModified value is only valid if you loaded the 
document via http or https protocol.  If you are working from a local 
file copy, that value will be the current date/time, regardless of 
when the file was actually saved.
* WebKit returns the time string in UTC; Gecko and Internet Explorer 
return a time in the local timezone.  Thus, you might have to install 
the "Browser Sniff" plugin (from the TW Official Plugin Library) in 
order to detect which browser is in use, and then do some conversion 
to match the time in use on the server (which might also be either UTC 
or local time)


see https://developer.mozilla.org/en-US/docs/Web/API/Document/lastModified

-e
--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/de9eb3b1-b8d4-49e9-840c-966c17bc03feo%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/de9eb3b1-b8d4-49e9-840c-966c17bc03feo%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F50E0BD.1000500%40googlemail.com.


Re: [tw5] Re: How to avoid loosing work by saving an older copy still open in the browser.

2020-09-02 Thread Jan

Hi and thank,
this is what I know I should always do. But I am human and want a 
machine-solution against forgetting to do this...


cheers Jan


Am 02.09.2020 um 20:31 schrieb 'Mark S.' via TiddlyWiki:
I think if you're using store.php the best bet is to follow good TW 
hygiene. Always close your tab after working, and when starting to 
work with an open tab after being away from your machine or device, 
refresh. If it blocks you from refreshing, then check if you have 
anything that needs to be saved and export it as necessary.


Another strategy is have separate TW files for each device. Then drag 
and drop tiddlers that have changed between TW files.


On Wednesday, September 2, 2020 at 5:49:21 AM UTC-7, Jan wrote:

Hello,
it happend again. Because I have to work on different computers I
loose
sometimes work by saving form an versions still stored in a
Browser on
the other computer.
The problem occurs using store.php .
This problem even grows bigger if someone uses the
browserstorage-plugin.
In most cases I can retrieve the work from the backup-folder (I am
sure
not all users can do that.) but this time it was lost bcause I
realized
the loss some days later :-/ .

My love to TW is stable, but for new users this can be anoying.
Are there any ideas how to avoid this?

Jan

--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2c4a2619-3919-4881-be33-e21ec7ad0735o%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/2c4a2619-3919-4881-be33-e21ec7ad0735o%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F4FF774.70500%40googlemail.com.


[tw5] How to avoid loosing work by saving an older copy still open in the browser.

2020-09-02 Thread Jan

Hello,
it happend again. Because I have to work on different computers I loose 
sometimes work by saving form an versions still stored in a Browser on 
the other computer.

The problem occurs using store.php .
This problem even grows bigger if someone uses the browserstorage-plugin.
In most cases I can retrieve the work from the backup-folder (I am sure 
not all users can do that.) but this time it was lost bcause I realized 
the loss some days later :-/ .


My love to TW is stable, but for new users this can be anoying.
Are there any ideas how to avoid this?

Jan

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F4F93D0.9030104%40googlemail.com.


Re: [tw5] Re: Two Questions about the Moments Plugin for parsing Dates for history Timelines

2020-08-23 Thread Jan

Hello everyone, hello Eskha in particular...,

Two years ago I asked two questions about the vis.js-timeline

   -Could we get the plugin to parse more than one date format? For
   example in my usecase there is exact dates and timespans where exact
   dates are not appropriate (Like the Renaissance or so)
   -How can I enter dates BC (before Christ)?

I just searched my inbox and I found your hint which has slipped through 
my attention. Thanks a lot, this works!

Am 24.10.2018 um 20:38 schrieb Eskha:


Hoping this may still help you for your second point: I use "Y" format 
for date and a "-" in front of the date (eg -200 for 200 BC


This already helps a great deal, but I still would like to parse / enter 
different date-formats to the plugin. I ask myself, whether i could 
replace moments.js which is can render hundrets of formats by something 
smaller and more tolerant to enter the dates.  Can anyone say how the 
date is transferred from the moments.js-widget to the timeline?


More tolerant means that it would replace 1789-07-14  by 1789 vice versa 
without causing an error.


Best wishes
Jan




--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F4278F3.1040305%40googlemail.com.


[tw5] How to rmove an index....

2020-08-13 Thread Jan

Hi folks!
Is there a widget to remove an index? I could not find how to do this in 
the documentation.
It should be possible to do this in Wikitext, but is there a more direct 
way?


Thanks for enlightment!
Jan

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F358FC8.5050002%40googlemail.com.


Re: [tw5] Re: How to get the intersection of two lists in one filterexpression.

2020-07-27 Thread Jan

Hi Mat.
Luckily I won't have any spaces in these fields.
Really quite a mind-eating operation that is necessary for this I was 
chewing on this for quite a while.

Thanks a lot!
Jan

Am 28.07.2020 um 01:46 schrieb Mat:

Mat wrote:

I gotta say I'm pretty proud over this one


...but some of the pride just faded as I realize it might not handle 
spaced titles so you'd have to do a little more tweaking to the titles 
and perhaps escaperegexp. But the general idea should be useable.


<:-)

--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/bad17d4b-3ff3-4817-876e-866a349ef5cfo%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/bad17d4b-3ff3-4817-876e-866a349ef5cfo%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F1F6AD1.1040604%40googlemail.com.


[tw5] How to get the intersection of two lists in one filterexpression.

2020-07-27 Thread Jan

Hi,
I want to filter the intersection of two lists; something like 
[list[!!actors]] *and* [subfilter] (xyz beeing also generated from 
a listfield). It is necessary to have this in one expression, because I 
need to define an emptyMessage.

I does subfilter or the list always overwrite the existing result?

Best Wishes and thanks for help
 Jan

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F1F487B.4020606%40googlemail.com.


Re: [tw5] Re: How to get the links which are stored in another field than text.

2020-07-27 Thread Jan

Hi Eric,
thank You! Great solution. Adding |+[decodeuricomponent[]] to your 
filter I also got my spaces and rockdöts;-) (The special 
unicode-characters).


Best wishes
Jan|

Am 27.07.2020 um 03:09 schrieb Eric Shulman:

On Sunday, July 26, 2020 at 5:14:27 PM UTC-7, Jan wrote:

I want to filter the [[Wikilinks]] which are  in a field called
dialogue. Unfortunately the links-operator just works for the text.
Does anyone know a workaround? A RegEx filter or somethink alike?


Give this a try:
|
<$wikify name="out" text={{!!dialog}} output="html">
<$list 
filter="""[split[href="#]splitbefore["]removesuffix["]rest[]]""" 
variable="thislink">

   <>


|

Notes:
1) $wikify parses the value stored in the "dialogue" field and 
generates HTML syntax output
2) $list then extracts each occurrence of *href="#TiddlerName"* from 
the HTML, removing the *href="* prefix and the trailing quote suffix


The result is the same as what you would get using
|
<$list filter="""[links[]]""" variable="thislink">
   <>

|
except that the source is from the "dialogue" field instead of the 
"text" field


Q.E.D.

enjoy,
-e
--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5bde5c07-c3e7-4a46-9a2e-ed720a4cbac1o%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/5bde5c07-c3e7-4a46-9a2e-ed720a4cbac1o%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F1EA875.3010906%40googlemail.com.


[tw5] How to get the links which are stored in another field than text.

2020-07-26 Thread Jan

Hi!
I want to filter the [[Wikilinks]] which are  in a field called 
dialogue. Unfortunately the links-operator just works for the text.

Does anyone know a workaround? A RegEx filter or somethink alike?

Best Wishes
Jan

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F1E1B6E.5080804%40googlemail.com.


Re: [tw5] Re: How can I insert Linbreaks when joining Tiddlers

2020-07-24 Thread Jan

Hi,
thank you all!
Eric's solution is the winner ;-).
THis trick is a great help!

Cheers Jan



Am 24.07.2020 um 13:20 schrieb Eric Shulman:


|
<$vars breaks="

">
{{{ [{$:/temp/StreamRoot}get[text]] [{$:/temp/StreamStart}get[text]]
[{$:/temp/ImplodeStream}get[text]] +[join] ] }}}

|

1) The $vars defines "breaks" which is literally 2 line breaks between 
quotes.

2) The inline filter uses +[join] to reference the variable

-e
--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cdf7b201-272e-4ec9-8251-97271a219e12o%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/cdf7b201-272e-4ec9-8251-97271a219e12o%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F1ADF42.4090304%40googlemail.com.


Re: [tw5] How can I insert Linbreaks when joining Tiddlers

2020-07-24 Thread Jan

Sorry, I can't find anything



Am 24.07.2020 um 11:04 schrieb TW Tones:

Jan

Eric provided a way in the last 6 months where he defined a macro containing a 
line break.

Perhaps search the forum.

 From my mobile
Tony

Hello

I would like to do something like this:

{{{ [{$:/temp/StreamRoot}get[text]] [{$:/temp/StreamStart}get[text]] 
[{$:/temp/ImplodeStream}get[text]] +[join{breaks}] ] }}}


This means Joinig three Tiddlers preserving their Linebreaks and 
separating them with two linebreaks.
I would like to do this without a wikify-workaround because it is quite 
a lot of expressions I would build that way.


Is this possible?

Thanks for helping!

Jan

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F1ABB2D.70505%40googlemail.com.


[tw5] How can I insert Linbreaks when joining Tiddlers

2020-07-24 Thread Jan

Hello

I would like to do something like this:

{{{ [{$:/temp/StreamRoot}get[text]] [{$:/temp/StreamStart}get[text]] 
[{$:/temp/ImplodeStream}get[text]] +[join{breaks}] ] }}}


This means Joinig three Tiddlers preserving their Linebreaks and 
separating them with two linebreaks.
I would like to do this without a wikify-workaround because it is quite 
a lot of expressions I would build that way.


Is this possible?

Thanks for helping!

Jan

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F1AA08E.6050505%40googlemail.com.


Re: [tw5] [Question] Prior art - has anyone built a method to define a tiddler that does not exist but allows dragging to create it?

2020-07-23 Thread Jan

Hi Tony, that is possible.
Create a Link like [[{{imagesomthing}}|infotiddler]] and dropzone like 
described here. https://tiddlywiki.com/#DroppableWidget
There you can specify an action which could be generating a Tiddler 
using all the fieldnames you want .
You could use the Link to the infotiddler to furnish information or even 
open the dropzone in it.


Jan



Am 21.07.2020 um 02:57 schrieb TW Tones:

Folks,

Has anyone built a method to define a tiddler that does not exist but 
allow dragging to create it?


The idea would be say a virtual tiddler made with content from though 
out the wiki, that does not itself exist, however it can be created by 
dragging a button and dropping it on eith the local wiki or another 
where you import a real tiddler containing all the information 
specified in the "virtual tiddler".


Why?

  * It would open many possibilities including
  o generating new tiddlers from information in a wiki that can be
created live
  + A form of dynamic tiddler templating.
  o Allow a tiddler to be composed that can be dropped on another
wiki that refers back to the source wiki.
  o Interactive tiddler composition that results in a draggable
tiddler.
  + Eg; to register a wiki or project in one wiki in a
directory wiki.

I am confident this is possible via a template as is used to create 
json tiddlers however it seems their may be a more elegant way for 
someone more familiar with draggable payloads.


thanks in advance for any ideas
TW Tones
--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8e7305a3-1ac1-4d2a-a27c-0bcce19f11f7o%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/8e7305a3-1ac1-4d2a-a27c-0bcce19f11f7o%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F193E9D.4030601%40googlemail.com.


Re: [tw5] [ Streams ] : feedback and issues

2020-07-21 Thread Jan

Hi Saq,
I want to propose a small tweak defining the streamroot variable in 
$:/plugins/sq/streams/nodes-list-template


\define streamroot()
 <$list filter="[all[current]!has[draft-of]]+[split[/]limit[1]]" 
emptyMessage={{!!draft-of}}/>

\end

<$vars stream-root-title=<>

This avoids draft-of-titles and the doubling of datesuffixes.
thanks again for this great plugin.

Cheers Jan



Am 03.07.2020 um 17:29 schrieb Saq Imtiaz:
Please post your feedback and any issues for Streams here or on 
github: https://github.com/saqimtiaz/streams


Demo: https://saqimtiaz.github.io/sq-tw/streams.html

Previous thread and background: 
https://groups.google.com/forum/?oldui=1#!topic/tiddlywiki/KeVDndcnY0g%5B1-25%5D 
<https://groups.google.com/forum/?oldui=1#%21topic/tiddlywiki/KeVDndcnY0g%5B1-25%5D>


I am focusing only on bug reports for now until I have greater 
availability. However, all feedback will be considered when further 
development takes places.


The code needs a fully review for consistency after the last major 
refactoring in which fields were renamed among other changes, before 
new features can be added.

--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8c1eba50-bf29-43f2-a35a-edd5422d35ceo%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/8c1eba50-bf29-43f2-a35a-edd5422d35ceo%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F16B673.8030907%40googlemail.com.


Re: [tw5] Re: An addon for Saq's stream-editor

2020-07-13 Thread Jan

Hi Saq,
thank you! I just checked it out after returning home. Good Idea to add 
hackability.


Cheers Jan




Am 06.07.2020 um 18:59 schrieb Saq Imtiaz:

Jan,

I've added the ability to extend the Streams context menu by adding a 
tiddler, as opposed to editing the context menu tiddler.


The format required can be found here using your flatten as an example:
https://saqimtiaz.github.io/sq-tw/streams.html#Extending%20the%20Context%20Menu

I plan to eventually also make it possible to add keyboard shortcuts 
without needing to edit plugin tiddlers.


Cheers,
Saq

On Thursday, July 2, 2020 at 4:23:07 PM UTC+2, Jan wrote:

Hello,
I made an addon to Saq's
stream-plugin*https://saqimtiaz.github.io/sq-tw/streams.html
<https://saqimtiaz.github.io/sq-tw/streams.html>
*
You can find and test it at *https://szen.io/stream/
*

It mainly adds a modal which allows you

...to flatten the whole stream or nodes of the stream.

...and to rename the Node

You trigger it...
...in the contextmenu

...by typing alt+f for flatten while you are in the writingmode of
the node you want to flatten.

...or with the opacity button below (which shall imply "join") to
flatten the whole stream

My Addon is a bit wierd because...

...it inserts multiple linebreaks to keep the structure

...I tried to make it with very few tiddlers, so the code may
appear somewhat strange

To use it:

...you can choose between ordered and unordered lists and paragraphs.

...So if you want to transform your stream to a special structure
start at the twigs an go back to the trunk.

...when flattening branches, all subnodes that follow the generic
naming-pattern ( and have "/20" in the title ) will be deleted .

...so if you want to keep the content in a seperate tiddler rename
it first.
...and as always: backup before Testing it in your Wiki and stream.


  Big thanks to Saq for inventing this great tool.

best wishes Jan


--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4346019d-0b7d-46aa-91eb-8043f2f52061o%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/4346019d-0b7d-46aa-91eb-8043f2f52061o%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5F0CCFCF.9050001%40googlemail.com.


Re: [tw5] Re: An addon for Saq's stream-editor: AN Explanation and a desire

2020-07-03 Thread Jan

Hi Tony and Birthe,
thanks for the clarifying discussion.
In short for everyone: Saq has written an ingenious flexible editor 
which allows to order your thougts by writing in lists which can be 
rearranged using keyboardshortcuts and drag and drop.
It does this by creating quite a lot of Tiddlers...which are a little 
complicated to export and to search.
This microaddon allows / Mod allows to join the branches or the whole 
treestructure to a single Tiddler when you have finished .


Two wishes to saq:
-The indent of the nodes in mobile view could be smaller? Perhaps it 
could be proportional to the tiddlerwidth
-Is it possible to have a reduced toolbar for the edited nodes? The 
plugin seems to prepare this.


Cheers Jan


Am 03.07.2020 um 04:59 schrieb TW Tones:

Birthe,

Of course it makes sense, but it will not to all, and it is the whole 
reason for the tool. Just thinking about keeping available for the 
broadest audience.


I said I had a tool have a tool for "graphoz", install it to see what 
it does, I doubt many would.


graphoz means nothing to anyone, like flatten may not, just saying.

Regards
Tony

On Friday, July 3, 2020 at 10:25:32 AM UTC+10, Birthe C wrote:

TW Tones,

You can flatten the whole stream or nodes of the stream. I think
it does make sense, when you play a little with Jan's example.

@Jan, well done. Nice addon I am sure I will use.


Birthe

--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0631c742-5713-4391-9311-cbee2bf71c6bo%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/0631c742-5713-4391-9311-cbee2bf71c6bo%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EFF2185.7090901%40googlemail.com.


[tw5] An addon for Saq's stream-editor

2020-07-02 Thread Jan

Hello,
I made an addon to Saq's 
stream-plugin*https://saqimtiaz.github.io/sq-tw/streams.html 
<https://saqimtiaz.github.io/sq-tw/streams.html>

*
You can find and test it at *https://szen.io/stream/
*

It mainly adds a modal which allows you

...to flatten the whole stream or nodes of the stream.

...and to rename the Node

You trigger it...
...in the contextmenu

...by typing alt+f for flatten while you are in the writingmode of the 
node you want to flatten.


...or with the opacity button below (which shall imply "join") to 
flatten the whole stream


My Addon is a bit wierd because...

...it inserts multiple linebreaks to keep the structure

...I tried to make it with very few tiddlers, so the code may appear 
somewhat strange


To use it:

...you can choose between ordered and unordered lists and paragraphs.

...So if you want to transform your stream to a special structure start 
at the twigs an go back to the trunk.


...when flattening branches, all subnodes that follow the generic 
naming-pattern ( and have "/20" in the title ) will be deleted .


...so if you want to keep the content in a seperate tiddler rename it first.
...and as always: backup before Testing it in your Wiki and stream.


 Big thanks to Saq for inventing this great tool.

best wishes Jan


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EFDECFA.4000500%40googlemail.com.


Re: [tw5] Preview: keyboard driven draggable bullets

2020-06-28 Thread Jan

Hi Saq,
thanks for your answer, I had to medidate a little on it.
The possibilities to flatten structures in the list are in deed great.
What about giving the practical rename modal an option to flatten the 
chosen branch at the same time (or just to flatten without renaming)?


Best wishes Jan





Am 26.06.2020 um 08:41 schrieb Saq Imtiaz:

Hi Jan,

On Friday, June 26, 2020 at 1:25:05 AM UTC+2, Jan wrote:

I would be very great to have the option to flatten either the entire
list or a branch of the list for restructuring or export tat you
mention
in the roadmap.


What makes this rather complex is that each node is a tiddler, that 
could have any kind of content. So what format would you flatten to, 
which supports both multi-line content and hierarchy?
Also it is worth remembering that the relationship between the node 
tiddlers is based on fields, so users can write a list filter to 
flatten and export as fits their use case.


I think eventually I will just add a few examples of such list filters 
rather than any built in export/flatten features.



--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/152b6944-a8d2-46bb-9ac5-288bfe5c382ao%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/152b6944-a8d2-46bb-9ac5-288bfe5c382ao%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EF8DE0A.6030301%40googlemail.com.


Re: [tw5] Preview: keyboard driven draggable bullets

2020-06-25 Thread Jan

Hi Saq,
this is a really great approach to enhance the capabilities of 
TiddlyWiki as a tool for getting nonlinear thoughts into order.
I would be very great to have the option to flatten either the entire 
list or a branch of the list for restructuring or export tat you mention 
in the roadmap.


Do you think it cold be a good idea to prefill  the  field to choose a 
new name for a tiddler with a selected text in that box?


Cheerio and thanks for the great work
Jan





Am 20.05.2020 um 23:44 schrieb Saq Imtiaz:

When I'm under the weather I tend to prototype. Spent some time reworking code 
from my eternally in progress task manager in an attempt to make it more 
general purpose, as a bullet list note taking tool that may be of utility to 
others.

https://drive.google.com/file/d/1SB06s13tj8P3cC2UewnfzXf08UQ7jwYK/view?usp=drivesdk

https://drive.google.com/file/d/1SLESm6OIfHsScwYePGOs5ce3o3wpQ0CO/view?usp=drivesdk

- everything except the dragging is keyboard driven
- each bullet is a separate tiddler. Lots of different pros and cons to this 
approach, but was ideal for a task manager.
- this is all in wikitext, no extra JS.

  Will post the file in the near future, a bit more clean up needed. Don't 
expect a final product, but rather a pattern to follow that would hopefully 
help anyone wanting to implement similar workflow.

Cheers,
Saq



--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EF5317C.50304%40googlemail.com.


Re: [tw5] Personal News

2020-05-20 Thread Jan

Hi Jeremy,
I am very sorry to read this,
all best wishes for your recovery.
Jan


Am 18.05.2020 um 10:59 schrieb Jeremy Ruston:

I should let you all know that I have somehow contracted Covid-19, despite 
being in careful lockdown for two months. I haven't been tested (this is the 
UK), but the symptoms have gradually become unmistakeable over the last week 
and a half. It's all tolerable at the moment, and I remain hopeful that this is 
a mild dose of the disease. My doctor says that I can be cautiously optimistic 
that I've had symptoms for so long without developing the really dangerous 
ones. I've been told unequivocally to rest, and so I'll likely be out of action 
for at least a few days.

I'm very happy there's so much activity on the group just now, but naturally 
frustrated not to be able to keep up. Hopefully I'll be back soon, and in the 
meantime please take care of yourselves and each other,

Best wishes

Jeremy

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



--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EC509AF.3010003%40googlemail.com.


Re: [tw5] [New Plugin] Delay Actions, defer the execution of action widgets for a set amount of time

2020-05-08 Thread Jan

Hi Jed,
this ist great. I could have used for this at least 5 Projects already.
Thank you!

Jan


Am 07.05.2020 um 13:42 schrieb Jed Carty:
I needed a break from my other work, so I made an action widget that 
can add a delay to the execution of other action widgets.


Enjoy.

https://ooktech-tw.gitlab.io/plugins/delayactions/
--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e793e4cb-dc06-4c21-a931-b06ab9037880%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/e793e4cb-dc06-4c21-a931-b06ab9037880%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EB52CB2.7020506%40googlemail.com.


Re: [tw5] Re: XML plugin for Tiddlywiki??

2020-05-04 Thread Jan

Hi,
this is a real extension! For many usecases i missed the possibility to 
store another value in dictionary-tiddlers.


Thanks! Jan
Am 03.05.2020 um 00:33 schrieb Flibbles:
Tony: That'd be great. I built this so XML could act like 
super-data-tiddlers. So that's what it's mostly good at solving right 
now. But I'd love it if this plugin became the answer for other 
problem, though  I may need more feedback on such use-cases to 
determine how to elaborate tw5-xml.


Damon: You're welcome to go ahead. I think the importer and the 
<$xpath> are locked down. Though I'm still in "rapid prototyping" 
mode. It's all pretty slow and buggy at the moment. If you do go 
ahead, let me know in what ways tw5-xml doesn't address your needs. 
I'd like it to be *the* XML solution for Tiddlywiki5.

--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e0580ea6-da98-456d-8457-f143c6c2b096%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/e0580ea6-da98-456d-8457-f143c6c2b096%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EB0ACD6.6020807%40googlemail.com.


Re: [tw5] TWC IncludePlugin alternative for TW5 ?

2020-04-29 Thread Jan

Hi Julian,
that was cool stuff, back then.
There has been a discussion a week ago on hosting a private 
Plugin-Library, jed developped some interesting plugins for that. 
Perhaps this I could be also a clue to your desire.


Greetings Jan

Am 29.04.2020 um 09:57 schrieb julien23:

Hi all
I am trying to migrate from TWC to TW5

I used to share tiddlers accross TW using Abego IncludePlugin 
<https://tiddlywiki.abego-software.de/#IncludePlugin>


Basically at ...\1\TW1.html startup, it fetches #TW1 tiddlers from 
...\2\TW2.html ...\3\TW3.html , ...


It is a must have for me.
Totally new to TW5, What's your advice?

Regards

Julien
--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/516f11af-3bc1-4cac-beff-9af3fef3c9a4%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/516f11af-3bc1-4cac-beff-9af3fef3c9a4%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EA9CF9D.3080904%40googlemail.com.


Re: [tw5] Re: Is there a solution for triggering scrolling to to Top ( when you are not using the storyriver. )

2020-04-28 Thread Jan

Hello,
for this behaviour, you can use the normal action-navigate widget and 
action-setfield setting the storyview to zooming in one button.


cheers Jan

Am 28.04.2020 um 10:15 schrieb Hubert:

Hello,

For anyone who wants to use it, you can find it here:
https://szenio.de/Grid/#Scrolltotop

<https://www.google.com/url?q=https%3A%2F%2Fszenio.de%2FGrid%2F%23Scrolltotop=D=1=AFQjCNGdYuAiu5417ZRxpoxSFoH8Fnevgw>


It works great, thanks for sharing Jan!

It would be nice to have this action implemented on opening a tiddler 
in the zoomin story view and as part of any other single tiddler 
mode(s) that could be introduced in the future. But that's a 
discussion for a different thread.


Thanks again!
Hubert

On Monday, 27 April 2020 11:09:55 UTC+1, Jan wrote:

Hallo Saq,
heureka, it works.
For anyone who wants to use it, you can find it here:
https://szenio.de/Grid/#Scrolltotop
<https://szenio.de/Grid/#Scrolltotop>

Thanks a lot Saq!

PS.:
Encouraged by this success it would be great generalize the function
enabeling the widget to scroll to an id that is given as a param.
Perhaps we manage that also.



Am 27.04.2020 um 00:19 schrieb Saq Imtiaz:
> Open the browser developer tools and the console. Do you see any
error messages when loading your wiki? I would expect you to.
>
> Your refresh method is not valid JavaScript. You can actually
just remove it entirely. Remove the refresh method. It will
inherit from the widget base class and that will be enough in this
case. Make sure the tiddler has the correct type for JavaScript
and module-type widget.
>
> If it still doesn't work post your new code and the code for the
button being used to trigger this. I'm currently not at a computer
so that's the best I can do for now, hope that helps.
>

--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8a099897-c647-4868-9cb4-faad6a3574e9%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/8a099897-c647-4868-9cb4-faad6a3574e9%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EA85EB4.30609%40googlemail.com.


Re: [tw5] Re: Is there a solution for triggering scrolling to to Top ( when you are not using the storyriver. )

2020-04-28 Thread Jan

Hi,
you need the $:/Plugins/JJ/Grid/scrolltotop.js,  a restart and a button 
invoking the widget like

<$button>scroll to top
<$action-scrolltotop/>


Yours Jan


Am 28.04.2020 um 11:47 schrieb 'Peter Buyze' via TiddlyWiki:

Jan,

forgive my ignorance, but I dragged your plug-in to my wiki expecting 
to see that button somewhere, but I don't. What do I need to do?


--
Securely sent with Tutanota. Get your own encrypted, ad-free mailbox:
https://tutanota.com


28 Apr 2020, 11:15 by hubert...@gmail.com:

Hello,

For anyone who wants to use it, you can find it here:
https://szenio.de/Grid/#Scrolltotop

<https://www.google.com/url?q=https%3A%2F%2Fszenio.de%2FGrid%2F%23Scrolltotop=D=1=AFQjCNGdYuAiu5417ZRxpoxSFoH8Fnevgw>


It works great, thanks for sharing Jan!

It would be nice to have this action implemented on opening a
tiddler in the zoomin story view and as part of any other single
tiddler mode(s) that could be introduced in the future. But that's
a discussion for a different thread.

Thanks again!
Hubert

On Monday, 27 April 2020 11:09:55 UTC+1, Jan wrote:

Hallo Saq,
heureka, it works.
For anyone who wants to use it, you can find it here:
https://szenio.de/Grid/#Scrolltotop
<https://szenio.de/Grid/#Scrolltotop>

Thanks a lot Saq!

PS.:
Encouraged by this success it would be great generalize the
function
enabeling the widget to scroll to an id that is given as a param.
Perhaps we manage that also.



Am 27.04.2020 um 00:19 schrieb Saq Imtiaz:
> Open the browser developer tools and the console. Do you see
any error messages when loading your wiki? I would expect you to.
>
> Your refresh method is not valid JavaScript. You can
actually just remove it entirely. Remove the refresh method.
It will inherit from the widget base class and that will be
enough in this case. Make sure the tiddler has the correct
type for JavaScript and module-type widget.
>
> If it still doesn't work post your new code and the code for
the button being used to trigger this. I'm currently not at a
computer so that's the best I can do for now, hope that helps.
>


--
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
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit

https://groups.google.com/d/msgid/tiddlywiki/8a099897-c647-4868-9cb4-faad6a3574e9%40googlegroups.com

<https://groups.google.com/d/msgid/tiddlywiki/8a099897-c647-4868-9cb4-faad6a3574e9%40googlegroups.com?utm_medium=email_source=footer>.


--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/M6-AoNj--3-2%40tutamail.com 
<https://groups.google.com/d/msgid/tiddlywiki/M6-AoNj--3-2%40tutamail.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EA85DE0.2050304%40googlemail.com.


Re: [tw5] Re: Is there a solution for triggering scrolling to to Top ( when you are not using the storyriver. )

2020-04-27 Thread Jan

Hallo Saq,
heureka, it works.
For anyone who wants to use it, you can find it here:
https://szenio.de/Grid/#Scrolltotop

Thanks a lot Saq!

PS.:
Encouraged by this success it would be great generalize the function 
enabeling the widget to scroll to an id that is given as a param.

Perhaps we manage that also.



Am 27.04.2020 um 00:19 schrieb Saq Imtiaz:

Open the browser developer tools and the console. Do you see any error messages 
when loading your wiki? I would expect you to.

Your refresh method is not valid JavaScript. You can actually just remove it 
entirely. Remove the refresh method. It will inherit from the widget base class 
and that will be enough in this case. Make sure the tiddler has the correct 
type for JavaScript and module-type widget.

If it still doesn't work post your new code and the code for the button being 
used to trigger this. I'm currently not at a computer so that's the best I can 
do for now, hope that helps.



--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EA6AEC9.8000904%40googlemail.com.


Re: [tw5] Is there a solution for triggering scrolling to to Top ( when you are not using the storyriver. )

2020-04-26 Thread Jan

Am 26.04.2020 um 23:50 schrieb TonyM:

Jan

The original thread refers to top of page. If you simply want to move to the 
top of the page surely there exists a simple html method like hidden anchor at 
the topand a link to that.

If on the other hand you are referring to tiddler navigation it is different.

Have you looked throught the page and view template process in tiddlywiki. It 
should be quite simple to display the existing story in the part of the page 
you choose. If I am on track let me know and I will present some research notes 
on this.

Regards
Tony


Hi Tony,
you are on track (and I would be willing to take a short cut...) my 
problem is, the navigation shall be invoked together with other actions 
when clicking a button.
It would be very practical to a widget scrolling to a desired id or 
class that can be included into a button.


thanks for your help,
Jan

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EA605CD.2090400%40googlemail.com.


Re: [tw5] Re: Is there a solution for triggering scrolling to to Top ( when you are not using the storyriver. )

2020-04-26 Thread Jan

Hi Saq,
many thanks for your gentle explanation.
Following your recipe I made what you can find below:
It does not crash the Wiki or show the red sign, which is already great 
for a first approach;-) , but so far the button says that the widget is 
not defined:

Can you give me another hint?

Best wishes
Jan

--
Button:
<$button>scroll to top
<$action-scrolltotop/>

--

|/*\
type: application/javascript
module-type: widget


\*/
(function(){

/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";

var Widget = require("$:/core/modules/widgets/widget.js").widget;

var ScrollToTopWidget = function(parseTreeNode,options) {
this.initialise(parseTreeNode,options);
};

/*
Inherit from the base widget class
*/
ScrollToTopWidget.prototype = new Widget();

/*
Render this widget into the DOM
*/
ScrollToTopWidget.prototype.render = function(parent,nextSibling) {
this.computeAttributes();
this.execute();
};

/*
Compute the internal state of the widget
*/

/*
Refresh the widget by ensuring our attributes are up to date
*/
ScrollToTopWidget.prototype.refresh = refreshSelf() {
return true;
}
return this.refreshChildren(changedTiddlers);
};

/*
Invoke the action associated with this widget
*/
ScrollToTopWidget.prototype.invokeAction = function(triggeringWidget,event) {
window.scrollTo({ top: 0, behavior: 'smooth' });
return true; // Action was invoked
};

exports["action-scrolltotop"] = ScrollToTopWidget;

})();|




Am 26.04.2020 um 10:32 schrieb Saq Imtiaz:

In simple terms:

macros -> text substitution or defining a variable
widgets -> everything else

So you need a widget. And widgets that cause an action, rather than 
display something, need to be triggered, typically by a button, 
checkbox, select etc. These are called action widgets and the method 
that contains the logic for what happens when a widget is triggered is 
invokeAction.


Use this widget as a starting point:

|
|/*\
type: application/javascript
module-type: widget


\*/
(function(){

/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";

var  Widget  =  require("$:/core/modules/widgets/widget.js").widget;

var  AddToHistoryWidget  =  function(parseTreeNode,options)  {
 this.initialise(parseTreeNode,options);
};

/*
Inherit from the base widget class
*/
AddToHistoryWidget.prototype=  new  Widget();

/*
Render this widget into the DOM
*/
AddToHistoryWidget.prototype.render=  function(parent,nextSibling)  {
 this.computeAttributes();
 this.execute();
};

/*
Compute the internal state of the widget
*/
AddToHistoryWidget.prototype.execute=  function()  {
 this.historyTitle=  
this.getAttribute("$history",this.getVariable("tv-history-title"));
 this.newTitle=  this.getAttribute("$title");
};

/*
Refresh the widget by ensuring our attributes are up to date
*/
AddToHistoryWidget.prototype.refresh=  function(changedTiddlers)  {
 var  changedAttributes=  this.computeAttributes();
 if(changedAttributes["$historyTitle"]  ||  changedAttributes["$title"])  {
 this.refreshSelf();
 return  true;
 }
 return  this.refreshChildren(changedTiddlers);
};

/*
Invoke the action associated with this widget
*/
AddToHistoryWidget.prototype.invokeAction=  function(triggeringWidget,event)  {
 this.wiki.addToHistory(this.newTitle,{},this.historyTitle);  
 return  true;  // Action was invoked

};

exports["action-addtohistory"]  =  AddToHistoryWidget;

})();|
|

- execute() sets up the attributes via the parameters given to the 
widget, I suspect you don't need any.
- refresh() handles refreshing when the parameters have changed, 
probably also not needed. Jus call refreshSelf() and return true

- tweak invokeAction to perform the scroll.

Hope this helps.
Saq

On Sunday, April 26, 2020 at 10:05:13 AM UTC+2, Jan wrote:

Hi Saq,
I think you got me...I do not really know what the difference is.
I think all the js I did so far was macros.
I finally should learn some of the basic concepts of programming
    js in TW ;-) Thanks for giving me a hint to start.

Do I need a widget or can I perform that action with a macro.

Jan


Am 26.04.2020 um 01:31 schrieb Saq Imtiaz:

You have written a macro, not a widget.

Look at one of the action widgets and write an action-totop
widget, e.g:

https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/widgets/action-deletetiddler.js

<https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/widgets/action-deletetiddler.js>

The invokeAction method is where the logic goes for what happens
when the widget is triggered.



O

Re: [tw5] Is there a solution for triggering scrolling to to Top ( when you are not using the storyriver. )

2020-04-26 Thread Jan

Hi Jeremy,
 think it would be a good idea to turn the grid-plugin into a storyview 
to be compatible with the mechanisms of TW.
But I still do not really understand the storyview mechanism... My 
container is called .gridpage (off course I could easily switch it to 
tc-page-view-grid). I fear the whole way grid-items are constructed 
differs too much from the tiddler-display in the storyriver. In fact 
they are just buttons generated by a list of tiddlers. The idea is that 
they enable you to  choose different storylists and switch to the 
classic-view.


So I am still wondering whether I can adapt all this.
Best wishes Jan



Am 26.04.2020 um 11:07 schrieb Jeremy Ruston:

Hi Jan

Things like your grid view are intended to be implemented as custom 
storyviews. The storyview object is responsible for inserting and 
removing tiddlers from the story river, and for animating navigations 
to new tiddlers.


There are several examples of storyviews in the core repo:

https://github.com/Jermolene/TiddlyWiki5/tree/master/core/modules/storyviews
https://github.com/Jermolene/TiddlyWiki5/tree/master/plugins/tiddlywiki/stacked-view

In your case, you’d need some custom CSS to switch the story river to 
using your grid layout. You can scope that CSS by the way that the 
div.tc-page-container is given a class like tc-page-view-classic or 
tc-page-view-zoomin. Look at the classic storyview for an example of a 
navigation animation.


Best wishes

Jeremy.

On 26 Apr 2020, at 09:32, Saq Imtiaz <mailto:saq.imt...@gmail.com>> wrote:


In simple terms:

macros -> text substitution or defining a variable
widgets -> everything else

So you need a widget. And widgets that cause an action, rather than 
display something, need to be triggered, typically by a button, 
checkbox, select etc. These are called action widgets and the method 
that contains the logic for what happens when a widget is triggered 
is invokeAction.


Use this widget as a starting point:

|
|/*\
type: application/javascript
module-type: widget


\*/
(function(){

/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";

var  Widget  =  require("$:/core/modules/widgets/widget.js").widget;

var  AddToHistoryWidget  =  function(parseTreeNode,options)  {
 this.initialise(parseTreeNode,options);
};

/*
Inherit from the base widget class
*/
AddToHistoryWidget.prototype=  new  Widget();

/*
Render this widget into the DOM
*/
AddToHistoryWidget.prototype.render=  function(parent,nextSibling)  {
 this.computeAttributes();
 this.execute();
};

/*
Compute the internal state of the widget
*/
AddToHistoryWidget.prototype.execute=  function()  {
 this.historyTitle=  
this.getAttribute("$history",this.getVariable("tv-history-title"));
 this.newTitle=  this.getAttribute("$title");
};

/*
Refresh the widget by ensuring our attributes are up to date
*/
AddToHistoryWidget.prototype.refresh=  function(changedTiddlers)  {
 var  changedAttributes=  this.computeAttributes();
 if(changedAttributes["$historyTitle"]  ||  changedAttributes["$title"])  {
 this.refreshSelf();
 return  true;
 }
 return  this.refreshChildren(changedTiddlers);
};

/*
Invoke the action associated with this widget
*/
AddToHistoryWidget.prototype.invokeAction=  function(triggeringWidget,event)  {
 this.wiki.addToHistory(this.newTitle,{},this.historyTitle);  
 return  true;  // Action was invoked

};

exports["action-addtohistory"]  =  AddToHistoryWidget;

})();|
|

- execute() sets up the attributes via the parameters given to the 
widget, I suspect you don't need any.
- refresh() handles refreshing when the parameters have changed, 
probably also not needed. Jus call refreshSelf() and return true

- tweak invokeAction to perform the scroll.

Hope this helps.
Saq

On Sunday, April 26, 2020 at 10:05:13 AM UTC+2, Jan wrote:

Hi Saq,
I think you got me...I do not really know what the difference is.
I think all the js I did so far was macros.
I finally should learn some of the basic concepts of programming
js in TW ;-) Thanks for giving me a hint to start.

Do I need a widget or can I perform that action with a macro.

Jan


Am 26.04.2020 um 01:31 schrieb Saq Imtiaz:

You have written a macro, not a widget.

Look at one of the action widgets and write an action-totop
widget, e.g:

https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/widgets/action-deletetiddler.js

<https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/widgets/action-deletetiddler.js>

The invokeAction method is where the logic goes for what happens
when the widget is triggered.



On Saturday, April 25, 2020 at 8:40:56 PM UTC+2, Jan wrote:


Hi,
I made a Landing-Page which uses its own Pagetemplate and
hides the storyriver: https://szen.io/Grid/

Re: [tw5] Is there a solution for triggering scrolling to to Top ( when you are not using the storyriver. )

2020-04-26 Thread Jan

Salut Julio,
nice site, but it is not so easy to find the key to your backstage-area 
to see how it is done...
As I said things are a little complicated because I do use another 
storyview.


Best wishes Jan


Am 26.04.2020 um 17:13 schrieb Julio Peña:

Hello Jan and all,

Maybe this can help or give you an idea? Take a look:

Cultures d'Avenir 
<http://cultures-avenir.com/#Intro:Intro%20Vide%20%5B%5BPourquoi%3F%20Pour%20Qui%3F%5D%5D%20%5B%5BTournesol%201%5D%5D%20%5B%5BNotre%20histoire%5D%5D%20%5B%5BD%C3%A9marche%20%26%20Principes%5D%5D%20%5B%5BTournesol%202%5D%5D%20Prestations%20R%C3%A9alisations%20%5B%5BMenuiserie%20Carayon%5D%5D%20%5B%5BPrimum%20Non%20Nocere%5D%5D%20Buesa%20ImgEquipe%20Equipe%20%5B%5BInfos%20%26%20Contact%5D%5D>


Regards,
Julio
--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3f6e41f2-bae4-4eb3-989e-477dd04c55a8%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/3f6e41f2-bae4-4eb3-989e-477dd04c55a8%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EA5CDC7.5060702%40googlemail.com.


Re: [tw5] Is there a solution for triggering scrolling to to Top ( when you are not using the storyriver. )

2020-04-26 Thread Jan

Hi Saq, Hi Jeremy,
thank you two for this valuable help.
Saq, your explanationon the difference between macros and widgets is 
very helpfull. And Jeremy, I guess it is most usefull to turn the grid 
into a storyview. I realize that a lot of things I did in TW are 
workarounds for this because I did not understand that concept.

I guess I will have to do some learning.

best wishes Jan

PS: Sorry if this takes some time, my coding is squeezed between work 
and parental duties...







Am 26.04.2020 um 11:07 schrieb Jeremy Ruston:

Hi Jan

Things like your grid view are intended to be implemented as custom 
storyviews. The storyview object is responsible for inserting and 
removing tiddlers from the story river, and for animating navigations 
to new tiddlers.


There are several examples of storyviews in the core repo:

https://github.com/Jermolene/TiddlyWiki5/tree/master/core/modules/storyviews
https://github.com/Jermolene/TiddlyWiki5/tree/master/plugins/tiddlywiki/stacked-view

In your case, you’d need some custom CSS to switch the story river to 
using your grid layout. You can scope that CSS by the way that the 
div.tc-page-container is given a class like tc-page-view-classic or 
tc-page-view-zoomin. Look at the classic storyview for an example of a 
navigation animation.


Best wishes

Jeremy.

On 26 Apr 2020, at 09:32, Saq Imtiaz <mailto:saq.imt...@gmail.com>> wrote:


In simple terms:

macros -> text substitution or defining a variable
widgets -> everything else

So you need a widget. And widgets that cause an action, rather than 
display something, need to be triggered, typically by a button, 
checkbox, select etc. These are called action widgets and the method 
that contains the logic for what happens when a widget is triggered 
is invokeAction.


Use this widget as a starting point:

|
|/*\
type: application/javascript
module-type: widget


\*/
(function(){

/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";

var  Widget  =  require("$:/core/modules/widgets/widget.js").widget;

var  AddToHistoryWidget  =  function(parseTreeNode,options)  {
 this.initialise(parseTreeNode,options);
};

/*
Inherit from the base widget class
*/
AddToHistoryWidget.prototype=  new  Widget();

/*
Render this widget into the DOM
*/
AddToHistoryWidget.prototype.render=  function(parent,nextSibling)  {
 this.computeAttributes();
 this.execute();
};

/*
Compute the internal state of the widget
*/
AddToHistoryWidget.prototype.execute=  function()  {
 this.historyTitle=  
this.getAttribute("$history",this.getVariable("tv-history-title"));
 this.newTitle=  this.getAttribute("$title");
};

/*
Refresh the widget by ensuring our attributes are up to date
*/
AddToHistoryWidget.prototype.refresh=  function(changedTiddlers)  {
 var  changedAttributes=  this.computeAttributes();
 if(changedAttributes["$historyTitle"]  ||  changedAttributes["$title"])  {
 this.refreshSelf();
 return  true;
 }
 return  this.refreshChildren(changedTiddlers);
};

/*
Invoke the action associated with this widget
*/
AddToHistoryWidget.prototype.invokeAction=  function(triggeringWidget,event)  {
 this.wiki.addToHistory(this.newTitle,{},this.historyTitle);  
 return  true;  // Action was invoked

};

exports["action-addtohistory"]  =  AddToHistoryWidget;

})();|
|

- execute() sets up the attributes via the parameters given to the 
widget, I suspect you don't need any.
- refresh() handles refreshing when the parameters have changed, 
probably also not needed. Jus call refreshSelf() and return true

- tweak invokeAction to perform the scroll.

Hope this helps.
Saq

On Sunday, April 26, 2020 at 10:05:13 AM UTC+2, Jan wrote:

Hi Saq,
I think you got me...I do not really know what the difference is.
I think all the js I did so far was macros.
I finally should learn some of the basic concepts of programming
js in TW ;-) Thanks for giving me a hint to start.

Do I need a widget or can I perform that action with a macro.

Jan


Am 26.04.2020 um 01:31 schrieb Saq Imtiaz:

You have written a macro, not a widget.

Look at one of the action widgets and write an action-totop
widget, e.g:

https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/widgets/action-deletetiddler.js

<https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/widgets/action-deletetiddler.js>

The invokeAction method is where the logic goes for what happens
when the widget is triggered.



On Saturday, April 25, 2020 at 8:40:56 PM UTC+2, Jan wrote:


Hi,
I made a Landing-Page which uses its own Pagetemplate and
hides the storyriver: https://szen.io/Grid/
The grid can be restructured by setting a tag to filter
content.
When a user triggers this action, it would be great to
      

Re: [tw5] Re: Is there a solution for triggering scrolling to to Top ( when you are not using the storyriver. )

2020-04-26 Thread Jan

Hi Mat,
gridlist uses some functions of TW like the list- , reveal- and 
buttonwidget but inserts the content into its own pagetemplate.

That is why all the storyriver-related functions do not work.
It would be great to be able to navigate to ids or classes.

Jan





Am 26.04.2020 um 10:22 schrieb Mat:


But isn't it all in a tiddler, $:/Plugins/JJ/Grid/Gridlist  - ?
I think that this would work, which doesn't rely on a storylist:

|
<$action-navigate $to="$:/Plugins/JJ/Grid/Gridlist"/>
|


OK, I just tried adding it in a button to one of your tiddlers and 
you're right it does NOT work.



<:-)
--
You received this message because you are subscribed to the Google 
Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to tiddlywiki+unsubscr...@googlegroups.com 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d8affd86-4198-48b0-82ec-ee69f6570097%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/d8affd86-4198-48b0-82ec-ee69f6570097%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EA5619C.3040402%40googlemail.com.


Re: [tw5] Re: Is there a solution for triggering scrolling to to Top ( when you are not using the storyriver. )

2020-04-26 Thread Jan

Hi Saq,
I think you got me...I do not really know what the difference is.
I think all the js I did so far was macros.
I finally should learn some of the basic concepts of programming js in 
TW ;-) Thanks for giving me a hint to start.


Do I need a widget or can I perform that action with a macro.

Jan


Am 26.04.2020 um 01:31 schrieb Saq Imtiaz:

You have written a macro, not a widget.

Look at one of the action widgets and write an action-totop widget, e.g:
https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/widgets/action-deletetiddler.js

The invokeAction method is where the logic goes for what happens when 
the widget is triggered.




On Saturday, April 25, 2020 at 8:40:56 PM UTC+2, Jan wrote:


Hi,
I made a Landing-Page which uses its own Pagetemplate and hides
the storyriver: https://szen.io/Grid/
The grid can be restructured by setting a tag to filter content.
When a user triggers this action, it would be great to scroll to
the top of the Webpage automatically.
How can I do this?

Best wishes Jan


Hi,

I tried to build a widget, but so far it wont work.

|

/*\
title: $:/core/modules/macros/totop.js
type: application/javascript
module-type: macro
Macro that scrolls to the top
\*/

(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";

/*
Information about this macro
*/
exports.name  <http://exports.name>  = "totop";
exports.params = [
];
/*
Run the macro
*/
exports.run = function() {
var totopp = window.scrollTo({ top: 0, behavior: 'smooth' });
totopp;
}
})();|


--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3e58e2ff-7a57-4efd-8f04-0ba6ed5431de%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/3e58e2ff-7a57-4efd-8f04-0ba6ed5431de%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EA54011.8090003%40googlemail.com.


Re: [tw5] Re: Is there a solution for triggering scrolling to to Top ( when you are not using the storyriver. )

2020-04-26 Thread Jan

Hi Birthe, hi  Mat,
my problem is, that the grid does not use storylist or storyriver, they 
are not even displayed. I could try the navigator widget...I am  not 
optimistic with that.

FIrst I will use Saq`s apporach.

Jan



Am 25.04.2020 um 20:57 schrieb Mat:

Maybe

|
trigger
...
<$set name=top filter="""[list[$:/StoryList]first[]]""">
<$action-navigate $to=<>/>

|

<:-)
--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/d9fff9ba-caca-4cc5-8819-b504a30a09c1%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/d9fff9ba-caca-4cc5-8819-b504a30a09c1%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EA53E5D.1040106%40googlemail.com.


[tw5] Re: Is there a solution for triggering scrolling to to Top ( when you are not using the storyriver. )

2020-04-25 Thread Jan

Hi,
I made a Landing-Page which uses its own Pagetemplate and hides the 
storyriver: https://szen.io/Grid/

The grid can be restructured by setting a tag to filter content.
When a user triggers this action, it would be great to scroll to the 
top of the Webpage automatically.

How can I do this?

Best wishes Jan


Hi,

I tried to build a widget, but so far it wont work.

|

/*\
title: $:/core/modules/macros/totop.js
type: application/javascript
module-type: macro
Macro that scrolls to the top
\*/

(function(){
   /*jslint node: true, browser: true */
   /*global $tw: false */
   "use strict";

/*
Information about this macro
*/
   exports.name = "totop";
   exports.params = [
   ];
/*
Run the macro
*/
   exports.run = function() {
   var totopp = window.scrollTo({ top: 0, behavior: 'smooth' });
   totopp;
}
})();|


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EA48391.3090700%40googlemail.com.


Re: [tw5] Re: Presenting a tiny editor-toolbar-extension: Wrappit

2020-04-24 Thread Jan

Thanks Dave
it makes me feel proud to add something to your Hall of Fame:-))


Am 23.04.2020 um 15:30 schrieb David Gifford:
Added to the toolmap (https://dynalist.io/d/zUP-nIWu2FFoXH-oM7L7d9DM) 
in the "Writing and editing - editing tools" section. Thanks Jan!




On Tuesday, April 21, 2020 at 7:23:07 PM UTC-5, Jan wrote:

Hi fellow Tiddeleurs.
I made a tiny editor-toolbar-extension called Wrappit that can be
used
to use snippets to souround the selection with suffix and prefix
with a
dropdownmenu.
This can be usefull for coding in TW.
It comes with the ability to link the information in Tiddlywiki
static.

https://szenio.de/wrappit/

Best wishes Jan



--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/dd645452-e1ab-4de7-b370-57f68d6d0ee9%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/dd645452-e1ab-4de7-b370-57f68d6d0ee9%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EA34D5B.7010500%40googlemail.com.


[tw5] Is there a solution for triggering scrolling to to Top ( when you are not using the storyriver. )

2020-04-24 Thread Jan

Hi,
I made a Landing-Page which uses its own Pagetemplate and hides the 
storyriver: https://szen.io/Grid/

The grid can be restructured by setting a tag to filter content.
When a user triggers this action, it would be great to scroll to the top 
of the Webpage automatically.

How can I do this?

Best wishes Jan

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EA34C3F.3030406%40googlemail.com.


Re: [tw5] Rethinking tiddlywiki.com

2020-04-24 Thread Jan

Salut Anne-Laure,
I made a grid-template for TW: https://szen.io/Grid/ .
Changing the stylesheet it could be modified it to the syle of your 
landingpage...prooving that you can build anything in TW.


Best wishes Jan



Am 24.04.2020 um 10:35 schrieb Anne-Laure Le Cunff:
Wow, Jeremy — this is amazing! If we do this for both Tiddlywiki.com 
and the static version people will land on when they arrive via search 
engines, we'd be in a much, much better situation in terms of 
converting newcomers.


I made a few quick tweaks <https://github.com/anthilemoon/tw-landing> 
to give us an idea of what this could look like — super, super quick, 
I think we can do much better.


Screenshot attached.


On Thursday, April 23, 2020 at 1:25:13 PM UTC+1, Mohammad wrote:

Just wants to remind of a lovely traditional introduction to
Tiddlywiki created by Jeremy here:

https://tiddlywiki.com/editions/introduction/
<https://tiddlywiki.com/editions/introduction/>

I also keep a copy of that here in Tiddlyspot:
http://kookma.intro.tiddlyspot.com/
<http://kookma.intro.tiddlyspot.com/>
powered with keyboard shortcut:ctrl+shift+S saves on the fly


--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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f14061a9-713a-4a3a-8256-6f77a23c7258%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/f14061a9-713a-4a3a-8256-6f77a23c7258%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EA34144.7010200%40googlemail.com.


Re: [tw5] Re: Is it possible to host a Plugin-Library for content?

2020-04-24 Thread Jan

Hi Jed,
 it is not the size but the number of files to upload that is difficult 
to represent in one upload-form and recieving php .

But perhaps I only do not know the technology well enough.
So my Idea was to upload (and delete) the plugins one by one and 
generate index.html and the also tiddlers.json dynamically on the server 
by php.
Does the "index" have to be named html or can it have the ending and 
execute php and adapt it content and generate the json.


But I thinK you are right: this project apppears to big for me right know.

Yours Jan






Am 24.04.2020 um 07:11 schrieb Mohammad:



On Friday, April 24, 2020 at 2:46:43 AM UTC+4:30, Jed Carty wrote:

Jan,

I am not sure the reason the folder is called recipes, I believe
it has something to do with how some system was set up while this
was being developed. I think you would have to ask Jeremy why.


Right now the folder structure is like below

- /root
-- index.html
-- /recipes
--- /library
- tiddlers.json
- /tiddlers

Why two nested folders that way (library under recipes ,...). So, if 
ask Jeremy, please ask about the folder structure too!



the things that are uploaded are the things generated by the
tiddler I made, yes they are necessary. tiddlers.json is the
metadata for the plugins, not the full plugins.

I think that you are thinking about this as more complex than it
has to be, a single php server that can accept post and a path is
plenty to do this, on the wiki side it could be done with one
click. When adding plugins you just need to upload the plugin
itself and update the index.html file, unless you are on a very
limited bandwidth connection that shouldn't be a problem, if you
manage to have enough plugins to make a 1mb index.html file I will
be very impressed.

It would probably be helpful to make a plugin library and look at
its structure.

--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4556a7cb-1490-4d70-a695-622787414b41%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/4556a7cb-1490-4d70-a695-622787414b41%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EA2E23A.2080503%40googlemail.com.


Re: [tw5] Re: Is it possible to host a Plugin-Library for content?

2020-04-23 Thread Jan

Hi fellows,
as I now understand, this means uploading quite a lot of stuff via 
forms. I will have to meditate on how to do that elegantly.
Jed, can you tell why (and whether) you need the single tiddler files 
and a tiddlers.json? Ain't this redundant? Single tiddlers means the 
entire plugins...not the plugintiddlers I hope.

What is the recipies-file mentioned in the structure?
It could be an Idea to generate the folders index.html dynamically on 
the server by php...so that you can upload the plugins one by one and 
the index adjusts to the content.

Mohammad we could need your help as a regex-magician there ;-)

Best wishes to you.
Jan



Am 23.04.2020 um 16:16 schrieb TonyM:

Me too Mohammad,

I am trying to build my own tools now, but there is still more to 
learn with insufficient documentation. Thank heavens for Jeds knowledge.


I am also keen to follow Jeds php post widget perhaps even to publish 
the library, json files and more.


With my import tools, the tiddler and json tiddler handling I have 
picked up recently, I see a lot of ways for sharing tiddlywiki content 
as if, it was not already good at it.


Regards
Tony





On Thursday, 23 April 2020 23:13:22 UTC+10, Mohammad wrote:

@Jed
 I am keen to see how this work! I also use git for GitHub!

@Jan
I will eager to see how this work on php-server and then if one
can use with other servers like GitHub pages!


--Mohammad

On Thursday, April 23, 2020 at 5:23:22 PM UTC+4:30, Jan wrote:

Hi Jed,
it was your submit-form-widget that opened the world of php
for me.
I am happy that you like that Idea.

Mohammed,
I do not know enough about github to say anything sure about
that. This is for php-servers, i do not know whether github
has this possibility.

I'll be back soon.
now I am off videoconferencing


Am 23.04.2020 um 11:52 schrieb Jed Carty:

Jan,

I just looked at your proof of concept and you are doing
something more clever than what I was considering. I was
thinking in terms of exporting the plugin library into a
local file system so that then you would upload it somewhere
else.
Your way is a much better idea I think.
I made a widget that lets you send http POST requests from a
browser, that would allow you to skip any copy and pasting or
exporting steps and directly send the files to your php
server. The widget is here
https://ooktech.com/TiddlyWiki/SubmitForm/
<https://ooktech.com/TiddlyWiki/SubmitForm/>

I think the widget should be modified a bit to fit this
situation, but the entire process could be done in a browser.

The problem with the widget currently is that it uses the raw
text content (not the wikified content) of a tiddler and we
want it to use the output of macros as the text to send.

Oh, and to clear up the confusion about the plugin library
creator, the one you have titled LibraryHTML-Creator is an
update to the other one that includes the html, the first
part is the same as the old one, it just has the html part
appended to the end of it.
-- 
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 tiddl...@googlegroups.com.
To view this discussion on the web visit

https://groups.google.com/d/msgid/tiddlywiki/05a22ed6-9f3d-4323-b043-cf7716dffd58%40googlegroups.com

<https://groups.google.com/d/msgid/tiddlywiki/05a22ed6-9f3d-4323-b043-cf7716dffd58%40googlegroups.com?utm_medium=email_source=footer>.


--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1d53506d-a13f-45a0-91b0-06a9320215a7%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/1d53506d-a13f-45a0-91b0-06a9320215a7%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EA20CBE.2040202%40googlemail.com.


Re: [tw5] Re: Is it possible to host a Plugin-Library for content?

2020-04-23 Thread Jan

Hi Jed,
it was your submit-form-widget that opened the world of php for me.
I am happy that you like that Idea.

Mohammed,
I do not know enough about github to say anything sure about that. This 
is for php-servers, i do not know whether github has this possibility.


I'll be back soon.
now I am off videoconferencing


Am 23.04.2020 um 11:52 schrieb Jed Carty:

Jan,

I just looked at your proof of concept and you are doing something 
more clever than what I was considering. I was thinking in terms of 
exporting the plugin library into a local file system so that then you 
would upload it somewhere else.

Your way is a much better idea I think.
I made a widget that lets you send http POST requests from a browser, 
that would allow you to skip any copy and pasting or exporting steps 
and directly send the files to your php server. The widget is 
here https://ooktech.com/TiddlyWiki/SubmitForm/


I think the widget should be modified a bit to fit this situation, but 
the entire process could be done in a browser.


The problem with the widget currently is that it uses the raw text 
content (not the wikified content) of a tiddler and we want it to use 
the output of macros as the text to send.


Oh, and to clear up the confusion about the plugin library creator, 
the one you have titled LibraryHTML-Creator is an update to the other 
one that includes the html, the first part is the same as the old one, 
it just has the html part appended to the end of it.

--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/05a22ed6-9f3d-4323-b043-cf7716dffd58%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/05a22ed6-9f3d-4323-b043-cf7716dffd58%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EA18F1C.2070502%40googlemail.com.


Re: [tw5] Re: Is it possible to host a Plugin-Library for content?

2020-04-23 Thread Jan

Hi Jed, hi everyboy
I made a proof-of-concet fopr a php-library-uploader here 
https://szenio.de/Libraries/
Unfortuantely it is not working yet, because Jed's Create-HTML does not 
seem to work in the textarea for the export.


And I do not know whether I fully understood the process.
1. Create the plugins to export (With jed's plugin creator that is also 
already there Question: Can I alternatively use TINKA?)
2. Create the library-html and host ot on your server (This step would 
be replaced by my php-based uploader)

3. Create a Library-Importer pointing to the URL.

Is that correct or what did I forget?

Thanks again for this great step forward, jed

Jan







Am 23.04.2020 um 03:10 schrieb TonyM:

Jed Thanks,

I will see if I can make use of it. I am running too many development 
threads at the moment. However I am trying to democratise the 
following related services;


  * Tiddlers to Bookmarklet
  * Tiddlers to JSON
  * Tiddlers to Plugins and other plugin types
  * Tiddlers to URI new Share Tiddler via link
  * Tiddlers and Plugins to libraries

In someways Libraries, If we publish one are a good way to share 
content of the plugin or static type. In part because it lives 
independently at a particular URL and is loaded on demand.


I wonder if this could be a cross domain form of federation, at least 
in one direction. I mention this to you because you are the federation 
guru :)


Regards
Tony

On Wednesday, April 22, 2020 at 11:25:31 PM UTC+10, Jed Carty wrote:

the plugin development repo is here:
https://github.com/inmysocks/PluginDevelopment
<https://github.com/inmysocks/PluginDevelopment>

--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/a46199ec-b02a-433b-9a53-f2b6a0cd037b%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/a46199ec-b02a-433b-9a53-f2b6a0cd037b%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EA15B55.6070908%40googlemail.com.


Re: [tw5] Re: Presenting a tiny editor-toolbar-extension: Wrappit

2020-04-23 Thread Jan

Hi Tony,
Thanks for your feedback!!!
Of course you are right, the name this is due to the fact that i cloned 
the existing edtior toolbal button and dropdown to get a fast solution...

Until I found the perfect name and icon this won't hurt.

For the list I am still meditating on what to wrap the filter or the 
template-content.
You can simply add your personal version to the dropdown-choice by 
cloning one of the tiddlers prefixed $:/wrappit/ 
<https://szenio.de/wrappit/#%24%3A%2Fwrappit%2Fwikify> and modifying it 
the way you want.


Best wishes Jan




Am 23.04.2020 um 03:47 schrieb TonyM:

Jan,

Thanks for this inspirational tool, I already want to add a wappit as 
follows;

|
<$list filter="<>">


|
Where `<>` is the insertion point

However I see your tiddlers are not bundled and named


$:/core/ui/EditorToolbar/wrappit
<https://szenio.de/wrappit/#%24%3A%2Fcore%2Fui%2FEditorToolbar%2Fwrappit>

  * Which is not true as they are not $:/core/ui

Do you want some help and feedback to make this solution more general?

Regards
Tony
_
_On Wednesday, April 22, 2020 at 10:23:07 AM UTC+10, Jan wrote:

Hi fellow Tiddeleurs.
I made a tiny editor-toolbar-extension called Wrappit that can be
used
to use snippets to souround the selection with suffix and prefix
with a
dropdownmenu.
This can be usefull for coding in TW.
It comes with the ability to link the information in Tiddlywiki
static.

https://szenio.de/wrappit/

Best wishes Jan



--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f350bf1f-2a72-4e4a-8014-8db87b0377a9%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/f350bf1f-2a72-4e4a-8014-8db87b0377a9%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5EA14B57.6090308%40googlemail.com.


[tw5] Presenting a tiny editor-toolbar-extension: Wrappit

2020-04-21 Thread Jan

Hi fellow Tiddeleurs.
I made a tiny editor-toolbar-extension called Wrappit that can be used 
to use snippets to souround the selection with suffix and prefix with a 
dropdownmenu.

This can be usefull for coding in TW.
It comes with the ability to link the information in Tiddlywiki static.

https://szenio.de/wrappit/

Best wishes Jan



--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5E9F8DC6.7090100%40googlemail.com.


Re: [tw5] Re: Is it possible to host a Plugin-Library for content?

2020-04-21 Thread Jan

Hi Jed this looks great.
I have some questions
-Am I right that node.js is not needed to host the library, just the 
html-file on a server?
-It would be great to have a button to export the html file. My 
html-file was aproximately one kilometer long which makes it complicated 
to copy it manually.

-What does the command to import a plugin on the other side look like?

Thanks a lot for this invention which could be truueely helpfull for the 
projects I am just working on.


Jan

Am 21.04.2020 um 13:00 schrieb Jed Carty:
Oh, sorry about that. I had another tiddler generate the html file. 
Here is everything in one file, I am also adding it to the plugin 
development repo. The formatting for the html file output isn't great, 
but it should work:


|
\define makeHTML(json)
`







Plugin Library

var assetList = $(JSONLISTING)$

/*\
title: $:/plugins/tiddlywiki/pluginlibrary/libraryserver.js
type: application/javascript
module-type: library

</pre><tt>A simple HTTP-over-window.postMessage implementation of a standard 
</tt><tt>TiddlyWeb-compatible server. It uses real HTTP to load the individual 
</tt><tt>tiddler JSON files.
</tt><pre style="margin: 0em;">

\*/
(function(){

/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";

// Listen for window messages
window.addEventListener("message",function listener(event){
console.log("plugin library: Received message from",event.origin);
console.log("plugin library: Message content",event.data);
switch(event.data.verb) {
case "GET":
if(event.data.url === "recipes/library/tiddlers.json") {
// Route for recipes/library/tiddlers.json
event.source.postMessage({
verb: "GET-RESPONSE",
status: "200",
cookies: event.data.cookies,
url: event.data.url,
type: "application/json",
body: JSON.stringify(assetList,null,4)
},"*");
} else if(event.data.url.indexOf("recipes/library/tiddlers/") === 0) {
</pre><tt>var url = "recipes/library/tiddlers/" + 
</tt><tt>encodeURIComponent(removePrefix(event.data.url,"recipes/library/tiddlers/"));
</tt><pre style="margin: 0em;">
// Route for recipes/library/tiddlers/<uri-encoded-tiddler-title>.json
httpGet(url,function(err,responseText) {
if(err) {
event.source.postMessage({
verb: "GET-RESPONSE",
status: "404",
cookies: event.data.cookies,
url: event.data.url,
type: "text/plain",
body: "Not found"
},"*");
} else {
event.source.postMessage({
verb: "GET-RESPONSE",
status: "200",
cookies: event.data.cookies,
url: event.data.url,
type: "application/json",
body: responseText
},"*");
}
});
} else {
event.source.postMessage({
verb: "GET-RESPONSE",
status: "404",
cookies: event.data.cookies,
url: event.data.url,
type: "text/plain",
body: "Not found"
},"*");
}
break;
}
},false);

// Helper to remove string prefixes
function removePrefix(string,prefix) {
if(string.indexOf(prefix) === 0) {
return string.substr(prefix.length);
} else {
return string;
}
}

// Helper for HTTP GET
function httpGet(url,callback) {
var http = new XMLHttpRequest();
http.open("GET",url,true);
http.onreadystatechange = function() {
if(http.readyState == 4 && http.status == 200) {
callback(null,http.responseText);
}
};
http.send();
}

})();





HelloThere

This is the TiddlyWiki plugin library. It is not intended to be 
opened directly in the browser.


See https://tiddlywiki.com/; 
target="_blank">https://tiddlywiki.com/ for details of how to 
install plugins.




`
\end

\define oneTiddler()
  <$list
filter='[fields[]] -text +[bl[]]'
  >

"<$view field='title' jsencoded/>": "<$view 
tiddler=<> field=<> format=jsencoded/>",

  
  <$list
filter='[fields[]] -text +[bl[]]'
  >

"<$view field='title' jsencoded/>": "<$view 
tiddler=<> field=<> format=jsencoded/>"

  
\end

\define jsonListing()
[
<$list
filter='[subfilter{$:/state/PluginLibrary!!filter}] +[bl[]]'
  variable=theTiddler
>
  {
  <>
  
  },
  

<$list
filter='[subfilter{$:/state/PluginLibrary!!filter}] +[last[]]'
  variable=theTiddler
>
  {
  <>
  
  }
  

]
\end

This packages the plugins returned by this filter into the format 
needed by a plugin library.


The file structure needs to be:

*Library Folder
** recipes
*** library
 tiddlers
* //individual tiddler json files//
 tiddlers.json
** index.html

filter: <$edit-text tiddler='$:/state/PluginLibrary' field=filter/>


!! tiddlers.json

''filename:'' tiddlers.json

''contents:''

<>

!! Tiddler JSON files:

<$list filter={{$:/state/PluginLibrary!!filter}}>

---
''filename:'' <

Re: [tw5] Re: Is it possible to host a Plugin-Library for content?

2020-04-19 Thread Jan

Hi Mat, Hi Tony, Hi Mohammad!
I would like to reduce the number of necessary clicks for possible users 
as much as possible.
Jed alread furnished a very valuable tool with the bundeler - but this 
still is three clicks before you really can work with the content and 
thus too much for an average end-user.
As I pointed out in your following thread, I would love to have one 
click which allows you to import and use the content.
Therefore I would invest time take to prepare packages. But if it were 
possible to create the downloadable content dynamically like with the 
bundles this would of course be even better.


Yours


Am 19.04.2020 um 07:38 schrieb Mat:
Tony, that's some neat buttons ...but it requires that you click the 
button in the /source/ tiddler. One main point with an import library 
is that you don't leave your wiki.


@Jan, do you even imagine your source to be in the form of tiddlers 
before they're imported?


<:-)
--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/03b4a9ae-9cf3-4bfd-9ee4-608fee605bb8%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/03b4a9ae-9cf3-4bfd-9ee4-608fee605bb8%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5E9C296C.7090205%40googlemail.com.


Re: [tw5] Re: Library as sidebar, listing external content?

2020-04-19 Thread Jan

Hi dear fellow-tiddleurs ;-)
Thanks for triggering the very usefull next stage of the debate: How 
could we use this new possibility.

Of course the Idea of the sidebrary is very usefull.
My dream is to have an action-widget that I could integrate into a 
button together with a series of actions that I could at the same time 
import the new content and use it (If there is no .js involved).

Like loading a vocabularyset *and* starting a quiz with one click.

Yours Jan


Am 19.04.2020 um 09:55 schrieb Mohammad:

Great idea Mat!
This will make life much easier!

On Sunday, April 19, 2020 at 11:35:58 AM UTC+4:30, Mat wrote:

In another thread
<https://groups.google.com/d/msg/tiddlywiki/Tlje6l8UZiU/IwdThpI-AwAJ>,
/fellow tiddleur/ Jan asked a question which gave me an idea:

Could a sidebar list, with seemingly regular title lists, really
be a plugin library listing?

Clicking the tab is equal to opening the library and the listed
titles are tiddlers that are not really in the wiki yet but
clicking a title imports it!

...and would those tiddlers really even have to be tiddlers? For
example could they be images or other file types that are
importable to TW?

...and would this /have/ to be called a Sidebrary?

<:-)

--
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 
<mailto:tiddlywiki+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e9ee72fc-902c-4557-8d29-95176e09f4da%40googlegroups.com 
<https://groups.google.com/d/msgid/tiddlywiki/e9ee72fc-902c-4557-8d29-95176e09f4da%40googlegroups.com?utm_medium=email_source=footer>.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5E9C2568.7050001%40googlemail.com.


[tw5] Is it possible to host a Plugin-Library for content?

2020-04-18 Thread Jan

Hi community,
I am very fascinated with the new ability of the plugin-library to 
install plugins on the fly. I would like to use this mechanism for 
importing content - like history-data, theatre-plays etc. ... or even 
images. Because no js is involved, the even would run instantly.

What is the infrastructure behind the plugin-library?
Do you think it is possible to build and host a similar backend?

Thanks and best wishes
Jan



--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5E9B6C3A.2060707%40googlemail.com.


Re: [tw5] Optional restore-button for the browserstorage-plugin?

2020-04-18 Thread Jan

Hi Jed, thanks for your answer.
I have a php-backend and I already have built a mechanism to upload 
tiddlers to the server which I posted to this group some time ago.
A tiddler altered by the modifier gets an upload-button. But I think I 
would drown in unimportant uploads if this was the normal saving 
behaviour ... so that it would be hard to filter what is important.
I would like that the users upload when they think it is really ready 
and till then reduce the risk of loss through the browserstorage-plugin. 
I think browserstorage is not the ultimate solution but it can be a good 
short-term-backup.


best wishes Jan
Jan Johannpeter


Am 16.04.2020 um 22:35 schrieb Jed Carty:

I don't know the details of your setup, but we could make a saver that sends 
the students edits to you as the save method. They could have local storage for 
short term unreliable storage and the more persistent save would be having them 
sent to the server in some form you could check on. The specifics depend on 
what type of server backend you are using, but if that setup would be.useful I 
could look into how easy it would be to make.



--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5E9B1439.302%40googlemail.com.


Re: [tw5] Optional restore-button for the browserstorage-plugin?

2020-04-16 Thread Jan

Hi Tony,
thanks for engaging in the discussion.
I do not need the browserstorage - but other users of my wikis (my 
students) would need it.
I do not need it because my edits are saved on the server. And I always 
want to work with the newest version on the server. And I do not want 
deleted and renamed tiddlers to come to life again.
My students sometimes are buffled, that the changes they made are not 
saved and it is unpleasant to tell them, that they are lost unless they 
posted them to me.
So I need a construction that prevents this ... without interfering into 
my editing.


Best wishes Jan




Am 16.04.2020 um 12:18 schrieb TonyM:

Jan

I don't Actualy understand your perceived problem. The local storage saves and 
retains the updates in the browser and if you return to the same address it 
will be there although some cases of possible loss. To combat this I thought of 
a export button that exports changes as a backup, where most users can't save 
to the original file only a backup.

If you try and leave a site even if local storage is up To date it will warn 
its not saved.

So I think its operation my be different to what you think. I have researched 
this a lot so when its clearer happy to discuss further.

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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5E98BA0A.9050401%40googlemail.com.


[tw5] Optional restore-button for the browserstorage-plugin?

2020-04-15 Thread Jan

Hi Community.
I am a little anxious about using the Browserstorage-Plugin, because I 
fear this could end up in version-conflicts, when I edit my webbased TW 
on different computers. Is this precaution superfluous?
I would really love to have an optional restore-button for users who 
accidentally clicked the back button in the Browser or forgot to upload 
thes changes - which is the cause of most of the criticism when I try to 
get my pupils to work with TW.


My proposition for the functionality would be the following:
-The plugin starts to work when you enter a username,
- when you enter the Username you may choose between continuing the last 
session or starting for the downloaded Version.


I think this could cure some of the issues described in the specs...

Best wishes Jan

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5E96C2D9.7050104%40googlemail.com.


  1   2   3   4   5   6   7   8   9   >