[tw5] Re: Update Codemirror

2020-03-09 Thread TonyM
An observation

If I include the codemirror plugins relating to HTML I get a Red Javascript 
error.

This needs to be considered if upgrading, but codemirror is superior to the 
default editor.

Regards
Tony

On Tuesday, March 10, 2020 at 6:58:48 AM UTC+11, PMario wrote:
>
> Hi George, 
>
> On Monday, March 9, 2020 at 4:02:13 PM UTC+1, bluespire wrote:
> ...
>
>> Maybe I missed the documentation on how to update Codemirror for 
>> Tiddlywiki.
>>
>
> It has to be done by one of the plugin maintainers. Most of the time the 
> cm-libraries that are part of the files directory, have to be updated _AND_ 
> tested. Codemirror is "ultra modular". So each functionality is separated 
> into 1 js module. Most of the time such a module is only 1 part of a new 
> function. eg: autocomplete.
>
> In TW codemirror.js is the main plugin, that you always have to use. It 
> basically contains the main library and a minimal set of CM addOns that are 
> needed. 
>
> eg: codemirror-autocomplete contains several other cm-modules like: 
> anyword-hint.js, css-hint.js, html-hint.js  and so on. PLUS CSS and 
> some configuration, that is needed within TW.
>
> codemirror-closebrackets contains closebrackets.js and matchbrackets.js 
> ... + config. 
>
> As you can see, there is quite some manual work needed, to create a new 
> version for TW. Since the maintainer has to test every feature separately 
> and in combination with other tw-cm-plugins installed. 
>
> Especially the configurations have to be right, to create a plug-and-play 
> experience for newbie users. 
>  
>
>> The one in the official repo looks pretty out of date, but also looks 
>> like some decent work went into porting it. What's the easiest way to 
>> update it?
>>
>
> You are right. There has been much energy put into the system, to make it 
> easy to use. Especially the "autoconfig" feature needed much attention. 
> ...  TW 5.1.21 uses codemirror elements based on cm V5.37.0 
>
> I did have a look at the github release history. ... Most of the fixes 
> between 5.52.0 which is the latest version and the version we use is mode 
> updates (most of them not part of the TW distro atm.) and some edge case 
> fixes. 
>
> *So is there major function, that you miss in the current TW version, 
> which makes it impossible for you to use it. *
>
> Or is it just the need to "have to use the latest and greatest" ...
>
> have fun!
> 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/1fd69c39-90e2-47ff-a4d3-d60fff62089e%40googlegroups.com.


[tw5] Re: Tony's Tiny Tips

2020-03-09 Thread Mohammad
Added to TW-Scripts


On Tuesday, March 10, 2020 at 3:04:38 AM UTC+3:30, TonyM wrote:
>
> Folks,
>
> We often discover useful little TiddlyWiki tips but tend only to share 
> them when someone asks a relevant Question.
>
> I would like to encourage this sharing so I will kick off with a few
>
> *Control Panel > Info > Basics tips*
>
> *Default tiddlers* If you use "Home [list[$:/StoryList]] in the default 
> tiddlers 
> it will always load the Home tiddler and the previously open tiddlers
>
> *Username for signing edits* this can not only be used as a user name, 
> but you can change it for a particular edit session.
> For example "Tony V0.3 changes" then you can list tiddlers created and 
> modified for that edit session
> Consider clicking on the user name in the tiddler subtitles and defining a 
> more descriptive definition in the resulting "user tiddler"
>
> *Title of new tiddlers *Set to "New {{$:/SiteTitle}} Tiddler" for each 
> new tiddler to include the site title
> For example the Recipes wiki creates new tiddlers titled "New Recipes 
> Tiddler"
>
> Please share you tips too.
>
> Regards
> Tony
>

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


[tw5] Re: A Plugin Store

2020-03-09 Thread Mohammad
See also this feature request

 https://github.com/Jermolene/TiddlyWiki5/issues/4486

I think Plugin Library can be improved to server as an easy to use tool for 
installing new plugins!

--Mohammad

On Tuesday, March 10, 2020 at 5:58:52 AM UTC+3:30, TonyM wrote:
>
> Folks,
>
> I believe a central repository is essential to ease the locating of 
> plugins but we need to consider other distribution types like Editions, 
> macros, stylesheets bundles and test data etc... Ie we need a store that 
> may include published libraries but more. Using Mohammad's search indexing 
> would help publish multiple subject area wikis with cross wiki search.
>
>- Publishers can use this as their official version as well. but need 
>to link to there github and demos as well, this is a matter of 
> establishing 
>a culture and some helpful but informal standards.
>- Ideally we would have the ability to poll the central repository to 
>see if there is a newer version and install / reinstall it
>- I think there could be an open list which anyone can submit to, and 
>get from, that is migrated to an Official library after a close look or 
> set 
>of votes.
>
> I have my own Plugin collection of most things I come across but it is not 
> necessarily up to date. It is 15mb in size and one trick I use is to 
> install them but disable them, and have a method to "register plugins" 
> allowing me to capture extra details on the plugin without touching the 
> plugin, the key reason are missing source urls and the addition of my own 
> keywords to support search.
>
> Regards
> Tony
>
> On Tuesday, March 10, 2020 at 6:47:46 AM UTC+11, Mohammad wrote:
>>
>> Thank you Birthe,
>>
>> On Monday, March 9, 2020 at 10:26:19 PM UTC+3:30, Birthe C wrote:
>>>
>>> Your demo pages and the quality of them is important.
>>> Plugin library make it fast and easy to install plugins, but I still 
>>> need to know how to use them.
>>>
>>
>> That is true, so they will be there and when you install a plugin from 
>> library, you can click and see the readme and links to demo pages!
>> By the way, I think the readme is good to briefly show what is the 
>> plugin, what is its purpose (use case) and belong to which category!
>>
>>  --Mohammad
>>
>>>
>>>
>>> Birthe
>>>
>>>  
>>>
 That's correct. I myself use a demo page to explain what is the plugin! 
 Next step is to tag them and categorize them like todolist, extended 
 markup 
 (formatting) etc...

>>>

-- 
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/fa4d3603-1038-4b69-a628-46ba63ea3ddd%40googlegroups.com.


[tw5] Re: Link with variable field to point URL in list tiddler ?

2020-03-09 Thread Mohammad
Beautiful TW site! Good luck Sylvain!

I edited your Forum tiddler: https://tw5.xyz/Annuaire/contact.html#Forum as 
below

\define forumUrl() https://forum.tiddlywiki.fr/u/
\define urln() $(forumUrl)$$user$

!<> Tableau



<> Intervenant·e·s
Forum


<$list filter="[tag[Annuaire]sort[title]]">

<$link/>

<$vars user={{!!forum}} >
> >{{!!forum}}




 




and it works as you like :-)

--Mohammad



On Tuesday, March 10, 2020 at 1:29:27 AM UTC+3:30, Sylvain Naudin wrote:
>
> I've upload an extract here : https://tw5.xyz/Annuaire/contact.html
>
>
> I hope it will clearer :)
> Sylvain
>

-- 
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/b074a2d3-f71b-4242-9d6c-3a4e21d298da%40googlegroups.com.


Re: [tw5] Re: Consider renaming TiddlyWiki

2020-03-09 Thread Mohammad
Yes, while wiki may restrict the scope of work, but as Arlen said, wiki is 
a simple and quick way of publishing and authoring. It also bind to 
collaborative multi user system where Tiddlywiki IS not!
So, in this respect Tiddlywiki is the opposite!

https://en.wikipedia.org/wiki/Wiki


-- Mohammad

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/810d239a-29c8-4fce-ba6d-33832432f22f%40googlegroups.com.


[tw5] Re: Kookma Plugin Library

2020-03-09 Thread Mohammad
Tony,
One of the benefit of plugin library for private/personal use is you can 
make your own library and use it when start new wiki
just click get more plugin in control panel and add your favorite plugins 
among of list!

No hassles for finding where you store plugin what was its name, import, 

This is the simple instruction
http://inmysocks.tiddlyspot.com/#Making%20a%20Plugin%20Library:%5B%5BMaking%20a%20Plugin%20Library%5D%5D

You should have a working Tiddlywiki on Node.js
Hopefully I will publish a tutorial for making plugin library in near 
future.


On Tuesday, March 10, 2020 at 2:49:18 AM UTC+3:30, TonyM wrote:
>
> Mohammad,
>
> I tried to follow the documentation to build my own plugin library but 
> found it geared to the more expert amongst us. 
>
>- Since you have recent undertaken this please share if possible.
>- I think we should consider preparing to handle a number of plugin 
>libraries
>- I see value in placing my own solutions into three libraries
>   - Designer tools - during design you may remove after development
>   - Solutions - install to get the function the plugin represents.
>   - Test data - a collection of plugins packed with test data tiddlers
>   Allows giving code and problem tiddlers in the forums that operate 
>   against a specific test data set so others can reproduce
>
> I am keen to see if we can distribute macros without plugin types, through 
> a library, although with the new release not automatically demanding reload 
> this is easier.
>
> In my opinion plugin is only a protected bundle of tiddlers. So, I even 
use it to distribute a manual or a recipe for making cookie, where there is 
only text and no macro, no css, nothing ...
I have written a chapter for making plugin in the Book by Luis, and you can 
find the wiki version here: http://sistan.tiddlyspot.com/


 

> thanks heaps for your library
>

Glad you like it. 

>
> Regards
> Tony
>

Cheers
Mohammad 

>  
>
> On Monday, March 9, 2020 at 11:56:36 PM UTC+11, Mohammad wrote:
>>
>>
>> On Monday, March 9, 2020 at 3:20:33 PM UTC+3:30, TiddlyTweeter wrote:
>>>
>>> Looks excellent. Good to have access to your stuff in one place!
>>>
>>> One issue is enhancements made by others. For instance the "Relink" 
>>> plugin by Fibbles, 
>>> as its very good to use with Tiddler Commander. 
>>> See my notes  at: 
>>> https://groups.google.com/forum/#!msg/tiddlywiki/GHbwtMIrA3I/eJyRkqyKAQAJ
>>>
>>
>> Please see my other post here: 
>> https://groups.google.com/d/msg/tiddlywiki/EWIhcRix9PI/mjDElCwAAwAJ
>>
>> I propose to have a Non Official  Plugin Store called Community Plugin 
>> Library! It would be great if Tiddlywiki.com support this and then some 
>> volunteers like you,
>> Mat, Mark, Eric, Tony, ... and other interested people help maintain the 
>> plugin store. 
>> Submitting should have no bureaucracy and for users it would be enough to 
>> say install on your own risk. backup your wiki before install.
>> Membership should be open to everybody!
>>
>> This is a good place to keep community plugin library: 
>> https://github.com/TiddlyWiki   (My first priority)
>> Unfortunately it has only three members! Jeremy, Mario, Eric. 
>>
>> Another place can be something like https://github.com/tw-scripts  or 
>> https://github.com/tw- 
>> community-plugin-store
>>
>>
>> Then like the official plugin library people can simply select and 
>> install from community plugin library whothout any hassle without the need 
>> to search an hour this forum and find wrong version!
>>
>> This is much better to wait for future to have a complete, secure, high 
>> performance, best solution plugin library which developers have in mind, 
>> but it has not been implemented yet.
>> Just some thoughts
>>
>> --Mohammad
>>
>>
>>
>>
>>> At the moment there is no tradition of adding other people's plugins to 
>>> a library. 
>>> It is an interesting issue whether it would be mutually helpful to do so?
>>>
>>> Good stuff
>>> Best wishes, TT
>>>
>>> On Saturday, 7 March 2020 22:01:34 UTC+1, Mohammad wrote:

 @Diego, @Josiah

 I will try to document all Kookma plugins in one place here on 
 https://kookma.github.io/TW-PluginLibrary/
 This will make selecting and installing plugins much simpler.

 --Mohammad

>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ad427a17-17a8-4a80-8ff4-1d4d81c95190%40googlegroups.com.


Re: [tw5] Re: Consider renaming TiddlyWiki

2020-03-09 Thread TonyM
Arlen

On Tuesday, March 10, 2020 at 7:37:12 AM UTC+11, Arlen Beiler wrote:
>
> Wiki is a category which refers to small, easy-to-setup, wall-of-text 
> content management systems, usually equipped with a simple default theme, 
> but infinitely customizable with enough time and patience.
>
>>
>>
This is true and it resonates with me but I am a WikiPedia editor, and have 
installed Media wiki a few times , wiki is a fundamentally important 
concept yet given how hard it is to recruit editors to WIkiPedia I wonder 
if that can scare people off the content.

I wonder if stepping back to *"Hyperlinks" *a link from a *"hypertext 
document"* to another location, activated by clicking on a highlighted word 
or image. Would have more traction.

Regards
Tony

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6a4f9c9c-965e-42af-95a7-3f3a6b5e1508%40googlegroups.com.


[tw5] Re: Filter comparison operators

2020-03-09 Thread TonyM
Mat,

>
> Yeah, but that's the only solved one. This thread here is about "less 
> than", which is also brought up, among other comparison ops, in the issue 
> thread.
>
> <:-)
>

I understand, and would like such comparison filters

yet I would remind readers of opportunities already available

   - Sorting places items in order and this can be used to establish order 
   tests
   - The reveal widget does contain such comparison tests
   - The advanced maths tools available in plugins also provide for such 
   tests like evans formulae plugin.

If you have two different values, not matching if you sort them you can 
test which is first/last or 
with the set select parameter you can test the exact position in a list.

Using the first/last operators we may be able to make a subfilter that 
resemble other missing tests.

Regards
Tony

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7ca5ca3e-9aeb-47c0-8edb-20803d626603%40googlegroups.com.


[tw5] Re: A Plugin Store

2020-03-09 Thread TonyM
Folks,

I believe a central repository is essential to ease the locating of plugins 
but we need to consider other distribution types like Editions, macros, 
stylesheets bundles and test data etc... Ie we need a store that may 
include published libraries but more. Using Mohammad's search indexing 
would help publish multiple subject area wikis with cross wiki search.

   - Publishers can use this as their official version as well. but need to 
   link to there github and demos as well, this is a matter of establishing a 
   culture and some helpful but informal standards.
   - Ideally we would have the ability to poll the central repository to 
   see if there is a newer version and install / reinstall it
   - I think there could be an open list which anyone can submit to, and 
   get from, that is migrated to an Official library after a close look or set 
   of votes.

I have my own Plugin collection of most things I come across but it is not 
necessarily up to date. It is 15mb in size and one trick I use is to 
install them but disable them, and have a method to "register plugins" 
allowing me to capture extra details on the plugin without touching the 
plugin, the key reason are missing source urls and the addition of my own 
keywords to support search.

Regards
Tony

On Tuesday, March 10, 2020 at 6:47:46 AM UTC+11, Mohammad wrote:
>
> Thank you Birthe,
>
> On Monday, March 9, 2020 at 10:26:19 PM UTC+3:30, Birthe C wrote:
>>
>> Your demo pages and the quality of them is important.
>> Plugin library make it fast and easy to install plugins, but I still need 
>> to know how to use them.
>>
>
> That is true, so they will be there and when you install a plugin from 
> library, you can click and see the readme and links to demo pages!
> By the way, I think the readme is good to briefly show what is the plugin, 
> what is its purpose (use case) and belong to which category!
>
>  --Mohammad
>
>>
>>
>> Birthe
>>
>>  
>>
>>> That's correct. I myself use a demo page to explain what is the plugin! 
>>> Next step is to tag them and categorize them like todolist, extended markup 
>>> (formatting) etc...
>>>
>>

-- 
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/578357b5-9273-425f-95a5-a933062f6b45%40googlegroups.com.


[tw5] Re: Tony's Tiny Tips

2020-03-09 Thread Donald Coates
Maybe a tag could be created for this?

On Monday, March 9, 2020 at 7:34:38 PM UTC-4, TonyM wrote:
>
> Folks,
>
> We often discover useful little TiddlyWiki tips but tend only to share 
> them when someone asks a relevant Question.
>
> I would like to encourage this sharing so I will kick off with a few
>
> *Control Panel > Info > Basics tips*
>
> *Default tiddlers* If you use "Home [list[$:/StoryList]] in the default 
> tiddlers 
> it will always load the Home tiddler and the previously open tiddlers
>
> *Username for signing edits* this can not only be used as a user name, 
> but you can change it for a particular edit session.
> For example "Tony V0.3 changes" then you can list tiddlers created and 
> modified for that edit session
> Consider clicking on the user name in the tiddler subtitles and defining a 
> more descriptive definition in the resulting "user tiddler"
>
> *Title of new tiddlers *Set to "New {{$:/SiteTitle}} Tiddler" for each 
> new tiddler to include the site title
> For example the Recipes wiki creates new tiddlers titled "New Recipes 
> Tiddler"
>
> Please share you tips too.
>
> Regards
> Tony
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/3af74231-b79f-48d4-b55e-6076f5e33847%40googlegroups.com.


[tw5] Re: Download just a tiddler from a TW?

2020-03-09 Thread TonyM
Mat,

The manual way is of course to "export" a given tiddler. Whilst tid is 
available I tend to stick to json

<$button message=tm-download-file param="TargetTiddler">Download 
~TargetTiddler tiddler
But the filename etc... needs setting (somehow)

If you search for $:/core/templates/ you will see many of the templates 
available

Actually you have sent me down a path I have taken before, but now I know 
more I may be more productive.

Regards
Tony

On Tuesday, March 10, 2020 at 7:23:29 AM UTC+11, Mat wrote:
>
> I am guessing "no" but asking anyway:
>
> Is it possible to click on a something (a link or a button) to trigger a 
> download of only a tiddler from a wiki?
>
> Downloading a full wiki is of course done when clicking on, say, "download 
> empty" on tiddlywiki.com so my question is if it is possible to limit it 
> to only be the specific tiddler/s in the target TW.
>
> If this were possible, it would be trivial for anyone to make a plugin 
> library for ones own stuff (a plugin library would just be a tiddler with a 
> permalink for every plugin you serve) and it would probably also be simple 
> to make a global kind of share-list with links to other peoples wikis.
>
> <:-)
>

-- 
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/03e13f2c-a09b-4e3f-be7f-d28cc0223931%40googlegroups.com.


Re: [tw5] Wikified macro notation suggestion

2020-03-09 Thread TonyM
Jeremy, Stobot,

Any method that can make wikify behave better would be appreciated. 

Jeremy, can you give an example of this please

> One tip is to prepend the \rules pragma to the start of the text to be 
> wikified and thus restrict the wikitext rules that will be recognised.


Stobot, 

   - I think your pattern could be of great use, pending a better method if 
   you could publish your code pattern with some examples It would be a good 
   contribution and others may also show alternative ways to achieve the same 
   thing. 
   - There are a few cases where construction of filters before use would 
   get around other limitations or the need for nested filters. 
   - I am also starting to configure some longer filters as global macros 
   such as standard-fields so they can be excluded from the result of the 
   fields[] operator.

Share Share Share

Regards
Tony

