[tw5] Create a style to show icon next to link title?

2021-12-10 Thread Evan Sherwood
I'm trying to get a stylesheet working that will automatically insert the 
SVG icon before the link text. Here's what I have so far:

\define link-icon-style()
<$set name="uri" value=<> >
  <$set name="icon" tiddler=<> field="icon">
<$set name="iconsrc" tiddler=<> >
  <$list variable="urititle" 
filter="""[removeprefix[data:text/plain,]]""">

  a[href="#<>"] { display: inline-flex; align-items: 
baseline; gap: .15em; }
  a[href="#<>"]:before { content: <>; width: 1em; height: 1em; margin-top: 
2px; align-self: center; fill: <>; }

  

  

\end

<$list filter="""[has[icon]]""">
  <$vars tid={{!!title}}>
<>
  


When I inspect the DOM and look at the 

[tw5] Re: unable to manually install plugins.. tDesktop, Beaker, Firefox..

2021-12-10 Thread Blase Theodore
I tried 5.1.23, which had the same results.

On Friday, December 10, 2021 at 7:59:56 PM UTC-5 Mark S. wrote:

> Since you're not using Chrome, you might see if 5.2.0 works. 
>
> On Friday, December 10, 2021 at 3:14:56 PM UTC-8 blaset...@gmail.com 
> wrote:
>
>> Hi guys,
>>
>> Apologies if I've missed something obvious. I'm just getting on my feet 
>> with TW.
>>
>> I'm unable to manually add plugins. I have working (writeable) copies of 
>> 'Empty' TD5.21 on TiddlyDesktop, Beaker, and Firefox for OS X 10.15.17. 
>> I'll drag the link to the plugin into TW,  (e.g. '
>> $:/plugins/tiddlywiki/katex 
>> '
>>  
>> ) the green import banner pops up, then the Import Tiddler opens, and I hit 
>> import. That creates a new Tiddler with a hyperlink to the plugin. But 
>> thats it. No new plugins are installed. Tested on all 3 platforms.
>>
>> I've verbatim replicated every instructional or tutorial I can find, and 
>> it seems like its really as simple as dragging to import. But my outcome is 
>> always the same, nothing happens after importing.
>>
>> For example, this video tutorial literally spells it out step by step, 
>> without room for error. And despite replicating the exact process (in all 3 
>> platform instances), it never takes.
>>
>> https://www.youtube.com/watch?v=O079F6rDKLk
>>
>> Thanks for reading,
>> Blase
>>
>>
>>

-- 
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/1f2057e8-7b56-4769-8c9a-2efe339d33a7n%40googlegroups.com.


Re: [tw5] Re: Set Browser Tab title different from TW Title?

2021-12-10 Thread Aidan Grey
OOH - that was even better! Thank you!


On Fri, Dec 10, 2021 at 6:14 PM Eric Shulman  wrote:

> To change the text of the window title (but not the SiteTitle or
> SiteSubtitle), edit the shadow tiddler: `$:/core/wiki/title` and set it's
> content to whatever you want.
>
> enjoy,
> -e
>
> On Friday, December 10, 2021 at 9:14:20 AM UTC-8 taale...@gmail.com wrote:
>
>> Is that possible? If so how?
>>
>> For example, say the name of the TW is  "The South-Eastern Canadian
>> Women's Association Left-Handed Doily Lint Museum for the Benefit of the
>> Children".
>>
>> I want to keep that title on the wiki, but in the browser's tab, I just
>> want "Lint Mus." - how do I do that?
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/8033665c-ef1d-4f01-9265-fb05ad7fc4f1n%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/CAJu7H0Z%3DXfvJoWEfHzHOpQHzqBED_CwP44_r4bZF4zrzz8svXg%40mail.gmail.com.


[tw5] Re: Set Browser Tab title different from TW Title?

2021-12-10 Thread Eric Shulman
To change the text of the window title (but not the SiteTitle or 
SiteSubtitle), edit the shadow tiddler: `$:/core/wiki/title` and set it's 
content to whatever you want.

enjoy,
-e

On Friday, December 10, 2021 at 9:14:20 AM UTC-8 taale...@gmail.com wrote:

> Is that possible? If so how?
>
> For example, say the name of the TW is  "The South-Eastern Canadian 
> Women's Association Left-Handed Doily Lint Museum for the Benefit of the 
> Children".
>
> I want to keep that title on the wiki, but in the browser's tab, I just 
> want "Lint Mus." - how do I do that?
>
>

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


[tw5] Re: unable to manually install plugins.. tDesktop, Beaker, Firefox..

2021-12-10 Thread 'Mark S.' via TiddlyWiki
Since you're not using Chrome, you might see if 5.2.0 works. 

On Friday, December 10, 2021 at 3:14:56 PM UTC-8 blaset...@gmail.com wrote:

> Hi guys,
>
> Apologies if I've missed something obvious. I'm just getting on my feet 
> with TW.
>
> I'm unable to manually add plugins. I have working (writeable) copies of 
> 'Empty' TD5.21 on TiddlyDesktop, Beaker, and Firefox for OS X 10.15.17. 
> I'll drag the link to the plugin into TW,  (e.g. '
> $:/plugins/tiddlywiki/katex 
> '
>  
> ) the green import banner pops up, then the Import Tiddler opens, and I hit 
> import. That creates a new Tiddler with a hyperlink to the plugin. But 
> thats it. No new plugins are installed. Tested on all 3 platforms.
>
> I've verbatim replicated every instructional or tutorial I can find, and 
> it seems like its really as simple as dragging to import. But my outcome is 
> always the same, nothing happens after importing.
>
> For example, this video tutorial literally spells it out step by step, 
> without room for error. And despite replicating the exact process (in all 3 
> platform instances), it never takes.
>
> https://www.youtube.com/watch?v=O079F6rDKLk
>
> Thanks for reading,
> Blase
>
>
>

-- 
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/075cda26-c28d-429f-8398-b9b44eaa9322n%40googlegroups.com.


Re: [tw5] Re: Set Browser Tab title different from TW Title?

2021-12-10 Thread Aidan Grey
Thanks Mark! That worked!

On Fri, Dec 10, 2021 at 4:39 PM 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> This is a kludge, but might work well enough. My assumption is that to
> actually change the title tab would require changing core code. So instead,
> this approach uses CSS to change the title and sub-title displayed on the
> page, while retaining the configured title for the title tab.
>
> Put your short title into the control panel title field. You will need at
> least one character in the sub-title field too.
>
> Put the following a tiddler and tag $:/tags/Stylesheet .
>
> .tc-site-title {
> visibility: hidden;
> position: relative;
> margin-bottom: 60% ;
> }
> .tc-site-title:after {
>  visibility: visible;
>  position: absolute;
> top: 0;
> left: 0;
> content: "The South-Eastern Canadian Women's Association Left-Handed Doily
> Lint Museum " ;
>  }
> .tc-site-subtitle {
>  visibility: hidden;
> position: relative;
> }
> .tc-site-subtitle:after {
>  visibility: visible;
>  position: absolute;
> top: 0;
> left: 0;
> content: "for the Benefit of the Children" ;
>  }
>
> Change the "content:" attributes to your preferred titles. Change the
> margin-bottom: 60% to whatever percent works with your actual text.
>
> This is what it looks like on my system:
>
> [image: lint-mus.png]
> On Friday, December 10, 2021 at 9:14:20 AM UTC-8 taale...@gmail.com wrote:
>
>> Is that possible? If so how?
>>
>> For example, say the name of the TW is  "The South-Eastern Canadian
>> Women's Association Left-Handed Doily Lint Museum for the Benefit of the
>> Children".
>>
>> I want to keep that title on the wiki, but in the browser's tab, I just
>> want "Lint Mus." - how do I do that?
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/eed2bd3c-4882-4ae6-9d09-eb26e4b3e3f2n%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/CAJu7H0b1Fum0c59DWsVPfyB39S8kPTNPz7%2BxydA%3D3pwHTSe1SA%40mail.gmail.com.


[tw5] Re: unable to manually install plugins.. tDesktop, Beaker, Firefox..

2021-12-10 Thread Blase Theodore
I did get it to work using Widdler, a standalone app for TW built on 
WebDAV. Not sure why it won't work on any of the other 3 (preferred) 
platforms won't work. Thoughts?

