[tw5] Re: food for thought: "how the blog broke the web"

2020-10-26 Thread TW Tones
TT,

You sat: *Technology is great but every new level increases complexity. *

But as it matures it allows you to collapse this complexity into new 
general forms. A Re-simplification can take place.

This appears how the brain and evolution of technology works, broaden 
understanding by broader solutions, then successive levels of abstraction, 
we learn from each iteration. 

I have a book idea based on this "Occam's Electric shaver".

Regards
Tony

On Monday, 26 October 2020 21:57:22 UTC+11, TiddlyTweeter wrote:
>
> Ciao Chuck
>
> Part of it is technology.
>
> Technology is great but every new level increases complexity.
>
> I tend to favour (hand) WRITING as its a pretty nice technology since 
> decent graphite came along. Though chalk was awful.
>
> But sure, the printing press, later, did allow me to reproduce some 
> pamphlets so more than Mildred could read them.
>
> With the advent of the internet I did think, for a while, that 
> reproduction got even cheaper & effective.
> Well IT DID. But it is SERIOUSLY INSUFFICIENT.
>
> The problem is/was the SWAMP effect. 
> Now, Mildred spends much of her time reading the "The Lost Cat Columns" 
> rather than yours truly.
>
> Just a comment
> TT
>
>
>
> On Saturday, 24 October 2020 16:04:59 UTC+2, Chuck R. wrote:
>>
>> I wouldn't say making publishing easy stifles creativity but it sure 
>> lowers the signal to noise ratio quite a bit. There's just a whole lot more 
>> junk to sift through now to find something that is quality. 
>>
>> On Thursday, October 22, 2020 at 12:34:37 PM UTC-4 rika.s...@gmail.com 
>> wrote:
>>
>>> hey all, I came across this article called "how the blog broke the web. 
>>> https://stackingthebricks.com/how-blogs-broke-the-web/
>>>
>>> I found it to be a fascinating expose of how the web became boring once 
>>> services like Livejournal and Blogger made it easy for people to create 
>>> journals, which in turn stifled creativity by templatizing journal entries. 
>>> It got my gears turning to one, Wordpress; and two, today's trend of 'no 
>>> code' webpages. Are we stifling creativity by making it *too *easy to 
>>> use the Web? Are we doomed to live in a world of Tic Toc videos? And 
>>> lastly, it got me thinking about my tiddlywiki and the customization 
>>> options available that I haven't spent much time exploring yet :)
>>>
>>>
>>>

-- 
You received this message because you are subscribed to 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/81583d4e-8b40-4f8e-a12c-10334ab922eao%40googlegroups.com.


[tw5] Re: Newbie Here: I want to have my own Interactive Map in Tiddlywiki but not sure how

2020-10-26 Thread TW Tones
Hazel,

Perhaps check out the full solution with tiddlymap. A lot of tiddlywiki 
users use it.

Most html is valid in tiddlywiki, if you provide the image and the maps we 
can possibly show how.

A minimal test case that should work on tiddlywiki.com is always useful.

Regards
Tones

On Tuesday, 27 October 2020 02:29:51 UTC+11, hazel morris wrote:
>
>
> Hello all,
>
> I have the leaflet.js plugin by Sylvain Comte / Sycom which is really 
> amazing but it doesn't have the functionality I am looking for. 
>
> I have my own map tiles cut and ready for usage on my computer but I don't 
> know how to add them in.
>
> I want to have the interactive map on a fixed panel on the left.
>
> Finally, when you click on a marker, it brings up a tiddler linked to it 
> which has a description of the location.
>
> So my question is, what resources are there to help me create this plugin? 
> I am a complete noob to coding and I have no idea where to start.
>

-- 
You received this message because you are subscribed to 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/e05e81e5-c495-421a-9066-f3e467ac2dddo%40googlegroups.com.


[tw5] Re: "in" filter operator, or better AND logic.

2020-10-26 Thread TW Tones
Matthew,

I am sure I can help you but to do it from your last post is a little 
tricky. 

   - Can you give a minimal case, perhaps that works on tiddlywiki.com
   - Doing this this I find I often find my own solution.
   - If anyone provides a solution on the minimal case you and other 
   readers will likely learn even more.

Regards
Tones

On Tuesday, 27 October 2020 03:43:00 UTC+11, Matthew Lauber wrote:
>
> Hey all, I'm trying to figure out how to handle an issue I've got coming 
> up.  
>
> I have a dataset I'm storing as tiddlers, with each field as a column.  
> I'm trying to implement filters on the dataset using <$select> widgets that 
> allow selecting multiple values.  I'm trying to create a filter that for 
> each tiddler in the dataset checks if `{{!!field}} is contained in 
> {{Selected!!field}}` i.e. is the tiddlers value in the allowed values.
>
> I figured out how to do this once, by flipping my filter around and saying 
> `[[Selected]contains:field{!!field}]`  But I can't use the `+` symbol to 
> AND these together, as the input is replaced instead of unioned with the 
> preceding filter.
>
> Does anyone know a better way to implement an `value IN list` filter, or a 
> better way to and things?  
>
> p.s. I'm trying to avoid multiple loops for ANDs, as I want to be able to 
> filter on arbitrary fields.  
>
> Thanks,
> Matt
>

-- 
You received this message because you are subscribed to 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/5b1e2deb-9cd9-45c6-8952-b239f0345775o%40googlegroups.com.


[tw5] Re: HOW DO YOU write javascript so that it works on any web browser ?

2020-10-26 Thread TW Tones
Charlie,

Looks like javascript is your hammer. To people who have a hammer 
everything looks like a nail. 

As mark said "wikitext/macros" are most likely easy. Just ask for what you 
want to achieve and we can help. I am not keen to try and reverse engineer 
your Javascript code (I am not fluent in) before I provide a tiddlywiki 
solution.

Regards
Tones

On Tuesday, 27 October 2020 09:47:28 UTC+11, Charlie Veniot wrote:
>
> G'day,
>
> Javascript and I have never gotten along, but once in a while I've got no 
> choice have simply must surrender to it.
>
> Working on my Chromebook, when I get something working, I never think of 
> making sure it works with other browsers.  Sure enough, I discovered today 
> that some javascript in my TiddlyWiki doesn't work with Internet Explorer.
>
> Specifically, the offending bit of code: a call to URLSearchParams.
>
> Figuring that I want error-handling that simply/gracefully/quietly exits 
> the code, I decided to wrap all of the code with "try" and "catch" 
> processing (having just discovered that today).
>
> If anybody has any related experience and/or interesting/educative info to 
> share: please please please ?
>
> Related snipit of code (from this TiddlyWiki's tiddler 
> )
>  
> further below.
>
> Cheers !
>
> exports.run = function() {
> const queryString = window.location.search;
> try {
> const urlParams = new URLSearchParams(queryString);
> const wikicontext = urlParams.get('context');
> var output = wikicontext;
>
> if ( (output !== "OffGridding") && (output !== "HydroCutting")  && 
> (output !== "Chromebook") ){
> output = "ProductReviews";
> };
>   document.title = output;
> }
> catch(err) {
> output = "ProductReviews";
> }
> return output;
>
>
>
>

-- 
You received this message because you are subscribed to 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/f547e53b-52dd-4edc-ab8a-ffafef5bc4eco%40googlegroups.com.


[tw5] Re: so: personal DreamHost for TW users?

2020-10-26 Thread TW Tones
Surya

In the google forum if you reply privately to author, it will send them an 
email, if they reply they are "giving you the email address".

Best not to share email addresses in posts because sometimes bad players 
harvest them for ~ enlargement spam.

Regards
Tones

On Tuesday, 27 October 2020 10:02:01 UTC+11, Surya wrote:
>
> Hello,
> I just saw the disaster :-O
> My wiki with a lot of knowledge is gone... And saved nowhere else...
> But... really unbeleavable luckily... I saw now, that you, amreus, saved 
> my wiki.
> @amreus, I cannot write a private message. If you can write one to me, 
> could you please be so nice to tell me your mail-adress? So I could write 
> you then my mail-adress for getting my wiki from you??
> That would be an unbeleavable luck
> Thanks a lot in advance!!!
>
> And then...: Is there any other possibility to upload a TW for public use?
>
> Surya
>
> amreus schrieb am Sonntag, 25. Oktober 2020 um 00:03:04 UTC+2:
>
>> I downloaded 128 public tiddlyspot wikis about a week ago.  They were for 
>> my personal use and I wasn't planning on sharing them, but would make them 
>> available if the site doesn't come back.  Hopefully the site can be 
>> restored. I've attached the list I have. 
>>
>>
>>
>>
>>
>>
>> On Saturday, October 24, 2020 at 11:53:11 AM UTC-4 hww...@gmail.com 
>> wrote:
>>
>>>
>>> Ciao TT:
>>>
>>> I gather you are a fan of DreamHost.  If you have a moment I would 
>>> appreciate a brief comment on how easy/difficult it might be to set up a 
>>> personal account that could host a single TW file.
>>>
>>> I've browsed their site a bit and it looks appealing, but I could not 
>>> find anything that reassures me specifically with respect to TW.
>>>
>>> Cheers,
>>> Hans
>>>
>>> On Saturday, October 24, 2020 at 11:10:17 AM UTC-4 TiddlyTweeter wrote:
>>>
 Ciao Eric

 I will write to Dreamhost about this immediately.

 TT


 On Saturday, 24 October 2020 15:58:27 UTC+2, Eric Shulman wrote:
>
> On Saturday, October 24, 2020 at 1:40:41 AM UTC-7, Eric Shulman wrote:
>>
>> I've sent email directly to Simon and Daniel Baird to let them know 
>> about the problem.
>>
>
> I just received a reply from Simon Baird... and he says: "It's not a 
> simple fix".
>
> Here's his blogspot posting explaining the situation: 
> http://tiddlyspot.blogspot.com
>
> -e
>


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


[tw5] Re: writing to tiddlers?

2020-10-26 Thread TW Tones
Jean-Pierre,

The default if the type setting is not set is text/vnd.tiddlywiki so you do 
not need to set it.

if your need "type" for some other reason you can "assume"  this value if 
blank

{{{ [all[current]get[type]] ~[[text/vnd.tiddlywiki]] }}}

*However one of the most powerful methods you can learn in tiddlywiki is a 
button is a trigger and actions are triggered.*
*The following is not tested and done from memory please make a copy of 
your wiki before testing.*

\define action-s()
Action widgets here
\end
<$button actions=<
<>
button title


   - The above acts on the current tiddler if relevant
   - But you can use wiki text inside buttons or actions, the parameter 
   version "actions=<>" is the recommended one.
   - You could wrap the above in a list to create a button for each tiddler

However when reformatting tiddlers, doing bulk actions we do this
<$button>
<$list filter="tiddler-filter">>
"actions"

button title


To change all blank type fields to
<$button>
<$list filter="[!is[system]get[type]is[blank]]">
<$action-setfield type="text/vnd.tiddlywiki"/>

button title

Warning be selective what you change, if you changes system tiddlers you 
may overwrite every system tiddler.


I still do know what you need to do this give that is the default type but 
the above allows you do do anything with one button click you can achieve 
with action macros 
or 
send message  and the messages and wiki 
text to prepare them. 

See https://tiddlywiki.com/#FieldManglerWidget for four messages that 
require use of the fieldmangler widget as well.

Finally modify the new tiddler button or create your own to set the type 
every time you create a tiddler. But this is not necessary.
 
Feel free to ask more questions.

Tones

On Tuesday, 27 October 2020 09:42:05 UTC+11, Jean-Pierre Rivière wrote:
>
> I my wiki, I have often forgotten to put the type as tw5 wikitext. I have 
> not been able to set this as the default type BTW (any idea?)
>
> I can list all such relevant tiddlers with:
>
> <$list filter="[field:type[]!prefix[$:/]]"> %% <$link/>
>
> and then correct them all manually. Could I manage to do it automatically? 
> Perhaps passing by a button an,d an activation mechanism would help?
>

-- 
You received this message because you are subscribed to 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/3feeab60-8485-4924-91b5-ccce1b78ee4eo%40googlegroups.com.


[tw5] Re: How to use TiddlyWiki as a text editor?

2020-10-26 Thread Atronoush
Hi Saq,

I see the PR  #2906   
has been merged into the core! Great feature
I appreciate your efforts.

Is it possible to add some explanation / short document in tw5.com
so people can find and use this feature later on!

Thank you
--Atro 

On Tuesday, October 6, 2020 at 10:40:17 AM UTC+3:30 saq.i...@gmail.com 
wrote:

> Hi Bimlas,
>
> I am unfamiliar with Boostnote etc, however I do use TiddlyWiki as a tool 
> to work with plain text files for similar reasons.
>
> I load a folder of plain text files using a tiddlywiki.files file. This 
> allows me to load them without the need for inline metadata or an external 
> .meta file.
> https://tiddlywiki.com/#tiddlywiki.files%20Files
>
> I then have a path defined in $:/config/FileSystemPaths to save these 
> tiddlers back to their original location on editing.
> https://tiddlywiki.com/#Customising%20Tiddler%20File%20Naming
>
> Note however that TiddlyWiki does not allow you to save back to the 
> original location for files loaded via tiddlywiki.files so this requires a 
> patch. I have been using such a patch for over 3 years now with no issues.
>
> Some details here: https://github.com/Jermolene/TiddlyWiki5/issues/2906
> The patch in that issue is out of date, if you need an up to date patch I 
> can provide one for you. In fact I should probably make a PR with the 
> updated patch as I think it addresses some of the concerns raised in that 
> ticket.
>
> When you now edit a tiddler that has been loaded via tiddlywiki.files, it 
> saves back to the original location plus a .meta file is created for that 
> tiddler. If all your data is in the body of the tiddler, then you can 
> simply ignore these .meta files.
>
> Lastly, when creating a new tiddler, to make sure it is saved as .txt make 
> sure to use type text/plain. After creation the type can be changed and the 
> tiddler will still be saved as .txt. Note that this is actually somewhat of 
> a bug but effort is being made to address it while still allowing the user 
> to determine what format a tiddler should be saved in. For details see 
> https://github.com/Jermolene/TiddlyWiki5/pull/4630
>
> Hope this helps,
> Saq
>
>
> On Tuesday, October 6, 2020 at 8:40:02 AM UTC+2, bimlas wrote:
>>
>> Lately, I’ve been unsure if I really want to use TiddlyWiki, because no 
>> matter how universal single HTML is, it’s still just a big file and it 
>> depends on the browser. Since plain text is the most timeless format 
>> possible (even a text file written in 1963 can still be viewed and edited 
>> today), I thought I would migrate to plain text files. Once I realized how 
>> I could convert the tiddlers extracted from HTML to the right format for 
>> me, I started looking for a text editor that included both preview and full 
>> text search. To my great surprise, the latter is supported by very few 
>> programs, so I can only solve it with my own Grep script. After sleepless 
>> nights and short circuits of thought, I came to realize that TiddlyWiki can 
>> handle separate files. Even if the Node.js TiddlyWiki itself ever ceases to 
>> exist, the notes will still be usable because they are just text files, and 
>> if I systematically name the tiddlers, the links between them will still be 
>> searchable with a simple, software-independent text search, so they remain 
>> usable.
>>
>> The question is, how can TiddlyWiki be used as a simple text editor? I 
>> would like to emulate the operation of Boostnote / Joplin / Typora / ...
>>
>> For example, if I install Ansel's Markdown 
>>  plugin and then copy the 
>> Markdown files to the tiddlers directory, how can I edit them without 
>> adding extra metadata? If I edit ".md" files in Tiddly, then it writes them 
>> back to the drive in JSON format. If I change ".md" to ".tid" extension and 
>> write "type: x-markdown" at the beginning of the file, it will rewrite the 
>> file in its original form after editing, but add e.g. the "title" field 
>> with the current path to the file, which I don't want.
>>
>

-- 
You received this message because you are subscribed to 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/5eb3ec6c-3f50-45c2-bf55-7640c7e68dc2n%40googlegroups.com.


Re: [tw5] Re: so: personal DreamHost for TW users?

2020-10-26 Thread Atronoush Parsi
Hi Springer,
 I am sorry to hear that! Yes, one expects at least an announcement a month
in advance to let users take their data from tiddlyspot server.
By the way, for quick setting up another online wikis, I may recommend
GitHub while you have not your own web server/host.
See

https://kookma.github.io/Tiddlywiki-and-GitHub-Pages/
https://kookma.github.io/TW5-GitHub-Saver/

On Tue, Oct 27, 2020 at 6:23 AM springer  wrote:

> Without tiddlyspot, my entire workflow and teaching routine is upended.
>
> I've developed dozens of wikis at tiddlyspot (2005(?)-2020), with only
> spotty backups. I have shared various permalinks for work purposes (usually
> thrilled to be able to share a link to something I can continue to improve,
> rather than sending a static file!), so it's also a professional
> embarrassment to have those links go dead.
>
> (You all saw me lots over the summer, but my in-semester workload is
> heavy. So I'm logging in here only because of the tiddlyspot crisis. I'll
> be anxiously hovering here, and at Simon's blog, for the foreseeable
> future. ;) Best regards to you all...)
>
> -Springer
> On Monday, October 26, 2020 at 7:02:01 PM UTC-4 Surya wrote:
>
>> Hello,
>> I just saw the disaster :-O
>> My wiki with a lot of knowledge is gone... And saved nowhere else...
>> But... really unbeleavable luckily... I saw now, that you, amreus, saved
>> my wiki.
>> @amreus, I cannot write a private message. If you can write one to me,
>> could you please be so nice to tell me your mail-adress? So I could write
>> you then my mail-adress for getting my wiki from you??
>> That would be an unbeleavable luck
>> Thanks a lot in advance!!!
>>
>> And then...: Is there any other possibility to upload a TW for public use?
>>
>> Surya
>>
>> amreus schrieb am Sonntag, 25. Oktober 2020 um 00:03:04 UTC+2:
>>
>>> I downloaded 128 public tiddlyspot wikis about a week ago.  They were
>>> for my personal use and I wasn't planning on sharing them, but would make
>>> them available if the site doesn't come back.  Hopefully the site can be
>>> restored. I've attached the list I have.
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Saturday, October 24, 2020 at 11:53:11 AM UTC-4 hww...@gmail.com
>>> wrote:
>>>

 Ciao TT:

 I gather you are a fan of DreamHost.  If you have a moment I would
 appreciate a brief comment on how easy/difficult it might be to set up a
 personal account that could host a single TW file.

 I've browsed their site a bit and it looks appealing, but I could not
 find anything that reassures me specifically with respect to TW.

 Cheers,
 Hans

 On Saturday, October 24, 2020 at 11:10:17 AM UTC-4 TiddlyTweeter wrote:

