Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-21 Thread Mohammad
Hi TT, See this thread https://groups.google.com/g/tiddlywiki/c/37B5uhgbJwE/m/UQjhtV42BgAJ On Friday, May 21, 2021 at 12:46:07 PM UTC+4:30 TiddlyTweeter wrote: > TW Tones wrote (edited by TT): > >> Have you used ... OneTab addon for Chrome and Firefox? ... close all >> unpinned tabs with a

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-21 Thread Mohammad Rahmani
Best wishes Mohammad On Fri, May 21, 2021 at 12:46 PM TiddlyTweeter wrote: > TW Tones wrote (edited by TT): > >> Have you used ... OneTab addon for Chrome and Firefox? ... close all >> unpinned tabs with a click. >> > Then one tab lists these tabs as links which you can open each with a >>

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-21 Thread Mohammad Rahmani
On Fri, May 21, 2021 at 12:35 PM TiddlyTweeter wrote: > Mohammad wrote: > >> >> So, I have created an entry in my Tiddlywiki-Lab and collected your ideas! >> > > Ha! Is that on GitHub? If do does it have a discussion? > I'd be happy to carry on with this thread there. > No it is a local repo!

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-21 Thread TiddlyTweeter
TW Tones wrote (edited by TT): > Have you used ... OneTab addon for Chrome and Firefox? ... close all > unpinned tabs with a click. > Then one tab lists these tabs as links which you can open each with a click. > > Now I mention it because it is a great way to collect a vast list if links >

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-21 Thread TiddlyTweeter
Mohammad wrote: > > So, I have created an entry in my Tiddlywiki-Lab and collected your ideas! > Ha! Is that on GitHub? If do does it have a discussion? I'd be happy to carry on with this thread there. Best wishes, TT -- You received this message because you are subscribed to the Google

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-20 Thread TW Tones
Mohammad et al, Have you used the free OneTab addon for Chrome and Firefox? It allows you to close all unpinned tiddlers with a click. Then one tab lists these closed tabs as links which you can open each with a click. Now I mention it because it is a great way to collect a vast list if links

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-20 Thread Mohammad Rahmani
Hi TT, I like all your comments and ideas! Part of them can be addressed using Wikitex (where I understand the code) and part can be implemented with JS. So, I have created an entry in my Tiddlywiki-Lab and collected your ideas! By the way let's see if we can get other opinion ideas helping to

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-19 Thread TiddlyTweeter
Ciao TW Tones TW Tones wrote: ... > First I am focusing on dragging anything and it "is or becomes a tiddler" > or something according to where you drop it, including a JSON tiddler and > plugins. > Yes it depends on where you drop it. > > Just for context I am using the recent bucket, streams

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-19 Thread TiddlyTweeter
Mohammad wrote ... > If I have found free time, I will look in my collection of bookmarklets! I > think there are several solutions, one of them works with Node.JS and is > very similar to TiddlyClip! > Right! I certainly think that having a collection of *bookmarklets* for use alongside TW

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-18 Thread TW Tones
TT, I understand your concern. *MORE THAN ONE THING INVOLVED?* First I am focusing on dragging anything and it "is or becomes a tiddler" or something according to where you drop it, including a JSON tiddler and plugins. Yes it depends on where you drop it. Just for context I am using the

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-18 Thread Mohammad Rahmani
Thank you Tones for clarification! Good point! Best wishes Mohammad On Tue, May 18, 2021 at 1:06 PM TW Tones wrote: > Mohammad et all. > > On Tuesday, 18 May 2021 at 16:03:45 UTC+10 Mohammad wrote: > > Just to supplement the drag and drop conversation I wanted to point out a > few more

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-18 Thread TiddlyTweeter
TW Tones wrote ... > >1. Drag /download " objects from one wiki to another" such as todos >and streams and more ... > > Right! The one aspect of your post that needs beefing is to clarify there is MORE THAN ONE THING INVOLVED. HOW to develop a consistent conformity? Do ALL things get

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-18 Thread TW Tones
Mohammad et all. On Tuesday, 18 May 2021 at 16:03:45 UTC+10 Mohammad wrote: Just to supplement the drag and drop conversation I wanted to point out a few more methods I use - If you download a wiki simply clicking on it will open it in the browser (no need for opening your file manger)

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-18 Thread Mohammad Rahmani
Hi Tones! Thank you for this! On Tue, May 18, 2021 at 3:56 AM TW Tones wrote: > Folks, > > Just to supplement the drag and drop conversation I wanted to point out a > few more methods I use > >- If you download a wiki simply clicking on it will open it in the >browser (no need for

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-18 Thread Mohammad Rahmani
Hi TT, Very nice, simple and semantic! If I have found free time, I will look in my collection of bookmarklets! I think there are several solutions, one of them works with Node.JS and is very similar to TiddlyClip! Best wishes Mohammad On Mon, May 17, 2021 at 1:57 PM TiddlyTweeter wrote: >

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-17 Thread TW Tones
Folks, Just to supplement the drag and drop conversation I wanted to point out a few more methods I use - If you download a wiki simply clicking on it will open it in the browser (no need for opening your file manger) - If you download a plugin or JSON in Chrome (listed at bottom) or

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-17 Thread TiddlyTweeter
Mohammad ... ... Footnote to my last ... in browser the experimental Bookmarklet for WikiLink versions of title/url looks like this ... [image: Screenshot 2021-05-17 113231.jpg] On Monday, 17 May 2021 at 11:27:35 UTC+2 TiddlyTweeter wrote: > Ciao > > The whole thread is very interesting! It

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-17 Thread TiddlyTweeter
Ciao The whole thread is very interesting! It touches on a lot of things. Unfortunately my mind is going in different directions :-(. I'm trying to think *what an INTEGRATED LINK HARVESTER would look like?* ONE interface, multiple methods? For instance to capture page TITLES, not just urls,

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-16 Thread Mohammad Rahmani
@Tones I see some useful ideas in your post! but we need to separate them and see how we can tackle them @TT I think we need a proper regex pattern to handle these cases like youtube links ( a great example) Still I am not clear how you drop a tiddler on the same dropzone and why not use a simple

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-16 Thread Mohammad Rahmani
On Sat, May 15, 2021 at 9:36 AM TiddlyTweeter wrote: > Mohammad wrote: > >> I did some modification with respect to your latest request. >> > > Thankyou! > > >> But I myself prefer to edit the new bookmark in its own tiddler >> the reason is the current solution may overwrite if you have

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-16 Thread TiddlyTweeter
Ciao Tones & Mohammad TW Tones wrote: > >- > - So we can test a title for prefixes http/https/mailto/ftp/file etc > - Suffixes .jpg/ .png/ .htm/.html/index.html/"/" also lets us > further characterise tiddler titles sourced from URL/URI's > - We can even test for

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-15 Thread TW Tones
Mohammad, Thanks for your work on this. I just wanted to share/dump some thoughts that we may consider. - I support the idea of tiddler per link because there are many ways in which a drag can create a tiddler - Examples include in projectify and Streams, from the side bar,

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-14 Thread TiddlyTweeter
Mohammad wrote: > I did some modification with respect to your latest request. > Thankyou! > But I myself prefer to edit the new bookmark in its own tiddler > the reason is the current solution may overwrite if you have another > tiddler with the modified title > Right! For your

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-14 Thread Mohammad Rahmani
Hi Josiah, I did some modification with respect to your latest request. But I myself prefer to edit the new bookmark in its own tiddler the reason is the current solution may overwrite if you have another tiddler with the modified title Changes 1. use latest pattern by TT 2. use latest

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-14 Thread TiddlyTweeter
Mohammad wrote: > On Thu, May 13, 2021 at 1:55 PM TiddlyTweeter wrote: > >> UPDATE: This is slightly better: {{{ [search-replace:gi:regexp[^ >> *(https?://(www\.)?|ftp:///|file:///.+/|news:|mailto:|\$:.*/)],[]] }}} > > > YES! I tested and it works fine for me! > *Good! * In playing with your

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-14 Thread TiddlyTweeter
Mohammad wrote: > 3. Regarding the data of access, yes you can remove it, but I think APA7 > recommend having the access date! > *Right! * Both APA & Chicago citation style manuals, correctly, for full citation from the web, need the "access date" adding. If you don't need that kind of

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-13 Thread Mohammad Rahmani
On Thu, May 13, 2021 at 1:55 PM TiddlyTweeter wrote: > UPDATE: This is slightly better: {{{ [search-replace:gi:regexp[^ > *(https?://(www\.)?|ftp:///|file:///.+/|news:|mailto:|\$:.*/)],[]] }}} YES! I tested and it works fine for me! Thank you > -- > You received this message because you are

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-13 Thread TiddlyTweeter
UPDATE: This is slightly better: {{{ [search-replace:gi:regexp[^ *(https?://(www\.)?|ftp:///|file:///.+/|news:|mailto:|\$:.*/)],[]] }}} -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-13 Thread TiddlyTweeter
Ciao Mohammad Rather than "trim" I did an experiment with the newish search-replace operator {{{ [search-replace:gi:regexp[^ *(https?://(www\.)?|ftp:///|file:///.+/|news:|mailto:|\$:.+/)],[]] }}} *Still in testing!* It needs work yet. BUT

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-12 Thread TW Tones
I understood the TT issue correctly, or I can imagine another; a link from one wiki https://tiddlywiki.com/#Community could result in a link [[Community]] in a destination drop zone, this makes me think of absolute and relative links encountered in Excel or other spreadsheets. This is useful

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-12 Thread Mohammad Rahmani
On Wed, May 12, 2021 at 11:54 PM TiddlyTweeter wrote: > TiddlyTweeter wrote: >> >>> NO. NOT for those internal links. I simply d-n-d from within the wiki >>> itself. >> >> Mohammad wrote: > >> Okay! As I assumed Bookmarker is used to bookmark external links! For me >> external links work fine!

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-12 Thread TiddlyTweeter
> > TiddlyTweeter wrote: > >> NO. NOT for those internal links. I simply d-n-d from within the wiki >> itself. > > Mohammad wrote: > Okay! As I assumed Bookmarker is used to bookmark external links! For me > external links work fine! > You can check the type of item (dragged and dropped

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-12 Thread Mohammad Rahmani
On Wed, May 12, 2021 at 11:07 PM TiddlyTweeter wrote: > NO. NOT for those internal links. I simply d-n-d from within the wiki > itself. Okay! As I assumed Bookmarker is used to bookmark external links! For me external links work fine! You can check the type of item (dragged and dropped item)

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-12 Thread TiddlyTweeter
NO. NOT for those internal links. I simply d-n-d from within the wiki itself. Mohammad asked: > Do you drag the link from browser address bar? > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-12 Thread Mohammad
Do you drag the link from browser address bar? On Wednesday, May 12, 2021 at 10:26:33 PM UTC+4:30 TiddlyTweeter wrote: > TiddlyTweeter wrote: >> > I added to the Pattern so the local system wiki could be included too ... >>> >>> pattern="^\ *(\$|https?|ftp|file|news|data|mailto):.+$" >>> >>

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-12 Thread TiddlyTweeter
> > TiddlyTweeter wrote: > >> I added to the Pattern so the local system wiki could be included too ... >> >> pattern="^\ *(\$|https?|ftp|file|news|data|mailto):.+$" >> > Mohammad wrote: > This is your area of expertise! I tested your proposed pattern and it > works fine for me! > >> >> It

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-12 Thread Mohammad Rahmani
On Wed, May 12, 2021 at 8:45 PM TiddlyTweeter wrote: > Ciao Mohammad Hi TT, > > I got VERY interested in what you doing on this ... > Thank you! > > I added to the Pattern so the local system wiki could be included too ... > > pattern="^\ *(\$|https?|ftp|file|news|data|mailto):.+$" >

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-12 Thread TiddlyTweeter
Ciao Mohammad I got VERY interested in what you doing on this ... I added to the Pattern so the local system wiki could be included too ... pattern="^\ *(\$|https?|ftp|file|news|data|mailto):.+$" It is NOT a solution as the trim [] makes $: unusable. BUT my key point is that your concept

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-10 Thread Mohammad Rahmani
On Tue, May 11, 2021 at 1:00 AM TiddlyTweeter wrote: > Mohammad wrote: > >> Hi TT, >> > > >> In my own testing so far this more minimal regex seems to work ... !! >>> >>>- pattern="^\ *(https?|ftp|file|news|data|mailto):.+$ >>> >>> Lovely! one minor comment: >> >> 1. I like to check the

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-10 Thread TiddlyTweeter
Mohammad wrote: > Hi TT, > > In my own testing so far this more minimal regex seems to work ... !! >> >>- pattern="^\ *(https?|ftp|file|news|data|mailto):.+$ >> >> Lovely! one minor comment: > > 1. I like to check the validity of links! So if one drops something > like this

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-10 Thread Mohammad Rahmani
On Mon, May 10, 2021 at 11:42 PM TiddlyTweeter wrote: > Ciao Mohammad > > To clarify, I worked a bit to get the tool to first post to a temporary > you can edit ... > > This is JUST a visual demo of the *general idea to edit before save??* > WOW, very nice! The possibility to edit the title in

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-10 Thread Mohammad Rahmani
On Mon, May 10, 2021 at 4:04 PM TiddlyTweeter wrote: > Ciao Mohammad Hi TT, > > In my own testing so far this more minimal regex seems to work ... !! > >- pattern="^\ *(https?|ftp|file|news|data|mailto):.+$ > > Lovely! one minor comment: 1. I like to check the validity of links! So if

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-10 Thread Mohammad Rahmani
Thank you Jeremy and TT for the hints! I will give a try! Best wishes Mohammad On Mon, May 10, 2021 at 3:29 PM TiddlyTweeter wrote: > jeremy...@gmail.com wrote: > >> Sadly, browsers do not allow JavaScript code running in TiddlyWiki to >> obtain the window title corresponding to a particular

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-10 Thread TiddlyTweeter
Ciao Mohammad To clarify, I worked a bit to get the tool to first post to a temporary you can edit ... This is JUST a visual demo of the *general idea to edit before save??* JUST thoughts, TT [image: Screenshot 2021-05-10 210424.jpg] On Monday, 10 May 2021 at 13:34:09 UTC+2 TiddlyTweeter

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-10 Thread TiddlyTweeter
Ciao Mohammad In my own testing so far this more minimal regex seems to work ... !! - pattern="^\ *(https?|ftp|file|news|data|mailto):.+$ With something like this ... - {{{

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-10 Thread TiddlyTweeter
jeremy...@gmail.com wrote: > Sadly, browsers do not allow JavaScript code running in TiddlyWiki to > obtain the window title corresponding to a particular URL. > > A different approach that could work is to write a bookmarklet that runs > in the context of the page being bookmarked; it would

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-10 Thread Jeremy Ruston
Sadly, browsers do not allow JavaScript code running in TiddlyWiki to obtain the window title corresponding to a particular URL. A different approach that could work is to write a bookmarklet that runs in the context of the page being bookmarked; it would have full access to the page content,

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-10 Thread TiddlyTweeter
Ciao Mohammad & si-matthew si wrote: > >> @Mohammad Really nice! I've stayed away from drag and drop up until now, >> so I look forward to seeing what you come up with. >> >> The bookmarker is a great example. It works particularly well in Vivaldi >> if you have your wiki open in the sidebar

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-10 Thread Mohammad Rahmani
On Mon, May 10, 2021 at 12:58 AM si wrote: > @Mohammad Really nice! I've stayed away from drag and drop up until now, > so I look forward to seeing what you come up with. > > The bookmarker is a great example. It works particularly well in Vivaldi > if you have your wiki open in the sidebar - no

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-10 Thread Mohammad Rahmani
Best wishes Mohammad On Mon, May 10, 2021 at 10:52 AM TW Tones wrote: > Mohammad, > > I dropped rev02 on triddlywiki.com and its a not working, the only > symptom I see is the green download bar is displayed. > Tones, I checked the rev02 again! It works! Note only drag and drop a valid link!

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-10 Thread TW Tones
Mohammad, I dropped rev02 on triddlywiki.com and its a not working, the only symptom I see is the green download bar is displayed. Tones On Sunday, 9 May 2021 at 15:53:07 UTC+10 Mohammad wrote: > Hi TT, > Good to read your reply! I was writing you and I saw your email > >1. the regex is

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-08 Thread Mohammad Rahmani
On Sun, May 9, 2021 at 9:07 AM TiddlyTweeter wrote: > Ciao Mohammad > > Mohammad wrote: > >> *Example 1: Bookmarker Zone* >> >> Drag and drop a valid url to create a bookmark >> > > Just FYI, I haven't got it working in my Firefox yet. Chrome, yes. Maybe > that is just me? Something weird in my

Re: [tw5] Re: Demystify drag-N-drop in Tiddlywiki

2021-05-08 Thread Mohammad Rahmani
Hi TT, Good to read your reply! I was writing you and I saw your email 1. the regex is your area of expertise, please check the pattern, I just generated it in regex101 and not sure if it correct but it works 2. yes, please add the file:/// 3. a second version is attached which is