[tw5] Re: HOWTO: Upload files/images to cloud storage automatically

2020-11-06 Thread Donald Coates
Absolutely.  With the setfield command we are setting the value for the 
field _canonical_uri, text, and moved.  _canonical_uri is a default field 
that tiddlywiki looks for that marks the tiddler as a placeholder pointing 
to a specific address.  text is a default field containing the text of the 
tiddler. moved is a user created field we use to mark the tiddler as having 
been run through the script already so that tiddlywiki doesn't overwrite 
the moved image with the empty file we create with the script.  Ie if we 
didn't mark the image tiddlywiki would move the empty placeholder and 
overwrite the actual image on a second pass.

the setfield command looks for the field to set and then requires a tiddler 
with the value of the field as it's text.  so

the tiddler /empty_text is just an empty tiddler.  Therefore the text 
of the placeholder tiddler is set to empty.  You may have to use a space I 
can't remember.

the tiddler /moved_field has the text 'yes'.  therefore a field called 
move is created on that tiddler and it's value is set to yes.  now on 
subsequent passes of the script tiddly wiki will ignore this tiddler and 
only act on those images ( is[image] ) that do not have the value of yes ( 
!moved[yes] )

the tiddler /canonical-uri-external-image has the value of the 
_canonical_uri and generally requires some sort of transclusion of the 
tiddler title so that it is unique.  In my case is:
./images/<$view field="created" format="date" template=""/>/<$view field
="created" format="date" template="0MM"/>/<$view field="title"/>

This points to the directory that I saved to in the first line by adding 
the images/month/year to the filename of the actual image so that 
tiddlywiki moves it to that directory.

Hopefully that makes sense please feel free to ask. 

On Wednesday, November 4, 2020 at 11:20:57 PM UTC-5, Carlos R wrote:
>
> Sorry still new to tiddly, I ran into trouble running the script. Could 
> you share what these are? 
>
>- $:/blog/templates/empty_text
>- $:/blog/templates/moved_field
>- $:/blog/templates/canonical-uri-external-image
>
> On Wednesday, November 4, 2020 at 5:32:13 PM UTC-8 Carlos R wrote:
>
>> This is extremely helpful I will give a shot using dropbox.
>>
>> On Wednesday, November 4, 2020 at 2:58:47 AM UTC-8 digit...@gmail.com 
>> wrote:
>>
>>> With both my nodejs and single file wikis I import images normally and 
>>> then occasionally run a script that moves them to an external directory and 
>>> creates a placemarker tiddler with a canonical uri:
>>>
>>>
>>> #!/bin/bash
>>>
>>> myyear=$(date +"%Y")
>>> mymonth=$(date +"%m")
>>>
>>> tiddlywiki --save [is[image]!tag[header-img]!moved[yes]] 
>>> [addprefix[./images/$myyear/$mymonth/]] \ # moves image to directory based 
>>> on year/month
>>>--setfield [is[image]!tag[header-img]!moved[yes]] 
>>> _canonical_uri $:/blog/templates/canonical-uri-external-image text/plain
>>>
>>> tiddlywiki --setfield [is[image]!moved[yes]] text 
>>> $:/blog/templates/empty_text text/plain \
>>>--setfield [is[image]!moved[yes]] moved 
>>> $:/blog/templates/moved_field text/plain
>>>
>>> Setting a field to 'moved' is crucial because otherwise tiddlywiki will 
>>> perform this operation on an emptied image and overwrite the original.
>>>
>>> So locally you could move the files to a synced folder or on a server it 
>>> might be a bit more complicated.
>>>
>>>
>>> On Monday, November 2, 2020 at 9:52:41 PM UTC-5, Carlos R wrote:


 I am using nodejs version and I want a way to automatically upload 
 files to a cloud storage service such as dropbox. Has anyone attempted 
 this? I like to take screen shots with my notes and it's a bit cumbersome 
 to have to manually link files/images.

 Thanks!

>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8aff9f68-3cde-493d-aa74-83ebc035108ao%40googlegroups.com.


[tw5] Re: Pasting a field of one tiddler into a specific place of the text field of another tiddler?

2020-11-06 Thread TW Tones
odin,

What you are doing below is not paste anything, you are transcluding. As 
soon as the temp tiddler/fields change it will be reflected .


   - Consider using the transclude widget <$transclude 
   tiddler=$:/temp/Recepten/NieuwRecept field=recept-quote mode=block /> the 
   block should render the content correctly
   - However this does not save the values 
  - Try a New tiddler button with entries such as 
  recept-quote={{$:/temp/Recepten/NieuwRecept!!recept-quote}} as the 
  parameters, so the temp values will be used to create the new tiddler.
  - Then simply use {{!!recept-quote}} to display the content of that 
  field on the current tiddler. This can be placed in a tiddler tagged 
  viewTemplate $:/tags/ViewTemplate
   

Regards
Tones

On Friday, 6 November 2020 22:43:43 UTC+11, odin...@gmail.com wrote:
>
> I am struggling with making a UI to enter recipes. I am using $edit-text 
> to make an input box. The inputs are stored into fields of temporary 
> tiddlers. Now I want to paste the inputs into this code below in order to 
> make the recipe easy to read.
> 
> 
>
> {{$:/temp/Recepten/NieuwRecept!!recept-quote}}
> 
>
> 
>
> {{$:/temp/Recepten/NieuwRecept!!recept-ingredienten}}
> 
>
> 
>
> {{$:/temp/Recepten/NieuwRecept!!recept-instructies}}
> 
>
> 
>
> {{||Onderkant recept}} 
> 
>
> (the *onderkant recept* is a tiddler that shows the portion amount and 
> other metadata that is stored into fields.)
> I know I can use $setfield inside a $button to set fields, I am using that 
> one for the quote in the recipe, but also the portion size etc. The thing 
> is, when I make a list in the input box like this:
> *potato
> *olive
> *onion
> the formatting is lost when it is placed into a field. It would then show 
> up as *potato*olive*onion inline.
>
> Another way I tried is to set the entire code above as a text field, but 
> then the transclusion of the temporary tiddler doesn't happen. While the 
> CSS is applied, it gets applied to 
> {{$:/temp/Recepten/NieuwRecept!!recept-ingredienten}}, and not to the list
> *potato
> *olive
> *onion 
>
> What are some ways of pasting stuff from one tiddler into a specific part 
> of another tiddler? 
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b096d3a3-7781-49a9-95de-195ab3ff52bfo%40googlegroups.com.


[tw5] Re: Duplicated tiddlers after coppying from one wiki to another [BobLinux]

2020-11-06 Thread TW Tones
Jed et al..

On a related matter there are system tiddlers that can end up in a 
haschanged export of tiddlers, that if imported can damage the wiki.

As a result I have an emergency save filter that avoids exporting these bob 
tiddlers;
[haschanged[]!prefix[$:/Bob]!prefix[$:/plugins/OokTech/Bob]!title[$:/ServerIP]!prefix[$:/WikiSettings]!prefix[$:/temp]!prefix[$:/state]]
 
-[[$:/plugins/tiddlywiki/filesystem]] -$:/StoryList -$:/HistoryList -$:/
Import -$:/config/emergency-save-filter -[prefix[$:/PSaT/emergency-save]]

If the tiddlers prefix[$:/Bob] prefix[$:/plugins/OokTech/Bob] 
[[$:/ServerIP]]!prefix[$:/WikiSettings]
are imported they can create tiddlers that overwrite shadows

I hope this helps
Tones



On Saturday, 7 November 2020 04:46:19 UTC+11, Jed Carty wrote:
>
> It looks like this is a bug in Bob. I will hopefully get it fixed in the 
> next release.
>
> On Thursday, November 5, 2020 at 11:55:47 PM UTC+1 skaczm...@gmail.com 
> wrote:
>
>>
>> Hello,
>>
>> Please help me understand how moving tiddlers from one wiki to another 
>> works on BobLinux server. When I copy tiddler from one wiki to another, 
>> within the same "index wiki" server produces duplicate with the same name 
>> plus _1. Basically, tiddler is imported and visible ion the "destination" 
>> wiki, but I don't understand what's the purpose of that duplicate. I need 
>> to move over 1000 tiddlers from one wiki to another and I'm afraid, that 
>> duplicating this number will only make things worse in the longer run.
>>
>> I hope, that below screenshot will explain everything. If you miss some 
>> information please let me know, I'm still new to tiddly wiki and my lack of 
>> knowledge might create some confusion.
>>
>> [image: double-tiddlers.png]
>>
>

-- 
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/5b88e652-7e8e-4a18-939e-2f2026e370f4o%40googlegroups.com.


[tw5] Re: Use _canonical_uri to embed an external plain text file?

2020-11-06 Thread TW Tones
Si,

Have you tried the html object tag?

I have a newtworkcheck batch that I launch from a TiddlyDesktop wiki, that 
returns the result in a text file.


 
Go

<$button set="Networkcheck!!last-refresh" setTo=<> >
Refresh {{Networkcheck!!last-refresh}}


 

It also has a button that sets a field to cause a refresh and time stamps 
it.

Tones


On Saturday, 7 November 2020 05:21:09 UTC+11, si wrote:
>
> I have some external source-code files that I would like to add to my wiki 
> as plain text so that I can make notes on them.
>
> Rather than making another copy of the text, I thought I would be able to 
> embed the file as I would a PDF or HTML file.
>
> I set _canonical_uri to ./folder/code.py and changed the type to 
> text/plain. This didn't work.
>
> I noticed that if I change the type to text/html, the text does get 
> embedded as though it were an html file.
>
> Is there any way to embed text and have it appear as regular plain text?
>

-- 
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/78788a4f-299b-45d7-884c-4bc623f4788ao%40googlegroups.com.


Re: [tw5] Competition for v5.1.23 artwork

2020-11-06 Thread Mohammad
Hi Bimlas,
 Your artwork is simple and abstract!

--Mohammad

On Sunday, October 25, 2020 at 7:18:57 PM UTC+3:30 bimlas wrote:

> > I think that the numbers don't jump out clearly enough from Bimlas' 
> artwork.
> > I'd think the sharpest contrast would be if the characters are white. 
> But I can see how it needs some pretty colours so one idea would be to add 
> some shimmer for the chassi part. Think CD disk reflection. Just an idea.
>
> For now, let’s look at it in white letters and see what it’s like.
>
> [image: v5.1.23.png]
>
>
> > Here's an idea: Instead of the Q key, use a T to make it read TW... 
>
> Good idea, I didn't think of that. Originally, I also wanted to force the 
> word "ZIP" on the image somehow because of the new Zip feature, but your 
> idea fits the image better.
>
> > Amusingly, the idea echoes the cover artwork of a book of mine in the 
> 1980s
>
> Classic but nice effect to play with keyboard keys. :)
>

-- 
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/877c5143-5b34-468d-9e70-366d439c69c5n%40googlegroups.com.


Re: [tw5] Competition for v5.1.23 artwork

2020-11-06 Thread Mohammad
I love the first artwork it has an interesting concept! Tiddlywiki is 
really proud of the great community, difficult to find for other 
software/tools.

On Tuesday, October 20, 2020 at 7:23:59 PM UTC+3:30 Atronoush wrote:

> Hi Jeremy,
>  Here I send two banner images, both created in Inkscape. So, you or other 
> interested people can edit and customize it.
>
> Artwork one: The circles means TW is a modular, lego-wise framework and 
> also it is maintained by a lovely community (group of users [outer circles] 
> and group of developers [inner circles])
> [image: TW5.1.23.png]
>
> Artwork two: This second artwork reflects the pandemic
>
>
> [image: TW5.1.23_mask.png]
> Artwork three: same as two with colorful face mask
> [image: TW5.1.23_mask_colorful.png]
>
>
> --Atro
>
>
> P.s: The second artwork uses a free open source icon from flaticon.
>
> On Tue, Oct 20, 2020 at 11:55 AM Jeremy Ruston  
> wrote:
>
>> TiddlyWiki v5.1.23 is nearing release with many exciting updates; see 
>> https://tiddlywiki.com/prerelease to try it out. As usual, I’d like to 
>> hold a competition to design the banner image that is shown on the splash 
>> screen and within the opening HelloThere tiddler.
>>
>> The rules for the competition are:
>>
>> * The version number (with the correct punctuation) must be clear and 
>> readable even when the banner is shown at a reduced size
>> * The image must be a PNG, JPEG or SVG of exactly 560x315 pixels
>> * The bottom 46 pixels will be obscured by the banner text “What’s new in 
>> 5.1.23” when it is displayed within HelloThere
>> * Feel free to enter an updated version of artwork that was a runner-up 
>> in a previous competition
>> * Reply to this message with your entry, or any questions
>>
>> Here are the posts about previous artwork competitions:
>>
>> v5.1.22 - 
>> https://groups.google.com/g/tiddlywiki/c/rYrja18_SfQ/m/JAklPfjfAwAJ
>> v5.1.21 - 
>> https://groups.google.com/g/tiddlywiki/c/l47ZZzWdDb8/m/6s0p_3QeCgAJ
>>
>> Inspiration might come from some of the new features in v5.1.22, or 
>> perhaps reflect something of the uniqueness of this peculiar year. If 
>> you’ve got a great idea for the banner image, but don’t have the skills to 
>> produce finished artwork, do feel free to share your ideas in case another 
>> person would like to work on the artwork.
>>
>> The competition will be open for a week, at which point if there is more 
>> than one submission I’ll set up a Google Form for voting.
>>
>> Best wishes and many thanks,
>>
>> Jeremy
>>
>> -- 
>> 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/ACB82DC3-0DE6-43CE-B0C4-573C4FFE3E22%40gmail.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/9b7f45f4-2a28-4b92-b0a6-e0cc12937a0en%40googlegroups.com.


Re: [tw5] Tiddlywiki Empty: The size empty.html

2020-11-06 Thread Mohammad
Thank you Jeremy!

That is really good! I think 5.2.x will be an elegant new generation as I 
follow discussions, ideas and proposals on GitHub.
There are good experiences and huge amount of feedback in forum and GitHub 
on TW 5.1.xx.

Stay healthy!

Mohammad

p.s: I really like to have a set of clean and flexible filters! I think 
important core widgets like $list may need to be carefully evaluated and 
get proper improvement for a
simple and flexible scripting in TW 5.2.x



On Friday, November 6, 2020 at 10:06:52 PM UTC+3:30 jeremy...@gmail.com 
wrote:

> Hi Mohammad
>
>  Many thanks for clarification! So, there are obstacles and limitations 
> for having a microkernel Tiddlywiki.
>
>
> Just factors that hadn’t been discussed so far, it’s a good discussion.
>
> I meant to add to my earlier reply that I do plan to do something similar 
> for v5.2.x in that I’d like to move obsolete and deprecated components into 
> an optional plugin. It won’t necessarily have a huge impact on the size of 
> the core, but it will make it simpler and easier to understand.
>
> Best wishes
>
> Jeremy.
>
>
>
> Best wishes
> Mohammad
>
> On Friday, November 6, 2020 at 9:21:33 PM UTC+3:30 jeremy...@gmail.com 
> wrote:
>
>> The idea of stripping TiddlyWiki down to a microkernel and making 
>> everything be a plugin comes up fairly frequently, and seems to be an idea 
>> with some appeal.
>>
>> One factor that hasn’t been mentioned so far is that the microkernel 
>> architecture would make testing and support a good deal more complicated. 
>> Core developers and plugin authors would have to test against all the 
>> common combinations of core plugins. Every single support enquiry would 
>> have to be prefaced by a discussion to find out exactly what combination of 
>> plugins the user has.
>>
>> Of course, to some extent we have this problem already because we already 
>> have plugins. But right now the goal for the core is for it to contain not 
>> the bare minimum possible functionality, but rather the functionality that 
>> has the potential to be universally useful. That broader criteria means 
>> that the core itself is sufficient for a lot of work with TiddlyWiki, 
>> making the life of users and developers a lot easier. 
>>
>> A consideration that has already been mentioned is whether it really 
>> matters that the core gets big, especially now that we’re in a world where 
>> a simple news story weighs 20MB. There are valid concerns about slow 
>> networks but the best solution there is to set the server up with GZip 
>> compression because it will benefit the content in the wiki too.
>>
>> As to why TW5 is larger than TWC, it’s really just because TW5 has so 
>> much more functionality beyond the basic user experience that both systems 
>> share.
>>
>> Best wishes
>>
>> Jeremy.
>>
>> On 5 Nov 2020, at 00:36, TW Tones  wrote:
>>
>> Mark,
>>
>> As I understand it this is already possible. External Javascript.
>>
>> I also wonder if one could selectively remove code not used, however this 
>> would need an analysis process. And an exclusion on save, perhaps an 
>> alternate core plugin.
>>
>> The dynamic range of application of tiddlywiki would possibly be enhanced 
>> with a lower size however in todays world we most often have sufficient 
>> overheads that reduction has less benefit than being comprehensive or self 
>> documented. 
>>
>> Regards
>> Tony
>>
>> On Thursday, 5 November 2020 08:12:12 UTC+11, Mark S. wrote:
>>>
>>> If TW5 could be made to run like javascript, then you could separate the 
>>> core from the working files. So you could have a local core library which 
>>> all your tiddlywiki files could resource, without having to include them in 
>>> every download/upload/save.
>>>
>>> On Monday, November 2, 2020 at 11:00:21 PM UTC-8, Mohammad wrote:

 Tiddlywiki is rapidly improving and you can see great features in the 
 recent releases. 
 From 2.1.17+ amazing features have been added to Tiddlywiki! One 
 question is about the size of empty.html (the virgin Tiddlywiki). See the 
 below table

 Release   Size (kb)
 5.1.12   1820
 5.1.15   2025
 5.1.17   2033
 5.1.19   2153
 5.1.21   2235
 5.1.22   2197
 5.1.12   2282

 While I love the new features, but, how big a virgin Tiddlywiki  can 
 be? Assuming many users work with single file mode and using different 
 Tiddlywiki for different purposes, I think we should set a maximum size, 
 before going to have bigger empty.html


 Suggestions
 *A. Use official plugins*
 1. Keep the core as light as possible, go down to 1MB size (strip 
 everything extra)
 2. Put extra features in official plugins

 *B. Start a new generation *
 1.Release TW 5.2 with minimum size core (include only essential part)
 2. Leave all backward compatibility to Tiddlywiki 5.1.xx
 3. Stop developing 5.1.xx and only release bug fixes


[tw5] Re: Exporting HTML file (Bob)

2020-11-06 Thread Jed Carty
The repo is here https://gitlab.com/ooktech/SecureWikiServer

I am still updating it a lot and lots of it may be broken, and most of the 
documentation is missing.

But if you want to try it, and you are on linux or osx, download and run 
setup.sh from 
here 
https://gitlab.com/ooktech/SecureWikiServer/-/raw/master/setup.sh?inline=false

for windows I guess you can try to follow the steps that setup.sh uses

On Thursday, November 5, 2020 at 3:47:17 AM UTC+1 joshua@gmail.com 
wrote:

> Jed,
>
> Awesome to hear you are updating the Secure Login plugin for Bob. I will 
> definitely be testing it out when it is available. :)
>
> Best,
> Joshua F
>
> On Wednesday, November 4, 2020 at 5:05:40 AM UTC-8 justinehe...@gmail.com 
> wrote:
>
>> Thank you Jed! I will surely wait for it. Till then, I will just use the 
>> wiki for myself :)
>>
>> On Wednesday, 4 November 2020 at 20:54:22 UTC+8 inmy...@gmail.com wrote:
>>
>>> I am not sure when I am going to be finished with it, I am hoping to 
>>> have something working this week but documentation an da reasonable UI are 
>>> going to take longer. I will announce it on here when it is ready for 
>>> general use, I will put what I have in a public git repo sometime today, 
>>> but it doesn't have much in the way of documentation.
>>>
>>> On Wednesday, November 4, 2020 at 1:29:21 PM UTC+1 
>>> justinehe...@gmail.com wrote:
>>>
 May I know when will it be released? or not? Anyways, thank you for 
 letting me know. I will look forward to it, thank you so much :D

 On Wednesday, 4 November 2020 at 18:03:25 UTC+8 inmy...@gmail.com 
 wrote:

> I haven't done much with the export since fixing the file server, so I 
> haven't updated the export yet. My plan is to have it copy all of the 
> media 
> files into a files folder next to the output html file and update all of 
> the _canonical_uri tiddlers.
>
> I am currently updating the secure login server for hosting Bob 
> online, hopefully that will be ready soon, then you can have proper 
> access 
> controls for an online wiki.
>
> On Wednesday, November 4, 2020 at 3:24:07 AM UTC+1 
> justinehe...@gmail.com wrote:
>
>> If I exported the html file of my wiki where there are externally 
>> referenced files, is there a way I can do for the files to show up other 
>> than disabling the file server option? I want to send the html version 
>> of 
>> my wiki to my friends so that they can take a look at my school notes 
>> without the html file being large and hard to download and they can see 
>> the 
>> imported images and documents without it being a blank tiddler. I also 
>> think that I'll be considering hosting my wiki online if that's 
>> possible. 
>>
>

-- 
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/2a2c2dea-f050-4953-8ec1-c0fd58abb98cn%40googlegroups.com.


Re: [tw5] Tiddlywiki Empty: The size empty.html

2020-11-06 Thread Jeremy Ruston
Hi Mohammad

>  Many thanks for clarification! So, there are obstacles and limitations for 
> having a microkernel Tiddlywiki.

Just factors that hadn’t been discussed so far, it’s a good discussion.

I meant to add to my earlier reply that I do plan to do something similar for 
v5.2.x in that I’d like to move obsolete and deprecated components into an 
optional plugin. It won’t necessarily have a huge impact on the size of the 
core, but it will make it simpler and easier to understand.

Best wishes

Jeremy.


> 
> Best wishes
> Mohammad
> 
> On Friday, November 6, 2020 at 9:21:33 PM UTC+3:30 jeremy...@gmail.com 
>  wrote:
> The idea of stripping TiddlyWiki down to a microkernel and making everything 
> be a plugin comes up fairly frequently, and seems to be an idea with some 
> appeal.
> 
> One factor that hasn’t been mentioned so far is that the microkernel 
> architecture would make testing and support a good deal more complicated. 
> Core developers and plugin authors would have to test against all the common 
> combinations of core plugins. Every single support enquiry would have to be 
> prefaced by a discussion to find out exactly what combination of plugins the 
> user has.
> 
> Of course, to some extent we have this problem already because we already 
> have plugins. But right now the goal for the core is for it to contain not 
> the bare minimum possible functionality, but rather the functionality that 
> has the potential to be universally useful. That broader criteria means that 
> the core itself is sufficient for a lot of work with TiddlyWiki, making the 
> life of users and developers a lot easier. 
> 
> A consideration that has already been mentioned is whether it really matters 
> that the core gets big, especially now that we’re in a world where a simple 
> news story weighs 20MB. There are valid concerns about slow networks but the 
> best solution there is to set the server up with GZip compression because it 
> will benefit the content in the wiki too.
> 
> As to why TW5 is larger than TWC, it’s really just because TW5 has so much 
> more functionality beyond the basic user experience that both systems share.
> 
> Best wishes
> 
> Jeremy.
> 
> 
>> On 5 Nov 2020, at 00:36, TW Tones > > wrote:
>> 
> 
>> Mark,
>> 
>> As I understand it this is already possible. External Javascript.
>> 
>> I also wonder if one could selectively remove code not used, however this 
>> would need an analysis process. And an exclusion on save, perhaps an 
>> alternate core plugin.
>> 
>> The dynamic range of application of tiddlywiki would possibly be enhanced 
>> with a lower size however in todays world we most often have sufficient 
>> overheads that reduction has less benefit than being comprehensive or self 
>> documented. 
>> 
>> Regards
>> Tony
>> 
>> On Thursday, 5 November 2020 08:12:12 UTC+11, Mark S. wrote:
>> If TW5 could be made to run like javascript, then you could separate the 
>> core from the working files. So you could have a local core library which 
>> all your tiddlywiki files could resource, without having to include them in 
>> every download/upload/save.
>> 
>> On Monday, November 2, 2020 at 11:00:21 PM UTC-8, Mohammad wrote:
>> Tiddlywiki is rapidly improving and you can see great features in the recent 
>> releases. 
>> From 2.1.17+ amazing features have been added to Tiddlywiki! One question is 
>> about the size of empty.html (the virgin Tiddlywiki). See the below table
>> 
>> Release   Size (kb)
>> 5.1.12   1820
>> 5.1.15   2025
>> 5.1.17   2033
>> 5.1.19   2153
>> 5.1.21   2235
>> 5.1.22   2197
>> 5.1.12   2282
>> 
>> While I love the new features, but, how big a virgin Tiddlywiki  can be? 
>> Assuming many users work with single file mode and using different 
>> Tiddlywiki for different purposes, I think we should set a maximum size, 
>> before going to have bigger empty.html
>> 
>> 
>> Suggestions
>> A. Use official plugins
>> 1. Keep the core as light as possible, go down to 1MB size (strip everything 
>> extra)
>> 2. Put extra features in official plugins
>> 
>> B. Start a new generation 
>> 1.Release TW 5.2 with minimum size core (include only essential part)
>> 2. Leave all backward compatibility to Tiddlywiki 5.1.xx
>> 3. Stop developing 5.1.xx and only release bug fixes
>> 
>> If Jeremy can go for a new generation of Tiddlywiki, I may also suggest
>> 1. Sweep the core from all duplicated codes and those retained backward 
>> compatibility and leave them for 5.1.xx
>> 2. Rethink about filters and implement using the more versatile approach, 
>> like those are going on in GitHub (e.g. Saq proposal for multi input filters)
>> 3. Use flexible switchable page layout
>> 4. Think for a cleaner scripting (remove all duplication, improved grammar, 
>> ... there is a lot of good discussions in the forum and GitHub)
>> 5. Think of a new name (re-branding)
>> 6. ...
>> 
>> I am sure people can suggest more here
>> 
>> 
>> Best wishes

[tw5] Use _canonical_uri to embed an external plain text file?

2020-11-06 Thread si
I have some external source-code files that I would like to add to my wiki 
as plain text so that I can make notes on them.

Rather than making another copy of the text, I thought I would be able to 
embed the file as I would a PDF or HTML file.

I set _canonical_uri to ./folder/code.py and changed the type to text/plain. 
This didn't work.

I noticed that if I change the type to text/html, the text does get 
embedded as though it were an html file.

Is there any way to embed text and have it appear as regular plain text?

-- 
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/84a1b407-bb0b-44ae-8268-8e3ad914b0a6o%40googlegroups.com.


Re: [tw5] Tiddlywiki Empty: The size empty.html

2020-11-06 Thread Mohammad
Hi Jeremy,

 Many thanks for clarification! So, there are obstacles and limitations for 
having a microkernel Tiddlywiki.

Best wishes
Mohammad

On Friday, November 6, 2020 at 9:21:33 PM UTC+3:30 jeremy...@gmail.com 
wrote:

> The idea of stripping TiddlyWiki down to a microkernel and making 
> everything be a plugin comes up fairly frequently, and seems to be an idea 
> with some appeal.
>
> One factor that hasn’t been mentioned so far is that the microkernel 
> architecture would make testing and support a good deal more complicated. 
> Core developers and plugin authors would have to test against all the 
> common combinations of core plugins. Every single support enquiry would 
> have to be prefaced by a discussion to find out exactly what combination of 
> plugins the user has.
>
> Of course, to some extent we have this problem already because we already 
> have plugins. But right now the goal for the core is for it to contain not 
> the bare minimum possible functionality, but rather the functionality that 
> has the potential to be universally useful. That broader criteria means 
> that the core itself is sufficient for a lot of work with TiddlyWiki, 
> making the life of users and developers a lot easier. 
>
> A consideration that has already been mentioned is whether it really 
> matters that the core gets big, especially now that we’re in a world where 
> a simple news story weighs 20MB. There are valid concerns about slow 
> networks but the best solution there is to set the server up with GZip 
> compression because it will benefit the content in the wiki too.
>
> As to why TW5 is larger than TWC, it’s really just because TW5 has so much 
> more functionality beyond the basic user experience that both systems share.
>
> Best wishes
>
> Jeremy.
>
> On 5 Nov 2020, at 00:36, TW Tones  wrote:
>
> Mark,
>
> As I understand it this is already possible. External Javascript.
>
> I also wonder if one could selectively remove code not used, however this 
> would need an analysis process. And an exclusion on save, perhaps an 
> alternate core plugin.
>
> The dynamic range of application of tiddlywiki would possibly be enhanced 
> with a lower size however in todays world we most often have sufficient 
> overheads that reduction has less benefit than being comprehensive or self 
> documented. 
>
> Regards
> Tony
>
> On Thursday, 5 November 2020 08:12:12 UTC+11, Mark S. wrote:
>>
>> If TW5 could be made to run like javascript, then you could separate the 
>> core from the working files. So you could have a local core library which 
>> all your tiddlywiki files could resource, without having to include them in 
>> every download/upload/save.
>>
>> On Monday, November 2, 2020 at 11:00:21 PM UTC-8, Mohammad wrote:
>>>
>>> Tiddlywiki is rapidly improving and you can see great features in the 
>>> recent releases. 
>>> From 2.1.17+ amazing features have been added to Tiddlywiki! One 
>>> question is about the size of empty.html (the virgin Tiddlywiki). See the 
>>> below table
>>>
>>> Release   Size (kb)
>>> 5.1.12   1820
>>> 5.1.15   2025
>>> 5.1.17   2033
>>> 5.1.19   2153
>>> 5.1.21   2235
>>> 5.1.22   2197
>>> 5.1.12   2282
>>>
>>> While I love the new features, but, how big a virgin Tiddlywiki  can be? 
>>> Assuming many users work with single file mode and using different 
>>> Tiddlywiki for different purposes, I think we should set a maximum size, 
>>> before going to have bigger empty.html
>>>
>>>
>>> Suggestions
>>> *A. Use official plugins*
>>> 1. Keep the core as light as possible, go down to 1MB size (strip 
>>> everything extra)
>>> 2. Put extra features in official plugins
>>>
>>> *B. Start a new generation *
>>> 1.Release TW 5.2 with minimum size core (include only essential part)
>>> 2. Leave all backward compatibility to Tiddlywiki 5.1.xx
>>> 3. Stop developing 5.1.xx and only release bug fixes
>>>
>>> If Jeremy can go for a new generation of Tiddlywiki, I may also suggest
>>> 1. Sweep the core from all duplicated codes and those retained backward 
>>> compatibility and leave them for 5.1.xx
>>> 2. Rethink about filters and implement using the more versatile 
>>> approach, like those are going on in GitHub (e.g. Saq proposal for multi 
>>> input filters)
>>> 3. Use flexible switchable page layout
>>> 4. Think for a cleaner scripting (remove all duplication, improved 
>>> grammar, ... there is a lot of good discussions in the forum and GitHub)
>>> 5. Think of a new name (re-branding)
>>> 6. ...
>>>
>>> I am sure people can suggest more here
>>>
>>>
>>> Best wishes
>>> Mohammad
>>>
>>> TW-Scripts  codes, macros, and 
>>> solutions in Tiddlywiki
>>> TW-Commander  bulk operations 
>>> on tiddlers
>>> TW-Trashbin  a Tiddlywiki 
>>> trashbin tool
>>> TW-Favorites  a favorites and 
>>> bookmarking tool
>>> TW-Todolist 