> Ciao Eric
>
> I will write to Dreamhost about this immediately.
>
> TT
>
>
> On Saturday, 24 October 2020 15:58:27 UTC+2, Eric Shulman wrote:
>>
>> On Saturday, October 24, 2020 at 1:40:41 AM UTC-7, Eric Shulman wrote:
>>>
>>> I've sent email directly to Simon and Daniel Baird to let them know
>>> about the problem.
>>>
>>
>> I just received a reply from Simon Baird... and he says: "It's not a
>> simple fix".
>>
>> Here's his blogspot posting explaining the situation:
>> http://tiddlyspot.blogspot.com
>>
>> -e
>>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/1cd82921-cf81-4f75-8b03-0f4589b3aeb0n%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/CAKHVXmrKFbPSe4GeF_epMW9m_zMBVT%2B9pHa0Ea-L0Ce4Nuam9A%40mail.gmail.com.


[tw5] Re: so: personal DreamHost for TW users?

2020-10-26 Thread Eric Shulman
On Monday, October 26, 2020 at 7:52:50 PM UTC-7, springer wrote:
>
> Without tiddlyspot, my entire workflow and teaching routine is upended.
>  
> I've developed dozens of wikis at tiddlyspot (2005(?)-2020), with only 
> spotty backups. I have shared various permalinks for work purposes (usually 
> thrilled to be able to share a link to something I can continue to improve, 
> rather than sending a static file!), so it's also a professional 
> embarrassment to have those links go dead.
>