On Tuesday, March 10, 2020 at 7:51:47 AM UTC+11, Jeremy Ruston wrote:
>
> Hi Stobot
>
> I don't know if anyone else builds things like I do - with a ton of 
> dynamic tables and branched lookups, but I use this pattern all the time:
>
> \define macrotobuildfilter() ...
>
> <$wikify name="macrotobuildfilterwiki" text=<>>
> 
> <$list filter=<>>
> ...
> 
> 
> 
>
> That's just with one, but usually I have a few nested ones. In fact I'll 
> go so far as to say that more than half of the time I use a macro, I have 
> to wikify it before use as it's being used as a parameter for something 
> else.
>
>
> The pattern you’re using here is a subtle one: to use the wikification 
> process to create filter strings. As you’ve probably gathered, it can be 
> quite brittle. For example, there can be problems if titles included in 
> your filter strings include wikitext markup (e.g. HTTP links contain an 
> embedded //). One tip is to prepend the \rules pragma to the start of the 
> text to be wikified and thus restrict the wikitext rules that will be 
> recognised.
>
> I've often thought of how great it would be to have that wikification done 
> in the same step - maybe with triple brackets like <<>> ? 
> Similarities to the {{{...}}} notation in a way. 
>
>
> Yes, it’s somewhat anomalous that there isn’t a quoted attribute syntax 
> that returns the wikified value of the argument. Part of the reason is that 
> as Mat points out, wikification is a relatively slow process (unlike 
> wikifying the page we can’t do any selective refreshing, we have to process 
> the entire text on each refresh cycle).
>
> Is this possible? I see some other threads on additional parser rules, so 
> thought it might be a good time to bring up. 
>
>
> It might be worth experimenting with it, but I’d be concerned about 
> performance.
>
> An alternative approach that might be a bit easier would be to create a 
> pragma that’s a shortcut for the wikify widget. Something like:
>
> \define-with-wikification macrotobuildfilter() ...
>
> 
> <$list filter=<>>
> ...
> 
> 
>
> An ordinary \define pragma generates a single <$set> widget; this new 
> pragma would generate a <$set> widget with a nested <$wikify> widget.
>
>
> https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/parsers/wikiparser/rules/macrodef.js
>
> Best wishes
>
> 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 tiddl...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/a0aff5bb-2aa3-4bc0-8094-72cf07c550a8%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/d16dfbae-0bb9-403b-abf7-129918ba3ea1%40googlegroups.com.


Re: [tw5] TW on iOS

2020-03-09 Thread Ed Heil
Outstanding.  Thank you!


On Monday, March 9, 2020 at 4:23:03 PM UTC-4, Jeremy Ruston wrote:
>
> Hi Ed
>
> Chris Hunt is now working on Quine 2, which is built around the new iOS 11 
> and 13 file APIs, much as you suggest. There’s a TestFlight beta, more 
> details in Quine’s own Google Group here:
>
> https://groups.google.com/forum/#!topic/quine-app/p9HHP8G-37A
>
> Best wishes
>
> Jeremy
>
> On 9 Mar 2020, at 17:19, Ed Heil > wrote:
>
> I've been having a ton of fun with tiddlywikis lately; the only thing 
> that's been getting me down is using them on iOS, which is a pain.  There's 
> the Quine app which is neat, but wish I could do more. 
>
> What I'm thinking of is the fact that as of iOS 11, it was possible for 
> the Files app to hand off a file to another application to open *and 
> modify*, saving the modified version back to the Files app.  
>
> All *kinds* of things expose themselves to the Files app; iCloud, Dropbox, 
> and with the right apps to connect them, even github repositories and sftp 
> shares.
>
> A tiddlywiki app which took advantage of this could be incredibly 
> versatile.  It would essentially just have to be a special-purpose browser 
> for displaying the tiddlywikis, and then a mechanism for receiving the 
> "saves" probably equivalent to whatever TiddlyDesktop is doing (I don't 
> know what that is) which writes them back to the original location via 
> Files's api.
>
> I don't suppose such a thing exists? 
>
> I have a small amount of iOS programming knowledge, and if I dropped the 
> money on an Apple developer's certificate and put enough work into it I 
> might be able to make something like this myself (always easier to say than 
> to do of course).  But it'd sure be nice if somebody else had already done 
> it
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddl...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/111ffa9e-378c-4883-a08a-8d2e37e8374f%40www.fastmail.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/9e6cf22e-cd6d-4e54-bb29-04535bccb8e7%40googlegroups.com.


[tw5] Tony's Tiny Tips

2020-03-09 Thread TonyM
Folks,

We often discover useful little TiddlyWiki tips but tend only to share them 
when someone asks a relevant Question.

I would like to encourage this sharing so I will kick off with a few

*Control Panel > Info > Basics tips*

*Default tiddlers* If you use "Home [list[$:/StoryList]] in the default 
tiddlers 
it will always load the Home tiddler and the previously open tiddlers

*Username for signing edits* this can not only be used as a user name, but 
you can change it for a particular edit session.
For example "Tony V0.3 changes" then you can list tiddlers created and 
modified for that edit session
Consider clicking on the user name in the tiddler subtitles and defining a 
more descriptive definition in the resulting "user tiddler"

*Title of new tiddlers *Set to "New {{$:/SiteTitle}} Tiddler" for each new 
tiddler to include the site title
For example the Recipes wiki creates new tiddlers titled "New Recipes 
Tiddler"

Please share you tips too.

Regards
Tony

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


[tw5] Re: Kookma Plugin Library

2020-03-09 Thread TonyM
Mohammad,

I tried to follow the documentation to build my own plugin library but 
found it geared to the more expert amongst us. 

   - Since you have recent undertaken this please share if possible.
   - I think we should consider preparing to handle a number of plugin 
   libraries
   - I see value in placing my own solutions into three libraries
  - Designer tools - during design you may remove after development
  - Solutions - install to get the function the plugin represents.
  - Test data - a collection of plugins packed with test data tiddlers
  Allows giving code and problem tiddlers in the forums that operate 
  against a specific test data set so others can reproduce
   
I am keen to see if we can distribute macros without plugin types, through 
a library, although with the new release not automatically demanding reload 
this is easier.

thanks heaps for your library

Regards
Tony
 

On Monday, March 9, 2020 at 11:56:36 PM UTC+11, Mohammad wrote:
>
>
> On Monday, March 9, 2020 at 3:20:33 PM UTC+3:30, TiddlyTweeter wrote:
>>
>> Looks excellent. Good to have access to your stuff in one place!
>>
>> One issue is enhancements made by others. For instance the "Relink" 
>> plugin by Fibbles, 
>> as its very good to use with Tiddler Commander. 
>> See my notes  at: 
>> https://groups.google.com/forum/#!msg/tiddlywiki/GHbwtMIrA3I/eJyRkqyKAQAJ
>>
>
> Please see my other post here: 
> https://groups.google.com/d/msg/tiddlywiki/EWIhcRix9PI/mjDElCwAAwAJ
>
> I propose to have a Non Official  Plugin Store called Community Plugin 
> Library! It would be great if Tiddlywiki.com support this and then some 
> volunteers like you,
> Mat, Mark, Eric, Tony, ... and other interested people help maintain the 
> plugin store. 
> Submitting should have no bureaucracy and for users it would be enough to 
> say install on your own risk. backup your wiki before install.
> Membership should be open to everybody!
>
> This is a good place to keep community plugin library: 
> https://github.com/TiddlyWiki   (My first priority)
> Unfortunately it has only three members! Jeremy, Mario, Eric. 
>
> Another place can be something like https://github.com/tw-scripts  or 
> https://github.com/tw- 
> community-plugin-store
>
>
> Then like the official plugin library people can simply select and install 
> from community plugin library whothout any hassle without the need to 
> search an hour this forum and find wrong version!
>
> This is much better to wait for future to have a complete, secure, high 
> performance, best solution plugin library which developers have in mind, 
> but it has not been implemented yet.
> Just some thoughts
>
> --Mohammad
>
>
>
>
>> At the moment there is no tradition of adding other people's plugins to a 
>> library. 
>> It is an interesting issue whether it would be mutually helpful to do so?
>>
>> Good stuff
>> Best wishes, TT
>>
>> On Saturday, 7 March 2020 22:01:34 UTC+1, Mohammad wrote:
>>>
>>> @Diego, @Josiah
>>>
>>> I will try to document all Kookma plugins in one place here on 
>>> https://kookma.github.io/TW-PluginLibrary/
>>> This will make selecting and installing plugins much simpler.
>>>
>>> --Mohammad
>>>


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


[tw5] Re: Set Top of story? for menus and other top content?

2020-03-09 Thread TonyM
Ton,

Thanks so much, that was what I needed,  top: 25px; works well with the new 
Menu bar plugin.

This also reminds me that when it comes to page layouts the theme is also 
involved. 

I can imagine a re-release vanila theme with these kinds of parameters 
either automated or configurable.

Thanks
Ton

Regards
Tony

On Monday, March 9, 2020 at 11:24:21 PM UTC+11, Ton Gerner wrote:
>
> Hi Tony,
>
> You can adjust 'Top' in $:/themes/tiddlywiki/vanilla/sticky
>
> I use that in my Layout tweaks plugin.
>
> Cheers,
>
> Ton
>
>
>
>

-- 
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/76552dc4-d4d6-49fc-82bf-e0c1a2cf442d%40googlegroups.com.


[tw5] Re: Link with variable field to point URL in list tiddler ?

2020-03-09 Thread Sylvain Naudin
I've upload an extract here : https://tw5.xyz/Annuaire/contact.html


I hope it will clearer :)
Sylvain

-- 
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/116492dc-3bdf-4358-b0dc-5e4212ade5e1%40googlegroups.com.


[tw5] Re: Link with variable field to point URL in list tiddler ?

2020-03-09 Thread Sylvain Naudin


Le lundi 9 mars 2020 17:32:38 UTC+1, Mat a écrit :
>
> OK, so maybe this:
>
>
>
> \define mymacro() [[user|$(nom)$]]
>
> 
> <$list filter="[tag[Annuaire]sort[title]]">
> 
> <$link/>
> <$set name=nom filter="[{!!url}removeprefix[https://forum.tiddlywiki.fr/u/ 
> ]]>
> <$set name=prettylink value=<>>
> <>
> 
> 
> 
> 
> ...
>
> <:-)
>

Nope, sorry, it gives me error about <$set and don't execute it, also it 
seem to don't understand removeprefix.

And I guess in your example user is not a variable, but it's my !!forum 
user in my example, so it's dynamic to and I have no !!url field, bref.. ;-)

At the moment, I can just return URL like this (but not like I want) :

\define link(site, user)
$site$$user$
\end

\define url(site:"https://forum.tiddlywiki.fr/u/;, user)
<$macrocall $name="link" site="$site$" user="$user$" />
\end


<$list filter="[tag[Annuaire]sort[title]]">

<$link/>
<$macrocall $name="url" user={{!!forum}} />



But it's not my first intention. Have to put a file to share and demo.
Sylvain

-- 
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/c560430e-1753-4e4b-8f48-4f6d24732b29%40googlegroups.com.


Re: [tw5] Download just a tiddler from a TW?

2020-03-09 Thread Jeremy Ruston
Hi Mat

> On 9 Mar 2020, at 20:23, Mat  wrote:
> 
> If this were possible, it would be trivial for anyone to make a plugin library

It’s already pretty trivial to make a plugin library under Node.js, are you 
talking about making a plugin library with the standalone file configuration? 
If so, perhaps you don't need to invent a new mechanism, but just experiment 
with using the same templates to generate files in the browser.

Best wishes

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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/744E7855-3960-4953-8BA4-73D6D6D22624%40gmail.com.


[tw5] Re: Download just a tiddler from a TW?

2020-03-09 Thread Donald Coates
I know this is pretty vague but is something like a Widget Message what you 
are after.  Like the download message 
?  This is 
something I'm just starting to explore so I can't be of any help beyond 
pointing at it.

On Monday, March 9, 2020 at 4:23:29 PM UTC-4, Mat wrote:
>
> I am guessing "no" but asking anyway:
>
> Is it possible to click on a something (a link or a button) to trigger a 
> download of only a tiddler from a wiki?
>
> Downloading a full wiki is of course done when clicking on, say, "download 
> empty" on tiddlywiki.com so my question is if it is possible to limit it 
> to only be the specific tiddler/s in the target TW.
>
> If this were possible, it would be trivial for anyone to make a plugin 
> library for ones own stuff (a plugin library would just be a tiddler with a 
> permalink for every plugin you serve) and it would probably also be simple 
> to make a global kind of share-list with links to other peoples wikis.
>
> <:-)
>

-- 
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/054f6cfd-1288-4e70-9e53-7ce7a22a35e9%40googlegroups.com.


Re: [tw5] Wikified macro notation suggestion

2020-03-09 Thread Jeremy Ruston
Hi Stobot

> I don't know if anyone else builds things like I do - with a ton of dynamic 
> tables and branched lookups, but I use this pattern all the time:
> 
> \define macrotobuildfilter() ...
> 
> <$wikify name="macrotobuildfilterwiki" text=<>>
> 
> <$list filter=<>>
> ...
> 
> 
> 
> 
> That's just with one, but usually I have a few nested ones. In fact I'll go 
> so far as to say that more than half of the time I use a macro, I have to 
> wikify it before use as it's being used as a parameter for something else.

The pattern you’re using here is a subtle one: to use the wikification process 
to create filter strings. As you’ve probably gathered, it can be quite brittle. 
For example, there can be problems if titles included in your filter strings 
include wikitext markup (e.g. HTTP links contain an embedded //). One tip is to 
prepend the \rules pragma to the start of the text to be wikified and thus 
restrict the wikitext rules that will be recognised.

> I've often thought of how great it would be to have that wikification done in 
> the same step - maybe with triple brackets like <<>> ? 
> Similarities to the {{{...}}} notation in a way. 

Yes, it’s somewhat anomalous that there isn’t a quoted attribute syntax that 
returns the wikified value of the argument. Part of the reason is that as Mat 
points out, wikification is a relatively slow process (unlike wikifying the 
page we can’t do any selective refreshing, we have to process the entire text 
on each refresh cycle).

> Is this possible? I see some other threads on additional parser rules, so 
> thought it might be a good time to bring up. 

It might be worth experimenting with it, but I’d be concerned about performance.

An alternative approach that might be a bit easier would be to create a pragma 
that’s a shortcut for the wikify widget. Something like:

\define-with-wikification macrotobuildfilter() ...


<$list filter=<>>
...



An ordinary \define pragma generates a single <$set> widget; this new pragma 
would generate a <$set> widget with a nested <$wikify> widget.

https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/parsers/wikiparser/rules/macrodef.js
 


Best wishes

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+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/a0aff5bb-2aa3-4bc0-8094-72cf07c550a8%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/7ED54FDB-6C11-4379-A808-AC6CC432110F%40gmail.com.


[tw5] Re: Transcluding Tiddler Content to a Different Tiddler Type (Rendering XML Tiddlers as Plain Text)

2020-03-09 Thread PMario
Hi Scott, 

If your template contains this: 

<$view mode=text/>

It should do what you want. 

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/3f98e1c5-eaec-412b-a2ca-f1753ad55b76%40googlegroups.com.


Re: [tw5] Re: Consider renaming TiddlyWiki

2020-03-09 Thread Arlen Beiler
Wiki is a category which refers to small, easy-to-setup, wall-of-text
content management systems, usually equipped with a simple default theme,
but infinitely customizable with enough tiem and patience.

On Mon, Mar 9, 2020 at 4:17 PM TiddlyTweeter 
wrote:

> Arlen, not a criticism, but what is the meaning here of "Wiki"? What does
> it add?
>
> My concern about it is its in a way empty of meaning.
>
> I think if you used a wiki it makes some sense. But if you haven't?
>
> Just gentle thoughts
> Josiah
>
> On Monday, 9 March 2020 21:07:52 UTC+1, Arlen Beiler wrote:
>>
>> AtomicWiki
>> That's another idea. I think it captures the essence of TiddlyWiki.
>>
>> Or the office suite :)
>> NoteWiki
>> SheetWiki
>> SlideWiki
>> TableWiki
>>
>> More ideas
>> PageWiki
>>
>> Coral Platform (the idea of living building blocks)
>>
>>
>>
>>
>> MinnoWiki seems to carry about as much appeal as TiddlyWiki (if you have
>> no negative connotation for the word "Tiddly"), I would think.
>>
>> Arlen
>>
>> On Mon, Mar 9, 2020 at 9:07 AM TiddlyTweeter  wrote:
>>
>>> My sense is that the real solution to TiddlyWiki gaining more traction
 in the marketplace is about creating one or more compelling "killer apps"
 that fill widely-perceived, but under-served demands for a particular set
 of features rather than avoiding any general aversion to the underlying
 TiddlyWiki name, and that changing the name will accomplish almost nothing
 in this regard.
>>>
>>>
>>> Eric, am I allowed to agree with both you & Mark S. ? :-)
>>>
>>> The "killer apps" part of this I fully agree with. It simply makes sense
>>> to me to address niches with precise solutions, which is exactly what TW is
>>> spectacularly good at.
>>>
>>> And we may already have them but don't seem to have a way to advance
>>> them.
>>>
>>> So there is, maybe, a missing promo piece?
>>>
>>> Thoughts
>>> TT
>>>
>>> On Sunday, 8 March 2020 05:11:51 UTC+1, Eric Shulman wrote:

 On Saturday, March 7, 2020 at 5:05:36 PM UTC-8, Mark S. wrote:
>
> I think if we had stats, you'd find that basically there's about 350
> million people
>

 If we had stats... then we would have a number... but without stats,
 saying "350 million" is just an imagined number.  This reminds of an old
 saying: "86.3% of all statistics are made up on the spot" :)


> who will automatically discount a product that has a childish,
> non-serious, and embarrassing name like "Tiddly--anything".
>

 I think you are vastly overstating the "embarrassing" aspect.  I
 suspect that is more of a personal response on your part, rather than some
 general truth.  As I wrote previously:

 *REAL adults... evaluate the cost/benefit relationship to their
 objectives, and adopt whatever tech makes sense to meet their goals.*

 Yes, there are PROMOTED products with childish names (e.g. Duck Duck
> Go, which has a TINY sliver of the search market)
>

 Compared to Google, *ALL* other search sites have "a tiny sliver of the
 search market".  As I previously noted,
 https://www.visualcapitalist.com/wp-content/uploads/2019/08/top-100-websites-ranking.html
  shows
 that DuckDuckGo.com has had a 10-fold growth in the past 5 years, and gets
 30 MILLION HITS PER DAY.  While this is clearly nowhere near Google's
 traffic stats, it's also clearly NOT trivial.

 But TiddlyWiki has no promotion mechanism. It's that initial "bump"
> that is the problem. People are turning away from TW
> before they know anything more because in their language the name says
> "Just a toy -- ok to ignore".
>

 Again, I think that you are vastly overstating the impact that a
 product *name* has on decision-making.  Sure, some people will dismiss
 TiddlyWiki "before they know anything more", but I believe that most people
 are not quite that shallow, especially when they are looking for potential
 solutions to their needs.


>  Yes, if there's an evangelizer in the room, they can get past that.
>

 This suggests that TiddlyWiki simply needs some more persuasive
 "evangelizing"... and that doesn't necessarily mean someone "in the room".

 Consider a likely scenario:

 Someone is searching for "wiki" software.  They start by searching
 Google for "wiki programs".  Among the top search results are several "wiki
 review sites".  Being somewhat jaded by internet hype, they skip over the
 "advertisement" links and the first few links, which appear to be minor
 sites (www.clickonf5.org) or self-promoting (www.helpiewp.com, which
 lists its own HelpieWiki first!).  The next Google search result is
 https://en.wikipedia.org/wiki/List_of_wiki_software
 ;
 and Wikipedia is generally well-regarded as having reasonably objective 