On Friday, December 10, 2021 at 6:14:56 PM UTC-5 Blase Theodore wrote:

> Hi guys,
>
> Apologies if I've missed something obvious. I'm just getting on my feet 
> with TW.
>
> I'm unable to manually add plugins. I have working (writeable) copies of 
> 'Empty' TD5.21 on TiddlyDesktop, Beaker, and Firefox for OS X 10.15.17. 
> I'll drag the link to the plugin into TW,  (e.g. '
> $:/plugins/tiddlywiki/katex 
> '
>  
> ) the green import banner pops up, then the Import Tiddler opens, and I hit 
> import. That creates a new Tiddler with a hyperlink to the plugin. But 
> thats it. No new plugins are installed. Tested on all 3 platforms.
>
> I've verbatim replicated every instructional or tutorial I can find, and 
> it seems like its really as simple as dragging to import. But my outcome is 
> always the same, nothing happens after importing.
>
> For example, this video tutorial literally spells it out step by step, 
> without room for error. And despite replicating the exact process (in all 3 
> platform instances), it never takes.
>
> https://www.youtube.com/watch?v=O079F6rDKLk
>
> Thanks for reading,
> Blase
>
>
>

-- 
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/ebaed3ae-8a69-48af-8341-26f81769a0cen%40googlegroups.com.


[tw5] Re: Set Browser Tab title different from TW Title?

2021-12-10 Thread 'Mark S.' via TiddlyWiki
This is a kludge, but might work well enough. My assumption is that to 
actually change the title tab would require changing core code. So instead, 
this approach uses CSS to change the title and sub-title displayed on the 
page, while retaining the configured title for the title tab.

Put your short title into the control panel title field. You will need at 
least one character in the sub-title field too.

Put the following a tiddler and tag $:/tags/Stylesheet .

.tc-site-title {
visibility: hidden;
position: relative;
margin-bottom: 60% ;
}
.tc-site-title:after {
 visibility: visible;
 position: absolute;
top: 0;
left: 0;
content: "The South-Eastern Canadian Women's Association Left-Handed Doily 
Lint Museum " ;
 }
.tc-site-subtitle {
 visibility: hidden;
position: relative;
}
.tc-site-subtitle:after {
 visibility: visible;
 position: absolute;
top: 0;
left: 0;
content: "for the Benefit of the Children" ;
 }

Change the "content:" attributes to your preferred titles. Change the 
margin-bottom: 60% to whatever percent works with your actual text.

This is what it looks like on my system:

[image: lint-mus.png]
On Friday, December 10, 2021 at 9:14:20 AM UTC-8 taale...@gmail.com wrote:

> Is that possible? If so how?
>
> For example, say the name of the TW is  "The South-Eastern Canadian 
> Women's Association Left-Handed Doily Lint Museum for the Benefit of the 
> Children".
>
> I want to keep that title on the wiki, but in the browser's tab, I just 
> want "Lint Mus." - how do I do that?
>
>

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


[tw5] unable to manually install plugins.. tDesktop, Beaker, Firefox..

2021-12-10 Thread Blase Theodore
Hi guys,

Apologies if I've missed something obvious. I'm just getting on my feet 
with TW.

I'm unable to manually add plugins. I have working (writeable) copies of 
'Empty' TD5.21 on TiddlyDesktop, Beaker, and Firefox for OS X 10.15.17. 
I'll drag the link to the plugin into TW,  (e.g. '
$:/plugins/tiddlywiki/katex 
'
 
) the green import banner pops up, then the Import Tiddler opens, and I hit 
import. That creates a new Tiddler with a hyperlink to the plugin. But 
thats it. No new plugins are installed. Tested on all 3 platforms.

I've verbatim replicated every instructional or tutorial I can find, and it 
seems like its really as simple as dragging to import. But my outcome is 
always the same, nothing happens after importing.

For example, this video tutorial literally spells it out step by step, 
without room for error. And despite replicating the exact process (in all 3 
platform instances), it never takes.

https://www.youtube.com/watch?v=O079F6rDKLk

Thanks for reading,
Blase


-- 
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/86f878a6-6601-408d-83ca-9d109cbf15cbn%40googlegroups.com.