You *might* be able to find copies of some of your tiddlyspots using the 
Wayback Machine (https://web.archive.org/)

The copies might be somewhat older than your most recent tiddlyspot 
updates, but it's worth a try.

-e

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


Re: [tw5] Re: Critiques: Tiddlywiki and Machine Learning

2020-10-26 Thread Atronoush Parsi
I remember one plugin uses machine learning to answer certain questions
intelligently!
There is no worry to share your private information over the net and like
TW itself, this can be private and on your own
system!


On Sun, Oct 25, 2020 at 3:24 PM PMario  wrote:

> On Thursday, October 22, 2020 at 5:15:10 PM UTC+2, Atronoush wrote:
>>
>> These days using machine learning has affected software engineering in
>> many ways.
>> For example, Gmail is smart and helps you in writing correct english and
>> suggest sentences for you. LinkedIn suggests new connections, and there
>> many mores like Google Assistant and Siri where they use artificial
>> intelligence
>>
>
> Thanks for the reminder to get rid of gmail as a spy mail client. Google
> is already like big brother and it's getting worse all the time.
>
> IMO TiddlyWiki is about owning your data.
>
> -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/71411766-32c2-4975-aebd-a1f406bb4527o%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/CAKHVXmpPGJSrJCNLQnEcehYnX7rCZxpu_qpNUvaP6us4b3t7Og%40mail.gmail.com.


[tw5] Re: HOW DO YOU write javascript so that it works on any web browser ?

2020-10-26 Thread 'Mark S.' via TiddlyWiki
IE is getting kind of old. I'm sure there is sample code for dealing with 
multiple browsers. That kind of thing is why frameworks like jQuery were 
(are?) so popular -- it does the detection and compensation for you.

Looking at the code, it looks like you're expecting your site to be called 
with ?context="ProductReviews" and then setting the title accordingly. I'm 
wondering if all that couldn't be accomplished via wikitext/macros inside a 
startup tiddler (see InfoMechanism ). Or maybe you've already tried that 
route?

When suggesting "lite" off-gridding, don't forget solar cookers, the most 
efficient and cost-effective way to use the sun's energy. ;-)


On Monday, October 26, 2020 at 3:47:28 PM UTC-7, Charlie Veniot wrote:
>
> G'day,
>
> Javascript and I have never gotten along, but once in a while I've got no 
> choice have simply must surrender to it.
>
> Working on my Chromebook, when I get something working, I never think of 
> making sure it works with other browsers.  Sure enough, I discovered today 
> that some javascript in my TiddlyWiki doesn't work with Internet Explorer.
>
> Specifically, the offending bit of code: a call to URLSearchParams.
>
> Figuring that I want error-handling that simply/gracefully/quietly exits 
> the code, I decided to wrap all of the code with "try" and "catch" 
> processing (having just discovered that today).
>
> If anybody has any related experience and/or interesting/educative info to 
> share: please please please ?
>
> Related snipit of code (from this TiddlyWiki's tiddler 
> )
>  
> further below.
>
> Cheers !
>
> exports.run = function() {
> const queryString = window.location.search;
> try {
> const urlParams = new URLSearchParams(queryString);
> const wikicontext = urlParams.get('context');
> var output = wikicontext;
>
> if ( (output !== "OffGridding") && (output !== "HydroCutting")  && 
> (output !== "Chromebook") ){
> output = "ProductReviews";
> };
>   document.title = output;
> }
> catch(err) {
> output = "ProductReviews";
> }
> return output;
>
>
>
>

-- 
You received this message because you are subscribed to 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/7142ee81-9b69-45da-b701-f14cc3610190o%40googlegroups.com.


Re: [tw5] Re: Bookmark to a TiddlyWiki Bookmarklet proof-of-concept.

2020-10-26 Thread Atronoush Parsi
On Mon, Oct 26, 2020 at 10:44 PM amreus  wrote:

> > Please have a look at https://github.com/buggyj/tiddlyclip
>
> I read the page - still don't know what it's for.
>
It is one the most powerful plugin for making bookmarks directly from
Firexfox/Chrome. Clip part of webpage as a tiddler and much more



>
> > 1. Is it possible to prevent overwriting an existing tiddler by adding a
> prefix number like 1, 2, ...?
>
> Yes it's on my short list of things to do.
>
> > 2.Is it possible to have extra fields, especially Text field? I mean
> while a user is allowed to add a special tag, he/she can add some text!
>
> Possible.  One aspect I like about using a bookmarklet is it is its'
> simplicity.  It's more accessible to the user for making customizations.
> Easier and more understandable than hacking a browser plugin.
>
> > 3. What do you think is one can select part of text or image in a
> webpage and bookmarking-to-tiddlywiki can add it as tiddler body (text)?
>
> Also possible if I understand what you mean.  Regular copy and paste
> always works.  Do you mean pre-select text?
>

Opening the target wiki to paste contents distract you from
studying/searching in the browser. It would be great to add pre-selected
text/image. It is kind of clipping.

>
> Thanks for asking these questions. You gave me an idea that maybe I can
> use a tiddler in the wiki as customization, or configuration tiddler for
> the form.
>
>
> Thank you for sharing this useful tool.


> On Monday, October 26, 2020 at 9:26:30 AM UTC-4 Atronoush wrote:
>
>> amreus,
>>  Please have a look at https://github.com/buggyj/tiddlyclip
>>  You can get some good idea to develop TiddlywikiBookmarklet
>>
>> Atro
>>
>> On Sunday, October 4, 2020 at 11:50:09 PM UTC+3:30 amreus wrote:
>>
>>> Just playing with an idea I might have read about on this forum.  It's
>>> not completely  functioning at moment, but enough of it is that I'm certain
>>> it can be made to work.
>>>
>>> I made a browser bookmarklet that opens a popup window to your local
>>> node tiddlywiki, and appends to the wiki address the url and title of a web
>>> site. (Basically sends a HTTP GET request to your wiki, passing the site
>>> url and title in the query string.)
>>>
>>> The wiki has a tiddler that parses the request back into a url and title
>>> variable, which can then be used to create tiddlers, etc.
>>>
>>> I tried to write up some instructions here
>>> . Apologies if I'm terse. Please
>>> ask if you have questions or feedback.
>>>
>>> Thanks for looking.
>>>
>>>
>>>
>>>
>>> --
> You received this message because you are subscribed to 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/d48d97d2-1344-4dc1-bd6e-fef28d7ff2b6n%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/CAKHVXmqN508TbpyOdDi7fFRBW2g400A0FqFE%3D5Sf%3Dm2dbVsvcg%40mail.gmail.com.


Re: [tw5] writing to tiddlers?

2020-10-26 Thread Atronoush Parsi
Use Commander to do this automatically for you!
https://kookma.github.io/TW-Commander/

On Tue, Oct 27, 2020 at 2:12 AM Jean-Pierre Rivière <
jn.pierre.rivi...@gmail.com> wrote:

> I my wiki, I have often forgotten to put the type as tw5 wikitext. I have
> not been able to set this as the default type BTW (any idea?)
>
> I can list all such relevant tiddlers with:
>
> <$list filter="[field:type[]!prefix[$:/]]"> %% <$link/>
>
> and then correct them all manually. Could I manage to do it automatically?
> Perhaps passing by a button an,d an activation mechanism would help?
>
> --
> You received this message because you are subscribed to 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/c1dc62a2-b739-4605-9fd9-35fc5d5498b6n%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/CAKHVXmo6hpvYfpnb9TdvecJrwnuSQ1AnNw8D29vAZUuSHp9mqg%40mail.gmail.com.


[tw5] Re: Old tiddlywiki, won't save when edited locally

2020-10-26 Thread Eric Pavey
Thanks, that totally worked and funny enough is what I used to do, it's 
just been so long I'd forgotten how :P

On Sunday, October 25, 2020 at 7:46:47 PM UTC-7 Alfonso Arciniega wrote:

> Hi Eric,
>
> Try open a regular empty TiddlyWiki Classic (not a TiddlySpot version) and 
> import your tiddlers from your current version into that one. Do not import 
> the TiddlySpot plugins though, you won't need them. Use TiddlyDesktop 
> locally, having both TiddlyWikis (yours and the empty one) in the same 
> directory.
>
> Download latest releases from TiddlyWiki Classic and TiddlyDesktop from:
> https://github.com/TiddlyWiki/TiddlyWiki/releases/tag/v2.9.2
> https://github.com/Jermolene/TiddlyDesktop/releases/tag/v0.0.14
>
> Cheers,
>
> Alfonso
>

-- 
You received this message because you are subscribed to 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/74a00be1-8d11-4ce9-84ed-47d5b8d8f1cen%40googlegroups.com.


[tw5] Re: so: personal DreamHost for TW users?

2020-10-26 Thread springer
Without tiddlyspot, my entire workflow and teaching routine is upended.
 
I've developed dozens of wikis at tiddlyspot (2005(?)-2020), with only 
spotty backups. I have shared various permalinks for work purposes (usually 
thrilled to be able to share a link to something I can continue to improve, 
rather than sending a static file!), so it's also a professional 
embarrassment to have those links go dead.

(You all saw me lots over the summer, but my in-semester workload is heavy. 
So I'm logging in here only because of the tiddlyspot crisis. I'll be 
anxiously hovering here, and at Simon's blog, for the foreseeable future. 
;) Best regards to you all...)

-Springer
On Monday, October 26, 2020 at 7:02:01 PM UTC-4 Surya wrote:

> Hello,
> I just saw the disaster :-O
> My wiki with a lot of knowledge is gone... And saved nowhere else...
> But... really unbeleavable luckily... I saw now, that you, amreus, saved 
> my wiki.
> @amreus, I cannot write a private message. If you can write one to me, 
> could you please be so nice to tell me your mail-adress? So I could write 
> you then my mail-adress for getting my wiki from you??
> That would be an unbeleavable luck
> Thanks a lot in advance!!!
>
> And then...: Is there any other possibility to upload a TW for public use?
>
> Surya
>
> amreus schrieb am Sonntag, 25. Oktober 2020 um 00:03:04 UTC+2:
>
>> I downloaded 128 public tiddlyspot wikis about a week ago.  They were for 
>> my personal use and I wasn't planning on sharing them, but would make them 
>> available if the site doesn't come back.  Hopefully the site can be 
>> restored. I've attached the list I have. 
>>
>>
>>
>>
>>
>>
>> On Saturday, October 24, 2020 at 11:53:11 AM UTC-4 hww...@gmail.com 
>> wrote:
>>
>>>
>>> Ciao TT:
>>>
>>> I gather you are a fan of DreamHost.  If you have a moment I would 
>>> appreciate a brief comment on how easy/difficult it might be to set up a 
>>> personal account that could host a single TW file.
>>>
>>> I've browsed their site a bit and it looks appealing, but I could not 
>>> find anything that reassures me specifically with respect to TW.
>>>
>>> Cheers,
>>> Hans
>>>
>>> On Saturday, October 24, 2020 at 11:10:17 AM UTC-4 TiddlyTweeter wrote:
>>>
 Ciao Eric

 I will write to Dreamhost about this immediately.

 TT


 On Saturday, 24 October 2020 15:58:27 UTC+2, Eric Shulman wrote:
>
> On Saturday, October 24, 2020 at 1:40:41 AM UTC-7, Eric Shulman wrote:
>>
>> I've sent email directly to Simon and Daniel Baird to let them know 
>> about the problem.
>>
>
> I just received a reply from Simon Baird... and he says: "It's not a 
> simple fix".
>
> Here's his blogspot posting explaining the situation: 
> http://tiddlyspot.blogspot.com
>
> -e
>


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


[tw5] Re: geztting the first word/letter of a list of tiddlers

2020-10-26 Thread TW Tones
Mark,

One compelling use of the subfilter is to access a list and apply it to 
another;

\define system-tags() text title modified modifier created creator tags 
list list-after list-before caption type

<$list filter="[fields[]!subfilter]">



The advantage being you can create global macros to use as a list.

That list can be used directly
<$list filter="[subfilter]">



So this is in fact a way to do *"named" filters* for use as needed.

So you can use this method to create logically named filters.

\define chapters() [tag[TableOfContents]]

<$list filter="[subfilter]">



Also I will point out that the pre-release includes a new 
operator https://tiddlywiki.com/prerelease/#filter%20Operator

One of the key advantages of the subfilter is that it can use a macro which 
defines a "full filter" that can be used on its own;
<$list filter=<> >


But also have it become part of another filter as in my first example this 
demands the subfilter operator.

So we could have am alternate name for subfilter "named filters".

Regards
Tones




On Tuesday, 27 October 2020 09:53:30 UTC+11, Mark S. wrote:
>
> subfilter doesn't do "map" or any of those neat things. It just allows a 
> variable that you may have constructed outside the main filter to be used 
> as an additional filter. Personally I haven't found it to be that useful.
>
> [[tag[HelloThere]subfilter]
>
>
>
>> [subfilter[one two three]addsuffix[!]]
>>
>>
> Is same as 
>
> "one two three +[addsuffix[!]]"
>  
> so the result is
>
> one!
> two!
> three!
>
> It doesn't filter out all tiddlers -- it generates three "tiddlers" (one, 
> two, three).
>
> The problem with splitregexp is that it splits ALL the tiddlers it 
> receives and puts out all the pieces. 
>
> With the split tool in https://github.com/Jermolene/TiddlyWiki5/pull/2963 
> you could do this in one list statement.
>
> Anyway, here's some code that does sort of what you want, but for 
> TiddlyWiki.com :
>
> \define my-splitting-headache()
> <$set name="chrome" value="[tag[HelloThere]]">
> <$list filter="[subfilter]" >
> <$list filter="[splitregexp[\W]!is[blank]first[]]"/>
> 
> 
> \end
>
> <$wikify text=<> name=headache>
> <$list filter="[sort[]]" />
> 
>
>
>
> Note that there are two listed lists inside a macro. These lists find all 
> your tiddlers defined by , split them one by one, and the result is 
> returned.
>
> The macro is invoked by the Wikify widget, so that the combined results 
> are rendered and turned back into a single list. Those results are in 
> turned sorted by the final list widget.
>  
> HTH
>

-- 
You received this message because you are subscribed to 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/6265ae8a-1827-464a-93ab-ebf09b002102o%40googlegroups.com.


[tw5] Re: so: personal DreamHost for TW users?

2020-10-26 Thread 'klein...@googlemail.com' via TiddlyWiki
Hello,
I just saw the disaster :-O
My wiki with a lot of knowledge is gone... And saved nowhere else...
But... really unbeleavable luckily... I saw now, that you, amreus, saved my 
wiki.
@amreus, I cannot write a private message. If you can write one to me, 
could you please be so nice to tell me your mail-adress? So I could write 
you then my mail-adress for getting my wiki from you??
That would be an unbeleavable luck
Thanks a lot in advance!!!

And then...: Is there any other possibility to upload a TW for public use?

Surya

amreus schrieb am Sonntag, 25. Oktober 2020 um 00:03:04 UTC+2:

> I downloaded 128 public tiddlyspot wikis about a week ago.  They were for 
> my personal use and I wasn't planning on sharing them, but would make them 
> available if the site doesn't come back.  Hopefully the site can be 
> restored. I've attached the list I have. 
>
>
>
>
>
>
> On Saturday, October 24, 2020 at 11:53:11 AM UTC-4 hww...@gmail.com wrote:
>
>>
>> Ciao TT:
>>
>> I gather you are a fan of DreamHost.  If you have a moment I would 
>> appreciate a brief comment on how easy/difficult it might be to set up a 
>> personal account that could host a single TW file.
>>
>> I've browsed their site a bit and it looks appealing, but I could not 
>> find anything that reassures me specifically with respect to TW.
>>
>> Cheers,
>> Hans
>>
>> On Saturday, October 24, 2020 at 11:10:17 AM UTC-4 TiddlyTweeter wrote:
>>
>>> Ciao Eric
>>>
>>> I will write to Dreamhost about this immediately.
>>>
>>> TT
>>>
>>>
>>> On Saturday, 24 October 2020 15:58:27 UTC+2, Eric Shulman wrote:

 On Saturday, October 24, 2020 at 1:40:41 AM UTC-7, Eric Shulman wrote:
>
> I've sent email directly to Simon and Daniel Baird to let them know 
> about the problem.
>

 I just received a reply from Simon Baird... and he says: "It's not a 
 simple fix".

 Here's his blogspot posting explaining the situation: 
 http://tiddlyspot.blogspot.com

 -e

>>>

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


[tw5] Re: geztting the first word/letter of a list of tiddlers

2020-10-26 Thread 'Mark S.' via TiddlyWiki
subfilter doesn't do "map" or any of those neat things. It just allows a 
variable that you may have constructed outside the main filter to be used 
as an additional filter. Personally I haven't found it to be that useful.

[[tag[HelloThere]subfilter]



> [subfilter[one two three]addsuffix[!]]
>
>
Is same as 

"one two three +[addsuffix[!]]"
 
so the result is

one!
two!
three!

It doesn't filter out all tiddlers -- it generates three "tiddlers" (one, 
two, three).

The problem with splitregexp is that it splits ALL the tiddlers it receives 
and puts out all the pieces. 

With the split tool in https://github.com/Jermolene/TiddlyWiki5/pull/2963 
you could do this in one list statement.

Anyway, here's some code that does sort of what you want, but for 
TiddlyWiki.com :

\define my-splitting-headache()
<$set name="chrome" value="[tag[HelloThere]]">
<$list filter="[subfilter]" >
<$list filter="[splitregexp[\W]!is[blank]first[]]"/>


\end

<$wikify text=<> name=headache>
<$list filter="[sort[]]" />




Note that there are two listed lists inside a macro. These lists find all 
your tiddlers defined by , split them one by one, and the result is 
returned.

The macro is invoked by the Wikify widget, so that the combined results are 
rendered and turned back into a single list. Those results are in turned 
sorted by the final list widget.
 
HTH

-- 
You received this message because you are subscribed to 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/def7efd6-b3cb-4be4-9244-4b945eb532aeo%40googlegroups.com.


[tw5] Re: geztting the first word/letter of a list of tiddlers

2020-10-26 Thread TW Tones
Jean-Pierre,

Please do say what you want to do with the first word / letter ?

   - Below are some examples that should solve your issues
   - Filters as a rule generate one output so I like to focus on the 
   selected tiddler then process it later.


Thanks for sharing code that works on TiddlyWiki.com, my examples do so as 
well.

If it is only for some display purpose you can keep the list focused on the 
selected tiddlers and use triple curly braces (filtered Transclusions) 

<$list filter="[tag[TableOfContents]]">
   {{{ [all[current]split[]first[]] }}}, {{{ [all[current]split[ ]first[]] 
}}}, <$link/>


You can also use HTML


p.uppercase {
  text-transform: uppercase;
}

p.lowercase {
  text-transform: lowercase;
}

p.capitalize {
  text-transform: capitalize;
}



<$list filter="[tag[TableOfContents]]">
<>
<>
<>



But if you need the 1st letter and first word as variables do this.

<$list filter="[tag[TableOfContents]]">
   <$set name=1st value={{{ [all[current]split[]first[]] }}}>
   <$set name=1stWord value={{{ [all[current]split[ ]first[]] }}}>
<<1st>> <<1stWord>> <$link/>
   


Regards
Tones

On Tuesday, 27 October 2020 09:10:59 UTC+11, Jean-Pierre Rivière wrote:
>
> good points. OK, I'll do the rwo lists imbicated. Yet, I cannot see why I 
> get exactly the same results in the two lists below.
>
>
> <$set name="chrome" value="[tag[Chrome]]">
> <$list 
> filter="[subfilterlowercase[]sentencecase[]splitregexp[\W]!is[blank]addprefix[
>  
> * ]]"/>
> 
>
> <$set name="chrome" value="[tag[Chrome]]">
> <$list 
> filter="[tag[Chrome]lowercase[]sentencecase[]splitregexp[\W]!is[blank]addprefix[
>  
> * ]]"/>
> 
>
> which is
>
> * noteself * by * danielo * rodr * guez * savetiddlers * extension * for * 
> chrome * and * firefox * by * buggyj * Emergency * tiddler * export * 
> Saving * on * tiddlyspot * Saving * to * a * git * service * Saving * via * 
> a * minimal * ruby * server * Saving * via * webdav * Saving * with * the * 
> html5 * fallback * saver * Tiddlydrive * add * on * for * google * drive * 
> by * joshua * stubbs * Tiddlywiki * cloud * Timimi * webextension * and * 
> native * host * by * riz
>
> And same with
>
> <$set name="chrome" value="[tag[Chrome]]">
> <$list 
> filter="[subfilterlowercase[]sentencecase[]splitregexp[\W]!is[blank]first[]]"/>
> 
>
> <$set name="chrome" value="[tag[Chrome]]">
> <$list 
> filter="[tag[Chrome]lowercase[]sentencecase[]splitregexp[\W]!is[blank]first[]]"/>
> 
>
> where the result is:
>
> noteself
>
> (from ~"noteself" by danielo rodríguez~)
>
> What's the use of subfilter in real life? It seems such a strange beast. 
> I'm really confused. I wish there be an equivalent of map() found in 
> functional language. I thought subfilter was just that but visibly it is 
> not.
>
> with map I would code:
> <$set name="chrome" value="[tag[Chrome]]">
> <$list 
> filter="[subfilterlowercase[]sentencecase[]splitregexp[\W]!is[blank]first[]]"/>
> 
>
> In fact, I'm perplex when reading the subfilter help and the examples 
> don't help me. In particular, I am at odds with the input and the parameter 
> S. S is said to be a filter expression. And the outpur is the selection of 
> titles returned from the subfilter S. Let's see.
>
> in the complete filter below, what is the input and what is the parameter 
> S?
>
> [subfilter[one two three]addsuffix[!]]
>
> input should be: every tiddlers (but system tiddlers).
> S is <> and so S is a collection of three tiddler titles.
> The output of subfilter is S, right?
> Although it does not seems so because [[one two three]addsuffix[!]] does 
> not produce the same result ("one two three!" instead of "one! two! 
> three!").
>
> Le lundi 26 octobre 2020 à 19:00:52 UTC+1, Mark S. a écrit :
>
>> There are two mistakes in this:
>>
>> 
>>
>> 1. It should be $list.  2. There is a space in front of splitregexp.
>>
>> Unfortunately, using a subfilter won't allow you to process the tiddlers 
>> the way you want. You will need a nested loop, with the outer list finding 
>> the tiddlers and the inner list extracting the first word.
>>
>>
>>
>> On Monday, October 26, 2020 at 10:41:29 AM UTC-7, Jean-Pierre Rivière 
>> wrote:
>>>
>>> I have a liste of tiddlers (got with something like filter="[tag[foo]]") 
>>> of which I want the first word/letter.
>>>
>>> For only the last single title I get the first word with 
>>> filter="[tag[Chrome]last[]splitregexp[\W]!is[blank]first[]]"
>>>
>>> Now, how to get it for all the titles, entirely within a single filter 
>>> if possible (I'd rather avoid a list widget to achieve that)? Definitely 
>>> something to do with subfilter. But no, I still can't get it. Frustrating. 
>>> My initial coding:
>>>
>>> <$set name="chrome" value="[tag[Chrome]]">
>>> 
>>> 
>>>
>>>
>>>

-- 
You received this message because you are subscribed to 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 

[tw5] HOW DO YOU write javascript so that it works on any web browser ?

2020-10-26 Thread Charlie Veniot
G'day,

Javascript and I have never gotten along, but once in a while I've got no 
choice have simply must surrender to it.

Working on my Chromebook, when I get something working, I never think of 
making sure it works with other browsers.  Sure enough, I discovered today 
that some javascript in my TiddlyWiki doesn't work with Internet Explorer.

Specifically, the offending bit of code: a call to URLSearchParams.

Figuring that I want error-handling that simply/gracefully/quietly exits 
the code, I decided to wrap all of the code with "try" and "catch" 
processing (having just discovered that today).

If anybody has any related experience and/or interesting/educative info to 
share: please please please ?

Related snipit of code (from this TiddlyWiki's tiddler 
)
 
further below.

Cheers !

exports.run = function() {
const queryString = window.location.search;
try {
const urlParams = new URLSearchParams(queryString);
const wikicontext = urlParams.get('context');
var output = wikicontext;

if ( (output !== "OffGridding") && (output !== "HydroCutting")  && 
(output !== "Chromebook") ){
output = "ProductReviews";
};
  document.title = output;
}
catch(err) {
output = "ProductReviews";
}
return output;



-- 
You received this message because you are subscribed to 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/5463104a-3fea-47f4-8588-85194376cb17o%40googlegroups.com.


[tw5] Re: geztting the first word/letter of a list of tiddlers

2020-10-26 Thread Eric Shulman
On Monday, October 26, 2020 at 3:10:59 PM UTC-7, Jean-Pierre Rivière wrote:
>
> What's the use of subfilter in real life? It seems such a strange beast. 
> I'm really confused. I wish there be an equivalent of map() found in 
> functional language. I thought subfilter was just that but visibly it is 
> not.
>

The subfilter operator allows you to use a variable to specify some piece 
of filter syntax.  Thus, if you wanted to have different filters based on a 
field value, you could write:
<$set name="F" filter="[{!!setting}match[somevalue]]" value="[somefilter]" 
emptyValue="[someotherfilter]">
<$list filter="[subfilter]"/>

Note in the above example, I've used the "conditional variable assignment" 
form of $set (see https://tiddlywiki.com/#SetWidget)

in the complete filter below, what is the input and what is the parameter S?
> [subfilter[one two three]addsuffix[!]]
> input should be: every tiddlers (but system tiddlers).
> S is <> and so S is a collection of three tiddler titles.
> Although it does not seems so because
>
[[one two three]addsuffix[!]]
>
does not produce the same result ("one two three!" instead of "one! two! 
> three!").
>

The first syntax (using subfilter[one two three]) specifies three tiddler 
titles.
The second syntax (using [one two three] specifies a single text string.

To get the same results as subfilter[one two three] you could use 
enlist[...], like this:
[enlist[one two three]addsuffix[!]]

Le lundi 26 octobre 2020 à 19:00:52 UTC+1, Mark S. a écrit :
>
>> Unfortunately, using a subfilter won't allow you to process the tiddlers 
>> the way you want. You will need a nested loop, with the outer list finding 
>> the tiddlers and the inner list extracting the first word.
>>
>
What Mark has suggested -- using nested lists -- is this:
<$list filter="[tag[Chrome]]">
   <$list filter="[splitregexp[\W]!is[blank]first[]]"/>


-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c0ea12f4-3bf1-41a7-a271-1e04c55718aco%40googlegroups.com.


[tw5] writing to tiddlers?

2020-10-26 Thread Jean-Pierre Rivière
I my wiki, I have often forgotten to put the type as tw5 wikitext. I have 
not been able to set this as the default type BTW (any idea?)

I can list all such relevant tiddlers with:

<$list filter="[field:type[]!prefix[$:/]]"> %% <$link/>

and then correct them all manually. Could I manage to do it automatically? 
Perhaps passing by a button an,d an activation mechanism would help?

-- 
You received this message because you are subscribed to 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/c1dc62a2-b739-4605-9fd9-35fc5d5498b6n%40googlegroups.com.


[tw5] Re: Unicode discovery additional alphabets and tiddlywiki, and a keyboard Question

2020-10-26 Thread TW Tones
TT,

You clearly know more about this than myself. When I read about "Mathematical 
Alphanumeric Symbols" I keep seeing references not to be used as "prose 
text". There is good reason for this as they look like normal text with a 
font style applied but they are not the same. However it seems to me this 
very reason may be its very value, at least in tiddlywiki, The tag 𝓵𝓲𝓼𝓽 
 is 
different to the tag list macros can be written with the name 𝓵𝓲𝓼𝓽 
 and 
more.

We often talk about semantics and and using plan "English" language for 
tiddlers, macros, fields etc... 

Yes there are issues with the front end user accessing these without 
knowledge of these different character set. But when developing a 
tiddlywiki it could have some real advantages.

For example I could define tiddlers for tags and fields.

For example I could code a method to define tag tiddlers with the 
equivalent in a different character set. I can have "same name" multiple 
times, each performing a different purpose. Once created they can be 
applied from a list, although searched only if you can copy the alternate 
character text. 

I have followed the various leads shared with me but I am yet to find a way 
to exchange current alphanumeric's on my keyboard with those from the other 
mathematical alphanumeric sets, with a setting, so I can simply type as if 
is was standard. Upper and lower case! 26x2+10numerals or 62 alphanumerics 
per set.

Yes some of these solutions provide a path to this outcome by allowing new 
mappings however, that is a lot of work that could have being automated in 
a given solution. There are multiple sets of alphanumerics so this will 
take a lot of time if I can't find such a specific solution. I would have 
thought this had being done before, or am I at the bleeding edge?

I will test it in a wider set of circumstances but they are resolving in 
Chrome and Firefox without alteration. Although it is true depending how I 
design it may not matter to end users if such fonts are only used behind 
the scenes. 

Regards
Tones

On Monday, 26 October 2020 18:55:37 UTC+11, TiddlyTweeter wrote:
>
> TW Tones wrote:
>>
>>
>> I have discovered that the Unicode standard has additional alphanumeric 
>> characters here https://www.unicode.org/charts/PDF/U1D400.pdf
>>
>
>  Unicode is brilliant. Its an "elusive obvious". One to explicitly use a 
> lot, lot more.
>
> The PROBLEM now is not lack of machine support--its the problem of being 
> SURE the glyphs you are using have proper FONT support.
>
> This is no problem on local machines because IF you have the glyph in a 
> font on your machine it will show up.
>
> The problem is only IF you want to be sure an end user ONLINE can see the 
> glyph. There its more complex.
>
> A reasonable route for TW is to check the presence of the glyphs in the 
> fonts listed in TW (mainly Mac fonts in the Empty download?) .
> This is because one needs to beware of getting confused by the "local 
> machine's" cascade of font substitution. 
> That is exactly where Unicode support can get confusing.
>
> FWIW, I use BabelMap to double check that specific TW (Standard Windows 
> 10) fonts contain the needed glyphs IF the TW is destined for on-line.
>
> 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/56b33c9f-1d24-4851-9c91-5a2761b9cbd3o%40googlegroups.com.


[tw5] Re: geztting the first word/letter of a list of tiddlers

2020-10-26 Thread Jean-Pierre Rivière
good points. OK, I'll do the rwo lists imbicated. Yet, I cannot see why I 
get exactly the same results in the two lists below.


<$set name="chrome" value="[tag[Chrome]]">
<$list 
filter="[subfilterlowercase[]sentencecase[]splitregexp[\W]!is[blank]addprefix[
 
* ]]"/>


<$set name="chrome" value="[tag[Chrome]]">
<$list 
filter="[tag[Chrome]lowercase[]sentencecase[]splitregexp[\W]!is[blank]addprefix[
 
* ]]"/>


which is

* noteself * by * danielo * rodr * guez * savetiddlers * extension * for * 
chrome * and * firefox * by * buggyj * Emergency * tiddler * export * 
Saving * on * tiddlyspot * Saving * to * a * git * service * Saving * via * 
a * minimal * ruby * server * Saving * via * webdav * Saving * with * the * 
html5 * fallback * saver * Tiddlydrive * add * on * for * google * drive * 
by * joshua * stubbs * Tiddlywiki * cloud * Timimi * webextension * and * 
native * host * by * riz

And same with

<$set name="chrome" value="[tag[Chrome]]">
<$list 
filter="[subfilterlowercase[]sentencecase[]splitregexp[\W]!is[blank]first[]]"/>


<$set name="chrome" value="[tag[Chrome]]">
<$list 
filter="[tag[Chrome]lowercase[]sentencecase[]splitregexp[\W]!is[blank]first[]]"/>


where the result is:

noteself

(from ~"noteself" by danielo rodríguez~)

What's the use of subfilter in real life? It seems such a strange beast. 
I'm really confused. I wish there be an equivalent of map() found in 
functional language. I thought subfilter was just that but visibly it is 
not.

with map I would code:
<$set name="chrome" value="[tag[Chrome]]">
<$list 
filter="[subfilterlowercase[]sentencecase[]splitregexp[\W]!is[blank]first[]]"/>


In fact, I'm perplex when reading the subfilter help and the examples don't 
help me. In particular, I am at odds with the input and the parameter S. S 
is said to be a filter expression. And the outpur is the selection of 
titles returned from the subfilter S. Let's see.

in the complete filter below, what is the input and what is the parameter S?

[subfilter[one two three]addsuffix[!]]

input should be: every tiddlers (but system tiddlers).
S is <> and so S is a collection of three tiddler titles.
The output of subfilter is S, right?
Although it does not seems so because [[one two three]addsuffix[!]] does 
not produce the same result ("one two three!" instead of "one! two! 
three!").

Le lundi 26 octobre 2020 à 19:00:52 UTC+1, Mark S. a écrit :

> There are two mistakes in this:
>
> 
>
> 1. It should be $list.  2. There is a space in front of splitregexp.
>
> Unfortunately, using a subfilter won't allow you to process the tiddlers 
> the way you want. You will need a nested loop, with the outer list finding 
> the tiddlers and the inner list extracting the first word.
>
>
>
> On Monday, October 26, 2020 at 10:41:29 AM UTC-7, Jean-Pierre Rivière 
> wrote:
>>
>> I have a liste of tiddlers (got with something like filter="[tag[foo]]") 
>> of which I want the first word/letter.
>>
>> For only the last single title I get the first word with 
>> filter="[tag[Chrome]last[]splitregexp[\W]!is[blank]first[]]"
>>
>> Now, how to get it for all the titles, entirely within a single filter if 
>> possible (I'd rather avoid a list widget to achieve that)? Definitely 
>> something to do with subfilter. But no, I still can't get it. Frustrating. 
>> My initial coding:
>>
>> <$set name="chrome" value="[tag[Chrome]]">
>> 
>> 
>>
>>
>>

-- 
You received this message because you are subscribed to 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/9270db2e-66c4-420e-b665-1d072a382138n%40googlegroups.com.


[tw5] Re: Bookmark to a TiddlyWiki Bookmarklet proof-of-concept.

2020-10-26 Thread amreus
> Please have a look at https://github.com/buggyj/tiddlyclip 

I read the page - still don't know what it's for.

> 1. Is it possible to prevent overwriting an existing tiddler by adding a 
prefix number like 1, 2, ...? 

Yes it's on my short list of things to do.  

> 2.Is it possible to have extra fields, especially Text field? I mean 
while a user is allowed to add a special tag, he/she can add some text! 

Possible.  One aspect I like about using a bookmarklet is it is its' 
simplicity.  It's more accessible to the user for making customizations. 
Easier and more understandable than hacking a browser plugin.

> 3. What do you think is one can select part of text or image in a webpage 
and bookmarking-to-tiddlywiki can add it as tiddler body (text)? 

Also possible if I understand what you mean.  Regular copy and paste always 
works.  Do you mean pre-select text? 

Thanks for asking these questions. You gave me an idea that maybe I can use 
a tiddler in the wiki as customization, or configuration tiddler for the 
form.  


On Monday, October 26, 2020 at 9:26:30 AM UTC-4 Atronoush wrote:

> amreus,
>  Please have a look at https://github.com/buggyj/tiddlyclip
>  You can get some good idea to develop TiddlywikiBookmarklet
>
> Atro
>
> On Sunday, October 4, 2020 at 11:50:09 PM UTC+3:30 amreus wrote:
>
>> Just playing with an idea I might have read about on this forum.  It's 
>> not completely  functioning at moment, but enough of it is that I'm certain 
>> it can be made to work.
>>
>> I made a browser bookmarklet that opens a popup window to your local node 
>> tiddlywiki, and appends to the wiki address the url and title of a web 
>> site. (Basically sends a HTTP GET request to your wiki, passing the site 
>> url and title in the query string.)
>>
>> The wiki has a tiddler that parses the request back into a url and title 
>> variable, which can then be used to create tiddlers, etc. 
>>
>> I tried to write up some instructions here 
>> . Apologies if I'm terse. Please 
>> ask if you have questions or feedback.
>>
>> Thanks for looking.
>>
>>
>>
>>
>>

-- 
You received this message because you are subscribed to 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/d48d97d2-1344-4dc1-bd6e-fef28d7ff2b6n%40googlegroups.com.


[tw5] Re: geztting the first word/letter of a list of tiddlers

2020-10-26 Thread 'Mark S.' via TiddlyWiki
There are two mistakes in this:



1. It should be $list.  2. There is a space in front of splitregexp.

Unfortunately, using a subfilter won't allow you to process the tiddlers 
the way you want. You will need a nested loop, with the outer list finding 
the tiddlers and the inner list extracting the first word.



On Monday, October 26, 2020 at 10:41:29 AM UTC-7, Jean-Pierre Rivière wrote:
>
> I have a liste of tiddlers (got with something like filter="[tag[foo]]") 
> of which I want the first word/letter.
>
> For only the last single title I get the first word with 
> filter="[tag[Chrome]last[]splitregexp[\W]!is[blank]first[]]"
>
> Now, how to get it for all the titles, entirely within a single filter if 
> possible (I'd rather avoid a list widget to achieve that)? Definitely 
> something to do with subfilter. But no, I still can't get it. Frustrating. 
> My initial coding:
>
> <$set name="chrome" value="[tag[Chrome]]">
> 
> 
>
>
>

-- 
You received this message because you are subscribed to 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/58ee1a3b-176a-47b1-8f5b-ca22610c0103o%40googlegroups.com.


[tw5] geztting the first word/letter of a list of tiddlers

2020-10-26 Thread Jean-Pierre Rivière
I have a liste of tiddlers (got with something like filter="[tag[foo]]") of 
which I want the first word/letter.

For only the last single title I get the first word with 
filter="[tag[Chrome]last[]splitregexp[\W]!is[blank]first[]]"

Now, how to get it for all the titles, entirely within a single filter if 
possible (I'd rather avoid a list widget to achieve that)? Definitely 
something to do with subfilter. But no, I still can't get it. Frustrating. 
My initial coding:

<$set name="chrome" value="[tag[Chrome]]">



but the result is empty. I does not seems so different to the addsuffix 
example to me...

So in my local copy of the official wiki, I do the following:

<$set name="chrome" value="[tag[Chrome]]">
<<.operator-example 13 "[subfilter 
splitregexp[\W]!is[blank]first[]]">>
<<.operator-example 29 "[subfilter addprefix[tidd ]]">>
<<.operator-example 37 "[subfilter prefix[S]]">>
<<.operator-example 42 "[subfilter]">>


examples 13, 29 and 37 produce an empty result. Last example 42 just show 
that the tagging is producing some results, namely:

"Noteself" by Danielo Rodríguez
"savetiddlers" Extension for Chrome and Firefox by buggyj
Emergency Tiddler Export
Saving on TiddlySpot
Saving to a Git service
Saving via a Minimal Ruby Server
Saving via WebDAV
Saving with the HTML5 fallback saver
TiddlyDrive Add-on for Google Drive by Joshua Stubbs
TiddlyWiki Cloud
Timimi: WebExtension and Native Host by Riz

I think the solution could constitute a precious third example for the 
subfilter examples tiddler.  (especially, one with Saving repeated, one 
with just one Saving)

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/06c53073-392d-496e-9ee6-857c1513cf94n%40googlegroups.com.


[tw5] Re: glossary with diacritics

2020-10-26 Thread 'Mark S.' via TiddlyWiki
You can't insert a widget into the middle of a filter. But it doesn't 
matter, you don't need it:

<$set name="initial" filter="[{!!title}lowercase[]]">
<$list filter="[tag[glossaire]prefix!prefix[é]] 
[[tag[glossaire]prefix[é)]]+[sortan[]]">




In the first part of the filter I exclude é. In the second run, I ONLY 
include é. 


On Tuesday, October 20, 2020 at 3:50:11 PM UTC-7, Jean-Pierre Rivière wrote:
>
> In French, a glossary is as simple as in English except for the letter E 
> where we also some entry starting with É to take into account.
>
> This can be done like this:
>
> 
> <$list 
> filter="[tag[glossaire]prefix]=[tag[glossaire]prefix[é]]+[sortan[]]"><$link/>
> 
>
> where initial is a variable containing "e" (my glossary is all lowercase, 
> and each word in the entry has a tiddler tagged "glossaire").
>
> But I want to build my glossary automatically. How can I make a special 
> case for the E letter? My difficulty is to extend my filter (this is the 
> part starting from the = sign). I am open t any way to achieve this.
>
> I have tried to build a string containing 
> "=[tag[glossaire]prefix[é]]+[sortan[]]" and to add it if initial is e, but 
> this does not work as I have written it:
>
> \\define glossy()
> <$set name="initial" filter="[{!!title}lowercase[]]">
> <$set name="special-case" value="=[tag[glossaire]prefix[é]]+[sortan[]]">
>
> <$set name="special" 
> filter="[compare:string:eq[e]then]">
>
> special <$macrocall $name="special"> now defined
>
> 
> <$list filter="[tag[glossaire]prefix]<$macrocall 
> $name="special"/>">
><$link/>
> 
> 
> 
> 
> 
> \end
>
> When I use <> in the "E" tiddler, all I can see is:
>
> special =[tag[glossaire]prefix[é]]+[sortan[]]
>
> and nothing else. the thing printed seems OK but is that what it seems to 
> be? The process clearly seems to be interrupted.
>

-- 
You received this message because you are subscribed to 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/ae8c8d70-a342-4d72-9577-66e2008739abo%40googlegroups.com.


Re: [tw5] Re: glossary with diacritics

2020-10-26 Thread Jean-Pierre Rivière
£Hi!

Thank you, this one is functionnal. BTW, I was already in 5.1.23-prerelease.

But how can I get the doc form this new trim operator?

Le samedi 24 octobre 2020 à 08:58:18 UTC+2, Xavier a écrit :

> Hi Jean-Pierre,
>
> If you don't mind using the TiddlyWiki prerelease, I suggest the brand new 
> subsort filter operator as well as the newly parametrised trim operator:
>
> \define glossaryLetter()
> 
> <$vars initial={{{ [lowercase[]] }}}>
> <$vars initial_regexp={{{ [compare:string:eq[e]] 
> +[then[(e|é)]elseaddprefix[^]] }}}>
> <$vars tail_filter="[trim:prefix[e]trim:prefix[é]]">
> <$list filter="[tag[glossaire]regexp] 
> +[sortsub]">
> <$link/>
> 
> 
> 
> 
> 
> \end
>
> Cheers,
> -- Xavier
>
>
> On Thu, Oct 22, 2020 at 11:50 PM Jean-Pierre Rivière <
> jn.pierr...@gmail.com> wrote:
>
>> I have not been able to achieve what I wanted in this case with 
>> subfilter, but I've been successul with regexp. So I post it here.
>>
>> \define glossaryLetter()
>> <$set name="initial" filter="[{!!title}lowercase[]]">
>> <$set name="others" filter="[compare:string:eq[e]then[é]]">
>> <$wikify name="pattern" text="""(?i)^([(]([^)]+[)] )?)?[<$macrocall 
>> $name="initial"/><$macrocall $name="others"/>]""" output="text">
>> 
>> <$list filter="[tag[glossaire]regexp]"><$link/>
>> 
>> 
>> \end
>>
>> used in a tag name "E" or 3B" for instance. I finally decided to 
>> hard-code the "e" case. It's simpler and yet I have retain what I would get 
>> if I used a dictionary so that the rest of the code would not be affected 
>> if I change my mind. Note that with regular expression I can now handle 
>> entry like "(really good) song for folk guitar" at both r or s (my choice 
>> to have it at both and not only at s) but this one is not sorted 
>> accordingly (would require a sorting function, not sure I can do it without 
>> js and it only concern one tiddler so far).
>>
>> I would really appreciate a solution with subfilter.
>> Le jeudi 22 octobre 2020 à 18:57:26 UTC+2, Jean-Pierre Rivière a écrit :
>>
>>> Hi Xavier!
>>>
>>> I've already used subfilter. As I used it and understood it, it is of 
>>> use as a substitude for mapping within filters. But yes, I can map an array 
>>> of just one element. I did not think of that.
>>>
>>> As for dictionnary, I was already planning its use. But to mark "é" as a 
>>> co-letter for "e", nothing more. But from there, my problem is to build 
>>> dynamically the filter for each letter and especially for "e".
>>>
>>> Subfilter allow writing something like 
>>>
>>> subfilter prefix[e]
>>>
>>> but not something like 
>>>
>>> subfilter 
>>>
>>> And since there is no filter that could have conditional filter (we can 
>>> only have conditional strings with "then" and "else"), I cannot see where 
>>> subfilter may help me.
>>>
>>> So I looked for another way: using "regexp" instead of "prefix". Where I 
>>> would use "regexp" where re is "^[eé]" or "^[a]" for instance. But it 
>>> doesn''t work, as I get all the titles, and not only the one beginning with 
>>> "e" or "é". See my code for use within "E" tiddler below:
>>>
>>> \define glossy()
>>> <$set name="initial" filter="[{!!title}lowercase[]]">
>>> <$set name="others" value="é">
>>> <$set name="pattern" value="^[<><>]">
>>> filter <>
>>> 
>>> <$list filter="[tag[glossaire]regexp] 
>>> +[sortan[]]"><$link/>
>>> 
>>> 
>>> \end
>>>
>>> <>
>>>
>>> with the control of "others", I'll be able to achieve my goal. But I 
>>> have difficulty with regexp (but not with regular expressions per se) which 
>>> I shall address in another topic.
>>>
>>>
>>>
>>> Le mercredi 21 octobre 2020 à 13:23:56 UTC+2, Xavier a écrit :
>>>
 Hi Jean-Pierre,

 I was about to point you to dictionaries 
  and suggest that you use 
 getindex <>, but now I'm 
 not sure if I understand your issue correctly. One sure thing however: you 
 cannot insert a filter string like <> into an existing 
 filter 
 expression by simply referencing the string variable. This is the main 
 reason of the errors you get. Instead, you need to use the subfilter 
  operator.

 Cheers,
 -- Xavier


 On Wed, Oct 21, 2020 at 11:35 AM Jean-Pierre Rivière <
 jn.pierr...@gmail.com> wrote:

> Hi Tones,
>
> My problem is not so much the order of the letter as of now. However, 
> your input may well serve me.
>
> Non, my real concerne is that I am not successfull in getting a 
> special filter for e, even though I already have this special case ready. 
> I'm unable to connect it dynamically.
>
> I have seen in an other thread that I can do things like <$sort 
> filter=<>/>
>
> So today I tried to build the complete filter. But I've not been 
> sucessful at that. My attempt:
>
> first, the filter I need for e (here within a list widget):<$s

[tw5] "in" filter operator, or better AND logic.

2020-10-26 Thread ma...@mklauber.com
Hey all, I'm trying to figure out how to handle an issue I've got coming 
up.  

I have a dataset I'm storing as tiddlers, with each field as a column.  I'm 
trying to implement filters on the dataset using <$select> widgets that 
allow selecting multiple values.  I'm trying to create a filter that for 
each tiddler in the dataset checks if `{{!!field}} is contained in 
{{Selected!!field}}` i.e. is the tiddlers value in the allowed values.

I figured out how to do this once, by flipping my filter around and saying 
`[[Selected]contains:field{!!field}]`  But I can't use the `+` symbol to 
AND these together, as the input is replaced instead of unioned with the 
preceding filter.

Does anyone know a better way to implement an `value IN list` filter, or a 
better way to and things?  

p.s. I'm trying to avoid multiple loops for ANDs, as I want to be able to 
filter on arbitrary fields.  

Thanks,
Matt

-- 
You received this message because you are subscribed to 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/12503368-4d5e-4637-9d3d-4a373ec0e112n%40googlegroups.com.


[tw5] Re: Differentiation

2020-10-26 Thread vinvi...@gmail.com
This is very close to what I'm looking for. 
I'm going to study it. 
Thank you. :)

Op zondag 25 oktober 2020 om 02:29:56 UTC+2 schreef TW Tones:

> Ok,
> Here is a bit of a code dump that you can work through to answer your 
> questions and learn along the way.
> \define custom-tags() (i) (li) (ld) (lp) (lpc) (lt) (D) (B) (C) (E) (F) (H
> ) (N) (P) (S) (T)
> \define show-tags() (i) (li) (D) (ld) (lp)
>
> ;List all custom-tags
> <$list filter=<> >
>
> ;List all custom-tags with tagpill and count of in use
> <$list filter=<> > {{{ [all[current]tagging[]count[]] }}} 
> {{||$:/core/ui/TagTemplate}}, 
>
> ;Tag current tiddler with any of the "custom-tags"
> <$list filter=<> variable=tagname>
><$checkbox tag=<> > <>, 
> 
>
>
> ;Tag any of the "custom-tags" with another tag <>
> :ie select a custom tag to show
> <$list filter=<> variable=tagname>
><$checkbox tiddler=<> tag="show-tags" > < >>, 
> 
>
>
> ;List custom-tags selected with [[show-tags]]
> <$list filter="[[show-tags]tagging[]]">
>
>
> 
>
>
> ;List items tagged with [[(i)]] also `[all[]tag[(i)]]`
> <$list filter="[[(i)]tagging[]]">
>
>
> 
>
>
> ;List all custom-tags one per line as link to create them as a tiddler, eg 
> to give them a description
> <$list filter=<> >
>
>
> 
>
> Regards
> Tones
>
>
> On Sunday, 25 October 2020 00:16:44 UTC+11, vinvi...@gmail.com wrote:
>>
>> Hi TW Tones,
>>
>> I've read that page regarding the checkbox before. I don't understand 
>> anything about it. Something I have no feeling for is coding. Sorry.
>>
>> *I believe someone else has built a solution for an indicator disease or 
>> syndrome in the recent past? *That was me. I'm still working on it.
>> I did my best to make it as clear as possible by visualizing it. I won't 
>> get any further than that. I am a complete dummy when it comes to coding.
>>
>> I try not to get rid of it easily, I've been working with it for 10 
>> weeks. But I can't get it done. So if there is someone who can help me with 
>> this ..
>>
>> As for your advice on the GenTags Plugin earlier: That was very useful 
>> advice. I haven't needed it so far by handily designing the hierarchy. 
>> I'm definitely going to need it in the future.
>>
>> Thanks,
>>
>> Op vrijdag 23 oktober 2020 om 23:10:21 UTC+2 schreef TW Tones:
>>
>>> First thing to note is you are misusing the checkbox, read and use the 
>>> syntax 
>>> here 
>>>
>>> I believe someone else was building a indicator disease or syndrome 
>>> solution in the recent past.
>>>
>>> Perhaps you would be better designing and sharing the logic with any 
>>> form of pseudocode then letting the community show you the code to do it? 
>>>
>>> I would give you a solution now except it would be some work to reverse 
>>> engineer your attempt, to establish your intent then show you how.
>>>
>>> If you make it easy for me, I will make it easy for you.
>>>
>>> Tones
>>>
>>>
>>>
>>> On Saturday, 24 October 2020 01:19:14 UTC+11, vinvi...@gmail.com wrote:

 Hello,

 I've used code to be able to visualize it somewhat, but I can't get it 
 to work.

 I hope I can clarify it with an image:

 [image: Differentiation.png]
 Thank you,

>>>

-- 
You received this message because you are subscribed to 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/08b48f44-ee73-46d0-b142-8bb5fc4d98f9n%40googlegroups.com.


[tw5] Newbie Here: I want to have my own Interactive Map in Tiddlywiki but not sure how

2020-10-26 Thread hazel morris

Hello all,

I have the leaflet.js plugin by Sylvain Comte / Sycom which is really 
amazing but it doesn't have the functionality I am looking for. 

I have my own map tiles cut and ready for usage on my computer but I don't 
know how to add them in.

I want to have the interactive map on a fixed panel on the left.

Finally, when you click on a marker, it brings up a tiddler linked to it 
which has a description of the location.

So my question is, what resources are there to help me create this plugin? 
I am a complete noob to coding and I have no idea where to start.

-- 
You received this message because you are subscribed to 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/4441002b-e968-467c-9032-321595c2e47an%40googlegroups.com.


[tw5] Re: so: personal DreamHost for TW users?

2020-10-26 Thread TiddlyTweeter
Mark S. wrote:
>
> A company that doesn't respond in two days to a customer doesn't sound 
> like a good company.
>

Yeah. This is the first time. 

It would be really interesting to know how much space the tiddlyspot 
> project was taking. I notice that DisasterHost doesn't specify how much 
> disk space you're allowed. But obviously, there has to be a limit of some 
> kind.
>

Interesting. But AFTER the fact. IF I had known  before that TiddlySpot was 
on Dreamhost I would have asked "why is it so slow on load"? 
I didn't so I didn't.

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/f66370c2-61fc-47b1-8430-69b2d8c2f8ffo%40googlegroups.com.


[tw5] Re: so: personal DreamHost for TW users?

2020-10-26 Thread 'Mark S.' via TiddlyWiki
It doesn't pay to get too attached to any company. What I learned the hard 
way on my own site was that a service can be sold overnight and change 
completely. This is why I currently pay by the half year even though it's 
more expensive. When you change, and are forced to cancel, you'll forfeit 
everything you paid.

A company that doesn't respond in two days to a customer doesn't sound like 
a good company.

It would be really interesting to know how much space the tiddlyspot 
project was taking. I notice that DisasterHost doesn't specify how much 
disk space you're allowed. But obviously, there has to be a limit of some 
kind.

On Monday, October 26, 2020 at 1:23:26 AM UTC-7, TiddlyTweeter wrote:
>
> Ciao Hans
>
> Well, given current issues at DH, I'm reserving the right to withdraw 
> these comments :-).
>
> +++ All I can say *now*, as a reasonably priced hosting service I used 
> for about a decade, they are good on being able to set stuff up, good on 
> support.
> Good management console. Good knowledge base.
>
> --- Performance (page load speed) can be an issue if you accept defaults, 
> which I think TiddlySpot did. Can be sluggish on load. However there are 
> options to improve it easily.
>
> 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/159087b5-6ddc-440c-9672-97db1ca402cao%40googlegroups.com.


[tw5] Re: Bookmark to a TiddlyWiki Bookmarklet proof-of-concept.

2020-10-26 Thread Atronoush
amreus,
 Please have a look at https://github.com/buggyj/tiddlyclip
 You can get some good idea to develop TiddlywikiBookmarklet

Atro

On Sunday, October 4, 2020 at 11:50:09 PM UTC+3:30 amreus wrote:

> Just playing with an idea I might have read about on this forum.  It's not 
> completely  functioning at moment, but enough of it is that I'm certain it 
> can be made to work.
>
> I made a browser bookmarklet that opens a popup window to your local node 
> tiddlywiki, and appends to the wiki address the url and title of a web 
> site. (Basically sends a HTTP GET request to your wiki, passing the site 
> url and title in the query string.)
>
> The wiki has a tiddler that parses the request back into a url and title 
> variable, which can then be used to create tiddlers, etc. 
>
> I tried to write up some instructions here 
> . Apologies if I'm terse. Please 
> ask if you have questions or feedback.
>
> Thanks for looking.
>
>
>
>
>

-- 
You received this message because you are subscribed to 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/96e7dcff-a0e3-4c07-b87f-e1b6429e2603n%40googlegroups.com.


Re: [tw5] Re: Bookmark to a TiddlyWiki Bookmarklet proof-of-concept.

2020-10-26 Thread Atronoush Parsi
Hi amreus,

 It works now! Thank you!

Some minor suggestions:

1. Is it possible to prevent overwriting an existing tiddler by adding a
prefix number like 1, 2, ...?
2.Is it possible to have extra fields, especially Text field? I mean while
a user is allowed to add a special tag, he/she can add some text!
3. What do you think is one can select part of text or image in a webpage
and bookmarking-to-tiddlywiki can add it as tiddler body (text)?


Possible issue
The  bookmarking-to-tiddlywiki allow to add new tiddler even with title
containing forbidden characters like | {} etc.
I may recommend to replace such character in title when you create a new
bookmark.

Thank you again and best wishes.

Atro

On Mon, Oct 26, 2020 at 11:43 AM amreus  wrote:

> 2 initial thoughts..
>
> 1. This will only work with the TiddlyWiki node server. It does not work
> with the Bob server because it has a different API.
> 2. Be sure to use 127.0.0.1:8080 and not localhost:8080 in the
> bookmarklet. It matters to avoid the cross-site scripting issue.
>
> I made some small changes to the files on github to remove the alert, but
> show the xhr.status in the popup.  The popup will close on success but
> remain open on an error.
>
> If you still have errors, open the dev console (press F12 with the popup
> focused) before pressing the Save button and show the console text here.
> Since I am not getting any errors in either Firefox or Chrome, it's hard to
> know what is going on. Thanks.
>
>
> On Monday, October 26, 2020 at 3:03:06 AM UTC-4 Atronoush wrote:
>
>> The same error on Firefox!
>>
>> On Sun, Oct 25, 2020 at 11:41 PM amreus  wrote:
>>
>>> "Testing? We don't need no stinking Testing."
>>>
>>> Seriously, though I use Firefox and will need to try it using Chrome.  I
>>> don't have it installed but do have a portable version I can try.
>>>
>>> If you know how to open the Chrome developer console, it would be
>>> helpful to see if there are any errors generated when you hot the "Save"
>>> button.
>>>
>>>
>>>
>>>
>>> On Sunday, October 25, 2020 at 3:40:34 PM UTC-4 Atronoush wrote:
>>>
 amreus
  Thank you for sharing. I created a new wiki tiddlywiki mywiki --init
 serverand then created an extra folder files in mywiki folder with
 form.html and func.js as you advised.
  Running new wiki using  tiddlywiki mywiki --listen csrf-disable=yes  
 everything
 was fine
  Now from TWMark bookmarks with bookmark.js, I tried to add a page to
 my TW in Chrome 83.
  The form opens and let me add tag and save!
  But I got this error:

 localhost: 8080 says
 xhr.status: 0



 On Sun, Oct 25, 2020 at 8:50 PM amreus  wrote:

> Just wanted to post the latest code of my bookmarking-to-tw tests.
> Briefly, it works by using a bookmark that opens a popup with a form that
> is populated with the current site title and url, allows editing of 
> fields,
> then sends the data as a new tiddler in a TiddlyWiki running on a node
> server.  It's a 2-click solution.
>
> There are few parts to the setup, but the files are small and
> hopefully understandable:
>
>1. A bookmarklet
>2. A static html form
>3. Javascript functions
>4. Server options
>
>
> 1. The bookmarklet is placed in your browser's toolbar. It opens a
> pop-up window getting its contents from the static html form. Because the
> origin of the popup is the same as the wiki server, there are no 
> cross-site
> scripting issues. The site title and url are passed to the html file as
> part of the url using  the u= and t= parameters.
>
> 2. A static html file used for a popup window.  I named mine form.html.
> This is a html file which is opened by the bookmarklet. The static file
> contains a form, and includes the javascript functions, and buttons to
> submit or cancel.  A javascript function is used to parse the parameters
> from the url and populate the forms. The file lives in the files/
> folder under your node wiki location.
>
> 3.The javascript file (funcs.js in this case)contains helper
> functions that send the form data to the node server using the WebServer
> API .
>
> 4. Run the server using the *csrf-disable* option set to *yes*.
>
> It's cool to see it working, but there's lot's of room for
> improvement. For example I'd like to grab some meta tags from the html as
> well as just the title and url.
>
> I put the files on github:
> https://github.com/amreus/bookmarking-to-tiddlywiki
>
> Let me know if you have any questions or thoughts. I'm just a hobbyist
> and all my knowledge comes from Stackoverflow, so any improvements would 
> be
> appreciated.
>
> Thanks for looking.
>
>
> On Sunday, October 4, 2020 at 8:45:53 PM UTC-4 joshua@gmail.com
> wrot

[tw5] Re: food for thought: "how the blog broke the web"

2020-10-26 Thread TiddlyTweeter
Ciao Chuck

Part of it is technology.

Technology is great but every new level increases complexity.

I tend to favour (hand) WRITING as its a pretty nice technology since 
decent graphite came along. Though chalk was awful.

But sure, the printing press, later, did allow me to reproduce some 
pamphlets so more than Mildred could read them.

With the advent of the internet I did think, for a while, that reproduction 
got even cheaper & effective.
Well IT DID. But it is SERIOUSLY INSUFFICIENT.

The problem is/was the SWAMP effect. 
Now, Mildred spends much of her time reading the "The Lost Cat Columns" 
rather than yours truly.

Just a comment
TT



On Saturday, 24 October 2020 16:04:59 UTC+2, Chuck R. wrote:
>
> I wouldn't say making publishing easy stifles creativity but it sure 
> lowers the signal to noise ratio quite a bit. There's just a whole lot more 
> junk to sift through now to find something that is quality. 
>
> On Thursday, October 22, 2020 at 12:34:37 PM UTC-4 rika.s...@gmail.com 
> wrote:
>
>> hey all, I came across this article called "how the blog broke the web. 
>> https://stackingthebricks.com/how-blogs-broke-the-web/
>>
>> I found it to be a fascinating expose of how the web became boring once 
>> services like Livejournal and Blogger made it easy for people to create 
>> journals, which in turn stifled creativity by templatizing journal entries. 
>> It got my gears turning to one, Wordpress; and two, today's trend of 'no 
>> code' webpages. Are we stifling creativity by making it *too *easy to 
>> use the Web? Are we doomed to live in a world of Tic Toc videos? And 
>> lastly, it got me thinking about my tiddlywiki and the customization 
>> options available that I haven't spent much time exploring yet :)
>>
>>
>>

-- 
You received this message because you are subscribed to 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/0975954e-008f-4fb6-ba09-1b268b7d765bo%40googlegroups.com.


[tw5] Re: Critiques: Tiddlywiki and Machine Learning

2020-10-26 Thread TiddlyTweeter
PMario & Atronoush

So. 

Mainly I despise those LinkedIn & Google things as they are stupid.

But, Yes on using TW to shun crowd-mind harvesting.

FWIW, TW's Empty is clean. What you get is a Virgin WebPage without 
diseases. 

BUT, as far as I know, there is NO concerted effort to oppose market 
surveillance by Google.

TW is a very reserved character that just disappears from The Struggle :-).

Thoughts from a superb of Moscow.

TT



On Sunday, 25 October 2020 12:54:32 UTC+1, PMario wrote:
>
> On Thursday, October 22, 2020 at 5:15:10 PM UTC+2, Atronoush wrote:
>>
>> These days using machine learning has affected software engineering in 
>> many ways.
>> For example, Gmail is smart and helps you in writing correct english and 
>> suggest sentences for you. LinkedIn suggests new connections, and there 
>> many mores like Google Assistant and Siri where they use artificial 
>> intelligence
>>
>
> Thanks for the reminder to get rid of gmail as a spy mail client. Google 
> is already like big brother and it's getting worse all the time. 
>
> IMO TiddlyWiki is about owning your data. 
>
> -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/129dafbc-207f-4faa-b371-5fecacc00c74o%40googlegroups.com.


Re: [tw5] Competition for v5.1.23 artwork

2020-10-26 Thread TiddlyTweeter
Ciao Bimlas

As that, but BIGGER numbers.
Its a metaphorical keyboard, not an actual one. 
One is still not quite getting the feeling of "The Shining" :-)

Isn't "23" meant to be special? 

Best wishes
TT

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

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


Re: [tw5] Competition for v5.1.23 artwork

2020-10-26 Thread TiddlyTweeter
Ciao Cyrill 

Ha!

Interesting take. Visually clever. Hats off!

Issue is "23". Surely it should be the largest for purpose?

Best wishes
TT

On Monday, 26 October 2020 09:54:46 UTC+1, Cyrill Andreani wrote:
>
> Hey Jeremy,
>
> For lack of time only a quick sketch and also only because of the idea of 
> the winner's podium, maybe someone can convert it into the specifications...
>
>
> [image: logo tw 5.1_edited.jpg]
> Best regards
>
> bimlas schrieb am Sonntag, 25. Oktober 2020 um 16:48:57 UTC+1:
>
>> > I think that the numbers don't jump out clearly enough from Bimlas' 
>> artwork.
>> > I'd think the sharpest contrast would be if the characters are white. 
>> But I can see how it needs some pretty colours so one idea would be to add 
>> some shimmer for the chassi part. Think CD disk reflection. Just an idea.
>>
>> For now, let’s look at it in white letters and see what it’s like.
>>
>> [image: v5.1.23.png]
>>
>>
>> > Here's an idea: Instead of the Q key, use a T to make it read TW... 
>>
>> Good idea, I didn't think of that. Originally, I also wanted to force the 
>> word "ZIP" on the image somehow because of the new Zip feature, but your 
>> idea fits the image better.
>>
>> > Amusingly, the idea echoes the cover artwork of a book of mine in the 
>> 1980s
>>
>> Classic but nice effect to play with keyboard keys. :)
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/10f531b9-120e-477f-bf24-76aa6d141860o%40googlegroups.com.