Re: [tw5] Distinguishing Native Shadow Tiddlers from Overwritten Shadow Tiddlers (for Styling)

2020-03-09 Thread Jeremy Ruston
Hi Scott

It’s an oversight that there wasn’t a way to style overridden shadow tiddlers. 
I’ve added a tc-tiddler-overridden-shadow for the upcoming v5.1.22 release:

https://github.com/Jermolene/TiddlyWiki5/commit/ae9ce4f01c6048aeb5604a93b57c2f3e4f959162

It’ll take about 10 minutes to build and then you’ll be able to try it out at 
https://tiddlywiki.com/prerelease 

Best wishes

Jeremy.


> On 8 Mar 2020, at 20:17, Scott Simmons (Secret-HQ)  
> wrote:
> 
> This is a follow-up to another question about using CSS to affect the opacity 
> of tiddlers 
> 
>  from a year ago.
> 
> In that thread, I managed to make shadow tiddlers translucent for easy 
> identification when TiddlyWiking.  My follow-up ambition was to add similarly 
> identifying styling to former shadow tiddlers (i.e., modified shadow 
> tiddlers, now saved as full-fledged tiddlers).
> 
> However, it doesn't look like there's an obvious way to identify those for 
> CSS.  I used to think they got the style "tc-tiddler-exists" added when they 
> were saved, and it seems that IS true — the original shadow also has that 
> same CSS class.  Best I can tell, the only difference between a "native 
> shadow" (one that hasn't been modified since it was loaded) and an 
> overwritten shadow is the addition of the "tc-tiddler-exists" class a second 
> time:
> 
> NATIVE SHADOW:
> tc-tiddler-frame tc-tiddler-view-frame tc-tiddler-exists tc-tiddler-shadow 
> tc-tiddler-system 
> 
> OVERWRITTEN SHADOW:
> tc-tiddler-frame tc-tiddler-view-frame tc-tiddler-exists tc-tiddler-exists 
> tc-tiddler-shadow tc-tiddler-system 
> 
> ... and I don't think styling 
> .tc-tiddler-exists.tc-tiddler-exists.tc-tiddler-shadow differently from 
> .tc-tiddler-exists.tc-tiddler-shadow is going to work.
> 
> Are there any ways to go about this with how TW identifies shadow tiddlers 
> and overwritten shadow tiddlers?  Because the EditTemplate throws up 
> different alerts when you're editing a native shadow and when you're editing 
> an overwritten shadow, I assume there must be some TiddlyWay of knowing the 
> difference.  Is it a way that can be leveraged by CSS?
> 
> -- 
> 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/c3a1f84f-8247-44bb-9538-01491d0c4f7f%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/B890DB34-9119-41AF-9C4B-CD980276661C%40gmail.com.


[tw5] Download just a tiddler from a TW?

2020-03-09 Thread Mat
I am guessing "no" but asking anyway:

TW1=your wiki
TW2=source wiki with a plugin

Is it possible to click on a something (a link or a button) to trigger a 
download of only a tiddler from a wiki?

Downloading a full wiki is of course done when clicking on, say, "download 
empty" on tiddlywiki.com so my question is if it is possible to limit it to 
only be the specific tiddler/s in the target TW.

If this were possible, it would be trivial for anyone to make a plugin 
library for ones own stuff (a plugin library would just be a tiddler with a 
permalink for every plugin you serve) and it would probably also be simple 
to make a global kind of share-list with links to other peoples wikis.

<:-)

-- 
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/78cfb68a-a7a7-4c0c-ab9a-a60a0f8443e1%40googlegroups.com.


Re: [tw5] TW on iOS

2020-03-09 Thread Jeremy Ruston
Hi Ed

Chris Hunt is now working on Quine 2, which is built around the new iOS 11 and 
13 file APIs, much as you suggest. There’s a TestFlight beta, more details in 
Quine’s own Google Group here:

https://groups.google.com/forum/#!topic/quine-app/p9HHP8G-37A 


Best wishes

Jeremy

> On 9 Mar 2020, at 17:19, Ed Heil  wrote:
> 
> I've been having a ton of fun with tiddlywikis lately; the only thing that's 
> been getting me down is using them on iOS, which is a pain.  There's the 
> Quine app which is neat, but wish I could do more. 
> 
> What I'm thinking of is the fact that as of iOS 11, it was possible for the 
> Files app to hand off a file to another application to open *and modify*, 
> saving the modified version back to the Files app.  
> 
> All *kinds* of things expose themselves to the Files app; iCloud, Dropbox, 
> and with the right apps to connect them, even github repositories and sftp 
> shares.
> 
> A tiddlywiki app which took advantage of this could be incredibly versatile.  
> It would essentially just have to be a special-purpose browser for displaying 
> the tiddlywikis, and then a mechanism for receiving the "saves" probably 
> equivalent to whatever TiddlyDesktop is doing (I don't know what that is) 
> which writes them back to the original location via Files's api.
> 
> I don't suppose such a thing exists? 
> 
> I have a small amount of iOS programming knowledge, and if I dropped the 
> money on an Apple developer's certificate and put enough work into it I might 
> be able to make something like this myself (always easier to say than to do 
> of course).  But it'd sure be nice if somebody else had already done it
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/111ffa9e-378c-4883-a08a-8d2e37e8374f%40www.fastmail.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/93A8F9A6-FEF2-45BE-826F-C6C9684DC6F2%40gmail.com.


Re: [tw5] Re: Consider renaming TiddlyWiki

2020-03-09 Thread TiddlyTweeter
Arlen, not a criticism, but what is the meaning here of "Wiki"? What does 
it add?

My concern about it is its in a way empty of meaning.

I think if you used a wiki it makes some sense. But if you haven't?

Just gentle thoughts
Josiah

On Monday, 9 March 2020 21:07:52 UTC+1, Arlen Beiler wrote:
>
> AtomicWiki
> That's another idea. I think it captures the essence of TiddlyWiki. 
>  
> Or the office suite :)
> NoteWiki
> SheetWiki
> SlideWiki
> TableWiki
>
> More ideas
> PageWiki
>
> Coral Platform (the idea of living building blocks)
>
>
>
>
> MinnoWiki seems to carry about as much appeal as TiddlyWiki (if you have 
> no negative connotation for the word "Tiddly"), I would think.
>
> Arlen
>
> On Mon, Mar 9, 2020 at 9:07 AM TiddlyTweeter  > wrote:
>
>> My sense is that the real solution to TiddlyWiki gaining more traction in 
>>> the marketplace is about creating one or more compelling "killer apps" that 
>>> fill widely-perceived, but under-served demands for a particular set of 
>>> features rather than avoiding any general aversion to the underlying 
>>> TiddlyWiki name, and that changing the name will accomplish almost nothing 
>>> in this regard.
>>
>>
>> Eric, am I allowed to agree with both you & Mark S. ? :-)
>>
>> The "killer apps" part of this I fully agree with. It simply makes sense 
>> to me to address niches with precise solutions, which is exactly what TW is 
>> spectacularly good at. 
>>
>> And we may already have them but don't seem to have a way to advance 
>> them. 
>>
>> So there is, maybe, a missing promo piece?
>>
>> Thoughts
>> TT
>>
>> On Sunday, 8 March 2020 05:11:51 UTC+1, Eric Shulman wrote:
>>>
>>> On Saturday, March 7, 2020 at 5:05:36 PM UTC-8, Mark S. wrote:

 I think if we had stats, you'd find that basically there's about 350 
 million people

>>>
>>> If we had stats... then we would have a number... but without stats, 
>>> saying "350 million" is just an imagined number.  This reminds of an old 
>>> saying: "86.3% of all statistics are made up on the spot" :)
>>>  
>>>
 who will automatically discount a product that has a childish, 
 non-serious, and embarrassing name like "Tiddly--anything".  

>>>
>>> I think you are vastly overstating the "embarrassing" aspect.  I suspect 
>>> that is more of a personal response on your part, rather than some general 
>>> truth.  As I wrote previously:
>>>
>>> *REAL adults... evaluate the cost/benefit relationship to their 
>>> objectives, and adopt whatever tech makes sense to meet their goals.*
>>>
>>> Yes, there are PROMOTED products with childish names (e.g. Duck Duck Go, 
 which has a TINY sliver of the search market) 

>>>
>>> Compared to Google, *ALL* other search sites have "a tiny sliver of the 
>>> search market".  As I previously noted, 
>>> https://www.visualcapitalist.com/wp-content/uploads/2019/08/top-100-websites-ranking.html
>>>  shows 
>>> that DuckDuckGo.com has had a 10-fold growth in the past 5 years, and gets 
>>> 30 MILLION HITS PER DAY.  While this is clearly nowhere near Google's 
>>> traffic stats, it's also clearly NOT trivial.
>>>
>>> But TiddlyWiki has no promotion mechanism. It's that initial "bump" that 
 is the problem. People are turning away from TW 
 before they know anything more because in their language the name says 
 "Just a toy -- ok to ignore".

>>>
>>> Again, I think that you are vastly overstating the impact that a product 
>>> *name* has on decision-making.  Sure, some people will dismiss TiddlyWiki 
>>> "before they know anything more", but I believe that most people are not 
>>> quite that shallow, especially when they are looking for potential 
>>> solutions to their needs.
>>>  
>>>
  Yes, if there's an evangelizer in the room, they can get past that.

>>>
>>> This suggests that TiddlyWiki simply needs some more persuasive 
>>> "evangelizing"... and that doesn't necessarily mean someone "in the room".
>>>
>>> Consider a likely scenario:
>>>
>>> Someone is searching for "wiki" software.  They start by searching 
>>> Google for "wiki programs".  Among the top search results are several "wiki 
>>> review sites".  Being somewhat jaded by internet hype, they skip over the 
>>> "advertisement" links and the first few links, which appear to be minor 
>>> sites (www.clickonf5.org) or self-promoting (www.helpiewp.com, which 
>>> lists its own HelpieWiki first!).  The next Google search result is 
>>> https://en.wikipedia.org/wiki/List_of_wiki_software 
>>> ;
>>>  
>>> and Wikipedia is generally well-regarded as having reasonably objective and 
>>> useful information (except for certain controversial topics... of which 
>>> "wiki software" is NOT!)
>>>
>>> On that Wikipedia page, they find that TiddlyWiki is listed TWICE:
>>>
>>> First, under the "javascript-based" category, where it is described as
>>>
>>> *"...a HTML-JavaScript-based server-less wiki in which the 

Re: [tw5] Re: Consider renaming TiddlyWiki

2020-03-09 Thread Arlen Beiler
AtomicWiki
That's another idea. I think it captures the essence of TiddlyWiki.

Or the office suite :)
NoteWiki
SheetWiki
SlideWiki
TableWiki

More ideas
PageWiki

Coral Platform (the idea of living building blocks)




MinnoWiki seems to carry about as much appeal as TiddlyWiki (if you have no
negative connotation for the word "Tiddly"), I would think.

Arlen

On Mon, Mar 9, 2020 at 9:07 AM TiddlyTweeter 
wrote:

> My sense is that the real solution to TiddlyWiki gaining more traction in
>> the marketplace is about creating one or more compelling "killer apps" that
>> fill widely-perceived, but under-served demands for a particular set of
>> features rather than avoiding any general aversion to the underlying
>> TiddlyWiki name, and that changing the name will accomplish almost nothing
>> in this regard.
>
>
> Eric, am I allowed to agree with both you & Mark S. ? :-)
>
> The "killer apps" part of this I fully agree with. It simply makes sense
> to me to address niches with precise solutions, which is exactly what TW is
> spectacularly good at.
>
> And we may already have them but don't seem to have a way to advance them.
>
> So there is, maybe, a missing promo piece?
>
> Thoughts
> TT
>
> On Sunday, 8 March 2020 05:11:51 UTC+1, Eric Shulman wrote:
>>
>> On Saturday, March 7, 2020 at 5:05:36 PM UTC-8, Mark S. wrote:
>>>
>>> I think if we had stats, you'd find that basically there's about 350
>>> million people
>>>
>>
>> If we had stats... then we would have a number... but without stats,
>> saying "350 million" is just an imagined number.  This reminds of an old
>> saying: "86.3% of all statistics are made up on the spot" :)
>>
>>
>>> who will automatically discount a product that has a childish,
>>> non-serious, and embarrassing name like "Tiddly--anything".
>>>
>>
>> I think you are vastly overstating the "embarrassing" aspect.  I suspect
>> that is more of a personal response on your part, rather than some general
>> truth.  As I wrote previously:
>>
>> *REAL adults... evaluate the cost/benefit relationship to their
>> objectives, and adopt whatever tech makes sense to meet their goals.*
>>
>> Yes, there are PROMOTED products with childish names (e.g. Duck Duck Go,
>>> which has a TINY sliver of the search market)
>>>
>>
>> Compared to Google, *ALL* other search sites have "a tiny sliver of the
>> search market".  As I previously noted,
>> https://www.visualcapitalist.com/wp-content/uploads/2019/08/top-100-websites-ranking.html
>>  shows
>> that DuckDuckGo.com has had a 10-fold growth in the past 5 years, and gets
>> 30 MILLION HITS PER DAY.  While this is clearly nowhere near Google's
>> traffic stats, it's also clearly NOT trivial.
>>
>> But TiddlyWiki has no promotion mechanism. It's that initial "bump" that
>>> is the problem. People are turning away from TW
>>> before they know anything more because in their language the name says
>>> "Just a toy -- ok to ignore".
>>>
>>
>> Again, I think that you are vastly overstating the impact that a product
>> *name* has on decision-making.  Sure, some people will dismiss TiddlyWiki
>> "before they know anything more", but I believe that most people are not
>> quite that shallow, especially when they are looking for potential
>> solutions to their needs.
>>
>>
>>>  Yes, if there's an evangelizer in the room, they can get past that.
>>>
>>
>> This suggests that TiddlyWiki simply needs some more persuasive
>> "evangelizing"... and that doesn't necessarily mean someone "in the room".
>>
>> Consider a likely scenario:
>>
>> Someone is searching for "wiki" software.  They start by searching Google
>> for "wiki programs".  Among the top search results are several "wiki review
>> sites".  Being somewhat jaded by internet hype, they skip over the
>> "advertisement" links and the first few links, which appear to be minor
>> sites (www.clickonf5.org) or self-promoting (www.helpiewp.com, which
>> lists its own HelpieWiki first!).  The next Google search result is
>> https://en.wikipedia.org/wiki/List_of_wiki_software
>> ;
>> and Wikipedia is generally well-regarded as having reasonably objective and
>> useful information (except for certain controversial topics... of which
>> "wiki software" is NOT!)
>>
>> On that Wikipedia page, they find that TiddlyWiki is listed TWICE:
>>
>> First, under the "javascript-based" category, where it is described as
>>
>> *"...a HTML-JavaScript-based server-less wiki in which the entire
>>> site/wiki is contained in a single file"*
>>
>>
>> TiddlyWiki is also listed again, under the "personal wiki software"
>> category, where is it described as
>>
>> *"...a free, open-source personal use (single-machine) wiki based on
>>> HTML/JavaScript for any browser and OS. It supports customization and a
>>> wide range of addons."*
>>
>>
>> Thus, from this one lookup on Wikipedia, TiddlyWiki is already
>> "evangelized" as:
>> * server-less (ease of setup)
>> * single file 

[tw5] Re: Update Codemirror

2020-03-09 Thread PMario
Hi George, 

On Monday, March 9, 2020 at 4:02:13 PM UTC+1, bluespire wrote:
...

> Maybe I missed the documentation on how to update Codemirror for 
> Tiddlywiki.
>

It has to be done by one of the plugin maintainers. Most of the time the 
cm-libraries that are part of the files directory, have to be updated _AND_ 
tested. Codemirror is "ultra modular". So each functionality is separated 
into 1 js module. Most of the time such a module is only 1 part of a new 
function. eg: autocomplete.

In TW codemirror.js is the main plugin, that you always have to use. It 
basically contains the main library and a minimal set of CM addOns that are 
needed. 

eg: codemirror-autocomplete contains several other cm-modules like: 
anyword-hint.js, css-hint.js, html-hint.js  and so on. PLUS CSS and 
some configuration, that is needed within TW.

codemirror-closebrackets contains closebrackets.js and matchbrackets.js ... 
+ config. 

As you can see, there is quite some manual work needed, to create a new 
version for TW. Since the maintainer has to test every feature separately 
and in combination with other tw-cm-plugins installed. 

Especially the configurations have to be right, to create a plug-and-play 
experience for newbie users. 
 

> The one in the official repo looks pretty out of date, but also looks like 
> some decent work went into porting it. What's the easiest way to update it?
>

You are right. There has been much energy put into the system, to make it 
easy to use. Especially the "autoconfig" feature needed much attention. 
...  TW 5.1.21 uses codemirror elements based on cm V5.37.0 

I did have a look at the github release history. ... Most of the fixes 
between 5.52.0 which is the latest version and the version we use is mode 
updates (most of them not part of the TW distro atm.) and some edge case 
fixes. 

*So is there major function, that you miss in the current TW version, which 
makes it impossible for you to use it. *

Or is it just the need to "have to use the latest and greatest" ...

have fun!
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/dfc8ee97-3cad-4893-81af-3d7524ce8bfe%40googlegroups.com.


Re: [tw5] Re: Covid & Tiddlywiki

2020-03-09 Thread Thomas Elmiger
Hi Steve,

I don’t know what Mat is referring to, but I mentioned Glitch a few times 
here, where you can publish a TW and reserve writing access for yourself or 
others knowing the credentials. The quickest way to set up a live TW for 
the web. 

https://nota-bene.glitch.me/ is my personal set-up documentation, only a 
few steps to follow. 

Points that might be on the negative side: 

   - yourname.glitch.me domain
   - goes to sleep when not used

Positive: near-live updates for people watching, whe you edit.

Examples: https://telmiger.glitch.me/ (some personal notes), 
https://bitsnpieces.glitch.me/ (thoughts about TiddlyWiki)

=== 

Another solution I can think of: Maybe you can publish (upload) documents 
to your blog: Why not upload a TW.html file? If it is only text information 
it should load fast, even if the file size looks big as most servers 
compress files they send to the browser. 

===

Regarding the (maybe) main point of your OT: the reveal widget uses 
Javascript to insert/remove elements dynamically into/from the document. So 
that would not be easy to copy over to a blog.

As an alternative you could use my Details plugin 
 – 
it produces an HTML 5 details-summary construct that can visually hide and 
show content that is always present. (The browser can handle it without 
Javascript). The resulting HTML can be copied over to another CMS and will 
probably not look the same but still work in most modern browsers. (Other 
will present the content in open state as they don’t understand the tags.)

I hope this helps.

All the best to you and your students!
Thomas



Am Sonntag, 8. März 2020 20:18:05 UTC+1 schrieb Mat:
>
> I think someone very recently published or maybe just linked to some kind 
> of public no-write edition. Hopefully someone will fill in what I'm 
> referring to here.
>
>