[tw5] Re: Can I create child wiki as duplicate of IndexWiki [Bob Linux]?

2020-11-06 Thread Jed Carty
This is just something I hadn't thought about, I will add it as an option 
in future versions. In the meantime you can make a copy of the index wiki 
in the Wikis folder and update the wiki list, then that copy should be 
available for making duplicates. But the copy doesn't get updated when you 
update the indexwiki.

On Wednesday, November 4, 2020 at 11:35:36 PM UTC+1 skaczm...@gmail.com 
wrote:

> Sorry, wrong screenshot. As you can see I cannot select "IndexWiki" or 
> "Tem,plate Wiki" from dropdown. Selecting "Select Wiki" and pressing on 
> "Create duplicate" does nothing.[image: 20201104-233310-.png]
>
> środa, 4 listopada 2020 o 19:35:39 UTC+1 skaczm...@gmail.com napisał(a):
>
>>
>> Hello,
>>
>> I've implemented favorite extensions and custom scripts in IndexWiki of 
>> Bob Linux server and I would like to use it as a template for creating 
>> child wikis. It looks like I cannot use IndexWiki to duplicate it and 
>> rename as a child wiki (please refer to screenshot).
>>
>> [image: 20201104-192728-.png]
>>
>

-- 
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/da1c3cf6-2dc9-449e-a81e-5dade2ffbc6dn%40googlegroups.com.


Re: [tw5] Tiddlywiki Empty: The size empty.html

2020-11-06 Thread Jeremy Ruston
The idea of stripping TiddlyWiki down to a microkernel and making everything be 
a plugin comes up fairly frequently, and seems to be an idea with some appeal.

One factor that hasn’t been mentioned so far is that the microkernel 
architecture would make testing and support a good deal more complicated. Core 
developers and plugin authors would have to test against all the common 
combinations of core plugins. Every single support enquiry would have to be 
prefaced by a discussion to find out exactly what combination of plugins the 
user has.

Of course, to some extent we have this problem already because we already have 
plugins. But right now the goal for the core is for it to contain not the bare 
minimum possible functionality, but rather the functionality that has the 
potential to be universally useful. That broader criteria means that the core 
itself is sufficient for a lot of work with TiddlyWiki, making the life of 
users and developers a lot easier. 

A consideration that has already been mentioned is whether it really matters 
that the core gets big, especially now that we’re in a world where a simple 
news story weighs 20MB. There are valid concerns about slow networks but the 
best solution there is to set the server up with GZip compression because it 
will benefit the content in the wiki too.

As to why TW5 is larger than TWC, it’s really just because TW5 has so much more 
functionality beyond the basic user experience that both systems share.

Best wishes

Jeremy.

> On 5 Nov 2020, at 00:36, TW Tones  wrote:
> 
> Mark,
> 
> As I understand it this is already possible. External Javascript.
> 
> I also wonder if one could selectively remove code not used, however this 
> would need an analysis process. And an exclusion on save, perhaps an 
> alternate core plugin.
> 
> The dynamic range of application of tiddlywiki would possibly be enhanced 
> with a lower size however in todays world we most often have sufficient 
> overheads that reduction has less benefit than being comprehensive or self 
> documented. 
> 
> Regards
> Tony
> 
> On Thursday, 5 November 2020 08:12:12 UTC+11, Mark S. wrote:
> If TW5 could be made to run like javascript, then you could separate the core 
> from the working files. So you could have a local core library which all your 
> tiddlywiki files could resource, without having to include them in every 
> download/upload/save.
> 
> On Monday, November 2, 2020 at 11:00:21 PM UTC-8, Mohammad wrote:
> Tiddlywiki is rapidly improving and you can see great features in the recent 
> releases. 
> From 2.1.17+ amazing features have been added to Tiddlywiki! One question is 
> about the size of empty.html (the virgin Tiddlywiki). See the below table
> 
> Release   Size (kb)
> 5.1.12   1820
> 5.1.15   2025
> 5.1.17   2033
> 5.1.19   2153
> 5.1.21   2235
> 5.1.22   2197
> 5.1.12   2282
> 
> While I love the new features, but, how big a virgin Tiddlywiki  can be? 
> Assuming many users work with single file mode and using different Tiddlywiki 
> for different purposes, I think we should set a maximum size, before going to 
> have bigger empty.html
> 
> 
> Suggestions
> A. Use official plugins
> 1. Keep the core as light as possible, go down to 1MB size (strip everything 
> extra)
> 2. Put extra features in official plugins
> 
> B. Start a new generation 
> 1.Release TW 5.2 with minimum size core (include only essential part)
> 2. Leave all backward compatibility to Tiddlywiki 5.1.xx
> 3. Stop developing 5.1.xx and only release bug fixes
> 
> If Jeremy can go for a new generation of Tiddlywiki, I may also suggest
> 1. Sweep the core from all duplicated codes and those retained backward 
> compatibility and leave them for 5.1.xx
> 2. Rethink about filters and implement using the more versatile approach, 
> like those are going on in GitHub (e.g. Saq proposal for multi input filters)
> 3. Use flexible switchable page layout
> 4. Think for a cleaner scripting (remove all duplication, improved grammar, 
> ... there is a lot of good discussions in the forum and GitHub)
> 5. Think of a new name (re-branding)
> 6. ...
> 
> I am sure people can suggest more here
> 
> 
> Best wishes
> Mohammad
> 
> TW-Scripts  codes, macros, and 
> solutions in Tiddlywiki
> TW-Commander  bulk operations on 
> tiddlers
> TW-Trashbin  a Tiddlywiki trashbin tool
> TW-Favorites  a favorites and 
> bookmarking tool
> TW-Todolist  organize, prioritize, and 
> plan your work
> 
> https://github.com/kookma 
> 
> 
> -- 
> 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 
> 

[tw5] Re: Duplicated tiddlers after coppying from one wiki to another [BobLinux]

2020-11-06 Thread Jed Carty
It looks like this is a bug in Bob. I will hopefully get it fixed in the 
next release.

On Thursday, November 5, 2020 at 11:55:47 PM UTC+1 skaczm...@gmail.com 
wrote:

>
> Hello,
>
> Please help me understand how moving tiddlers from one wiki to another 
> works on BobLinux server. When I copy tiddler from one wiki to another, 
> within the same "index wiki" server produces duplicate with the same name 
> plus _1. Basically, tiddler is imported and visible ion the "destination" 
> wiki, but I don't understand what's the purpose of that duplicate. I need 
> to move over 1000 tiddlers from one wiki to another and I'm afraid, that 
> duplicating this number will only make things worse in the longer run.
>
> I hope, that below screenshot will explain everything. If you miss some 
> information please let me know, I'm still new to tiddly wiki and my lack of 
> knowledge might create some confusion.
>
> [image: double-tiddlers.png]
>

-- 
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/243a2e60-2347-43ce-9e55-f9ff7db96d33n%40googlegroups.com.


Re: [tw5] A HOWTO: My approach to modals now involves a transclusion template

2020-11-06 Thread Charlie Veniot
Hey, thank-you, kuzi, for letting me know.  I was worried that I had gone 
and broken something in there.

If I can do something via transclusion instead of via macro, I much prefer 
transclusion (just the way this quirky sponge of mind works.)

Glad that is of use to you !

BTW: just for a fun alternative, check out the "Charge Indicator 
Issue?#️⃣EafuBEE3" tiddler and how it shows the links for the tiddler 
"HOUSBAY Digital Alarm Clock" via the fLb transclusion template.