[tw5] Re: so: personal DreamHost for TW users?

2020-10-26 Thread TiddlyTweeter
Ciao Hans

Well, given current issues at DH, I'm reserving the right to withdraw these 
comments :-).

+++ All I can say *now*, as a reasonably priced hosting service I used for 
about a decade, they are good on being able to set stuff up, good on 
support.
Good management console. Good knowledge base.

--- Performance (page load speed) can be an issue if you accept defaults, 
which I think TiddlySpot did. Can be sluggish on load. However there are 
lots of options to improve it easily.

Best wishes
TT




On Saturday, 24 October 2020 17:53:11 UTC+2, Hans Wobbe wrote:
>
>
> Ciao TT:
>
> I gather you are a fan of DreamHost.  If you have a moment I would 
> appreciate a brief comment on how easy/difficult it might be to set up a 
> personal account that could host a single TW file.
>
> I've browsed their site a bit and it looks appealing, but I could not find 
> anything that reassures me specifically with respect to TW.
>
> Cheers,
> Hans
>
> On Saturday, October 24, 2020 at 11:10:17 AM UTC-4 TiddlyTweeter wrote:
>
>> Ciao Eric
>>
>> I will write to Dreamhost about this immediately.
>>
>> TT
>>
>>
>> On Saturday, 24 October 2020 15:58:27 UTC+2, Eric Shulman wrote:
>>>
>>> On Saturday, October 24, 2020 at 1:40:41 AM UTC-7, Eric Shulman wrote:

 I've sent email directly to Simon and Daniel Baird to let them know 
 about the problem.