-- 
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/63f62233-c47a-4d6f-b159-126e884ec31e%40googlegroups.com.


[tw5] Re: A Plugin Store

2020-03-09 Thread Mohammad
Thank you Birthe,

On Monday, March 9, 2020 at 10:26:19 PM UTC+3:30, Birthe C wrote:
>
> Your demo pages and the quality of them is important.
> Plugin library make it fast and easy to install plugins, but I still need 
> to know how to use them.
>

That is true, so they will be there and when you install a plugin from 
library, you can click and see the readme and links to demo pages!
By the way, I think the readme is good to briefly show what is the plugin, 
what is its purpose (use case) and belong to which category!

 --Mohammad

>
>
> Birthe
>
>  
>
>> That's correct. I myself use a demo page to explain what is the plugin! 
>> Next step is to tag them and categorize them like todolist, extended markup 
>> (formatting) etc...
>>
>

-- 
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/9425dc53-30c9-414a-9f68-6033c27e745d%40googlegroups.com.


[tw5] Re: A Plugin Store

2020-03-09 Thread Birthe C

Your demo pages and the quality of them is important.
Plugin library make it fast and easy to install plugins, but I still need 
to know how to use them.


Birthe

 

> That's correct. I myself use a demo page to explain what is the plugin! 
> Next step is to tag them and categorize them like todolist, extended markup 
> (formatting) etc...
>

-- 
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/844dc131-4b6a-4f95-b540-50a1edcdee20%40googlegroups.com.


[tw5] TW on iOS

2020-03-09 Thread Ed Heil
I've been having a ton of fun with tiddlywikis lately; the only thing that's 
been getting me down is using them on iOS, which is a pain.  There's the Quine 
app which is neat, but wish I could do more. 

What I'm thinking of is the fact that as of iOS 11, it was possible for the 
Files app to hand off a file to another application to open *and modify*, 
saving the modified version back to the Files app.  

All *kinds* of things expose themselves to the Files app; iCloud, Dropbox, and 
with the right apps to connect them, even github repositories and sftp shares.

A tiddlywiki app which took advantage of this could be incredibly versatile.  
It would essentially just have to be a special-purpose browser for displaying 
the tiddlywikis, and then a mechanism for receiving the "saves" probably 
equivalent to whatever TiddlyDesktop is doing (I don't know what that is) which 
writes them back to the original location via Files's api.

I don't suppose such a thing exists? 

I have a small amount of iOS programming knowledge, and if I dropped the money 
on an Apple developer's certificate and put enough work into it I might be able 
to make something like this myself (always easier to say than to do of course). 
 But it'd sure be nice if somebody else had already done it

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/111ffa9e-378c-4883-a08a-8d2e37e8374f%40www.fastmail.com.


[tw5] Re: Distinguishing Native Shadow Tiddlers from Overwritten Shadow Tiddlers (for Styling)

2020-03-09 Thread Mat
@Ton, I think Scott is hoping for styling the actual tiddlers not just the 
link.

@Scott, I think you can use this

tags:$:/tags/Stylesheet
type: text/vnd.tiddlywiki
text:
<$list filter="[is[shadow]]">
[data-tiddler-title="<>"] { yourstyles }



<:-)

-- 
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/a87adab0-6505-4cd6-9c98-17ccf8840025%40googlegroups.com.


[tw5] Re: Wikified macro notation suggestion

2020-03-09 Thread Mat
Stobot wrote:
>
> I don't know if anyone else builds things like I do - with a ton of 
> dynamic tables and branched lookups, but I use this pattern all the time:
>

(probably not ;-) 

I want to call your attention to that $wikify is a very expensive widget, 
especially if you nest them.
Often, but not always, the same result can be achieved with the $set widget 
and its attibute set to select=0 

I'm not qualified to answer you actual question.

<:-)

-- 
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/b43a2bb1-f769-4d46-976c-334f891827d2%40googlegroups.com.


[tw5] Re: [advice] for encryption and mobile performance

2020-03-09 Thread Mat
Thanks for an insight into how you work. Considering the kind of text you 
write (i.e not code), I'm wondering if perhaps som voice-to-text software 
would be useful. 

<:-)

-- 
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/c37bed12-2342-4ac7-bdb2-ac61479e6b0a%40googlegroups.com.


[tw5] Re: Link with variable field to point URL in list tiddler ?

2020-03-09 Thread Mat
OK, so maybe this:



\define mymacro() [[user|$(nom)$]]


<$list filter="[tag[Annuaire]sort[title]]">

<$link/>
<$set name=nom filter="[{!!url}removeprefix[https://forum.tiddlywiki.fr/u/ 
]]>
<$set name=prettylink value=<>>
<>




...

<:-)

-- 
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/87e5ffcf-466f-4bf6-8e5f-9341d477bf8b%40googlegroups.com.


[tw5] Re: (re-)Presenting: LeftBar - a menu type sidebar, on the left

2020-03-09 Thread Mat
Damon Pritchett wrote:
>
>
> I love this plugin! So far it works very well with all of my custom TOCs, 
> etc. I also love the way it can appear and hide from the left side. I was 
> thinking that this same behavior would be extremely handy for the sidebar 
> as well.
>

Happy to hear you find LeftBar useful! I just did some (very) quick 
attempts to see what I could do with the regular sidebar but realized it is 
too intricate to get anything going quickly. I'm sure it can be done. 
However, I believe @Ton Gernert has some layout that lets you pop out both 
of the sidebars one at a time, kind of. You might want to look into that. 
I'm afraid I can't remember what it's called. It's pretty old by now, 
certainly older than 5 years. Seek up Ton and ask him.

<:-)

 

-- 
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/ef8d3f70-412a-4a8f-965a-e9001cf1fb4c%40googlegroups.com.


[tw5] Re: A Plugin Store

2020-03-09 Thread Mohammad


On Monday, March 9, 2020 at 7:35:03 PM UTC+3:30, TiddlyTweeter wrote:
>
> Well, Commander is a special case
>
>
> Right. It is special in that it so comprehensive.
>
> But consider the case of a novel writer who needs extensions of several 
> kinds ... plugins AND mods to behavior. 
>
> In their case a finished wiki  is even more relevant! 
>

I agree! These are kind of apps or editions and shall be available as a 
final product. 

>
> I think it is a lot to expect a newbie to figure out they need to install 
> 3 plugins, 4 modifications etc.
>
> You see what I am pointing to? A bare big plugin list without context is 
> more helpful to "developers" than end users.
>
Right! 

>
> To utilise a big list not knowing TW already you absolutely would need a 
> framework of "purpose" IMO.
>

That's correct. I myself use a demo page to explain what is the plugin! 
Next step is to tag them and categorize them like todolist, extended markup 
(formatting) etc...
 

>
> Just thoughts
> TT
>
> On Monday, 9 March 2020 16:22:48 UTC+1, Mohammad wrote:
>>
>>
>>
>> On Monday, March 9, 2020 at 6:12:50 PM UTC+3:30, TiddlyTweeter wrote:
>>>
>>> Ciao Mohammad
>>>
>>> I see possible benefit in some kind of central repository. BUT I also 
>>> think about "what is it for?"
>>>
>>> The issue is this: would you not need some kind of categorisation to 
>>> make sense of a large repository?
>>>
>>
>> This is useful specially when you look for special tool like Commander or 
>> Gallery! 
>>
>>>
>>> My thinking is that some serious plugins are, basically, full tools that 
>>> convert TW empty into an application. 
>>> Tiddler Commander is a good example.
>>>
>>> My question: *Does it make most sense to have it as a plugin, or simply 
>>> an already ready complete TW?*
>>>
>>
>> Well, Commander is a special case, but for example a TOC tool designed 
>> for authoring is a plugin can be added on demand! I fully agree to have 
>> some end-user oriented apps!
>> but we need also the empty edition. It is like the raw material for 
>> making different things.
>>
>>>
>>> Thoughts
>>> TT
>>>
>>> On Saturday, 7 March 2020 10:36:47 UTC+1, Mohammad wrote:

 Tiddlywiki has no plugin store!

 Why?


 A Plugin library like Official Plugin Library can collect free ones on 
 the net and this forum and lets people simply install plugins.
 The plugin library can alert people these are not official.


 What do you think?

>>>

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


[tw5] Re: Filter comparison operators

2020-03-09 Thread Mat
TonyM wrote:
>
> The match operator is effectively the equals operator the git hub issue 
> raises
>

Yeah, but that's the only solved one. This thread here is about "less 
than", which is also brought up, among other comparison ops, in the issue 
thread.

<:-)

>

-- 
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/0ff5cb9d-818a-41d0-940f-d962d934eb6f%40googlegroups.com.


[tw5] Re: A Plugin Store

2020-03-09 Thread TiddlyTweeter

>
> Well, Commander is a special case


Right. It is special in that it so comprehensive.

But consider the case of a novel writer who needs extensions of several 
kinds ... plugins AND mods to behavior. 

In their case a finished wiki  is even more relevant! 

I think it is a lot to expect a newbie to figure out they need to install 3 
plugins, 4 modifications etc.

You see what I am pointing to? A bare big plugin list without context is 
more helpful to "developers" than end users.

To utilise a big list not knowing TW already you absolutely would need a 
framework of "purpose" IMO.

Just thoughts
TT

On Monday, 9 March 2020 16:22:48 UTC+1, Mohammad wrote:
>
>
>
> On Monday, March 9, 2020 at 6:12:50 PM UTC+3:30, TiddlyTweeter wrote:
>>
>> Ciao Mohammad
>>
>> I see possible benefit in some kind of central repository. BUT I also 
>> think about "what is it for?"
>>
>> The issue is this: would you not need some kind of categorisation to make 
>> sense of a large repository?
>>
>
> This is useful specially when you look for special tool like Commander or 
> Gallery! 
>
>>
>> My thinking is that some serious plugins are, basically, full tools that 
>> convert TW empty into an application. 
>> Tiddler Commander is a good example.
>>
>> My question: *Does it make most sense to have it as a plugin, or simply 
>> an already ready complete TW?*
>>
>
> Well, Commander is a special case, but for example a TOC tool designed for 
> authoring is a plugin can be added on demand! I fully agree to have some 
> end-user oriented apps!
> but we need also the empty edition. It is like the raw material for making 
> different things.
>
>>
>> Thoughts
>> TT
>>
>> On Saturday, 7 March 2020 10:36:47 UTC+1, Mohammad wrote:
>>>
>>> Tiddlywiki has no plugin store!
>>>
>>> Why?
>>>
>>>
>>> A Plugin library like Official Plugin Library can collect free ones on 
>>> the net and this forum and lets people simply install plugins.
>>> The plugin library can alert people these are not official.
>>>
>>>
>>> What do you think?
>>>
>>

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


[tw5] Re: A Plugin Store

2020-03-09 Thread TiddlyTweeter
Jed Carty wrote:
>
> I think that Jeremy's description is fair. I have seen many people decide 
> they are not going to contribute a plugin because they think that they 
> don't fit the quality standards required, I don't remember ever seeing a 
> plugin rejected because of that.
>

Right. 

... For a long time I was maintaining a listing of available plugins on the 
> wiki reference wiki as a sort of plugin store, but it was barely used so I 
> stopped. Setting up a system for adding plugins could be a significant time 
> investment and from experience if it is just one of the more experienced 
> devs doing it no one is going to use it.
>

I more than agree. Even though I don't contribute much to TW (embarrassed), 
I absolutely see this pattern.

The question in my mind is whether a central repository might ease this 
frustration of dedicated doing for no more than one-man-and-a-dog. 
Fragmentation of resources? Not sure. Not enough users overall? Not sure. 
More capability in TW than actual need? Not sure. 

But there sure IS an issue.

Best wishes
TT

-- 
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/b0849349-5702-4b63-8446-09cddfed2dda%40googlegroups.com.


[tw5] Re: A Plugin Store

2020-03-09 Thread Mohammad
Thank you Jed,
 Still I say, Official Plugin Library and Community Plugin Library can be 
different! and I expect Tiddlywiki.com support it!
 
--Mohammad

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


[tw5] Re: A Plugin Store

2020-03-09 Thread Mohammad


On Monday, March 9, 2020 at 6:12:50 PM UTC+3:30, TiddlyTweeter wrote:
>
> Ciao Mohammad
>
> I see possible benefit in some kind of central repository. BUT I also 
> think about "what is it for?"
>
> The issue is this: would you not need some kind of categorisation to make 
> sense of a large repository?
>

This is useful specially when you look for special tool like Commander or 
Gallery! 

>
> My thinking is that some serious plugins are, basically, full tools that 
> convert TW empty into an application. 
> Tiddler Commander is a good example.
>
> My question: *Does it make most sense to have it as a plugin, or simply 
> an already ready complete TW?*
>

Well, Commander is a special case, but for example a TOC tool designed for 
authoring is a plugin can be added on demand! I fully agree to have some 
end-user oriented apps!
but we need also the empty edition. It is like the raw material for making 
different things.

>
> Thoughts
> TT
>
> On Saturday, 7 March 2020 10:36:47 UTC+1, Mohammad wrote:
>>
>> Tiddlywiki has no plugin store!
>>
>> Why?
>>
>>
>> A Plugin library like Official Plugin Library can collect free ones on 
>> the net and this forum and lets people simply install plugins.
>> The plugin library can alert people these are not official.
>>
>>
>> What do you think?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/71bebe50-c0e4-4689-9db9-92e97f044988%40googlegroups.com.


[tw5] Re: batch import/load images without filepath in title

2020-03-09 Thread Donald Coates
Just to clarify where tiddlywiki.files would come into this scenario.  If I 
dropped a folder of vacation pics into tiddlers/images/vacation then 
vacation1,jpg would be available at 
localhost:8080/images/vacation/vacation1.jpg and if you wanted to batch tag 
them all you would add a tiddlywiki.info file into that directory with the 
pictures that reads