[tw5] Re: [TiddlyMap] Is there a way to change the height of the editor in a tiddler?

2021-12-10 Thread David Gifford
FYI you can use this if you like it: 
https://giffmex.org/gifts/documenting.tw.html#Control%20what%20is%20visible%20in%20edit%20mode

On Friday, December 10, 2021 at 1:44:28 PM UTC-6 jutta@googlemail.com 
wrote:

> Never mind, I found it.
>
> On Friday, December 10, 2021 at 7:01:04 PM UTC+1 MissyLaMotte wrote:
>
>> Hi, 
>>
>> I just installed TiddlyMap into my existing TiddlyWiki and it works fine. 
>> I don't want to use it in the sidebar, though, but rather have a regular 
>> tiddler with the editor in it. I managed that by removing the sidebar tag 
>> from the $:/plugins/felixhayashi/tiddlymap/hook/editor tiddler. I then 
>> just made a clone of that tiddler to use in my storyline. That all works 
>> quite well, but the resulting editor is rather small. Is there a way to 
>> specify the height for the editor somehow?
>>
>> Thanks in advance,
>> Jutta
>>
>

-- 
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/702f0649-20d8-4bc3-852c-40d7306a8788n%40googlegroups.com.


[tw5] Re: [TiddlyMap] Is there a way to change the height of the editor in a tiddler?

2021-12-10 Thread 'MissyLaMotte' via TiddlyWiki
Never mind, I found it.

On Friday, December 10, 2021 at 7:01:04 PM UTC+1 MissyLaMotte wrote:

> Hi, 
>
> I just installed TiddlyMap into my existing TiddlyWiki and it works fine. 
> I don't want to use it in the sidebar, though, but rather have a regular 
> tiddler with the editor in it. I managed that by removing the sidebar tag 
> from the $:/plugins/felixhayashi/tiddlymap/hook/editor tiddler. I then 
> just made a clone of that tiddler to use in my storyline. That all works 
> quite well, but the resulting editor is rather small. Is there a way to 
> specify the height for the editor somehow?
>
> Thanks in advance,
> Jutta
>

-- 
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/08ede210-2939-4998-b990-8e372d2dc858n%40googlegroups.com.


[tw5] Video: TiddlyWiki as Development Platform for Hyperlinked Solutions

2021-12-10 Thread Charlie Veniot
Very off-the-cuff video which I felt like doing for whatever reason.

Quickly showcasing some of my TiddlyWiki projects, hoping that they 
demonstrate why I see TiddlyWiki as a development platform for hyperlinked 
solutions (content and programming.)

https://youtu.be/ySWeoYRhZNY

Cheers !

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


[tw5] Re: GitHub saving individual tiddlers?

2021-12-10 Thread 'Mark S.' via TiddlyWiki
Part of the security structure of the browser is limited access to the file 
system. So basically you can only export/save one file at a time from 
within a browser page.

A workaround would be to export your sorted tiddlers as a JSON file. This 
should be 'diffable' .

Another possibility is to use the zip plugin to save a single zipped file. 
Then you could have a repeating process on the outside that locates the zip 
file, unzips, adds, commits, pushes.

On Friday, December 10, 2021 at 7:03:11 AM UTC-8 willw wrote:

> Does anyone have a solution for this yet?
>
> I'm looking for a way to save tiddlywiki as individual tiddlers directly 
> to git and GitHub (where the built-in GitHub saver saves the single-file 
> tiddlywiki to a git service).
>
> The single-file tiddlywiki doesn't track well in git, with big diffs for 
> small core changes. It's also hard to trace back which tiddlers were 
> changed, and autosave seems to push empty commits.
>
> Locally, the node.js version could be made to save to a git repo, perhaps 
> using a library like https://isomorphic-git.org, with changes staged 
> locally until a 'save' commits them. Seems like it could work from 
> single-file too, via browser storage?
>
> I'm considering a hacky workaround for now; using the single file GitHub 
> saver to trigger a GitHub action which runs node.js tiddlywiki to explode 
> out the tiddlers and commit them. The single-file commit can be removed if 
> used solely for saving. Then it'd be handy to have the opposite action too 
> -> build a single-file from the tiddlers.
>
> This'd be less needed if the single-file tiddlywiki format was more 
> diff-able, so maybe that's an option too.
>
> Any thoughts?
>
>