On Friday, November 6, 2020 at 1:30:26 PM UTC-4, kuzi wrote:
>
> Charlie,
>
> Thanks for the quick response! Somehow, I got to this tiddler 
> ,
>  
> which appears to be the wrong one. I was able to copy your template 
> successfully, and it works exactly like I wanted. Thanks a ton!
>
> On Friday, 6 November 2020 at 11:13:18 UTC-6 Charlie Veniot wrote:
>
>> G'day kuzi,
>>
>> If you wouldn't mind, can you let me know what isn't working?  (link to 
>> the specific tiddler, if you wouldn't mind.)
>>
>> The template seems to be working fine to me.  Please see this tiddler 
>> 
>>  *(i.e. AC Output#️⃣CF400 ) *to see how the link for the "Pass through 
>> charging" tiddler is setup for opening the related tiddler as a modal with 
>> help from the transclusion tiddler.  *(btw: I am using the Chrome web 
>> browser, if it matters any.)*
>>
>> Cheers !
>>
>>
>> On Friday, November 6, 2020 at 1:03:49 PM UTC-4, kuzi wrote:
>>>
>>> @Charlie,
>>>
>>> Is your transclusion template still working? I'd like to implement 
>>> something like this for my personal wiki, so that I may build my own 
>>> glossary. On visiting your site, it looks like the template is not 
>>> functioning properly. Should it still be working, or are there any 
>>> alternatives someone can refer me to?
>>>
>>> On Saturday, 10 October 2020 at 19:48:19 UTC-5 Charlie Veniot wrote:
>>>
 Hey Tony,

 That is a totally reasonable and sane approach.  I'm just too darned 
 set in my ways/thinking (stubborn, crotchety, pig-headed) to go there.  
 Maybe too many years of making sure Oracle database tables always use 
 automagic internal sequence numbers as primary key values because primary 
 keys based on real-world "business values" are often brutal headaches 
 waiting to happen.

 When I develop the courage, maybe I need to create some kind of 
 mechanism so that a non-existent #tiddler URL reference triggers a 
 tiddler-name-change-list lookup (something that automagically gets updated 
 upon change name of any tiddler, but still allow edits) to redirect the 
 URL 
 to a tiddler via the new name.

 Boys oh boys, I'm going to need to let that ferment (slow-cook, 
 dry-cure ...) in the back o' me sponge for a while ...


 On Saturday, October 10, 2020 at 9:00:08 PM UTC-3, TW Tones wrote:
>
> Charlie,
>
> Since the tiddler name is the unique key to a tiddler, if you the 
> capture link to a unique tiddler it simply depends on maintaining the 
> title 
> or the link will die. The links are a snapshot in time.
>
> You could create a tiddler you plan to never rename, and to do this, 
> but to allow you to rename the content tiddler you could make a kind of 
> landing page be it a list of battery reviews or include a specific review
>
> eg tiddler title "Battery Reviews" 
> Containing {{Battery-Powered Equipment 
> 
> }}
>
> Now share the link 
> https://intertwingularityslicendice.neocities.org/CJ_ProductReviews.html# 
> 
> Battery%20Reviews
>
> Perhaps we could create a rename inhibit method to resist renaming 
> when it is such a "reference" tiddler used in (exported/reposted) links.
>
> Regards
> Tony
>
> On Sunday, 11 October 2020 10:26:52 UTC+11, Charlie Veniot wrote:
>>
>> G'day Tones,
>>
>> I love Relink.  I would go insane without it.  However, it does not 
>> (nothing short of completely changing how TiddlyWiki works) fix this 
>> problem:
>>
>>
>> https://intertwingularityslicendice.neocities.org/CJ_ProductReviews.html#Battery-Powered%20Equipment
>>
>> Sharing that link above (emails, websites, etc.), every instance of 
>> that shared link gets borked the moment I change the page name, doesn't 
>> it?
>>
>> Is there a trick 

Re: [tw5] A HOWTO: My approach to modals now involves a transclusion template

2020-11-06 Thread kuzi
Charlie,

Thanks for the quick response! Somehow, I got to this tiddler 
,
 
which appears to be the wrong one. I was able to copy your template 
successfully, and it works exactly like I wanted. Thanks a ton!

On Friday, 6 November 2020 at 11:13:18 UTC-6 Charlie Veniot wrote:

> G'day kuzi,
>
> If you wouldn't mind, can you let me know what isn't working?  (link to 
> the specific tiddler, if you wouldn't mind.)
>
> The template seems to be working fine to me.  Please see this tiddler 
> 
>  *(i.e. AC Output#️⃣CF400 ) *to see how the link for the "Pass through 
> charging" tiddler is setup for opening the related tiddler as a modal with 
> help from the transclusion tiddler.  *(btw: I am using the Chrome web 
> browser, if it matters any.)*
>
> Cheers !
>
>
> On Friday, November 6, 2020 at 1:03:49 PM UTC-4, kuzi wrote:
>>
>> @Charlie,
>>
>> Is your transclusion template still working? I'd like to implement 
>> something like this for my personal wiki, so that I may build my own 
>> glossary. On visiting your site, it looks like the template is not 
>> functioning properly. Should it still be working, or are there any 
>> alternatives someone can refer me to?
>>
>> On Saturday, 10 October 2020 at 19:48:19 UTC-5 Charlie Veniot wrote:
>>
>>> Hey Tony,
>>>
>>> That is a totally reasonable and sane approach.  I'm just too darned set 
>>> in my ways/thinking (stubborn, crotchety, pig-headed) to go there.  Maybe 
>>> too many years of making sure Oracle database tables always use automagic 
>>> internal sequence numbers as primary key values because primary keys based 
>>> on real-world "business values" are often brutal headaches waiting to 
>>> happen.
>>>
>>> When I develop the courage, maybe I need to create some kind of 
>>> mechanism so that a non-existent #tiddler URL reference triggers a 
>>> tiddler-name-change-list lookup (something that automagically gets updated 
>>> upon change name of any tiddler, but still allow edits) to redirect the URL 
>>> to a tiddler via the new name.
>>>
>>> Boys oh boys, I'm going to need to let that ferment (slow-cook, dry-cure 
>>> ...) in the back o' me sponge for a while ...
>>>
>>>
>>> On Saturday, October 10, 2020 at 9:00:08 PM UTC-3, TW Tones wrote:

 Charlie,

 Since the tiddler name is the unique key to a tiddler, if you the 
 capture link to a unique tiddler it simply depends on maintaining the 
 title 
 or the link will die. The links are a snapshot in time.

 You could create a tiddler you plan to never rename, and to do this, 
 but to allow you to rename the content tiddler you could make a kind of 
 landing page be it a list of battery reviews or include a specific review

 eg tiddler title "Battery Reviews" 
 Containing {{Battery-Powered Equipment 
 
 }}

 Now share the link 
 https://intertwingularityslicendice.neocities.org/CJ_ProductReviews.html# 
 
 Battery%20Reviews

 Perhaps we could create a rename inhibit method to resist renaming when 
 it is such a "reference" tiddler used in (exported/reposted) links.

 Regards
 Tony

 On Sunday, 11 October 2020 10:26:52 UTC+11, Charlie Veniot wrote:
>
> G'day Tones,
>
> I love Relink.  I would go insane without it.  However, it does not 
> (nothing short of completely changing how TiddlyWiki works) fix this 
> problem:
>
>
> https://intertwingularityslicendice.neocities.org/CJ_ProductReviews.html#Battery-Powered%20Equipment
>
> Sharing that link above (emails, websites, etc.), every instance of 
> that shared link gets borked the moment I change the page name, doesn't 
> it?
>
> Is there a trick to provide a link to a tiddler without including the 
> tiddler name in the link?
>
>
> On Saturday, October 10, 2020 at 6:00:04 PM UTC-3, TW Tones wrote:
>>
>> Charlie,
>>
>> As I may have mentioned before I am building a solution with tiddler 
>> serial numbers. 
>>
>> However, The relink plugin works well to permit tiddler renames 
>> whilst retaining the links and references.
>>
>> However a tiddler serial number TSN allows this to go a lot further. 
>> That is why its taking me longer, I want to be sure the fundamental 
>> design 
>> is extensible.
>>
>> This method 

Re: [tw5] A HOWTO: My approach to modals now involves a transclusion template

2020-11-06 Thread Charlie Veniot
G'day kuzi,

If you wouldn't mind, can you let me know what isn't working?  (link to the 
specific tiddler, if you wouldn't mind.)

The template seems to be working fine to me.  Please see this tiddler 

 *(i.e. AC Output#️⃣CF400 ) *to see how the link for the "Pass through 
charging" tiddler is setup for opening the related tiddler as a modal with 
help from the transclusion tiddler.  *(btw: I am using the Chrome web 
browser, if it matters any.)*

Cheers !

On Friday, November 6, 2020 at 1:03:49 PM UTC-4, kuzi wrote:
>
> @Charlie,
>
> Is your transclusion template still working? I'd like to implement 
> something like this for my personal wiki, so that I may build my own 
> glossary. On visiting your site, it looks like the template is not 
> functioning properly. Should it still be working, or are there any 
> alternatives someone can refer me to?
>
> On Saturday, 10 October 2020 at 19:48:19 UTC-5 Charlie Veniot wrote:
>
>> Hey Tony,
>>
>> That is a totally reasonable and sane approach.  I'm just too darned set 
>> in my ways/thinking (stubborn, crotchety, pig-headed) to go there.  Maybe 
>> too many years of making sure Oracle database tables always use automagic 
>> internal sequence numbers as primary key values because primary keys based 
>> on real-world "business values" are often brutal headaches waiting to 
>> happen.
>>
>> When I develop the courage, maybe I need to create some kind of mechanism 
>> so that a non-existent #tiddler URL reference triggers a 
>> tiddler-name-change-list lookup (something that automagically gets updated 
>> upon change name of any tiddler, but still allow edits) to redirect the URL 
>> to a tiddler via the new name.
>>
>> Boys oh boys, I'm going to need to let that ferment (slow-cook, dry-cure 
>> ...) in the back o' me sponge for a while ...
>>
>>
>> On Saturday, October 10, 2020 at 9:00:08 PM UTC-3, TW Tones wrote:
>>>
>>> Charlie,
>>>
>>> Since the tiddler name is the unique key to a tiddler, if you the 
>>> capture link to a unique tiddler it simply depends on maintaining the title 
>>> or the link will die. The links are a snapshot in time.
>>>
>>> You could create a tiddler you plan to never rename, and to do this, but 
>>> to allow you to rename the content tiddler you could make a kind of landing 
>>> page be it a list of battery reviews or include a specific review
>>>
>>> eg tiddler title "Battery Reviews" 
>>> Containing {{Battery-Powered Equipment 
>>> 
>>> }}
>>>
>>> Now share the link 
>>> https://intertwingularityslicendice.neocities.org/CJ_ProductReviews.html# 
>>> 
>>> Battery%20Reviews
>>>
>>> Perhaps we could create a rename inhibit method to resist renaming when 
>>> it is such a "reference" tiddler used in (exported/reposted) links.
>>>
>>> Regards
>>> Tony
>>>
>>> On Sunday, 11 October 2020 10:26:52 UTC+11, Charlie Veniot wrote:

 G'day Tones,

 I love Relink.  I would go insane without it.  However, it does not 
 (nothing short of completely changing how TiddlyWiki works) fix this 
 problem:


 https://intertwingularityslicendice.neocities.org/CJ_ProductReviews.html#Battery-Powered%20Equipment

 Sharing that link above (emails, websites, etc.), every instance of 
 that shared link gets borked the moment I change the page name, doesn't it?

 Is there a trick to provide a link to a tiddler without including the 
 tiddler name in the link?


 On Saturday, October 10, 2020 at 6:00:04 PM UTC-3, TW Tones wrote:
>
> Charlie,
>
> As I may have mentioned before I am building a solution with tiddler 
> serial numbers. 
>
> However, The relink plugin works well to permit tiddler renames whilst 
> retaining the links and references.
>
> However a tiddler serial number TSN allows this to go a lot further. 
> That is why its taking me longer, I want to be sure the fundamental 
> design 
> is extensible.
>
> This method will issue any new tiddler you want a tsn field containing 
> a unique value that never changes. A set of link tools will allow you to 
> link to the tiddler with a given unique TSN, regardless of the title 
> name. 
> I may make use of the TOCP plugin or the alias plugin. Titles do always 
> need to be unique, but if you wish you could use the tsn as all or part 
> of 
> the name if you want until you choose a better name perhaps.
>
> I hope to build a set of tools for the automatic naming of tiddlers.
>

Re: [tw5] A HOWTO: My approach to modals now involves a transclusion template

2020-11-06 Thread kuzi
@Charlie,

Is your transclusion template still working? I'd like to implement 
something like this for my personal wiki, so that I may build my own 
glossary. On visiting your site, it looks like the template is not 
functioning properly. Should it still be working, or are there any 
alternatives someone can refer me to?

On Saturday, 10 October 2020 at 19:48:19 UTC-5 Charlie Veniot wrote:

> Hey Tony,
>
> That is a totally reasonable and sane approach.  I'm just too darned set 
> in my ways/thinking (stubborn, crotchety, pig-headed) to go there.  Maybe 
> too many years of making sure Oracle database tables always use automagic 
> internal sequence numbers as primary key values because primary keys based 
> on real-world "business values" are often brutal headaches waiting to 
> happen.
>
> When I develop the courage, maybe I need to create some kind of mechanism 
> so that a non-existent #tiddler URL reference triggers a 
> tiddler-name-change-list lookup (something that automagically gets updated 
> upon change name of any tiddler, but still allow edits) to redirect the URL 
> to a tiddler via the new name.
>
> Boys oh boys, I'm going to need to let that ferment (slow-cook, dry-cure 
> ...) in the back o' me sponge for a while ...
>
>
> On Saturday, October 10, 2020 at 9:00:08 PM UTC-3, TW Tones wrote:
>>
>> Charlie,
>>
>> Since the tiddler name is the unique key to a tiddler, if you the capture 
>> link to a unique tiddler it simply depends on maintaining the title or the 
>> link will die. The links are a snapshot in time.
>>
>> You could create a tiddler you plan to never rename, and to do this, but 
>> to allow you to rename the content tiddler you could make a kind of landing 
>> page be it a list of battery reviews or include a specific review
>>
>> eg tiddler title "Battery Reviews" 
>> Containing {{Battery-Powered Equipment 
>> 
>> }}
>>
>> Now share the link 
>> https://intertwingularityslicendice.neocities.org/CJ_ProductReviews.html# 
>> 
>> Battery%20Reviews
>>
>> Perhaps we could create a rename inhibit method to resist renaming when 
>> it is such a "reference" tiddler used in (exported/reposted) links.
>>
>> Regards
>> Tony
>>
>> On Sunday, 11 October 2020 10:26:52 UTC+11, Charlie Veniot wrote:
>>>
>>> G'day Tones,
>>>
>>> I love Relink.  I would go insane without it.  However, it does not 
>>> (nothing short of completely changing how TiddlyWiki works) fix this 
>>> problem:
>>>
>>>
>>> https://intertwingularityslicendice.neocities.org/CJ_ProductReviews.html#Battery-Powered%20Equipment
>>>
>>> Sharing that link above (emails, websites, etc.), every instance of that 
>>> shared link gets borked the moment I change the page name, doesn't it?
>>>
>>> Is there a trick to provide a link to a tiddler without including the 
>>> tiddler name in the link?
>>>
>>>
>>> On Saturday, October 10, 2020 at 6:00:04 PM UTC-3, TW Tones wrote:

 Charlie,

 As I may have mentioned before I am building a solution with tiddler 
 serial numbers. 

 However, The relink plugin works well to permit tiddler renames whilst 
 retaining the links and references.

 However a tiddler serial number TSN allows this to go a lot further. 
 That is why its taking me longer, I want to be sure the fundamental design 
 is extensible.

 This method will issue any new tiddler you want a tsn field containing 
 a unique value that never changes. A set of link tools will allow you to 
 link to the tiddler with a given unique TSN, regardless of the title name. 
 I may make use of the TOCP plugin or the alias plugin. Titles do always 
 need to be unique, but if you wish you could use the tsn as all or part of 
 the name if you want until you choose a better name perhaps.

 I hope to build a set of tools for the automatic naming of tiddlers.

 by the way I understand where you are coming from with *"frustrated 
 with how TiddlyWiki URL's to tiddlers work."* but is passes once you 
 learn all the tricks.

 Regards
 Tones



 On Sunday, 11 October 2020 05:00:56 UTC+11, Charlie Veniot wrote:
>
> That's a very good idea, but I've been on the fence about that for a 
> long time, chewing on some kind of design that distinguishes:
>
>- external link
>- internal tidder link that opens the tiddler in the story river
>- internal tiddler link that opens the tiddler in a modal
>- can't think of other scenarios at the moment...
>
> I've kind of left that to the subconscious back o' me sponge for many 
> 

Re: [tw5] Re: [Tiddly Research] Public release

2020-11-06 Thread Keelan Cook
Pedro, concerning those journal tiddlers, it might be easier to go the 
other way around. That's what I did. I changed the .daily-tiddler tag in 
TiddlyResearch to use Journal instead. That allowed my existing tiddlers 
from an older wiki to pull in fine. Only had to change one thing that way 
instead of changing all of the older tiddlers, and it allowed me to 
continue with my naming conventions. Just a thought.

On Friday, November 6, 2020 at 9:06:55 AM UTC-6 odin...@gmail.com wrote:

> @pedro, 
>
> have a look at Mohammad's Tiddler Commander plugin. I think it was made 
> specifically for such large batch operations such replacing a large amount 
> of tags.
>
> https://github.com/kookma/TW-Commander
>
> Op vrijdag 6 november 2020 om 14:39:57 UTC+1 schreef pdro...@gmail.com:
>
>> Hi,
>>
>> Kebi, thank you very much for your contribution. Your project fits 
>> perfectly well for my research annotations and I'm looking forward to port 
>> my current notes to a tw powered by TiddlyResearch. Looks like it will be 
>> not that hard. I just need to figure out how to do some batch modifications 
>> (as replacing "Journal" tags by ".daily-tiddler") to my tiddles so they can 
>> better fit TiddlyResearch default tags and organization. By the way, do you 
>> have any tips on that sense?
>>
>> Moreover, can I add new sidebar tabs? For instance, a tab capable of 
>> indexing all tiddlers tagged as ".potato"?
>>
>> --
>> Pedro Alves
>>
>>
>> *PhD candidate in Computer Science*
>>
>> *Institute of Computing - University of Campinas*
>>
>>
>> Em qui., 5 de nov. de 2020 às 22:46, clutterstack  
>> escreveu:
>>
>>> I just found this. Very nice edition.
>>>
>>> On Tuesday, October 13, 2020 at 8:20:42 AM UTC-4 kebi wrote:
>>>
 *v.1.0.3 tiddlyresearch-references plugin update*

 https://github.com/kebifurai/TiddlyResearch/releases/tag/v1.0.3ref

 With this version you can customize your references settings directly 
 from the tiddlyresearch-references/config tab.

 Now you can:

- enable/disable different filters
- enable/disable filters for single nodes
- change the background and text color of the reference buttons

 To install this new version just drag and drop the .json file inside 
 your wiki.

>>> -- 
>>>
>> 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/a61d7004-5ebf-4d17-b461-29d47b57551dn%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/cdfa35bd-d0fa-484c-a787-5f98c757cc0an%40googlegroups.com.


Re: [tw5] Re: [Tiddly Research] Public release

2020-11-06 Thread odin...@gmail.com
@pedro, 

have a look at Mohammad's Tiddler Commander plugin. I think it was made 
specifically for such large batch operations such replacing a large amount 
of tags.

https://github.com/kookma/TW-Commander

Op vrijdag 6 november 2020 om 14:39:57 UTC+1 schreef pdro...@gmail.com:

> Hi,
>
> Kebi, thank you very much for your contribution. Your project fits 
> perfectly well for my research annotations and I'm looking forward to port 
> my current notes to a tw powered by TiddlyResearch. Looks like it will be 
> not that hard. I just need to figure out how to do some batch modifications 
> (as replacing "Journal" tags by ".daily-tiddler") to my tiddles so they can 
> better fit TiddlyResearch default tags and organization. By the way, do you 
> have any tips on that sense?
>
> Moreover, can I add new sidebar tabs? For instance, a tab capable of 
> indexing all tiddlers tagged as ".potato"?
>
> --
> Pedro Alves
>
>
> *PhD candidate in Computer Science*
>
> *Institute of Computing - University of Campinas*
>
>
> Em qui., 5 de nov. de 2020 às 22:46, clutterstack  
> escreveu:
>
>> I just found this. Very nice edition.
>>
>> On Tuesday, October 13, 2020 at 8:20:42 AM UTC-4 kebi wrote:
>>
>>> *v.1.0.3 tiddlyresearch-references plugin update*
>>>
>>> https://github.com/kebifurai/TiddlyResearch/releases/tag/v1.0.3ref
>>>
>>> With this version you can customize your references settings directly 
>>> from the tiddlyresearch-references/config tab.
>>>
>>> Now you can:
>>>
>>>- enable/disable different filters
>>>- enable/disable filters for single nodes
>>>- change the background and text color of the reference buttons
>>>
>>> To install this new version just drag and drop the .json file inside 
>>> your wiki.
>>>
>> -- 
>>
> 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/a61d7004-5ebf-4d17-b461-29d47b57551dn%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/95111a55-e022-41ee-a68c-2a1ec28a28f1n%40googlegroups.com.


Re: [tw5] Re: Modal question (last question today, I promise)

2020-11-06 Thread David Gifford
Thanks Eric! Will try it out this morning. Blessings.

On Thursday, November 5, 2020 at 11:26:05 PM UTC-6 Eric Shulman wrote:

> Updates:
> * added $navigator and $action-navigate widgets to make "scroll into view" 
> work
> * remove the viewed tiddler from the StoryList before opening for edit 
> (prevents display of two instances of the same tiddler!)
>
> \define showModal(tid)
> <$button> open modal: <$text text="$tid$" />
><$action-setfield $tiddler="$:/temp/modal/$tid$"
>   subtitle="$tid$"
>   text="{{$tid$}}"
>   footer="""
>  <$button message="tm-close-tiddler"> close
> <$action-deletetiddler $tiddler="$:/temp/modal/$tid$"/>
>  
>  <$button message="tm-close-tiddler"> view
> <$navigator>
> <$action-listops $tiddler="$:/StoryList" 
> $subfilter="[[$tid$]]" />
> <$action-navigate $to="$tid$" $scroll="yes"/>
> <$action-deletetiddler $tiddler="$:/temp/modal/$tid$"/>
> 
>  
>  <$button message="tm-close-tiddler"> edit
> <$navigator>
> <$action-sendmessage $message="tm-edit-tiddler" $param="$tid$" 
> />
> <$action-listops $tiddler="$:/StoryList" 
> $subfilter="-[[$tid$]] [[Draft of '$tid$']]" />
> <$action-navigate $to="Draft of '$tid$'" $scroll="yes"/>
> <$action-deletetiddler $tiddler="$:/temp/modal/$tid$"/>
> 
>  
>   """ />
><$action-sendmessage $message="tm-modal" $param="$:/temp/modal/$tid$" />
> 
> \end
>
> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ecf274bc-d6e4-45e5-b761-c0e7bb244dc7n%40googlegroups.com.


Re: [tw5] Re: [Tiddly Research] Public release

2020-11-06 Thread Pedro
Hi,

Kebi, thank you very much for your contribution. Your project fits
perfectly well for my research annotations and I'm looking forward to port
my current notes to a tw powered by TiddlyResearch. Looks like it will be
not that hard. I just need to figure out how to do some batch modifications
(as replacing "Journal" tags by ".daily-tiddler") to my tiddles so they can
better fit TiddlyResearch default tags and organization. By the way, do you
have any tips on that sense?

Moreover, can I add new sidebar tabs? For instance, a tab capable of
indexing all tiddlers tagged as ".potato"?

--
Pedro Alves


*PhD candidate in Computer Science*

*Institute of Computing - University of Campinas*


Em qui., 5 de nov. de 2020 às 22:46, clutterstack 
escreveu:

> I just found this. Very nice edition.
>
> On Tuesday, October 13, 2020 at 8:20:42 AM UTC-4 kebi wrote:
>
>> *v.1.0.3 tiddlyresearch-references plugin update*
>>
>> https://github.com/kebifurai/TiddlyResearch/releases/tag/v1.0.3ref
>>
>> With this version you can customize your references settings directly
>> from the tiddlyresearch-references/config tab.
>>
>> Now you can:
>>
>>- enable/disable different filters
>>- enable/disable filters for single nodes
>>- change the background and text color of the reference buttons
>>
>> To install this new version just drag and drop the .json file inside your
>> wiki.
>>
> --
> 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/a61d7004-5ebf-4d17-b461-29d47b57551dn%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/CACW_pa0C417bZ3NCtubaomGaFvxH%3Dp7_nA4ED%2B_qd1yb1yZxTQ%40mail.gmail.com.


[tw5] Listing Journal Entries by Week

2020-11-06 Thread 'stuar...@googlemail.com' via TiddlyWiki
I am in the process of converting 18 months of previous journal log notes 
into a tiddlywiki.  I am interested in using the "new journal here" 
functionality as I like the way it can automatically tag the parent 
tiddler.  However, one of the problems I have is I need to summaries my log 
notes on a weekly basis.   I have set my default new journal title to:

*: Week 0WW (YY/0MM/0DD at 0hh:0mm:0ss) - <>*:

I am now looking for a way to sort these journal entries into an automatic 
list based on year and week number.  As I will be adding historic entries 
in the first instance I am unsure a method using creation date would be 
appropriate.

Anyone have any ideas? 

-- 
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/9b3166ec-905f-4c9b-bdc4-10691aa65142n%40googlegroups.com.


[tw5] Re: Apply dynannotate plugin to every tiddler?

2020-11-06 Thread si
Thanks a lot!

A new viewtemplate tiddler would give two copies of the text, so instead I 
just added the widget to $:/core/ui/ViewTemplate/body. Hopefully this 
doesn't break anything...

On Friday, 6 November 2020 08:46:11 UTC, TW Tones wrote:
>
> Si,
>
> I don't know how it works but have you tried putting the widget tagged to 
> appear in the view template? Perhaps replacing the text with {{!!text}}?
>
> Tones
>
> On Friday, 6 November 2020 02:11:19 UTC+11, si wrote:
>>
>> I'm not sure if this is possible, but I was trying to get the dynnanotate 
>> plugin to work without manually typing the widget for every tiddler.
>>
>> Normally to use the widget I just surround the text like this:
>>
>> <$dynannotate target="text to highlight">
>> Paragraph of text.
>> 
>>
>> I was hoping to be able to apply this widget to every tiddler in my wiki, 
>> without having to manually type the widget text on every tiddler.
>>
>> Is there any way to do this?
>>
>> Thanks!
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4809c09f-e519-479f-be4f-aa0d1184c516o%40googlegroups.com.


[tw5] Re: "tabs" Macro : Tiddlers that depend on <>

2020-11-06 Thread Mohamed Amin
Thanks a lot Eric, everything is crystal clear now.

Appreciate your support


On Friday, November 6, 2020 at 10:27:21 AM UTC+2, Eric Shulman wrote:
>
> On Thursday, November 5, 2020 at 10:21:42 PM UTC-8, Mohamed Amin wrote:
>>
>> as per the last part of "tabs Macro" Documentation 
>>  , the <> will not 
>> affected by "tab macro" which is understandable.
>> My problem now is that I didn't understand how to overcome this using the 
>> "TemplateTiddler" (example in the above link )
>>
>
> There are two ways to do this:
>
> Method #1:
> In each of the "ChildNN" tiddlers, add this line at the beginning:
> <$tiddler tiddler=<>>
>
> Method #2:
> Create a separate tiddler (e.g., "TabsTemplate") containing
> <$tiddler tiddler=<>>
> <$transclude mode="block" />
> 
> then, in your tabs macro, write:
> <$macrocall name="tabs" tabsList="Child01 Child02" template="TabsTemplate" 
> />
>
> In either method, the $tiddler widget sets the currentTiddler value within 
> the ChildNN tiddler to be the currentTab name (e.g., "Child01" or 
> "Child02").  Note that if you view a ChildNN tiddler separately (i.e., 
> outside of the tabset), then the currentTab value is undefined, and the 
> $tiddler widget does nothing, which is OK, since the currentTiddler value 
> will already correctly refer to the tiddler you are viewing.
>
> -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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8633192c-787e-4407-857e-87980ebc6c8fo%40googlegroups.com.


[tw5] Re: "tabs" Macro : Tiddlers that depend on <>

2020-11-06 Thread Mohamed Amin
Thanks a lot Eric, everything is crystal clear now.

Regards

On Friday, November 6, 2020 at 10:27:21 AM UTC+2, Eric Shulman wrote:
>
> On Thursday, November 5, 2020 at 10:21:42 PM UTC-8, Mohamed Amin wrote:
>>
>> as per the last part of "tabs Macro" Documentation 
>>  , the <> will not 
>> affected by "tab macro" which is understandable.
>> My problem now is that I didn't understand how to overcome this using the 
>> "TemplateTiddler" (example in the above link )
>>
>
> There are two ways to do this:
>
> Method #1:
> In each of the "ChildNN" tiddlers, add this line at the beginning:
> <$tiddler tiddler=<>>
>
> Method #2:
> Create a separate tiddler (e.g., "TabsTemplate") containing
> <$tiddler tiddler=<>>
> <$transclude mode="block" />
> 
> then, in your tabs macro, write:
> <$macrocall name="tabs" tabsList="Child01 Child02" template="TabsTemplate" 
> />
>
> In either method, the $tiddler widget sets the currentTiddler value within 
> the ChildNN tiddler to be the currentTab name (e.g., "Child01" or 
> "Child02").  Note that if you view a ChildNN tiddler separately (i.e., 
> outside of the tabset), then the currentTab value is undefined, and the 
> $tiddler widget does nothing, which is OK, since the currentTiddler value 
> will already correctly refer to the tiddler you are viewing.
>
> -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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/eda70aae-d3cc-42a5-8144-48f11f1a3e8ao%40googlegroups.com.


[tw5] Pasting a field of one tiddler into a specific place of the text field of another tiddler?

2020-11-06 Thread odin...@gmail.com
I am struggling with making a UI to enter recipes. I am using $edit-text to 
make an input box. The inputs are stored into fields of temporary tiddlers. 
Now I want to paste the inputs into this code below in order to make the 
recipe easy to read.



{{$:/temp/Recepten/NieuwRecept!!recept-quote}}




{{$:/temp/Recepten/NieuwRecept!!recept-ingredienten}}




{{$:/temp/Recepten/NieuwRecept!!recept-instructies}}




{{||Onderkant recept}} 


(the *onderkant recept* is a tiddler that shows the portion amount and 
other metadata that is stored into fields.)
I know I can use $setfield inside a $button to set fields, I am using that 
one for the quote in the recipe, but also the portion size etc. The thing 
is, when I make a list in the input box like this:
*potato
*olive
*onion
the formatting is lost when it is placed into a field. It would then show 
up as *potato*olive*onion inline.

Another way I tried is to set the entire code above as a text field, but 
then the transclusion of the temporary tiddler doesn't happen. While the 
CSS is applied, it gets applied to 
{{$:/temp/Recepten/NieuwRecept!!recept-ingredienten}}, and not to the list
*potato
*olive
*onion 

What are some ways of pasting stuff from one tiddler into a specific part 
of another tiddler? 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/497f78fe-7f9c-412e-90b7-d9d3dfc69bc4n%40googlegroups.com.


[tw5] Re: "tabs" Macro : Tiddlers that depend on <>

2020-11-06 Thread Mohamed Amin
Thanks a lot Eric, everything is crystal clear now.

Appreciate your support

On Friday, November 6, 2020 at 8:21:42 AM UTC+2, Mohamed Amin wrote:
>
> Hello All,
>
> Suppose that I've the following 3 Tiddlers:
>
>1. "Parent"
>2. "Child01" : with a filed "my-parent" = "Parent"
>3. "Child02" : with a filed "my-parent" = "Parent"
>
> And : 
>
>- I use "tab" Macro in the first Tiddler ("Parent" tiddler) to list 
>the other 2 "Child" Tiddler.
>- Both "Child01" and "Child02" are using <> variable 
>internally
>
>
> Now, as per the last part of "tabs Macro" Documentation 
>  , the <> will not 
> affected by "tab macro" which is understandable.
>
> My problem now is that I didn't understand how to overcome this using the 
> "TemplateTiddler" (example in the above link )
>
> so, I appreciate some help with more clear/detailed example.
>
> Best Regards
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/82b6aadc-b78c-4f89-8193-fcbfb7e18858o%40googlegroups.com.


[tw5] Re: Lightweight diagrams (e.g. concept maps)?

2020-11-06 Thread PMario
Hi Sean, 

On Friday, October 30, 2020 at 1:08:57 AM UTC+1, Sean Boyle wrote:
>
> Pinging this topic again.  It appears that diagramming plugins come, then 
> are abandoned.


That's right. It seems there has gone quite some work into the integration 
into TW. ... but ... it was only implemented as "basic wrapper" widgets. 
Which means for most cases. Only basic functions are available for the 
user. ... 

So for me it looks like a 20/80 approach. 20% of time invested to get 80% 
of functions out of it.

This gives you the possibility to implement 5 different libs (as seen at: 
https://gt6796c.github.io/) at the same time as doing 100% for 1 library. 
... (sometimes) That's a good idea 

It seems none of the libraries took of (eg: lack of feedback), so the whole 
thing was abandoned. ... Or the author didn't need the functionality 
anymore. ... 
 

> I have taken to using graphviz (viz plugin) and it works reasonably well 
> (only a bit quirky) and if there were some reasonable ways of adding 
> symbols for creating graphs such as flowchart, CORAS, BPMN, sequence, 
> communication diagrams, it would fulfill 90% of my needs.

 

>   Having said that, are there any efforts out there for incorporating 
> lightweight graphing with extensible symbol sets, or diagramming?
>

I'm a bit concerned about the term "lightweight". ... IMO none of those 
functionalities are "light". Neither in terms of complexity to implement 
it, nor in terms of executable code. .. and it should contain "custom" 
symbol sets and "pluggable" diagramming functions. ... Which is a fully 
blown plugin-system in itself. 

eg: mermaid.js has 2.8 MByte of "bundled" js code. The minified version 
still uses 800kByte of code, without any CSS. So this 1 library basically 
has the same size as empty.html. .. Where TW core-code isn't minified to 
make it easy for "users" to learn about / and debug the code.

Had a look at the mermaid.js code for about 2+h. ... They are using several 
libraries, that do the heavy lifting for the visual rendering. mermaid.js 
seems to be responsible for the bigger part of parsing text-type content 
into data structured, that  the libs can understand. ... 



Had a look at the terms CORAS and BPMN ... Where searching for BPMN gave me 
a 500 page PDF manual.  Now I'm amused about "lightwight" ;) 
CORAS lead me to an Enterprise Decision Management Software with a hefty 
price tag. ... 



I think I can see, why you pinged that 3 year old topic again ... 

Mermaid seems to have a CLI version. .. So it shuldn't be to hard, to 
create "save as SVG" option. ... 

Just some thoughts. 

mario

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/27192342-4934-4707-bbfd-cc7f74bd784do%40googlegroups.com.


[tw5] Re: Apply dynannotate plugin to every tiddler?

2020-11-06 Thread TW Tones
Si,

I don't know how it works but have you tried putting the widget tagged to 
appear in the view template? Perhaps replacing the text with {{!!text}}?

Tones

On Friday, 6 November 2020 02:11:19 UTC+11, si wrote:
>
> I'm not sure if this is possible, but I was trying to get the dynnanotate 
> plugin to work without manually typing the widget for every tiddler.
>
> Normally to use the widget I just surround the text like this:
>
> <$dynannotate target="text to highlight">
> Paragraph of text.
> 
>
> I was hoping to be able to apply this widget to every tiddler in my wiki, 
> without having to manually type the widget text on every tiddler.
>
> Is there any way to do this?
>
> Thanks!
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/16ee0bb1-cd5a-4759-8949-6fe16f98dee4o%40googlegroups.com.


[tw5] Re: "tabs" Macro : Tiddlers that depend on <>

2020-11-06 Thread Eric Shulman
On Thursday, November 5, 2020 at 10:21:42 PM UTC-8, Mohamed Amin wrote:
>
> as per the last part of "tabs Macro" Documentation 
>  , the <> will not 
> affected by "tab macro" which is understandable.
> My problem now is that I didn't understand how to overcome this using the 
> "TemplateTiddler" (example in the above link )
>

There are two ways to do this:

Method #1:
In each of the "ChildNN" tiddlers, add this line at the beginning:
<$tiddler tiddler=<>>

Method #2:
Create a separate tiddler (e.g., "TabsTemplate") containing
<$tiddler tiddler=<>>
<$transclude mode="block" />

then, in your tabs macro, write:
<$macrocall name="tabs" tabsList="Child01 Child02" template="TabsTemplate" 
/>

In either method, the $tiddler widget sets the currentTiddler value within 
the ChildNN tiddler to be the currentTab name (e.g., "Child01" or 
"Child02").  Note that if you view a ChildNN tiddler separately (i.e., 
outside of the tabset), then the currentTab value is undefined, and the 
$tiddler widget does nothing, which is OK, since the currentTiddler value 
will already correctly refer to the tiddler you are viewing.

-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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/61e28862-328f-4e5d-bff9-4505da7c9c2fo%40googlegroups.com.


[tw5] Re: Cross-link multiple wikis

2020-11-06 Thread Victor Dorneanu
Yeah, thanks for your clarifications. At least I think I know how this *might 
*work. But I guess "Searchwikis" will definitely improve the search across 
multiple wikis. And as you already mentioned: I need to find a method how 
to share indices across multiple wikis in a convenient way. 

Thanks for your input. 

Victor 

On Friday, November 6, 2020 at 1:09:30 AM UTC+1 TW Tones wrote:

> Victor,
>
> Since a bibliography is an index, perhaps it (the wiki)  can contain the 
> search part of mohammads "Searchwikis" that make use of an index of 
> each/all wikis making use of bibliographic entries. After a little work on 
> your on your  *zettelkasten* Wiki generate an index and drop it on the 
> bibliograqphic wiki, now a search on the bibliographic wiki will also be a 
> search of the *zettelkasten wiki*
> On the *zettelkasten wiki* create a method to find one or more references 
> to the same bibliographic link.
>
> We can make this almost seamless with more work, but my point is to 
> develop the appropriate practice.
>
> Regards
> Tones
>
>
> On Friday, 6 November 2020 11:00:33 UTC+11, TW Tones wrote:
>>
>> Victor,
>>
>> Sorry for the confusion, replace my use of the word Glossary With 
>> Bibliography. 
>>
>> What is a back link?, it shows you where that entry is in use in other 
>> tiddlers.
>>
>> Having a separate bibliography html, you create and name bibliographic 
>> entries. In the First wiki you provide a link to the bibliographic entry 
>> using the permalink link / same name. Thus in the first wiki you can link 
>> to/reference that bibliographic entry multiple times. The equivalent of a 
>> back link is a search that can find all links to the same bibliographic 
>> entry (the links to the other wiki) but in searching the first wiki. The 
>> backlinking in the Bibliographic wiki only points to tiddlers linking to 
>> the entry in the bibliographical wiki and are of little use. 
>>
>> A much underutilised part of tiddlywiki seems to be the development of 
>> "soft" practices or procedures, perhaps supported by software (ie wikitext, 
>> widgets and macros). Commonly called work flow. Remember the most 
>> intelligent part of the whole solution is the human. Teach the human - 
>> yourself to follow some documented practices and you can solve many 
>> problems. I have at least a dozen practices like this, including building 
>> tiddlywiki solutions to build tiddlywiki solutions. It is all quite "meta" 
>> or self referential.
>>
>> I hope this explains what I have said a little better.
>>
>> Regards
>> Tones
>>
>> On Thursday, 5 November 2020 19:35:55 UTC+11, Victor Dorneanu wrote:
>>>
>>> I'm not sure if I understand this correctly. 
>>>
>>> > as you search for a Glossary item, in your *zettelkasten *tiddlywiki, 
>>> you can have the search also look for the use of that term in 
>>> *zettelkasten*
>>>
>>> But I want the search to look for the term in *zettelkasten* and 
>>> *bibliography* as well. And this is what TW-Searchwikis is about, 
>>> right? 
>>>
>>> > If you kept a glossary centrally and its not too big you could package 
>>> and install it on any wiki.
>>>
>>> What do you mean by a glossary? I don't have a central tiddler where I 
>>> keep track of "terms" that are used in multiple wikis. 
>>>
>>> To give you a more precise example: 
>>>
>>>- I wrote a short summary about David Allen's GTD book 
>>>
>>> 
>>>   - There I have a link to GTD  
>>>   which is part of the *zettelkasten*
>>>   - In the GTD tiddler  itself 
>>>   I have a *source field* (origin of information, thanks @bimlas 
>>>   for that) which contains a link back to the tiddler in 
>>>   *bibliography*
>>>   - Sometimes I want to link to some quotes (for example Getting 
>>>   Things Done - Note 3 
>>>   
>>> ) 
>>>   in the *zettelkasten* wiki
>>>  - what I want now to achieve is to show in Getting Things Done 
>>>  - Note 3 
>>>  
>>>  
>>>  which tiddlers in *zettelkasten *(and not only) are pointing 
>>>  to it  
>>>  
>>>
>>> I hope this helps. 
>>>
>>> Victor 
>>>
>>> On Thursday, November 5, 2020 at 9:02:59 AM UTC+1 TW Tones wrote:
>>>
 Victor,

 At the same time as you search for a Glossary item, in your 
 *zettelkasten *tiddlywiki, you can have the search also look for the 
 use of that term in *zettelkasten .* that is effectively what the 
 backlinks would be. If you kept a glossary centrally and its not too big 
 you could package and install it on any wiki. Drag and drop update. If you 
 could go further you copuld let you add glossary items in any wiki but 
 have