{
"directories": [

{
"path": "./",
"filesRegExp": "^.*\\.(jpg|png|jpeg)$",
"isTiddlerFile": false,
"fields": {
   "tags": ["vacation"]
}
]
}

and when the wiki loads it will add the tag to all those files.


On Monday, March 9, 2020 at 10:18:25 AM UTC-4, Mohammad wrote:
>
> Thanks Donald
> I gonna to summarize our findings here and hope Jeremy address this 
> question: how node.js+tiddlywiki work with external images in a folder of 
> choice using _canonical_uri.
>
> --Mohammad
>
> On Monday, March 9, 2020 at 3:54:43 PM UTC+3:30, Donald Coates wrote:
>>
>> To add a little more to what I wrote above and address this specifically 
>> - the files are not imported.  A reference to their location is created 
>> when the server starts.  If you look in the directory that the 
>> tiddlywiki.files file is in there are no other files there.  At least this 
>> is what I remember from when I was playing with this before.  The only time 
>> tiddlywiki creates an actual file with this method is if you manually add a 
>> field or tag that is not referenced by the tiddlywiki.file parameters.  
>> Then tiddlywiki has to create a meta file to contain that tag or field.
>>
>> The only way to actually import files is through the methods on the 
>> importing 
>> tiddlers  page or using 
>> the servers import or load command - which is what started me down this 
>> rabbit hole in the first place.
>>
>> On Monday, March 9, 2020 at 7:37:50 AM UTC-4, Mohammad wrote:
>>>
>>> In https://tiddlywiki.com/prerelease/#tiddlywiki.files%20Files
>>> It says path is relative to where tiddlywiki.files is located!
>>>
>>> Furthermore, the files are found and imported into Tiddlywiki. I see 
>>> list of files in my Recent tab. The ur is created and everything is work.
>>> but the image or pdf tiddlers show nothing!
>>>
>>> --Mohammad
>>>
>>>

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


[tw5] Re: Method to load batch of images/files and externalize in nodejs server

2020-03-09 Thread Donald Coates
Thank you!

On Monday, March 9, 2020 at 10:37:54 AM UTC-4, Mohammad wrote:
>
> Donald,
>  There is a little bracket unbalance!
>
>

-- 
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/3b87295b-a161-4408-aaeb-1fc060dcde94%40googlegroups.com.


[tw5] Update Codemirror

2020-03-09 Thread George Rutter
Hi folks,

Maybe I missed the documentation on how to update Codemirror for
Tiddlywiki. The one in the official repo looks pretty out of date, but also
looks like some decent work went into porting it. What's the easiest way to
update it?

-George

-- 
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/CANM8c%2BuQpVzJTsaYHFbuPhasC-KFHH6-N-Jrr0XkkvEOU-81aA%40mail.gmail.com.


[tw5] Re: A Plugin Store

2020-03-09 Thread Jed Carty
I think that Jeremy's description is fair. I have seen many people decide 
they are not going to contribute a plugin because they think that they 
don't fit the quality standards required, I don't remember ever seeing a 
plugin rejected because of that.

The plugin library has been open for a long time, and it is possible to 
create plugin libraries that are accessible in the same way as the official 
library. I haven't looked into it but I think you could probably host a 
plugin library on github/GitLab Pages so the hosting requirement may not be 
much of an obstacle. Adding a custom plugin library to the normal Get More 
Plugins interface just requires importing a single tiddler.

And if someone wants to publish a plugin to the official library and isn't 
sure if the quality meets whatever community standards exist they are 
welcome to ask for assistance.

I agree that the procedures for getting plugins in the library aren't 
clear, but that is mainly because so few people have tried it is always 
kind of ad-hoc and there aren't really set procedures to do it.
If you want things to be clearer than we need someone to make them that 
way, a lot of the work done on things like this hasn't gone anywhere 
because no one uses it.

For a long time I was maintaining a listing of available plugins on the 
wiki reference wiki as a sort of plugin store, but it was barely used so I 
stopped. Setting up a system for adding plugins could be a significant time 
investment and from experience if it is just one of the more experienced 
devs doing it no one is going to use it.
If you need evidence of that look at how many requests are made here for 
things that already exist in Bob or in the secure server that I made.
I think I have had 3 people ask about setting up the secure server, only 
one followed up with anything and that was just one time.

-- 
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/4300bf40-9a3c-466b-82de-d864e2704fdc%40googlegroups.com.


[tw5] Re: A Plugin Store

2020-03-09 Thread TiddlyTweeter
Ciao Mohammad

I see possible benefit in some kind of central repository. BUT I also think 
about "what is it for?"

The issue is this: would you not need some kind of categorisation to make 
sense of a large repository?

My thinking is that some serious plugins are, basically, full tools that 
convert TW empty into an application. 
Tiddler Commander is a good example.

My question: *Does it make most sense to have it as a plugin, or simply an 
already ready complete TW?*

Thoughts
TT

On Saturday, 7 March 2020 10:36:47 UTC+1, Mohammad wrote:
>
> Tiddlywiki has no plugin store!
>
> Why?
>
>
> A Plugin library like Official Plugin Library can collect free ones on the 
> net and this forum and lets people simply install plugins.
> The plugin library can alert people these are not official.
>
>
> What do you think?
>

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


[tw5] Re: Method to load batch of images/files and externalize in nodejs server

2020-03-09 Thread Mohammad
Donald,
 There is a little bracket unbalance!

On Monday, March 9, 2020 at 5:43:46 PM UTC+3:30, Donald Coates wrote:
>
> good goddess my ability to overcomplicate is as frightening as it is 
> ridiculous.
>
> The way to do this is to just put all the images in the directory that 
> nginx will be pointing to, lets say images.  Then create a directory in the 
> tiddler directory called loadfiles and put the following tiddlywiki.files 
> in it:
>
> {
> "directories": [
>
> {
> "path": "../../path/to/nginx/dir/relative/to/this/file",
> "filesRegExp": "^.*\\.(jpg|png|jpeg)$",
> "isTiddlerFile": false,
> "fields": {
>"title": {"source": "filename"},
>"type": "image/jpeg",
>"_canonical_uri": {"source": "filename", "prefix": 
> "images/"}
> }
>
} 

>
> ]
> }
>
> When you start/restart the wiki it will build a reference to this 
> directory and point the browser to it with the canonical uri.  No need for 
> all those extra steps.
>

-- 
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/e7eefb46-0ea2-4f61-8ea2-780f67e3ed39%40googlegroups.com.


[tw5] Re: batch import/load images without filepath in title

2020-03-09 Thread Donald Coates
I would clarify that the folder called files must be in the tiddler folder 
- the wikifolder may sound like it can be in the same folder as 
tiddlywiki.info and tiddlers.

On Monday, March 9, 2020 at 9:23:24 AM UTC-4, Mohammad wrote:
>
> Saq, Donald
>
> Lets summarize the findings here (I edit this post to add other conclusion 
> with you and later add to TW-Scripts)
> What is given below is tested and confirmed.
>
>  External Images and PDFs 
> Mohammad 9th March 2020 at 4:53pm 
> Single file wiki
>
> (e.g. testWiki.html)
>
>1. External image can be put everywhere in local disk as can be embed 
>in wiki using canonical URI. See full solution here: 
>
> https://kookma.github.io/TW-Scripts/#Create%20External%20Images%20from%20A%20Directory
>
> Node.js wiki
>
> (e.g. myWiki) [The description here tested on Windows 10 + Tiddlywiki 
> 5.1.22 + Node.js 12.13.1)
>
> NO tiddlywiki.files is used here
>
>1. the wiki started like tiddlywiki myWiki –server so the address is 
>http://127.0.0.1:8080/
>2. If you create a folder called files, inside wikiforlder, then you 
>can get access to all objects (images, pdfs, subfolders ...) 
>   - through http://127.0.0.1:8080/files/obj-name 
>   - like http://127.0.0.1:8080/files/IMG_20160405_120320.jpg [WORK]
>   - all sub folders in files work as above
>3. you cannot access objects in a folder like pictures inside 
>wikifolder [NOT WORK]
>
> to be completed 
>

-- 
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/ee398f94-45a0-4ed4-8b52-725f2071cd26%40googlegroups.com.


[tw5] Re: batch import/load images without filepath in title

2020-03-09 Thread Mohammad
Thanks Donald
I gonna to summarize our findings here and hope Jeremy address this 
question: how node.js+tiddlywiki work with external images in a folder of 
choice using _canonical_uri.

--Mohammad

On Monday, March 9, 2020 at 3:54:43 PM UTC+3:30, Donald Coates wrote:
>
> To add a little more to what I wrote above and address this specifically - 
> the files are not imported.  A reference to their location is created when 
> the server starts.  If you look in the directory that the tiddlywiki.files 
> file is in there are no other files there.  At least this is what I 
> remember from when I was playing with this before.  The only time 
> tiddlywiki creates an actual file with this method is if you manually add a 
> field or tag that is not referenced by the tiddlywiki.file parameters.  
> Then tiddlywiki has to create a meta file to contain that tag or field.
>
> The only way to actually import files is through the methods on the importing 
> tiddlers  page or using the 
> servers import or load command - which is what started me down this rabbit 
> hole in the first place.
>
> On Monday, March 9, 2020 at 7:37:50 AM UTC-4, Mohammad wrote:
>>
>> In https://tiddlywiki.com/prerelease/#tiddlywiki.files%20Files
>> It says path is relative to where tiddlywiki.files is located!
>>
>> Furthermore, the files are found and imported into Tiddlywiki. I see list 
>> of files in my Recent tab. The ur is created and everything is work.
>> but the image or pdf tiddlers show nothing!
>>
>> --Mohammad
>>
>>

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


[tw5] Re: batch import/load images without filepath in title

2020-03-09 Thread Mohammad


On Monday, March 9, 2020 at 4:24:27 PM UTC+3:30, Saq Imtiaz wrote:
>
>
>
> On Monday, March 9, 2020 at 1:15:44 PM UTC+1, Donald Coates wrote:
>>
>> okay my commute home brought some revelation.  The nodejs server isn't 
>> limited by *what* files it can server but by *where* it can serve files 
>> from.  So it can not serve files from outside the tiddler folder or a 
>> subdirectory of it.  As the static file page referenced by Saq indicates, 
>> if given the address localhost:8080/images/image.jpg the nodejs server will 
>> only look in a subdirectory of the tiddler folder called images.  Even 
>> though the tiddlywiki.files tells the server the files are outside the 
>> directory, the address it is giving points to a subdirectory inside the 
>> tiddler directory and the files are not there.  AFAIK there isn't any way 
>> to point it to outside of the tiddler directory to serve the file.
>>
>
> This is my understanding as well. Regardless of the fact that 
> tiddlywiki.files can "load" files from other paths, if you want to serve a 
> static file using the node.js server it needs to be in the "files" 
> subfolder of the wiki folder. In addition, the "images" subfolder is 
> probably also supported as it is mentioned here: 
> https://tiddlywiki.com/#ExternalImages
>
images was tested and it does not work! Seems only files folder work here. 

>
>
> In other words, there is a different logic for what files can be "loaded" 
> via tiddlywiki.files versus what static file paths can be served by the 
> integrated static file server.
>
This seems true!
 

-- 
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/ef217131-32b3-4c50-9dac-3271a4481ec4%40googlegroups.com.


[tw5] Re: Method to load batch of images/files and externalize in nodejs server

2020-03-09 Thread Donald Coates
good goddess my ability to overcomplicate is as frightening as it is 
ridiculous.

The way to do this is to just put all the images in the directory that 
nginx will be pointing to, lets say images.  Then create a directory in the 
tiddler directory called loadfiles and put the following tiddlywiki.files 
in it:

{
"directories": [

{
"path": "./",
"filesRegExp": "^.*\\.(jpg|png|jpeg)$",
"isTiddlerFile": false,
"fields": {
   "title": {"source": "filename"},
   "type": "image/jpeg",
   "_canonical_uri": {"source": "filename", "prefix": "images/"}
}
]
}

When you start/restart the wiki it will build a reference to this directory 
and point the browser to it with the canonical uri.  No need for all those 
extra steps.

-- 
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/95b8bd08-d1c2-4fce-a5b8-efbd6818f445%40googlegroups.com.


Re: [tw5] A Plugin Store

2020-03-09 Thread TiddlyTweeter

>
> ... I think there’s a fundamental tension between the day-to-day 
> convenience of plugin authors and the long term needs of the community, and 
> we probably need to approach it differently.


 I'd say, also, the TW plugins are often quite different than what is 
thought of as an "add on". Mainly because they can change the actual 
functions in the TW (or at least scale off the software design in a quite 
morphic way).

If you look at plugins for tools like TinyMCE or CKEditor, simple examples 
of "work-in-one-web-page" they "scale-off" their underlying code, but they 
don't intervene in it.

I get confused whether the TW thing to promote should be an "empty" + 
"plugin 1" + "mod 2" + "plugin 9" etc. Or, better, a full made app?

I guess what I am wondering is are we pushing for better plugin libraries 
for "developers" or "end-users"?

Honestly, my thoughts are not well formed here. But if you take idea of an 
"app" being a "Lego kit", often centrally of a few plugins, how can 
libraries best deliver that?

Hope I'm not too off topic!

Thoughts
TT

On Saturday, 7 March 2020 10:41:17 UTC+1, Jeremy Ruston wrote:
>
> TiddlyWiki 5 already has a plugin library that has been open to 
> contributions for many years. However, we have found that plugin authors 
> prefer to publish plugins with their own infrastructure so that they have 
> more control. There might be improvements to the infrastructure that would 
> make it more attractive to plugin authors, but I think there’s a 
> fundamental tension between the day-to-day convenience of plugin authors 
> and the long term needs of the community, and we probably need to approach 
> it differently.
>
> Best wishes
>
> Jeremy
>
>
>
>
> On 7 Mar 2020, at 09:36, Mohammad > 
> wrote:
>
> Tiddlywiki has no plugin store!
>
> Why?
>
>
> A Plugin library like Official Plugin Library can collect free ones on the 
> net and this forum and lets people simply install plugins.
> The plugin library can alert people these are not official.
>
>
> What do you think?
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to tiddl...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/d7a0b992-0899-46aa-99f5-82ac20b9697e%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/7a3eacb3-dfe9-4f8d-afaf-d855094e86ba%40googlegroups.com.


[tw5] Re: batch import/load images without filepath in title

2020-03-09 Thread Mohammad
Saq, Donald

Lets summarize the findings here (I edit this post to add other conclusion 
with you and later add to TW-Scripts)
What is given below is tested and confirmed.

 External Images and PDFs 
Mohammad 
 
9th March 2020 at 4:53pm 
Single file wiki

(e.g. testWiki.html)

   1. External image can be put everywhere in local disk as can be embed in 
   wiki using canonical URI. See full solution here: 
   
https://kookma.github.io/TW-Scripts/#Create%20External%20Images%20from%20A%20Directory

Node.js wiki

(e.g. myWiki) [The description here tested on Windows 10 + Tiddlywiki 
5.1.22 + Node.js 12.13.1)

NO tiddlywiki.files is used here

   1. the wiki started like tiddlywiki myWiki –server so the address is 
   http://127.0.0.1:8080/
   2. If you create a folder called files, inside wikiforlder, then you can 
   get access to all objects (images, pdfs, subfolders ...) 
  - through http://127.0.0.1:8080/files/obj-name 
  - like http://127.0.0.1:8080/files/IMG_20160405_120320.jpg [WORK]
  - all sub folders in files work as above
   3. you cannot access objects in a folder like pictures inside wikifolder 
   [NOT WORK]

to be completed 

-- 
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/5bd54f5b-ed39-4a54-87b3-712d36404edc%40googlegroups.com.


[tw5] Re: Consider renaming TiddlyWiki

2020-03-09 Thread TiddlyTweeter

>
> My sense is that the real solution to TiddlyWiki gaining more traction in 
> the marketplace is about creating one or more compelling "killer apps" that 
> fill widely-perceived, but under-served demands for a particular set of 
> features rather than avoiding any general aversion to the underlying 
> TiddlyWiki name, and that changing the name will accomplish almost nothing 
> in this regard.


Eric, am I allowed to agree with both you & Mark S. ? :-)

The "killer apps" part of this I fully agree with. It simply makes sense to 
me to address niches with precise solutions, which is exactly what TW is 
spectacularly good at. 

And we may already have them but don't seem to have a way to advance them. 

So there is, maybe, a missing promo piece?

Thoughts
TT

On Sunday, 8 March 2020 05:11:51 UTC+1, Eric Shulman wrote:
>
> On Saturday, March 7, 2020 at 5:05:36 PM UTC-8, Mark S. wrote:
>>
>> I think if we had stats, you'd find that basically there's about 350 
>> million people
>>
>
> If we had stats... then we would have a number... but without stats, 
> saying "350 million" is just an imagined number.  This reminds of an old 
> saying: "86.3% of all statistics are made up on the spot" :)
>  
>
>> who will automatically discount a product that has a childish, 
>> non-serious, and embarrassing name like "Tiddly--anything".  
>>
>
> I think you are vastly overstating the "embarrassing" aspect.  I suspect 
> that is more of a personal response on your part, rather than some general 
> truth.  As I wrote previously:
>
> *REAL adults... evaluate the cost/benefit relationship to their 
> objectives, and adopt whatever tech makes sense to meet their goals.*
>
> Yes, there are PROMOTED products with childish names (e.g. Duck Duck Go, 
>> which has a TINY sliver of the search market) 
>>
>
> Compared to Google, *ALL* other search sites have "a tiny sliver of the 
> search market".  As I previously noted, 
> https://www.visualcapitalist.com/wp-content/uploads/2019/08/top-100-websites-ranking.html
>  shows 
> that DuckDuckGo.com has had a 10-fold growth in the past 5 years, and gets 
> 30 MILLION HITS PER DAY.  While this is clearly nowhere near Google's 
> traffic stats, it's also clearly NOT trivial.
>
> But TiddlyWiki has no promotion mechanism. It's that initial "bump" that 
>> is the problem. People are turning away from TW 
>> before they know anything more because in their language the name says 
>> "Just a toy -- ok to ignore".
>>
>
> Again, I think that you are vastly overstating the impact that a product 
> *name* has on decision-making.  Sure, some people will dismiss TiddlyWiki 
> "before they know anything more", but I believe that most people are not 
> quite that shallow, especially when they are looking for potential 
> solutions to their needs.
>  
>
>>  Yes, if there's an evangelizer in the room, they can get past that.
>>
>
> This suggests that TiddlyWiki simply needs some more persuasive 
> "evangelizing"... and that doesn't necessarily mean someone "in the room".
>
> Consider a likely scenario:
>
> Someone is searching for "wiki" software.  They start by searching Google 
> for "wiki programs".  Among the top search results are several "wiki review 
> sites".  Being somewhat jaded by internet hype, they skip over the 
> "advertisement" links and the first few links, which appear to be minor 
> sites (www.clickonf5.org) or self-promoting (www.helpiewp.com, which 
> lists its own HelpieWiki first!).  The next Google search result is 
> https://en.wikipedia.org/wiki/List_of_wiki_software 
> ; 
> and Wikipedia is generally well-regarded as having reasonably objective and 
> useful information (except for certain controversial topics... of which 
> "wiki software" is NOT!)
>
> On that Wikipedia page, they find that TiddlyWiki is listed TWICE:
>
> First, under the "javascript-based" category, where it is described as
>
> *"...a HTML-JavaScript-based server-less wiki in which the entire 
>> site/wiki is contained in a single file"*
>
>
> TiddlyWiki is also listed again, under the "personal wiki software" 
> category, where is it described as
>
> *"...a free, open-source personal use (single-machine) wiki based on 
>> HTML/JavaScript for any browser and OS. It supports customization and a 
>> wide range of addons."*
>
>
> Thus, from this one lookup on Wikipedia, TiddlyWiki is already 
> "evangelized" as:
> * server-less (ease of setup)
> * single file (low resource demand)
> * free/open source (no expense)
> * any browser and OS (cross-platform flexibility)
> * customizable/addons (adaptable to a variety of needs)
>
> and that is just from *two sentences* on one site.  Continuing down the 
> Google search results, the next site that seems promising is 
> https://www.wikimatrix.org/  
> which 
> declares: *WikiMatrix: Compare Them All,* where you can find this page:
>
> 

[tw5] Re: A Tiddlers' foot

2020-03-09 Thread Ste Wilson
That's a nice little plugin! It sort of does what David's backlinks thing 
does!

On Monday, 9 March 2020 08:59:57 UTC, Luis Gonzalez wrote:
>
> Its an unimportant plugin. It shows a little foot in each tiddler with the 
> tiddlers tagged with the current tiddler and with the tasg of the current 
> tiddler to navigate down and up:
>
>

-- 
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/437142a1-dd01-41fa-9361-e1256f9e5991%40googlegroups.com.


[tw5] Re: Kookma Plugin Library

2020-03-09 Thread Mohammad

On Monday, March 9, 2020 at 3:20:33 PM UTC+3:30, TiddlyTweeter wrote:
>
> Looks excellent. Good to have access to your stuff in one place!
>
> One issue is enhancements made by others. For instance the "Relink" plugin 
> by Fibbles, 
> as its very good to use with Tiddler Commander. 
> See my notes  at: 
> https://groups.google.com/forum/#!msg/tiddlywiki/GHbwtMIrA3I/eJyRkqyKAQAJ
>

Please see my other post 
here: https://groups.google.com/d/msg/tiddlywiki/EWIhcRix9PI/mjDElCwAAwAJ

I propose to have a Non Official  Plugin Store called Community Plugin 
Library! It would be great if Tiddlywiki.com support this and then some 
volunteers like you,
Mat, Mark, Eric, Tony, ... and other interested people help maintain the 
plugin store. 
Submitting should have no bureaucracy and for users it would be enough to 
say install on your own risk. backup your wiki before install.
Membership should be open to everybody!

This is a good place to keep community plugin library: 
https://github.com/TiddlyWiki   (My first priority)
Unfortunately it has only three members! Jeremy, Mario, Eric. 

Another place can be something like https://github.com/tw-scripts  or 
https://github.com/tw- community-plugin-store


Then like the official plugin library people can simply select and install 
from community plugin library whothout any hassle without the need to 
search an hour this forum and find wrong version!

This is much better to wait for future to have a complete, secure, high 
performance, best solution plugin library which developers have in mind, 
but it has not been implemented yet.
Just some thoughts

--Mohammad




> At the moment there is no tradition of adding other people's plugins to a 
> library. 
> It is an interesting issue whether it would be mutually helpful to do so?
>
> Good stuff
> Best wishes, TT
>
> On Saturday, 7 March 2020 22:01:34 UTC+1, Mohammad wrote:
>>
>> @Diego, @Josiah
>>
>> I will try to document all Kookma plugins in one place here on 
>> https://kookma.github.io/TW-PluginLibrary/
>> This will make selecting and installing plugins much simpler.
>>
>> --Mohammad
>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9702cd02-72ce-447e-862c-27de4f2be604%40googlegroups.com.


[tw5] Re: batch import/load images without filepath in title

2020-03-09 Thread Saq Imtiaz


On Monday, March 9, 2020 at 1:15:44 PM UTC+1, Donald Coates wrote:
>
> okay my commute home brought some revelation.  The nodejs server isn't 
> limited by *what* files it can server but by *where* it can serve files 
> from.  So it can not serve files from outside the tiddler folder or a 
> subdirectory of it.  As the static file page referenced by Saq indicates, 
> if given the address localhost:8080/images/image.jpg the nodejs server will 
> only look in a subdirectory of the tiddler folder called images.  Even 
> though the tiddlywiki.files tells the server the files are outside the 
> directory, the address it is giving points to a subdirectory inside the 
> tiddler directory and the files are not there.  AFAIK there isn't any way 
> to point it to outside of the tiddler directory to serve the file.
>

This is my understanding as well. Regardless of the fact that 
tiddlywiki.files can "load" files from other paths, if you want to serve a 
static file using the node.js server it needs to be in the "files" 
subfolder of the wiki folder. In addition, the "images" subfolder is 
probably also supported as it is mentioned here: 
https://tiddlywiki.com/#ExternalImages

In other words, there is a different logic for what files can be "loaded" 
via tiddlywiki.files versus what static file paths can be served by the 
integrated static file server.

-- 
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/5363401a-051d-46e9-badf-d5c13f8dcbaf%40googlegroups.com.


[tw5] Re: Consider renaming TiddlyWiki

2020-03-09 Thread TiddlyTweeter


> Don't think the name is one the issue here?


Right. Likely several inter-related issues that might include ...