-- 
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/f70b6cb6-edb8-41a0-a12e-5458e8acb436n%40googlegroups.com.


[tw5] [TiddlyMap] Is there a way to change the height of the editor in a tiddler?

2021-12-10 Thread 'MissyLaMotte' via TiddlyWiki
Hi, 

I just installed TiddlyMap into my existing TiddlyWiki and it works fine. I 
don't want to use it in the sidebar, though, but rather have a regular 
tiddler with the editor in it. I managed that by removing the sidebar tag 
from the $:/plugins/felixhayashi/tiddlymap/hook/editor tiddler. I then just 
made a clone of that tiddler to use in my storyline. That all works quite 
well, but the resulting editor is rather small. Is there a way to specify 
the height for the editor somehow?

Thanks in advance,
Jutta

-- 
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/fd39dc79-5f89-411d-98a6-99d0e26e5633n%40googlegroups.com.


[tw5] Re: GitHub saving individual tiddlers?

2021-12-10 Thread Télumire
Also take a look at this thread where saqimtiaz showcase a custom 
tiddlywiki able to send PR to github, it sound like it's exactly what you 
want to achieve (no idea how he does that though) : 
https://talk.tiddlywiki.org/t/demo-updating-docs-and-creating-a-pr-from-within-tiddlywiki/1285

Le vendredi 10 décembre 2021 à 18:14:47 UTC+1, Télumire a écrit :

> I personally use the file upload plugin 
>  to send individual 
> tiddlers to GitHub, I made a button for it on my wiki :
>
> https://Telumire.github.io/TiddlyTweaks/index.html#:%5B%5BSend%20tiddler%20with%20file%20upload%5D%5D
>
> \whitespace trim
> \define tiddler-attr()[[$(currentTiddler)$]]
> <$button class="tc-btn-invisible" tooltip="send this tiddler with file 
> upload">
> <$list 
> filter="[match[yes]]+[!has[_canonical_uri]]"
>  
> variable=_>
> {{$:/plugins/commons/file-uploads/images/upload}}
>
> <$action-sendmessage $message="tm-upload-tiddlers" $param=<> 
> />
>
> 
> <$list 
> filter="[match[yes]]+[has[_canonical_uri]]"
>  
> variable=_>
>  href={{{[<_>get[_canonical_uri]]}}}>{{$:/core/images/globe}}
> 
> <$list filter="[match[yes]]">
> 
> <$text text=" "/>
> <$text text="Send with file upload"/>
> 
> 
> 
>
> However the plugin will delete the content of your tiddler and attempt to 
> link to the hosted file trough the  _canonical_uri field, so I use it only 
> for image tiddlers. 
> I'm sure you can find a workaround ?
> Le vendredi 10 décembre 2021 à 16:03:11 UTC+1, willw a écrit :
>
>> Does anyone have a solution for this yet?
>>
>> I'm looking for a way to save tiddlywiki as individual tiddlers directly 
>> to git and GitHub (where the built-in GitHub saver saves the single-file 
>> tiddlywiki to a git service).
>>
>> The single-file tiddlywiki doesn't track well in git, with big diffs for 
>> small core changes. It's also hard to trace back which tiddlers were 
>> changed, and autosave seems to push empty commits.
>>
>> Locally, the node.js version could be made to save to a git repo, perhaps 
>> using a library like https://isomorphic-git.org, with changes staged 
>> locally until a 'save' commits them. Seems like it could work from 
>> single-file too, via browser storage?
>>
>> I'm considering a hacky workaround for now; using the single file GitHub 
>> saver to trigger a GitHub action which runs node.js tiddlywiki to explode 
>> out the tiddlers and commit them. The single-file commit can be removed if 
>> used solely for saving. Then it'd be handy to have the opposite action too 
>> -> build a single-file from the tiddlers.
>>
>> This'd be less needed if the single-file tiddlywiki format was more 
>> diff-able, so maybe that's an option too.
>>
>> Any thoughts?
>>
>>

-- 
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/e412e250-56a8-47f8-b4b9-7ef0f75027c0n%40googlegroups.com.