>>>
>>> I just received a reply from Simon Baird... and he says: "It's not a 
>>> simple fix".
>>>
>>> Here's his blogspot posting explaining the situation: 
>>> http://tiddlyspot.blogspot.com
>>>
>>> -e
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5b46b7b0-365f-4d97-9eb0-0d78f39bo%40googlegroups.com.


Re: [tw5] Re: Bookmark to a TiddlyWiki Bookmarklet proof-of-concept.

2020-10-26 Thread amreus
2 initial thoughts..

1. This will only work with the TiddlyWiki node server. It does not work 
with the Bob server because it has a different API.
2. Be sure to use 127.0.0.1:8080 and not localhost:8080 in the bookmarklet. 
It matters to avoid the cross-site scripting issue.

I made some small changes to the files on github to remove the alert, but 
show the xhr.status in the popup.  The popup will close on success but 
remain open on an error.

If you still have errors, open the dev console (press F12 with the popup 
focused) before pressing the Save button and show the console text here. 
Since I am not getting any errors in either Firefox or Chrome, it's hard to 
know what is going on. Thanks.


On Monday, October 26, 2020 at 3:03:06 AM UTC-4 Atronoush wrote:

> The same error on Firefox!
>
> On Sun, Oct 25, 2020 at 11:41 PM amreus  wrote:
>
>> "Testing? We don't need no stinking Testing."
>>
>> Seriously, though I use Firefox and will need to try it using Chrome.  I 
>> don't have it installed but do have a portable version I can try. 
>>
>> If you know how to open the Chrome developer console, it would be helpful 
>> to see if there are any errors generated when you hot the "Save" button.
>>
>>
>>
>>
>> On Sunday, October 25, 2020 at 3:40:34 PM UTC-4 Atronoush wrote:
>>
>>> amreus
>>>  Thank you for sharing. I created a new wiki tiddlywiki mywiki --init 
>>> serverand then created an extra folder files in mywiki folder with 
>>> form.html and func.js as you advised.
>>>  Running new wiki using  tiddlywiki mywiki --listen csrf-disable=yes  
>>> everything 
>>> was fine
>>>  Now from TWMark bookmarks with bookmark.js, I tried to add a page to my 
>>> TW in Chrome 83.
>>>  The form opens and let me add tag and save!
>>>  But I got this error:
>>>
>>> localhost: 8080 says
>>> xhr.status: 0
>>>
>>>
>>>
>>> On Sun, Oct 25, 2020 at 8:50 PM amreus  wrote:
>>>
 Just wanted to post the latest code of my bookmarking-to-tw tests.  
 Briefly, it works by using a bookmark that opens a popup with a form that 
 is populated with the current site title and url, allows editing of 
 fields, 
 then sends the data as a new tiddler in a TiddlyWiki running on a node 
 server.  It's a 2-click solution.

 There are few parts to the setup, but the files are small and hopefully 
 understandable:

1. A bookmarklet
2. A static html form
3. Javascript functions
4. Server options


 1. The bookmarklet is placed in your browser's toolbar. It opens a 
 pop-up window getting its contents from the static html form. Because the 
 origin of the popup is the same as the wiki server, there are no 
 cross-site 
 scripting issues. The site title and url are passed to the html file as 
 part of the url using  the u= and t= parameters. 

 2. A static html file used for a popup window.  I named mine form.html. 
 This is a html file which is opened by the bookmarklet. The static file 
 contains a form, and includes the javascript functions, and buttons to 
 submit or cancel.  A javascript function is used to parse the parameters 
 from the url and populate the forms. The file lives in the files/ 
 folder under your node wiki location.

 3.The javascript file (funcs.js in this case)contains helper functions 
 that send the form data to the node server using the WebServer API 
 .

 4. Run the server using the *csrf-disable* option set to *yes*.  

 It's cool to see it working, but there's lot's of room for improvement. 
 For example I'd like to grab some meta tags from the html as well as just 
 the title and url.  

 I put the files on github: 
 https://github.com/amreus/bookmarking-to-tiddlywiki 

 Let me know if you have any questions or thoughts. I'm just a hobbyist 
 and all my knowledge comes from Stackoverflow, so any improvements would 
 be 
 appreciated.

 Thanks for looking.


 On Sunday, October 4, 2020 at 8:45:53 PM UTC-4 joshua@gmail.com 
 wrote:

> I've been tinkering with batch importing from Chrome an dFirefox, but 
> that did not solve the "once I have them all in TW what to do going 
> forward" with my TWBookmarks ideas. I will have to come back to this, 
> thanks!
>
> I think this is a great start! Here is the pertinent Docs on 
> Tiddlywiki.com:
>
> https://tiddlywiki.com/#WebServer:WebServer%20%5B%5BWebServer%20API%5D%5D%20%5B%5BWebServer%20API%3A%20Put%20Tiddler%5D%5D%20%5B%5BTiddlyWeb%20JSON%20tiddler%20format%5D%5D
>
> Best,
> Joshua Fontny
>
> On Sunday, October 4, 2020 at 1:20:09 PM UTC-7 amreus wrote:
>
>> Just playing with an idea I might have read about on this forum.  
>> It's not completely  functioning at moment, but enough of it is that I'm 
>> certain it can be made to w

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

2020-10-26 Thread TiddlyTweeter
Ciao Mark

Quick update. I host several sites at DH. I'm having similar issues on some 
of them too.

The issues with TiddlySpot should not be seen in isolation, there are 
several different things going on.

A specific issue with TiddlySpot, linked to by Eric, is outlined 
here: http://tiddlyspot.blogspot.com/
and is likely related to what DH see as the right mechanism for "backups."