1 - *Naming:* "Tiddly" & "Tiddler" (I agree with Mark S. they are overall 
negative), also likely "Wiki" (I'm not convinced it is a Good fit to TW). 

2 - *Unclarity: *the problem with comparing to things like "Shower" is you 
end up comparing a single utility with limited scope with a tool (TW) that 
let's you make something like Shower AND any number of other tools. I think 
the comparison base is misleading? But that reflects a difficulty in 
actually articulating what TW is. Should we pitch the APPS of TW made or 
pitch the PROCESS of making? Hope that is clear enough.

3 - *Poor Showcase: *at the moment we don't really have enough diverse 
fully developed apps listed in one place you can point a user (with 
specific outcomes to look at). FYI I'd say your work is very good for 
showing "range" or outcomes. If we listed another 70 or so TW with diverse 
purposes functioning and organised by purpose I think it would help a lot.

4 - *Making Apps. v. Using Them: *Question: *is the audience/user-cohort 
people who want to make apps?* Or (and) *those who just want to use it 
out-of-the-box in a specific field of interest?* (e.g. for: ethnographic 
notes; pin board; maintaining a legal document; searching the internet; 
gallery of images; recording observations in an experiment; shopping-lists 
etc, etc). 

Short question: *Whilst specific apps can be defined, what do you promote? 
The final apps or "the making tool"?*

Thoughts
TT


On Sunday, 8 March 2020 07:42:46 UTC+1, Mohammad wrote:
>
> Mark,
>  have you noted on the stars Tiddlywiki 
>  has got on GitHub? 4.6k
>
> A very small html app like Shower which creates slides on html5+js+css has 
> got 4.4k
> If I compare Shower with Tiddlywiki, I 
> give it 10 against 100? Shower can be implemented like a TW plugin. I 
> believe Tiddlyshow is much powerful and feature rich in comparison to 
> Shower!
>
> Popularity and ranks in GitHub encourage newcomers to think those with 
> higher stars are better product!
>
> Don't think the name is one the issue here?
>

-- 
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/4a762c27-22f9-47c9-8213-26c24bdd1ddc%40googlegroups.com.


Re: [tw5] Tiddler Templates

2020-03-09 Thread Donald Coates
If you haven't checked out the-book 
I
 
can't recommend it enough.  Regular updates are posted here as it is a work 
in progress but I have found the structured presentation extremely helpful.

-- 
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/4fbf090a-d63a-4a6f-b11d-7acbcd9ed1f3%40googlegroups.com.


[tw5] Re: batch import/load images without filepath in title

2020-03-09 Thread Donald Coates
To add a little more to what I wrote above and address this specifically - 
the files are not imported.  A reference to their location is created when 
the server starts.  If you look in the directory that the tiddlywiki.files 
file is in there are no other files there.  At least this is what I 
remember from when I was playing with this before.  The only time 
tiddlywiki creates an actual file with this method is if you manually add a 
field or tag that is not referenced by the tiddlywiki.file parameters.  
Then tiddlywiki has to create a meta file to contain that tag or field.

The only way to actually import files is through the methods on the importing 
tiddlers  page or using the 
servers import or load command - which is what started me down this rabbit 
hole in the first place.

On Monday, March 9, 2020 at 7:37:50 AM UTC-4, Mohammad wrote:
>
> In https://tiddlywiki.com/prerelease/#tiddlywiki.files%20Files
> It says path is relative to where tiddlywiki.files is located!
>
> Furthermore, the files are found and imported into Tiddlywiki. I see list 
> of files in my Recent tab. The ur is created and everything is work.
> but the image or pdf tiddlers show nothing!
>
> --Mohammad
>
>

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


[tw5] Re: Set Top of story? for menus and other top content?

2020-03-09 Thread Ton Gerner
Hi Tony,

You can adjust 'Top' in $:/themes/tiddlywiki/vanilla/sticky

I use that in my Layout tweaks plugin.

Cheers,

Ton



-- 
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/c8fe70dc-d2c7-46a3-b9f4-b925ee6d85bc%40googlegroups.com.


[tw5] Re: batch import/load images without filepath in title

2020-03-09 Thread Donald Coates
okay my commute home brought some revelation.  The nodejs server isn't 
limited by *what* files it can server but by *where* it can serve files 
from.  So it can not serve files from outside the tiddler folder or a 
subdirectory of it.  As the static file page referenced by Saq indicates, 
if given the address localhost:8080/images/image.jpg the nodejs server will 
only look in a subdirectory of the tiddler folder called images.  Even 
though the tiddlywiki.files tells the server the files are outside the 
directory, the address it is giving points to a subdirectory inside the 
tiddler directory and the files are not there.  AFAIK there isn't any way 
to point it to outside of the tiddler directory to serve the file.

The answer would lie in that capability but I don't think it exists.

I know with bob you can direct his server to outside directories and with 
nginx you set up aliases in the configuration file.

I hope this helps.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/01865255-ade5-43f4-9f67-06b6b6a3597a%40googlegroups.com.


[tw5] Re: Query: Is there an index of tiddlyspot.com?

2020-03-09 Thread TiddlyTweeter

>
> I believe some people rely loosely on anonymity of the url when using 
> tiddlyspot, so we can't assume everyone wants there wiki listed. 


Right. My curiosity is simply part of a general interest in someday help 
provide a decent SHOWCASE of a Good range of TW for different purposes.

I am not proposing to expose all on TSpot, merely find out more.

Best wishes
TT

On Saturday, 7 March 2020 00:10:45 UTC+1, TonyM wrote:
>
> TT,
>
> I believe some people rely loosely on anonymity of the url when using 
> tiddlyspot, so we can't assume everyone wants there wiki listed. 
>
> Since the server is free there are also most likely quite a number  
> incomplete and neglected wikis which a simple list does not manage. 
>
> I suggest curating and registering useful tiddlyspot wikis in Toolmap 
>  
> or 
> another directory. Perhaps on Tiddlyspot itself?
>
> Regards
> Tony
>
>
> On Saturday, March 7, 2020 at 5:05:25 AM UTC+11, TiddlyTweeter wrote:
>>
>> Personally I have websites so don't need to use http://tiddlyspot.com. 
>> But I am aware it is widely used, though not httpS.
>>
>> My query: is there an index of public wikis hosted on it?
>>
>> Could be interesting!
>>
>> TT
>>
>

-- 
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/6bf563f8-929c-40cf-b65c-126ed69dcfd6%40googlegroups.com.


[tw5] Re: Kookma Plugin Library

2020-03-09 Thread TiddlyTweeter
Looks excellent. Good to have access to your stuff in one place!

One issue is enhancements made by others. For instance the "Relink" plugin 
by Fibbles, 
as its very good to use with Tiddler Commander. 
See my notes  at: 
https://groups.google.com/forum/#!msg/tiddlywiki/GHbwtMIrA3I/eJyRkqyKAQAJ

At the moment there is no tradition of adding other people's plugins to a 
library. 
It is an interesting issue whether it would be mutually helpful to do so?

Good stuff
Best wishes, TT

On Saturday, 7 March 2020 22:01:34 UTC+1, Mohammad wrote:
>
> @Diego, @Josiah
>
> I will try to document all Kookma plugins in one place here on 
> https://kookma.github.io/TW-PluginLibrary/
> This will make selecting and installing plugins much simpler.
>
> --Mohammad
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/935447f0-26db-4cfa-aace-101ab37662ab%40googlegroups.com.


[tw5] Re: Distinguishing Native Shadow Tiddlers from Overwritten Shadow Tiddlers (for Styling)

2020-03-09 Thread Ton Gerner
Hi Scott,

NATIVE SHADOW:
> tc-tiddler-frame tc-tiddler-view-frame tc-tiddler-exists tc-tiddler-shadow 
> tc-tiddler-system 
>
> OVERWRITTEN SHADOW:
> tc-tiddler-frame tc-tiddler-view-frame tc-tiddler-exists 
> *tc-tiddler-exists* tc-tiddler-shadow tc-tiddler-system 
>
> ... and I don't think styling 
> .tc-tiddler-exists.tc-tiddler-exists.tc-tiddler-shadow differently from 
> .tc-tiddler-exists.tc-tiddler-shadow is going to work.
>
> Are there any ways to go about this with how TW identifies shadow tiddlers 
> and overwritten shadow tiddlers?  Because the EditTemplate throws up 
> different alerts when you're editing a native shadow and when you're 
> editing an overwritten shadow, I assume there must be some TiddlyWay of 
> knowing the difference.  Is it a way that can be leveraged by CSS?
>

I do use someting like:

/* SHADOW TIDDLER LINK */
a.tc-tiddlylink-shadow {
 font-weight: bold;
 color: Blue;
}

/* OVERRIDDEN SHADOW TIDDLER LINK */
a.tc-tiddlylink-shadow.tc-tiddlylink-resolves {
 font-weight: bold;
 color: Red;
}

Cheers,

Ton

-- 
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/98a9ce7e-2d60-4eb0-8f70-ceb5b119c03e%40googlegroups.com.


[tw5] Wikified macro notation suggestion

2020-03-09 Thread Stobot
I don't know if anyone else builds things like I do - with a ton of dynamic 
tables and branched lookups, but I use this pattern all the time:

\define macrotobuildfilter() ...

<$wikify name="macrotobuildfilterwiki" text=<>>

<$list filter=<>>
...




That's just with one, but usually I have a few nested ones. In fact I'll go 
so far as to say that more than half of the time I use a macro, I have to 
wikify it before use as it's being used as a parameter for something else. 
I've often thought of how great it would be to have that wikification done 
in the same step - maybe with triple brackets like <<>> ? 
Similarities to the {{{...}}} notation in a way. 

Is this possible? I see some other threads on additional parser rules, so 
thought it might be a good time to bring up. 

-- 
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/a0aff5bb-2aa3-4bc0-8094-72cf07c550a8%40googlegroups.com.


[tw5] Re: batch import/load images without filepath in title

2020-03-09 Thread Mohammad
In https://tiddlywiki.com/prerelease/#tiddlywiki.files%20Files
It says path is relative to where tiddlywiki.files is located!

Furthermore, the files are found and imported into Tiddlywiki. I see list 
of files in my Recent tab. The ur is created and everything is work.
but the image or pdf tiddlers show nothing!

--Mohammad


On Monday, March 9, 2020 at 2:13:38 PM UTC+3:30, Donald Coates wrote:
>
> Okay Mohammad and Astronoush based on what Saq is saying I am going to say 
> that your initial path is incorrect so that the tiddlywiki.files is not 
> looking in the correct place.  It could be something to do with how the 
> nodejs server is running on the windows machine and the availablity of the 
> directory.  Ie if you are running it in cygwin or WSL you may be better off 
> figuring out how to navigate to that directory and use the full path name 
> in the initial path directive.  For example with WSL it would be something 
> like /mnt/c/directory/where/files/are.  I always opt for full path names to 
> avoid these headaches.
>
> Or in the end just move the directory into the tiddler folder like Saq is 
> saying.
>

-- 
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/d65ee783-e6c6-4a76-b2bf-ff9b2e67ccde%40googlegroups.com.


[tw5] Re: publishing a wiki. store.php working? github better?

2020-03-09 Thread TonyM
Hc

If you want me to share the setting I used just ask

Regards
Tony

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


Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Mohammad
Yes, This works for single files or static server!
but on Node.js it does not work!

Thank you anyway! I think there is something wrong with prefix!

--Mohammad

On Monday, March 9, 2020 at 1:59:29 PM UTC+3:30, Saq Imtiaz wrote:
>
> Try placing your files in a "files" subfolder of the wiki folder.
>
> "Any files in the subfolder files of the wiki folder will be available 
> via the route \files\. For example: 
> http://127.0.0.1:8080/files/Motovun%20Jack.jpg
>
> This can be useful for publishing large files that you don't want to 
> incorporate into the main wiki (PDFs, videos, large images, etc.)."
>
>
> https://tiddlywiki.com/#Using%20the%20integrated%20static%20file%20server
>
>
>
>
> On Monday, March 9, 2020 at 7:01:35 AM UTC+1, Atronoush wrote:
>>
>> Hi Donald,
>>  I have the same problem. See my file structure where there few tens of 
>> .jpg pictures are loctaed in a folder (picture) in the same folder with 
>> mywiki (wiki)
>>   
>> -- pictures
>> -- myWIki
>> -- -- tiddlywiki.info
>> -- -- tiddlers
>> -- -- -- images
>> -- -- -- -- tiddlywiki.files
>>
>>
>> ant my tiddlywiki.files is as below
>>
>> "directories": [
>> {
>> "path": "../../../pictures",
>> "filesRegExp": "^.*\\.jpg$",
>> "isTiddlerFile": false,
>> "fields": {
>> "title": {"source": "basename-uri-decoded"},
>> "created": {"source": "created"},
>> "modified": {"source": "modified"},
>> "type": "image/jpeg",
>> "tags": ["$:/tags/AttachedFile"],
>> "text": "",
>> "_canonical_uri": {"source": "filename", "prefix": 
>> "pictures/"}
>> }
>> }
>> ]
>> }
>>
>>
>>
>> When I start the wiki, I see all image tiddlers have been created 
>> successfully. but not image is shown.
>>
>> This is the structure of one image tiddler
>> title:IMG_20160403_172207.jpg
>> _canonical_uri: pictures/IMG_20160403_172207.jpg
>>
>> What do you think?
>>
>>
>> I appreciate to share your experience if you have been successful in 
>> loading several images from local disk in this way.
>>
>>
>>
>> On Monday, March 9, 2020 at 8:10:55 AM UTC+3:30, Donald Coates wrote:
>> Jeremy!!   That was the solution
>>
>> Sorry for the exclamations but I have dumped a lot of time obsessively 
>> trying to figure this out.  It has been constructive playtime I hope 
>> because I'm starting to get a sense of just how powerful the server can be 
>> beyond just serving the files, but I was beginning to despair.  I have been 
>> playing with tiddlywiki.file in other contexts and have no idea why I did 
>> not apply it here.
>>
>> You have truly saved my sanity.
>>
>> This was part of a more complex task I was trying to achieve which I will 
>> write up later in case it might help others like Beckstrom.
>>
>> Again - thank you for your advice and this wonderful tool.
>>
>> Donald
>>
>

-- 
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/4ff502cc-4157-4efc-bf4b-8b2f1da3a3c0%40googlegroups.com.


[tw5] Re: [advice] for encryption and mobile performance

2020-03-09 Thread HC Haase


fredag den 6. marts 2020 kl. 22.13.18 UTC+1 skrev Mat:
>
> Thanks for sharing insights.
>
> Personally I find that I don't edit stuff via mobile other than possibly 
> checking checkboxes. Too iffy to type on mobile. So rarely need to save 
> stuff. I'm not sure what people do on their TWs over the phone actually. Of 
> course depend on what the wiki is for... Hm, may I ask that, i.e what 
> you're actually using your TW for that you use so actively over the phone?
>
> <:-)
>

You may.. I always find it interesting how diverse TW is used. 

Normally I don't use TW on my phone often, because I work in front of a pc. 
BUT

 * I have begun /(try to make the habit) to use TW as a personal journal. 
It is more convenient to sit in the couch with my phone at the end of the 
day, than pull out the laptop.
* I like to travel light, but my thinking (also through my second brain TW) 
is seldom light. So I want my notes and I dont want to be hindered by 
interface.
** not long ago I moved to another country for 4 months and it was not 
practical to bring my laptop. I was very much dependent on my phone.

so what do I do... the same stuff, but lighter. my texts are shorter. 
making notes from read material, connect them to other notes, write 
thoughts and connect or contradict other thoughts in the notes. save 
inspiring quotes, links or books to read.

-- 
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/76f7935c-66a6-4eec-a72c-fa5e3e2617a3%40googlegroups.com.


[tw5] Re: Transcluding Tiddler Content to a Different Tiddler Type (Rendering XML Tiddlers as Plain Text)

2020-03-09 Thread Saq Imtiaz
Try using the ViewWidget and specifying the format: 
https://tiddlywiki.com/#ViewWidget

On Sunday, March 8, 2020 at 11:43:53 PM UTC+1, Scott Simmons (Secret-HQ) 
wrote:
>
> Here's another issue I'm trying to tackle and hoping someone will share 
> some insight:
>
> I have several tiddlers of type "text/html" that contain XML files.  I 
> like having them render out in the ViewTemplate in an iframe.  But 
> occasionally I want to transclude them into another tiddler and have them 
> show up as monospaced code, *without* being rendered.
>
> I thought I could make a template tiddler and do something like this:
>
> *{{my XML tiddler||$:/xml-template}}*
>
> ... but what should $:/xml-template look like?
>
> Having it specify a different type ("text/plain") alone isn't enough to do 
> the trick.
>
> I've tried building a string from the content of [[my XML tiddler]] and 
> wrapping it in  and  with no luck,
>
> I'm pretty sure I'm stumbling all around an obvious solution and hoping 
> someone else will see it clearly.
>

-- 
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/9add1aa6-c1a7-4b2a-bdff-c2e63f27fba0%40googlegroups.com.


[tw5] Re: batch import/load images without filepath in title

2020-03-09 Thread Donald Coates
Okay Mohammad and Astronoush based on what Saq is saying I am going to say 
that your initial path is incorrect so that the tiddlywiki.files is not 
looking in the correct place.  It could be something to do with how the 
nodejs server is running on the windows machine and the availablity of the 
directory.  Ie if you are running it in cygwin or WSL you may be better off 
figuring out how to navigate to that directory and use the full path name 
in the initial path directive.  For example with WSL it would be something 
like /mnt/c/directory/where/files/are.  I always opt for full path names to 
avoid these headaches.

Or in the end just move the directory into the tiddler folder like Saq is 
saying.

-- 
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/de5718c4-93e8-4420-9a69-dc85baa59d99%40googlegroups.com.


Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Donald Coates
So the server can serve static files?!  Thank you for clarifying that.

On Monday, March 9, 2020 at 6:29:29 AM UTC-4, Saq Imtiaz wrote:
>
> Try placing your files in a "files" subfolder of the wiki folder.
>
> "Any files in the subfolder files of the wiki folder will be available 
> via the route \files\. For example: 
> http://127.0.0.1:8080/files/Motovun%20Jack.jpg
>
> This can be useful for publishing large files that you don't want to 
> incorporate into the main wiki (PDFs, videos, large images, etc.)."
>
>
> https://tiddlywiki.com/#Using%20the%20integrated%20static%20file%20server
>
>
>
>
> On Monday, March 9, 2020 at 7:01:35 AM UTC+1, Atronoush wrote:
>>
>> Hi Donald,
>>  I have the same problem. See my file structure where there few tens of 
>> .jpg pictures are loctaed in a folder (picture) in the same folder with 
>> mywiki (wiki)
>>   
>> -- pictures
>> -- myWIki
>> -- -- tiddlywiki.info
>> -- -- tiddlers
>> -- -- -- images
>> -- -- -- -- tiddlywiki.files
>>
>>
>> ant my tiddlywiki.files is as below
>>
>> "directories": [
>> {
>> "path": "../../../pictures",
>> "filesRegExp": "^.*\\.jpg$",
>> "isTiddlerFile": false,
>> "fields": {
>> "title": {"source": "basename-uri-decoded"},
>> "created": {"source": "created"},
>> "modified": {"source": "modified"},
>> "type": "image/jpeg",
>> "tags": ["$:/tags/AttachedFile"],
>> "text": "",
>> "_canonical_uri": {"source": "filename", "prefix": 
>> "pictures/"}
>> }
>> }
>> ]
>> }
>>
>>
>>
>> When I start the wiki, I see all image tiddlers have been created 
>> successfully. but not image is shown.
>>
>> This is the structure of one image tiddler
>> title:IMG_20160403_172207.jpg
>> _canonical_uri: pictures/IMG_20160403_172207.jpg
>>
>> What do you think?
>>
>>
>> I appreciate to share your experience if you have been successful in 
>> loading several images from local disk in this way.
>>
>>
>>
>> On Monday, March 9, 2020 at 8:10:55 AM UTC+3:30, Donald Coates wrote:
>> Jeremy!!   That was the solution
>>
>> Sorry for the exclamations but I have dumped a lot of time obsessively 
>> trying to figure this out.  It has been constructive playtime I hope 
>> because I'm starting to get a sense of just how powerful the server can be 
>> beyond just serving the files, but I was beginning to despair.  I have been 
>> playing with tiddlywiki.file in other contexts and have no idea why I did 
>> not apply it here.
>>
>> You have truly saved my sanity.
>>
>> This was part of a more complex task I was trying to achieve which I will 
>> write up later in case it might help others like Beckstrom.
>>
>> Again - thank you for your advice and this wonderful tool.
>>
>> Donald
>>
>