[tw5] Re: GitHub saving individual tiddlers?

2021-12-10 Thread Télumire
I personally use the file upload plugin 
 to send individual 
tiddlers to GitHub, I made a button for it on my wiki :
https://Telumire.github.io/TiddlyTweaks/index.html#:%5B%5BSend%20tiddler%20with%20file%20upload%5D%5D

\whitespace trim
\define tiddler-attr()[[$(currentTiddler)$]]
<$button class="tc-btn-invisible" tooltip="send this tiddler with file 
upload">
<$list 
filter="[match[yes]]+[!has[_canonical_uri]]"
 
variable=_>
{{$:/plugins/commons/file-uploads/images/upload}}

<$action-sendmessage $message="tm-upload-tiddlers" $param=<> 
/>


<$list 
filter="[match[yes]]+[has[_canonical_uri]]"
 
variable=_>
get[_canonical_uri]]}}}>{{$:/core/images/globe}}

<$list filter="[match[yes]]">

<$text text=" "/>
<$text text="Send with file upload"/>




However the plugin will delete the content of your tiddler and attempt to 
link to the hosted file trough the  _canonical_uri field, so I use it only 
for image tiddlers. 
I'm sure you can find a workaround ?
Le vendredi 10 décembre 2021 à 16:03:11 UTC+1, willw a écrit :

> Does anyone have a solution for this yet?
>
> I'm looking for a way to save tiddlywiki as individual tiddlers directly 
> to git and GitHub (where the built-in GitHub saver saves the single-file 
> tiddlywiki to a git service).
>
> The single-file tiddlywiki doesn't track well in git, with big diffs for 
> small core changes. It's also hard to trace back which tiddlers were 
> changed, and autosave seems to push empty commits.
>
> Locally, the node.js version could be made to save to a git repo, perhaps 
> using a library like https://isomorphic-git.org, with changes staged 
> locally until a 'save' commits them. Seems like it could work from 
> single-file too, via browser storage?
>
> I'm considering a hacky workaround for now; using the single file GitHub 
> saver to trigger a GitHub action which runs node.js tiddlywiki to explode 
> out the tiddlers and commit them. The single-file commit can be removed if 
> used solely for saving. Then it'd be handy to have the opposite action too 
> -> build a single-file from the tiddlers.
>
> This'd be less needed if the single-file tiddlywiki format was more 
> diff-able, so maybe that's an option too.
>
> Any thoughts?
>
>

-- 
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/f713c4fd-849a-4e1c-9033-f0f3463e0fcen%40googlegroups.com.


[tw5] Set Browser Tab title different from TW Title?

2021-12-10 Thread taale...@gmail.com
Is that possible? If so how?

For example, say the name of the TW is  "The South-Eastern Canadian Women's 
Association Left-Handed Doily Lint Museum for the Benefit of the Children".

I want to keep that title on the wiki, but in the browser's tab, I just 
want "Lint Mus." - how do I do that?

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


[tw5] GitHub saving individual tiddlers?

2021-12-10 Thread willw
Does anyone have a solution for this yet?

I'm looking for a way to save tiddlywiki as individual tiddlers directly to 
git and GitHub (where the built-in GitHub saver saves the single-file 
tiddlywiki to a git service).

The single-file tiddlywiki doesn't track well in git, with big diffs for 
small core changes. It's also hard to trace back which tiddlers were 
changed, and autosave seems to push empty commits.

Locally, the node.js version could be made to save to a git repo, perhaps 
using a library like https://isomorphic-git.org, with changes staged 
locally until a 'save' commits them. Seems like it could work from 
single-file too, via browser storage?

I'm considering a hacky workaround for now; using the single file GitHub 
saver to trigger a GitHub action which runs node.js tiddlywiki to explode 
out the tiddlers and commit them. The single-file commit can be removed if 
used solely for saving. Then it'd be handy to have the opposite action too 
-> build a single-file from the tiddlers.

This'd be less needed if the single-file tiddlywiki format was more 
diff-able, so maybe that's an option too.

Any thoughts?

-- 
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/a14cc5ec-ba0d-46d5-9cb3-d295b484afc5n%40googlegroups.com.