FWIW, I think DH, right now, are overwhelmed with support requests. They 
haven't replied to mine yet of two days ago.

Best wishes
TT

On Friday, 23 October 2020 21:44:47 UTC+2, Mark S. wrote:
>
> The message displayed at tiddlyspot doesn't inspire great confidence. They 
> seem to be offering to sell the site.
>
>
>

-- 
You received this message because you are subscribed to 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/319b7958-f2b4-4538-8df1-b713b7d5b965o%40googlegroups.com.


[tw5] Re: Unicode discovery additional alphabets and tiddlywiki, and a keyboard Question

2020-10-26 Thread TiddlyTweeter
TW Tones wrote:
>
>
> I have discovered that the Unicode standard has additional alphanumeric 
> characters here https://www.unicode.org/charts/PDF/U1D400.pdf
>

 Unicode is brilliant. Its an "elusive obvious". One to explicitly use a 
lot, lot more.

The PROBLEM now is not lack of machine support--its the problem of being 
SURE the glyphs you are using have proper FONT support.

This is no problem on local machines because IF you have the glyph in a 
font on your machine it will show up.

The problem is only IF you want to be sure an end user ONLINE can see the 
glyph. There its more complex.

A reasonable route for TW is to check the presence of the glyphs in the 
fonts listed in TW (mainly Mac fonts in the Empty download?) .
This is because one needs to beware of getting confused by the "local 
machine's" cascade of font substitution. 
That is exactly where Unicode support can get confusing.

FWIW, I use BabelMap to double check that specific TW (Standard Windows 10) 
fonts contain the needed glyphs IF the TW is destined for on-line.

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/3b52c279-1c78-4c24-ba2d-1f4c0d1a0988o%40googlegroups.com.


[tw5] Re: Unicode discovery additional alphabets and tiddlywiki, and a keyboard Question

2020-10-26 Thread TiddlyTweeter
Please note I updated my last post to clarify the usage as follows.

On Monday, 26 October 2020 08:27:49 UTC+1, TiddlyTweeter wrote:
>
> Tones
>
> There are numerous Windows utilities for this, as well as Windows own 
> keyboard mapping utils (somewhat cumbersome to set up).
>
> In my own case I daily use PopChar (full blown utility that also shows the 
> font supported variants) & FrKeys (old XP utility that stiil works and is 
> nicely minimal, very easy to configure.)
>
> ADDED ... I should have added that I run these using "click-on-character" 
> rather than keyboard assignments. Since FrKeys I always foreground its 
> never "a number of strokes needed" issue and its fully portable between 
> Windows systems.
>
> In TW, for standard use, I tend to use the editor's stamp tool  too since 
> it can be configured to "pair" opening and closing strings.
>
> Best wishes
> TT
>
> On Monday, 26 October 2020 02:56:26 UTC+1, TW Tones wrote:
>>
>> Folks,
>>
>> I have discovered that the Unicode standard has additional alphanumeric 
>> characters here https://www.unicode.org/charts/PDF/U1D400.pdf
>>
>> The are commonly used to represent variable and other mathematical or 
>> algebraic symbols. More often than not these will be used within a formula. 
>> Some of out tiddlywiki users are mathematicians and will be familiar with 
>> this.
>>
>> If however you are not a mathematician they remain available to be used 
>> in a novel way. For example a tiddler named list uses a different full 
>> width character set and their are at least 6 other full alpha numeric sets.
>>
>> In tiddlywiki it actually supports these character sets as tiddler titles 
>> and the search will not find them unless you are searching using characters 
>> from the alternate set. These characters display differently like list 
>> or 𝓵𝓲𝓼𝓽 or 𝐋𝐢𝐬𝐭.
>>
>> Now I see quite a lot of uses for this but there is one thing I can't 
>> find, I want to quickly remap my keyboard to use one of the alternate sets 
>> only for alphanumeric keys, upper and lower case, and switch back with 
>> ease, All my searches point to changing languages, or entering Unicode from 
>> a multi-key strokes and not what I need.
>>
>> Any ideas or pointers would be great. 
>>
>>- I am using windows 10
>>- There must be software already for this is my guess
>>- It would be ideal if a onscreen keyboard is needed, that while open 
>>you can use the matching key to type text off the physical keyboard.
>>
>> Why?
>>
>>- This effectively creates an additional namespace for each 
>>character set, remember these look like different fonts but they are also 
>>different characters.
>>- An example may be for different tiddlers named list, list, 𝓵𝓲𝓼𝓽 
>>or 𝐋𝐢𝐬𝐭. 
>>   - One could be a standard tiddler "list", a tiddler to transclude 
>>   for lists, a tiddler defining a variable called 𝓵𝓲𝓼𝓽 etc...
>>- I have tested tiddler titles and macro definitions and they work 
>>and are different from those with the standard character set.
>>- There are other opportunities exposed by this if I can find an easy 
>>way to use them, this post would be too long winded I tried to share 
>> these 
>>now. 
>>
>> Thanks in advance if you have any experience with this and can share.
>>
>> Tones
>>
>

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


[tw5] Re: Unicode discovery additional alphabets and tiddlywiki, and a keyboard Question

2020-10-26 Thread TiddlyTweeter
Tones

There are numerous Windows utilities for this, as well as Windows own 
keyboard mapping utils (somewhat cumbersome to set up).

In my own case I daily use PopChar (full blown utility that also shows the 
font supported variants) & FrKeys (old XP utility that stiil works and is 
nicely minimal, very easy to configure.)

In TW, for standard use, I tend to use the editor's stamp tool  too.

Best wishes
TT

On Monday, 26 October 2020 02:56:26 UTC+1, TW Tones wrote:
>
> Folks,
>
> I have discovered that the Unicode standard has additional alphanumeric 
> characters here https://www.unicode.org/charts/PDF/U1D400.pdf
>
> The are commonly used to represent variable and other mathematical or 
> algebraic symbols. More often than not these will be used within a formula. 
> Some of out tiddlywiki users are mathematicians and will be familiar with 
> this.
>
> If however you are not a mathematician they remain available to be used in 
> a novel way. For example a tiddler named list uses a different full width 
> character set and their are at least 6 other full alpha numeric sets.
>
> In tiddlywiki it actually supports these character sets as tiddler titles 
> and the search will not find them unless you are searching using characters 
> from the alternate set. These characters display differently like list 
> or 𝓵𝓲𝓼𝓽 or 𝐋𝐢𝐬𝐭.
>
> Now I see quite a lot of uses for this but there is one thing I can't 
> find, I want to quickly remap my keyboard to use one of the alternate sets 
> only for alphanumeric keys, upper and lower case, and switch back with 
> ease, All my searches point to changing languages, or entering Unicode from 
> a multi-key strokes and not what I need.
>
> Any ideas or pointers would be great. 
>
>- I am using windows 10
>- There must be software already for this is my guess
>- It would be ideal if a onscreen keyboard is needed, that while open 
>you can use the matching key to type text off the physical keyboard.
>
> Why?
>
>- This effectively creates an additional namespace for each 
>character set, remember these look like different fonts but they are also 
>different characters.
>- An example may be for different tiddlers named list, list, 𝓵𝓲𝓼𝓽 
>or 𝐋𝐢𝐬𝐭. 
>   - One could be a standard tiddler "list", a tiddler to transclude 
>   for lists, a tiddler defining a variable called 𝓵𝓲𝓼𝓽 etc...
>- I have tested tiddler titles and macro definitions and they work and 
>are different from those with the standard character set.
>- There are other opportunities exposed by this if I can find an easy 
>way to use them, this post would be too long winded I tried to share these 
>now. 
>
> Thanks in advance if you have any experience with this and can share.
>
> Tones
>

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


Re: [tw5] Re: Bookmark to a TiddlyWiki Bookmarklet proof-of-concept.

2020-10-26 Thread Atronoush Parsi
The same error on Firefox!

On Sun, Oct 25, 2020 at 11:41 PM amreus  wrote:

> "Testing? We don't need no stinking Testing."
>
> Seriously, though I use Firefox and will need to try it using Chrome.  I
> don't have it installed but do have a portable version I can try.
>
> If you know how to open the Chrome developer console, it would be helpful
> to see if there are any errors generated when you hot the "Save" button.
>
>
>
>
> On Sunday, October 25, 2020 at 3:40:34 PM UTC-4 Atronoush wrote:
>
>> amreus
>>  Thank you for sharing. I created a new wiki tiddlywiki mywiki --init
>> serverand then created an extra folder files in mywiki folder with
>> form.html and func.js as you advised.
>>  Running new wiki using  tiddlywiki mywiki --listen csrf-disable=yes  
>> everything
>> was fine
>>  Now from TWMark bookmarks with bookmark.js, I tried to add a page to my
>> TW in Chrome 83.
>>  The form opens and let me add tag and save!
>>  But I got this error:
>>
>> localhost: 8080 says
>> xhr.status: 0
>>
>>
>>
>> On Sun, Oct 25, 2020 at 8:50 PM amreus  wrote:
>>
>>> Just wanted to post the latest code of my bookmarking-to-tw tests.
>>> Briefly, it works by using a bookmark that opens a popup with a form that
>>> is populated with the current site title and url, allows editing of fields,
>>> then sends the data as a new tiddler in a TiddlyWiki running on a node
>>> server.  It's a 2-click solution.
>>>
>>> There are few parts to the setup, but the files are small and hopefully
>>> understandable:
>>>
>>>1. A bookmarklet
>>>2. A static html form
>>>3. Javascript functions
>>>4. Server options
>>>
>>>
>>> 1. The bookmarklet is placed in your browser's toolbar. It opens a
>>> pop-up window getting its contents from the static html form. Because the
>>> origin of the popup is the same as the wiki server, there are no cross-site
>>> scripting issues. The site title and url are passed to the html file as
>>> part of the url using  the u= and t= parameters.
>>>
>>> 2. A static html file used for a popup window.  I named mine form.html.
>>> This is a html file which is opened by the bookmarklet. The static file
>>> contains a form, and includes the javascript functions, and buttons to
>>> submit or cancel.  A javascript function is used to parse the parameters
>>> from the url and populate the forms. The file lives in the files/
>>> folder under your node wiki location.
>>>
>>> 3.The javascript file (funcs.js in this case)contains helper functions
>>> that send the form data to the node server using the WebServer API
>>> .
>>>
>>> 4. Run the server using the *csrf-disable* option set to *yes*.
>>>
>>> It's cool to see it working, but there's lot's of room for improvement.
>>> For example I'd like to grab some meta tags from the html as well as just
>>> the title and url.
>>>
>>> I put the files on github:
>>> https://github.com/amreus/bookmarking-to-tiddlywiki
>>>
>>> Let me know if you have any questions or thoughts. I'm just a hobbyist
>>> and all my knowledge comes from Stackoverflow, so any improvements would be
>>> appreciated.
>>>
>>> Thanks for looking.
>>>
>>>
>>> On Sunday, October 4, 2020 at 8:45:53 PM UTC-4 joshua@gmail.com
>>> wrote:
>>>
 I've been tinkering with batch importing from Chrome an dFirefox, but
 that did not solve the "once I have them all in TW what to do going
 forward" with my TWBookmarks ideas. I will have to come back to this,
 thanks!

 I think this is a great start! Here is the pertinent Docs on
 Tiddlywiki.com:

 https://tiddlywiki.com/#WebServer:WebServer%20%5B%5BWebServer%20API%5D%5D%20%5B%5BWebServer%20API%3A%20Put%20Tiddler%5D%5D%20%5B%5BTiddlyWeb%20JSON%20tiddler%20format%5D%5D

 Best,
 Joshua Fontny

 On Sunday, October 4, 2020 at 1:20:09 PM UTC-7 amreus wrote:

> Just playing with an idea I might have read about on this forum.  It's
> not completely  functioning at moment, but enough of it is that I'm 
> certain
> it can be made to work.
>
> I made a browser bookmarklet that opens a popup window to your local
> node tiddlywiki, and appends to the wiki address the url and title of a 
> web
> site. (Basically sends a HTTP GET request to your wiki, passing the site
> url and title in the query string.)
>
> The wiki has a tiddler that parses the request back into a url and
> title variable, which can then be used to create tiddlers, etc.
>
> I tried to write up some instructions here
> . Apologies if I'm terse.
> Please ask if you have questions or feedback.
>
> Thanks for looking.
>
>
>
>
> --
>>> You received this message because you are subscribed to the Google
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to tiddlywiki+...@googlegroups.com.
>>> To view this discu