-- 
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/600e3926-dc47-481d-8088-9a90a7f587f9%40googlegroups.com.


[tw5] Re: batch import/load images without filepath in title

2020-03-09 Thread Donald Coates
The tiddlywiki.files method is an excellent way to manipulate directories 
of tiddlers it is definitely worth checking out.  Also I noticed part of 
the TW Commander  plugin the other 
day but have not used it.  According to the page it can "perform many kinds 
of batch operation like create or delete tiddlers, rename tiddlers, 
add/remove fields, tags, inspect tiddlers and do search and replace in all 
fields of tiddler."  Might be worth checking out.

On Sunday, March 8, 2020 at 6:55:32 AM UTC-4, Beckstrom wrote:
>
> yeah that’s a good question! use the “load multiple” widget and would love 
> a way to change the titles before importing. right now I import and then 
> open each imported tiddler to change the title

-- 
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/240560e1-9740-470c-a619-6dd1b81b07fb%40googlegroups.com.


Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Saq Imtiaz
Try placing your files in a "files" subfolder of the wiki folder.

"Any files in the subfolder files of the wiki folder will be available via 
the route \files\. For example: 
http://127.0.0.1:8080/files/Motovun%20Jack.jpg

This can be useful for publishing large files that you don't want to 
incorporate into the main wiki (PDFs, videos, large images, etc.)."


https://tiddlywiki.com/#Using%20the%20integrated%20static%20file%20server




On Monday, March 9, 2020 at 7:01:35 AM UTC+1, Atronoush wrote:
>
> Hi Donald,
>  I have the same problem. See my file structure where there few tens of 
> .jpg pictures are loctaed in a folder (picture) in the same folder with 
> mywiki (wiki)
>   
> -- pictures
> -- myWIki
> -- -- tiddlywiki.info
> -- -- tiddlers
> -- -- -- images
> -- -- -- -- tiddlywiki.files
>
>
> ant my tiddlywiki.files is as below
>
> "directories": [
> {
> "path": "../../../pictures",
> "filesRegExp": "^.*\\.jpg$",
> "isTiddlerFile": false,
> "fields": {
> "title": {"source": "basename-uri-decoded"},
> "created": {"source": "created"},
> "modified": {"source": "modified"},
> "type": "image/jpeg",
> "tags": ["$:/tags/AttachedFile"],
> "text": "",
> "_canonical_uri": {"source": "filename", "prefix": 
> "pictures/"}
> }
> }
> ]
> }
>
>
>
> When I start the wiki, I see all image tiddlers have been created 
> successfully. but not image is shown.
>
> This is the structure of one image tiddler
> title:IMG_20160403_172207.jpg
> _canonical_uri: pictures/IMG_20160403_172207.jpg
>
> What do you think?
>
>
> I appreciate to share your experience if you have been successful in 
> loading several images from local disk in this way.
>
>
>
> On Monday, March 9, 2020 at 8:10:55 AM UTC+3:30, Donald Coates wrote:
> Jeremy!!   That was the solution
>
> Sorry for the exclamations but I have dumped a lot of time obsessively 
> trying to figure this out.  It has been constructive playtime I hope 
> because I'm starting to get a sense of just how powerful the server can be 
> beyond just serving the files, but I was beginning to despair.  I have been 
> playing with tiddlywiki.file in other contexts and have no idea why I did 
> not apply it here.
>
> You have truly saved my sanity.
>
> This was part of a more complex task I was trying to achieve which I will 
> write up later in case it might help others like Beckstrom.
>
> Again - thank you for your advice and this wonderful tool.
>
> Donald
>

-- 
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/d7e448d3-d8d5-4b07-9874-d8f444836b6c%40googlegroups.com.


Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Donald Coates
See  my answer to Mohammad.

On Monday, March 9, 2020 at 5:16:32 AM UTC-4, Atronoush wrote:
>
> Donald,
>
>  Yes, I am using Node.js on Windows machine.
>   Tiddlywiki correctly scans the picture folder and create the image 
> tiddlers with correct name (The same file name as in pictures folder). Also 
> when I relocate pictures folder, on wiki startup I get the error 
> complaining Tiddlywiki can not find the picture folder.
>
> I see the broken image when I open an image tiddler. I did what you advised
>
> This is address of image: 
> http://127.0.0.1:8080/pictures/IMG_20160405_122242.jpg
>
> Like you I think something wrong with _canonical_uri! But I don not know 
> what is that?
>
>
>
>
> On Monday, March 9, 2020 at 11:40:23 AM UTC+3:30, Donald Coates wrote:
>>
>> my use case is a bit different from yours in that I am using nginx to 
>> serve the image from a webserver.
>>
>> when you click to open the tiddler I assume there is a 'broken picture' 
>> icon.  right click on that and look for something like open in a new tab or 
>> properties.  You want to see where the browser is looking for the file.  
>> This usually puts me in the right direction.  You probably need to adjust 
>> the prefix of the canonical uri based on where the browser is being 
>> pointed.  Let me know if that helps or gives a clue.
>>
>> On Monday, March 9, 2020 at 2:01:35 AM UTC-4, Atronoush wrote:
>>>
>>> Hi Donald,
>>>  I have the same problem. See my file structure where there few tens of 
>>> .jpg pictures are loctaed in a folder (picture) in the same folder with 
>>> mywiki (wiki)
>>>   
>>> -- pictures
>>> -- myWIki
>>> -- -- tiddlywiki.info
>>> -- -- tiddlers
>>> -- -- -- images
>>> -- -- -- -- tiddlywiki.files
>>>
>>>
>>> ant my tiddlywiki.files is as below
>>>
>>> "directories": [
>>> {
>>> "path": "../../../pictures",
>>> "filesRegExp": "^.*\\.jpg$",
>>> "isTiddlerFile": false,
>>> "fields": {
>>> "title": {"source": "basename-uri-decoded"},
>>> "created": {"source": "created"},
>>> "modified": {"source": "modified"},
>>> "type": "image/jpeg",
>>> "tags": ["$:/tags/AttachedFile"],
>>> "text": "",
>>> "_canonical_uri": {"source": "filename", "prefix": 
>>> "pictures/"}
>>> }
>>> }
>>> ]
>>> }
>>>
>>>
>>>
>>> When I start the wiki, I see all image tiddlers have been created 
>>> successfully. but not image is shown.
>>>
>>> This is the structure of one image tiddler
>>> title:IMG_20160403_172207.jpg
>>> _canonical_uri: pictures/IMG_20160403_172207.jpg
>>>
>>> What do you think?
>>>
>>>
>>> I appreciate to share your experience if you have been successful in 
>>> loading several images from local disk in this way.
>>>
>>>
>>>
>>> On Monday, March 9, 2020 at 8:10:55 AM UTC+3:30, Donald Coates wrote:
>>> Jeremy!!   That was the solution
>>>
>>> Sorry for the exclamations but I have dumped a lot of time obsessively 
>>> trying to figure this out.  It has been constructive playtime I hope 
>>> because I'm starting to get a sense of just how powerful the server can be 
>>> beyond just serving the files, but I was beginning to despair.  I have been 
>>> playing with tiddlywiki.file in other contexts and have no idea why I did 
>>> not apply it here.
>>>
>>> You have truly saved my sanity.
>>>
>>> This was part of a more complex task I was trying to achieve which I 
>>> will write up later in case it might help others like Beckstrom.
>>>
>>> Again - thank you for your advice and this wonderful tool.
>>>
>>> Donald
>>>
>>

-- 
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/a8fc054f-6f20-4d9e-9f17-98891577928a%40googlegroups.com.


Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Donald Coates
This is my best guess:

The thing to remember is that the tiddlywiki nodejs server does not serve 
any other file type but tiddlers.  If you want to serve any other file type 
you have to use another server - whether it be something like nginx or 
Bob's plugin or Arlen's tiddlyserver.

What is happening is you are asking the tiddlywiki node js server at 
localhost:8080 to serve the file with the mime type pdf / jpg - which again 
is something it cannot do.

So either you have to use one of the above solutions - and I have used both 
bob and tiddlyserver and I love them both - or right click on the file and 
select 'open in browser' and make note of what it says.  it is going to be 
something like file:///file/path/file.jpg|pdf and then that will be what 
you put in 'prefix'.  So you are essentially creating a direct link to the 
file.  It is possible as well that that file path will be browser specific 
so keep that in mind.

I hope this helps and someone with more knowledge can confirm / correct 
what I am saying.

On Monday, March 9, 2020 at 5:41:05 AM UTC-4, Mohammad wrote:
>
> Hi Donald,
> Thank you! Yes, I also use Tiddlywiki on locale machine using Node.js
> I see empty PDF tiddlers as explained by Atronoush for his image tiddlers!
> The address is always created as localhost/pdfs/filename
>
> where pdfs come from the prefix I set in tiddlywiki.files
>
> --Mohammad
>
>
> On Monday, March 9, 2020 at 11:44:17 AM UTC+3:30, Donald Coates wrote:
>>
>> Assuming you are using locally and not from a web server I would assume 
>> it is the same answer as above.  I always have to fiddle with the canonical 
>> uri prefix to get it to point in the correct direction, since the tiddler 
>> is really just a placeholder that points the browser to where the file is 
>> actually located.
>>
>> On Monday, March 9, 2020 at 2:47:16 AM UTC-4, Mohammad wrote:
>>>
>>> I tried the same example here:
>>> https://tiddlywiki.com/prerelease/#tiddlywiki.files%20Files
>>> like you I get the pdf tiddlers created but nothing is displayed!
>>>
>>> Seems something goes wrong!
>>>
>>> Hope Donald share his finding if he was successful.
>>>
>>> --Mohammad
>>>
>>> On Monday, March 9, 2020 at 9:31:35 AM UTC+3:30, Atronoush wrote:

 Hi Donald,
  I have the same problem. See my file structure where there few tens of 
 .jpg pictures are loctaed in a folder (picture) in the same folder with 
 mywiki (wiki)
   
 -- pictures
 -- myWIki
 -- -- tiddlywiki.info
 -- -- tiddlers
 -- -- -- images
 -- -- -- -- tiddlywiki.files


 ant my tiddlywiki.files is as below

 "directories": [
 {
 "path": "../../../pictures",
 "filesRegExp": "^.*\\.jpg$",
 "isTiddlerFile": false,
 "fields": {
 "title": {"source": "basename-uri-decoded"},
 "created": {"source": "created"},
 "modified": {"source": "modified"},
 "type": "image/jpeg",
 "tags": ["$:/tags/AttachedFile"],
 "text": "",
 "_canonical_uri": {"source": "filename", "prefix": 
 "pictures/"}
 }
 }
 ]
 }



 When I start the wiki, I see all image tiddlers have been created 
 successfully. but not image is shown.

 This is the structure of one image tiddler
 title:IMG_20160403_172207.jpg
 _canonical_uri: pictures/IMG_20160403_172207.jpg

 What do you think?


 I appreciate to share your experience if you have been successful in 
 loading several images from local disk in this way.



 On Monday, March 9, 2020 at 8:10:55 AM UTC+3:30, Donald Coates wrote:
 Jeremy!!   That was the solution

 Sorry for the exclamations but I have dumped a lot of time obsessively 
 trying to figure this out.  It has been constructive playtime I hope 
 because I'm starting to get a sense of just how powerful the server can be 
 beyond just serving the files, but I was beginning to despair.  I have 
 been 
 playing with tiddlywiki.file in other contexts and have no idea why I did 
 not apply it here.

 You have truly saved my sanity.

 This was part of a more complex task I was trying to achieve which I 
 will write up later in case it might help others like Beckstrom.

 Again - thank you for your advice and this wonderful tool.

 Donald

>>>

-- 
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/cd9fd7af-8c60-4a42-a7f2-949c4f77e98d%40googlegroups.com.


Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Mohammad
Hi Donald,
Thank you! Yes, I also use Tiddlywiki on locale machine using Node.js
I see empty PDF tiddlers as explained by Atronoush for his image tiddlers!
The address is always created as localhost/pdfs/filename

where pdfs come from the prefix I set in tiddlywiki.files

--Mohammad


On Monday, March 9, 2020 at 11:44:17 AM UTC+3:30, Donald Coates wrote:
>
> Assuming you are using locally and not from a web server I would assume it 
> is the same answer as above.  I always have to fiddle with the canonical 
> uri prefix to get it to point in the correct direction, since the tiddler 
> is really just a placeholder that points the browser to where the file is 
> actually located.
>
> On Monday, March 9, 2020 at 2:47:16 AM UTC-4, Mohammad wrote:
>>
>> I tried the same example here:
>> https://tiddlywiki.com/prerelease/#tiddlywiki.files%20Files
>> like you I get the pdf tiddlers created but nothing is displayed!
>>
>> Seems something goes wrong!
>>
>> Hope Donald share his finding if he was successful.
>>
>> --Mohammad
>>
>> On Monday, March 9, 2020 at 9:31:35 AM UTC+3:30, Atronoush wrote:
>>>
>>> Hi Donald,
>>>  I have the same problem. See my file structure where there few tens of 
>>> .jpg pictures are loctaed in a folder (picture) in the same folder with 
>>> mywiki (wiki)
>>>   
>>> -- pictures
>>> -- myWIki
>>> -- -- tiddlywiki.info
>>> -- -- tiddlers
>>> -- -- -- images
>>> -- -- -- -- tiddlywiki.files
>>>
>>>
>>> ant my tiddlywiki.files is as below
>>>
>>> "directories": [
>>> {
>>> "path": "../../../pictures",
>>> "filesRegExp": "^.*\\.jpg$",
>>> "isTiddlerFile": false,
>>> "fields": {
>>> "title": {"source": "basename-uri-decoded"},
>>> "created": {"source": "created"},
>>> "modified": {"source": "modified"},
>>> "type": "image/jpeg",
>>> "tags": ["$:/tags/AttachedFile"],
>>> "text": "",
>>> "_canonical_uri": {"source": "filename", "prefix": 
>>> "pictures/"}
>>> }
>>> }
>>> ]
>>> }
>>>
>>>
>>>
>>> When I start the wiki, I see all image tiddlers have been created 
>>> successfully. but not image is shown.
>>>
>>> This is the structure of one image tiddler
>>> title:IMG_20160403_172207.jpg
>>> _canonical_uri: pictures/IMG_20160403_172207.jpg
>>>
>>> What do you think?
>>>
>>>
>>> I appreciate to share your experience if you have been successful in 
>>> loading several images from local disk in this way.
>>>
>>>
>>>
>>> On Monday, March 9, 2020 at 8:10:55 AM UTC+3:30, Donald Coates wrote:
>>> Jeremy!!   That was the solution
>>>
>>> Sorry for the exclamations but I have dumped a lot of time obsessively 
>>> trying to figure this out.  It has been constructive playtime I hope 
>>> because I'm starting to get a sense of just how powerful the server can be 
>>> beyond just serving the files, but I was beginning to despair.  I have been 
>>> playing with tiddlywiki.file in other contexts and have no idea why I did 
>>> not apply it here.
>>>
>>> You have truly saved my sanity.
>>>
>>> This was part of a more complex task I was trying to achieve which I 
>>> will write up later in case it might help others like Beckstrom.
>>>
>>> Again - thank you for your advice and this wonderful tool.
>>>
>>> Donald
>>>
>>

-- 
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/d12ea4f2-0d1a-4e17-8ee2-330217224acf%40googlegroups.com.


Re: [tw5] Re: publishing a wiki. store.php working? github better?

2020-03-09 Thread Xavier Cazin
Hi HC,

If you're using the original version of store.php, it is not compatible
with recent versions of PHP. Replacing split() with explode() throughout
the file should be enough to make store.php work with PHP7.

Cheers,
-- Xavier


On Mon, Mar 9, 2020 at 10:21 AM HC Haase  wrote:

> thank you for your suggestions. I also fail in getting tw-receiver to
> work. Properly some issue with my hosting (htacces and permissions is
> checked).
>
> But I begin to think, that this is too much hassle. Maybe I just drop my
> file once in a while via ftp. It was a cool concept though.
>
> --
> 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/4c87968c-7658-481a-8938-408a94c6d656%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/CADeSwYNvLL3xKJXmG8iwov38oFJvPzsjPWp%2Bi7Cf%2By_Xhkb3kw%40mail.gmail.com.


[tw5] Re: publishing a wiki. store.php working? github better?

2020-03-09 Thread HC Haase
thank you for your suggestions. I also fail in getting tw-receiver to work. 
Properly some issue with my hosting (htacces and permissions is checked).

But I begin to think, that this is too much hassle. Maybe I just drop my 
file once in a while via ftp. It was a cool concept though.

-- 
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/4c87968c-7658-481a-8938-408a94c6d656%40googlegroups.com.


Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Atronoush
Donald,

 Yes, I am using Node.js on Windows machine.
  Tiddlywiki correctly scans the picture folder and create the image 
tiddlers with correct name (The same file name as in pictures folder). Also 
when I relocate pictures folder, on wiki startup I get the error 
complaining Tiddlywiki can not find the picture folder.

I see the broken image when I open an image tiddler. I did what you advised

This is address of image: 
http://127.0.0.1:8080/pictures/IMG_20160405_122242.jpg

Like you I think something wrong with _canonical_uri! But I don not know 
what is that?




On Monday, March 9, 2020 at 11:40:23 AM UTC+3:30, Donald Coates wrote:
>
> my use case is a bit different from yours in that I am using nginx to 
> serve the image from a webserver.
>
> when you click to open the tiddler I assume there is a 'broken picture' 
> icon.  right click on that and look for something like open in a new tab or 
> properties.  You want to see where the browser is looking for the file.  
> This usually puts me in the right direction.  You probably need to adjust 
> the prefix of the canonical uri based on where the browser is being 
> pointed.  Let me know if that helps or gives a clue.
>
> On Monday, March 9, 2020 at 2:01:35 AM UTC-4, Atronoush wrote:
>>
>> Hi Donald,
>>  I have the same problem. See my file structure where there few tens of 
>> .jpg pictures are loctaed in a folder (picture) in the same folder with 
>> mywiki (wiki)
>>   
>> -- pictures
>> -- myWIki
>> -- -- tiddlywiki.info
>> -- -- tiddlers
>> -- -- -- images
>> -- -- -- -- tiddlywiki.files
>>
>>
>> ant my tiddlywiki.files is as below
>>
>> "directories": [
>> {
>> "path": "../../../pictures",
>> "filesRegExp": "^.*\\.jpg$",
>> "isTiddlerFile": false,
>> "fields": {
>> "title": {"source": "basename-uri-decoded"},
>> "created": {"source": "created"},
>> "modified": {"source": "modified"},
>> "type": "image/jpeg",
>> "tags": ["$:/tags/AttachedFile"],
>> "text": "",
>> "_canonical_uri": {"source": "filename", "prefix": 
>> "pictures/"}
>> }
>> }
>> ]
>> }
>>
>>
>>
>> When I start the wiki, I see all image tiddlers have been created 
>> successfully. but not image is shown.
>>
>> This is the structure of one image tiddler
>> title:IMG_20160403_172207.jpg
>> _canonical_uri: pictures/IMG_20160403_172207.jpg
>>
>> What do you think?
>>
>>
>> I appreciate to share your experience if you have been successful in 
>> loading several images from local disk in this way.
>>
>>
>>
>> On Monday, March 9, 2020 at 8:10:55 AM UTC+3:30, Donald Coates wrote:
>> Jeremy!!   That was the solution
>>
>> Sorry for the exclamations but I have dumped a lot of time obsessively 
>> trying to figure this out.  It has been constructive playtime I hope 
>> because I'm starting to get a sense of just how powerful the server can be 
>> beyond just serving the files, but I was beginning to despair.  I have been 
>> playing with tiddlywiki.file in other contexts and have no idea why I did 
>> not apply it here.
>>
>> You have truly saved my sanity.
>>
>> This was part of a more complex task I was trying to achieve which I will 
>> write up later in case it might help others like Beckstrom.
>>
>> Again - thank you for your advice and this wonderful tool.
>>
>> Donald
>>
>

-- 
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/9f9265f0-4217-408f-94a5-a9db0e941d9e%40googlegroups.com.


[tw5] Re: Covid & Tiddlywiki

2020-03-09 Thread HC Haase
There is also the readonly theme from the official plugin theme tab. it is 
good at hiding edit buttons, but you may to hide the save button also.

for saving when the save button is hidden. use alt+s keyboard shortcut

-- 
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/fccc469e-9359-44d0-9c4b-37f7b686dbe8%40googlegroups.com.


[tw5] Re: A Tiddlers' foot

2020-03-09 Thread Luis Gonzalez
Its an unimportant plugin. It shows a little foot in each tiddler with the 
tiddlers tagged with the current tiddler and with the tasg of the current 
tiddler to navigate down and up:

-- 
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/ac2ca1cd-124f-4408-9cd0-f4c766f00bfb%40googlegroups.com.


Re: [tw5] Re: How to use a field value in a json string?

2020-03-09 Thread Sylvain Comte
Hi,

Glad you found a way to go. I was disconnected this weekend, so I didn't
see your messages...

I'll take a deeper look at this to avoid TW crash. When I got time :-/

cheers,

*Sylvain*
@sycom


On Sun, Mar 8, 2020 at 6:12 PM Beckstrom  wrote:

> after a whole lot of troubleshooting, I think i figured out what was
> causing this weirdness! my server was set to lazy-load all, including
> tiddlers, and that seems to have been messing with this plugin.
>
> I disabled lazy-loading for tiddlers and this is now working great! thanks
> for your help!
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/J2yT7nqCF4g/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/04e2e77e-ffb6-4fee-8daa-72bf44279f08%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/CAOWAUqGBKwDyuBLzLcZohbAe8XLEf1hugpdivBjXV%3Di%3DqaVR4Q%40mail.gmail.com.


Re: [tw5] Tiddler Templates

2020-03-09 Thread Gerardo Vélez
Hi all,

Sorry I couldn't reply you earlier. I live in the other side of the world.

Just tried it as per Mat instructions (second option), refreshed and worked 
like a charm so many many thanks!

And in the process a bug was successfully caught so the outcome was great!

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/2483f472-eee6-48fe-bba7-4aadce5dd523%40googlegroups.com.


Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Donald Coates
Assuming you are using locally and not from a web server I would assume it 
is the same answer as above.  I always have to fiddle with the canonical 
uri prefix to get it to point in the correct direction, since the tiddler 
is really just a placeholder that points the browser to where the file is 
actually located.

On Monday, March 9, 2020 at 2:47:16 AM UTC-4, Mohammad wrote:
>
> I tried the same example here:
> https://tiddlywiki.com/prerelease/#tiddlywiki.files%20Files
> like you I get the pdf tiddlers created but nothing is displayed!
>
> Seems something goes wrong!
>
> Hope Donald share his finding if he was successful.
>
> --Mohammad
>
> On Monday, March 9, 2020 at 9:31:35 AM UTC+3:30, Atronoush wrote:
>>
>> Hi Donald,
>>  I have the same problem. See my file structure where there few tens of 
>> .jpg pictures are loctaed in a folder (picture) in the same folder with 
>> mywiki (wiki)
>>   
>> -- pictures
>> -- myWIki
>> -- -- tiddlywiki.info
>> -- -- tiddlers
>> -- -- -- images
>> -- -- -- -- tiddlywiki.files
>>
>>
>> ant my tiddlywiki.files is as below
>>
>> "directories": [
>> {
>> "path": "../../../pictures",
>> "filesRegExp": "^.*\\.jpg$",
>> "isTiddlerFile": false,
>> "fields": {
>> "title": {"source": "basename-uri-decoded"},
>> "created": {"source": "created"},
>> "modified": {"source": "modified"},
>> "type": "image/jpeg",
>> "tags": ["$:/tags/AttachedFile"],
>> "text": "",
>> "_canonical_uri": {"source": "filename", "prefix": 
>> "pictures/"}
>> }
>> }
>> ]
>> }
>>
>>
>>
>> When I start the wiki, I see all image tiddlers have been created 
>> successfully. but not image is shown.
>>
>> This is the structure of one image tiddler
>> title:IMG_20160403_172207.jpg
>> _canonical_uri: pictures/IMG_20160403_172207.jpg
>>
>> What do you think?
>>
>>
>> I appreciate to share your experience if you have been successful in 
>> loading several images from local disk in this way.
>>
>>
>>
>> On Monday, March 9, 2020 at 8:10:55 AM UTC+3:30, Donald Coates wrote:
>> Jeremy!!   That was the solution
>>
>> Sorry for the exclamations but I have dumped a lot of time obsessively 
>> trying to figure this out.  It has been constructive playtime I hope 
>> because I'm starting to get a sense of just how powerful the server can be 
>> beyond just serving the files, but I was beginning to despair.  I have been 
>> playing with tiddlywiki.file in other contexts and have no idea why I did 
>> not apply it here.
>>
>> You have truly saved my sanity.
>>
>> This was part of a more complex task I was trying to achieve which I will 
>> write up later in case it might help others like Beckstrom.
>>
>> Again - thank you for your advice and this wonderful tool.
>>
>> Donald
>>
>

-- 
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/800f0e78-03f8-473c-8cb5-0f2af7523248%40googlegroups.com.


[tw5] Re: Covid & Tiddlywiki

2020-03-09 Thread Grigor
While far from being certain that this is the best way… All I do is put a 
minus sign in front of the filter contained in: 

$:/config/SaverFilter 


-[all[]] -$:/HistoryList -$:/StoryList -$:/Import -$:/isEncrypted -$:/
UploadName -[prefix[$:/state/]] -[prefix[$:/temp/]]

And I also simply hide (usually) all buttons…

Then I save by opening this tiddler:

$:/core/ui/Buttons/save-wiki 


And I do all of the above NOT in my main wiki file but on a copy of it (eg 
index.html), which I then publish for the world to ponder…

HTH -g-

-- 
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/cf58dcd5-4c18-4e65-baff-3c1be390a7b0%40googlegroups.com.


Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Donald Coates
my use case is a bit different from yours in that I am using nginx to serve 
the image from a webserver.

when you click to open the tiddler I assume there is a 'broken picture' 
icon.  right click on that and look for something like open in a new tab or 
properties.  You want to see where the browser is looking for the file.  
This usually puts me in the right direction.  You probably need to adjust 
the prefix of the canonical uri based on where the browser is being 
pointed.  Let me know if that helps or gives a clue.

On Monday, March 9, 2020 at 2:01:35 AM UTC-4, Atronoush wrote:
>
> Hi Donald,
>  I have the same problem. See my file structure where there few tens of 
> .jpg pictures are loctaed in a folder (picture) in the same folder with 
> mywiki (wiki)
>   
> -- pictures
> -- myWIki
> -- -- tiddlywiki.info
> -- -- tiddlers
> -- -- -- images
> -- -- -- -- tiddlywiki.files
>
>
> ant my tiddlywiki.files is as below
>
> "directories": [
> {
> "path": "../../../pictures",
> "filesRegExp": "^.*\\.jpg$",
> "isTiddlerFile": false,
> "fields": {
> "title": {"source": "basename-uri-decoded"},
> "created": {"source": "created"},
> "modified": {"source": "modified"},
> "type": "image/jpeg",
> "tags": ["$:/tags/AttachedFile"],
> "text": "",
> "_canonical_uri": {"source": "filename", "prefix": 
> "pictures/"}
> }
> }
> ]
> }
>
>
>
> When I start the wiki, I see all image tiddlers have been created 
> successfully. but not image is shown.
>
> This is the structure of one image tiddler
> title:IMG_20160403_172207.jpg
> _canonical_uri: pictures/IMG_20160403_172207.jpg
>
> What do you think?
>
>
> I appreciate to share your experience if you have been successful in 
> loading several images from local disk in this way.
>
>
>
> On Monday, March 9, 2020 at 8:10:55 AM UTC+3:30, Donald Coates wrote:
> Jeremy!!   That was the solution
>
> Sorry for the exclamations but I have dumped a lot of time obsessively 
> trying to figure this out.  It has been constructive playtime I hope 
> because I'm starting to get a sense of just how powerful the server can be 
> beyond just serving the files, but I was beginning to despair.  I have been 
> playing with tiddlywiki.file in other contexts and have no idea why I did 
> not apply it here.
>
> You have truly saved my sanity.
>
> This was part of a more complex task I was trying to achieve which I will 
> write up later in case it might help others like Beckstrom.
>
> Again - thank you for your advice and this wonderful tool.
>
> Donald
>

-- 
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/2531aed3-7016-4a3c-9f7d-968b95cc5c21%40googlegroups.com.


[tw5] Method to load batch of images/files and externalize in nodejs server

2020-03-09 Thread Donald Coates
Use: take a directory of images/files and load them into wiki then move 
them to external folder served by webserver (ie nginx) and (optional) move 
'placeholder' files (meta files) to subdirectory.

Method: create subdirectory called loadfiles (doesn't matter) in tiddlers 
directory. create tiddlywiki.files 
 in loadfiles directory 
with following:

{
"directories": [

{
"path": "./",
"filesRegExp": "^.*\\.(jpg|png|jpeg)$",
"isTiddlerFile": false,
"fields": {
   "title": {"source": "filename"},
   "type": "image/jpeg"
}
]
}



place all your image files in this directory.

start your wiki if it's not already running. create a tiddler titled 
*set-image-ph-to-yes* with the text *yes* and (optional) create/modify 
*$:/config/FileSystemPaths* with text 
*[is[image]addprefix[placehold/images/]]* (as per customize file name 
).

now make a script *loadfiles.sh* and run:

#!/bin/bash
node /path/to/tiddlywiki.js \
 /path/to/wiki \
 --output /path/to/where/nginx/serves/images/ \ 
   
 --save [!image-ph[yes]is[image]] \
 --setfield [!image-ph[yes]is[image]] _canonical_uri $:/core/templates/
canonical-uri-external-image text/plain \
 --setfield [!image-ph[yes]is[image]] text "" text/plain \
 --setfield [!image-ph[yes]is[image]] image-ph set-image-ph-to-yes 
text/plain 
\ 

Result: Images/files in loadfiles directory are in the directory nginx 
serves from and placeholder/reference files (jpg and meta) are in 
placeholder/images subdirectory of tiddler directory with field image-ph 
set to yes. This is important so that these reference files do not 
overwrite the actual image files when you run this next time. Verify 
everything worked and delete files - except the tiddlywiki.files! - in the 
loadfiles directory.

NOTE: the files won't show up in your wiki until you restart and tiddlywiki 
loads the meta files but nginx will be able to serve them right away.  If 
you use 'savetiddlers' instead of 'save' you have to use the 'noclean' 
option.

-- 
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/585c45b1-96c3-4332-928b-33edc267ff86%40googlegroups.com.


Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Mohammad
I tried the same example 
here:https://tiddlywiki.com/prerelease/#tiddlywiki.files%20Files
like you I get the pdf tiddlers created but nothing is displayed!

Seems something goes wrong!

Hope Donald share his finding if he was successful.

--Mohammad

On Monday, March 9, 2020 at 9:31:35 AM UTC+3:30, Atronoush wrote:
>
> Hi Donald,
>  I have the same problem. See my file structure where there few tens of 
> .jpg pictures are loctaed in a folder (picture) in the same folder with 
> mywiki (wiki)
>   
> -- pictures
> -- myWIki
> -- -- tiddlywiki.info
> -- -- tiddlers
> -- -- -- images
> -- -- -- -- tiddlywiki.files
>
>
> ant my tiddlywiki.files is as below
>
> "directories": [
> {
> "path": "../../../pictures",
> "filesRegExp": "^.*\\.jpg$",
> "isTiddlerFile": false,
> "fields": {
> "title": {"source": "basename-uri-decoded"},
> "created": {"source": "created"},
> "modified": {"source": "modified"},
> "type": "image/jpeg",
> "tags": ["$:/tags/AttachedFile"],
> "text": "",
> "_canonical_uri": {"source": "filename", "prefix": 
> "pictures/"}
> }
> }
> ]
> }
>
>
>
> When I start the wiki, I see all image tiddlers have been created 
> successfully. but not image is shown.
>
> This is the structure of one image tiddler
> title:IMG_20160403_172207.jpg
> _canonical_uri: pictures/IMG_20160403_172207.jpg
>
> What do you think?
>
>
> I appreciate to share your experience if you have been successful in 
> loading several images from local disk in this way.
>
>
>
> On Monday, March 9, 2020 at 8:10:55 AM UTC+3:30, Donald Coates wrote:
> Jeremy!!   That was the solution
>
> Sorry for the exclamations but I have dumped a lot of time obsessively 
> trying to figure this out.  It has been constructive playtime I hope 
> because I'm starting to get a sense of just how powerful the server can be 
> beyond just serving the files, but I was beginning to despair.  I have been 
> playing with tiddlywiki.file in other contexts and have no idea why I did 
> not apply it here.
>
> You have truly saved my sanity.
>
> This was part of a more complex task I was trying to achieve which I will 
> write up later in case it might help others like Beckstrom.
>
> Again - thank you for your advice and this wonderful tool.
>
> Donald
>

-- 
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/01978c89-6df7-4644-84de-2b9dd5b8f2b2%40googlegroups.com.


[tw5] Re: Set Top of story? for menus and other top content?

2020-03-09 Thread Mohammad
Tony,
Yes, the hassle we have now is because of not suitable page layout!
The top menubar has brought some new issues like conflict with sticky title.
This is a design issue and overhauling page layout will resolve this!

But by that time as you said you need another solution.

--Mohammad

On Monday, March 9, 2020 at 2:11:17 AM UTC+3:30, TonyM wrote:
>
> Thanks Mohammad,
>
> Is that where the post here went I wonder, if there is not a simple 
> solution to Set Top of story?
>
> The GitHub issues seems to me to be a redevelopment of the page layout but 
> surely we can introduce a little more customisation as a start?
>
> I am somewhat dependant on others because reverse engineering the page 
> layout is a little difficult.
>
> Regards
> Tony
>
> On Sunday, March 8, 2020 at 5:07:49 PM UTC+11, Mohammad wrote:
>>
>> Tony!
>>  Jeremy and Mat has recently started a thread in GitHub to see if an 
>> overhaul the page layout is possible.
>> I think these issues can be seen in that thread and hopefully we could 
>> have more flexible layout. See
>>
>> https://github.com/Jermolene/TiddlyWiki5/issues/4473
>>
>> --Mohammad
>>
>>
>> On Sunday, March 8, 2020 at 3:23:31 AM UTC+3:30, TonyM wrote:
>>>
>>> Folks,
>>>
>>> With the advent of the menu bar plugin and with the full knowledge of 
>>> other mobile themes and menu systems available such as placing things in 
>>> the topbar(s)
>>>
>>>- Is there an existing or designable way to set the top of the story 
>>>so when you scroll the new position is where sticky titles stop?
>>>- Similarly can we then set this top zone to a higher Z index or 
>>>give it an opaque background?
>>>
>>> It would be nice if thESE were a config panel valueS.
>>>
>>> rEGARDS
>>> tONY
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/56cdc7b1-1c72-4c1d-8bed-99e923998d29%40googlegroups.com.


Re: [tw5] batch import/load images without filepath in title

2020-03-09 Thread Atronoush
Hi Donald,
 I have the same problem. See my file structure where there few tens of 
.jpg pictures are loctaed in a folder (picture) in the same folder with 
mywiki (wiki)
  
-- pictures
-- myWIki
-- -- tiddlywiki.info
-- -- tiddlers
-- -- -- images
-- -- -- -- tiddlywiki.files


ant my tiddlywiki.files is as below

"directories": [
{
"path": "../../../pictures",
"filesRegExp": "^.*\\.jpg$",
"isTiddlerFile": false,
"fields": {
"title": {"source": "basename-uri-decoded"},
"created": {"source": "created"},
"modified": {"source": "modified"},
"type": "image/jpeg",
"tags": ["$:/tags/AttachedFile"],
"text": "",
"_canonical_uri": {"source": "filename", "prefix": "pictures/"}
}
}
]
}



When I start the wiki, I see all image tiddlers have been created 
successfully. but not image is shown.

This is the structure of one image tiddler
title:IMG_20160403_172207.jpg
_canonical_uri: pictures/IMG_20160403_172207.jpg

What do you think?


I appreciate to share your experience if you have been successful in 
loading several images from local disk in this way.



On Monday, March 9, 2020 at 8:10:55 AM UTC+3:30, Donald Coates wrote:
Jeremy!!   That was the solution

Sorry for the exclamations but I have dumped a lot of time obsessively 
trying to figure this out.  It has been constructive playtime I hope 
because I'm starting to get a sense of just how powerful the server can be 
beyond just serving the files, but I was beginning to despair.  I have been 
playing with tiddlywiki.file in other contexts and have no idea why I did 
not apply it here.

You have truly saved my sanity.

This was part of a more complex task I was trying to achieve which I will 
write up later in case it might help others like Beckstrom.

Again - thank you for your advice and this wonderful tool.

Donald

-- 
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/55ddb29c-d760-43a4-bb98-a7b42a0a50e1%40googlegroups.com.