--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/9b2693fd-6abf-4763-ac8b-986ef94b82c0n%40googlegroups.com.
Example 1: Bookmarker ZoneDrag and drop a valid url to create a bookmark
I've been using something like this for awhile to allow collection of the complete information for an article or other net resource ...
It's sort of like the web clipper, but doesn't require an extension. You select the category you want from the dropdown, and then drag and drop whatever bits (title, text, url, tags) you want onto the right target. You can add or remove tags to the working tiddler. ...
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/8958229d-95ba-4b8e-a719-a9b184ee6c23n%40googlegroups.com.
Ciao MohammadMohammad wrote:Example 1: Bookmarker ZoneDrag and drop a valid url to create a bookmarkJust FYI, I haven't got it working in my Firefox yet. Chrome, yes. Maybe that is just me? Something weird in my Firefox?
Couple of other points ...
- I might try and adapt a version so that the links are stored in data dictionaries. That better suits my practice as I just tend to use links for a while and then delete them. All I normally use is the link and its title. Dates unneeded for me.
Its very good to see an example like yours to better understand d-n-d! Tx!
- I also link a lot to local files and wiki. So I'd try and change the "url parsing" to accept "file:///"
Best wishesTT
--
Mohammad,I dropped rev02 on triddlywiki.com and its a not working, the only symptom I see is the green download bar is displayed.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b2f49b70-0a3f-4228-8083-2c1695ee3104n%40googlegroups.com.
@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 having to jump between tabs. It would be cool if it could pull the title of the page as well as the URL, but I imagine this would require some JavaScript magic?
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/108555ea-cba8-4082-81bb-11ee63a79d35n%40googlegroups.com.
si <matthew...@gmail.com> 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 having to jump between tabs. It would be cool if it could pull the title of the page as well as the URL, but I imagine this would require some JavaScript magic?
I like this feature too! I think yes JS is needed, at least I do not know how to extract data using wikitext!
but I am looking forward to any solution / idea.
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/6c32036c-ade2-4118-a23a-60cca3103cean%40googlegroups.com.
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, including the window title. It wouldn't have access to TiddlyWiki, though, so perhaps the best it could do is to popup a window to fill in the tags etc, and then download a .json file of the link tiddler that could later be imported into a wiki.
@TT I'm also finding that it doesn't work in Firefox (v88, Windows 10).
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/dcf15650-7d95-4ca7-bfe4-6b03d710e04an%40googlegroups.com.
In my own testing so far this more minimal regex seems to work ... !!
- pattern="^\ *(https?|ftp|file|news|data|mailto):.+$
With something like this ...Any of those protocols a user does not support yet in a browser should be prompted for by the BROWSER.
- {{{ [<url>trim[https://]trim[http://]trim[www.]trim[ftp://]trim[file:///]trim[news:]trim[mailto:]split[/]!is[blank]first[]join[.]] }}}
Just a comment. NOT fully tested yet but seems okay so far.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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0894700b-b0b7-436a-b662-02dea0fd8a56n%40googlegroups.com.
Ciao MohammadTo 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, TTOn Monday, 10 May 2021 at 13:34:09 UTC+2 TiddlyTweeter wrote:Ciao MohammadIn my own testing so far this more minimal regex seems to work ... !!
- pattern="^\ *(https?|ftp|file|news|data|mailto):.+$
With something like this ...Any of those protocols a user does not support yet in a browser should be prompted for by the BROWSER.
- {{{ [<url>trim[https://]trim[http://]trim[www.]trim[ftp://]trim[file:///]trim[news:]trim[mailto:]split[/]!is[blank]first[]join[.]] }}}
Just a comment. NOT fully tested yet but seems okay so far.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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/228e26fa-1040-49e0-b395-ce5c8323b214n%40googlegroups.com.
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 (http.yahoo.com) or this (yahoo.come.) it wont detect this and will add the wrong link!So, I prefer a URL validator for pattern. What I sent catches all these and only passed the validated URL.
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 (http.yahoo.com) or this (yahoo.come.) it wont detect this and will add the wrong link!So, I prefer a URL validator for pattern. What I sent catches all these and only passed the validated URL.RIGHT!I differ in ASSUMING the link IN is VALID. I don't want to deal with naughty boys.That is part of the value of showing the TITLE & LINK for edit though, so you can DISCARD errant boys.
Personally I am NOT inclined to parse links for perfection.What if they are in Chinese?
The issue with your extra parsing is it I do not think it is entirely fair?Just a question!!!TT, x
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3c9e0f84-f512-41ee-b109-2863e67a0dban%40googlegroups.com.
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 behind this tool idea is right-on-the-ball.It is a very elegant, simple, idea that I hope will develop into a full-scale utility!
Best wishesTT
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0ed7f98d-0890-465e-91af-04c577b8c4d9n%40googlegroups.com.
TiddlyTweeter wrote:
I added to the Pattern so the local system wiki could be included too ...pattern="^\ *(\$|https?|ftp|file|news|data|mailto):.+$"
This is your area of expertise! I tested your proposed pattern and it works fine for me!It is NOT a solution as the trim [] makes $: unusable.The trim[] can be replaced with a remove prefix or split[], but it is the simplest!I did not get what the issue is with $!
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 receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7bd5269c-6503-41aa-a8cf-fbe593f38eecn%40googlegroups.com.
TiddlyTweeter <Tiddly...@assays.tv> 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) to see if it is a tiddler and then you can take better / separate action.
Just a comment, 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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/37914e56-09a1-4cd6-9c32-351dfe4f586bn%40googlegroups.com.
UPDATE: This is slightly better: {{{ [<url>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 from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ae39660f-626a-44ed-8972-398ec3c27114n%40googlegroups.com.
3. Regarding the data of access, yes you can remove it, but I think APA7 recommend having the access date!
UPDATE: This is slightly better: {{{ [<url>search-replace:gi:regexp[^ *(https?://(www\.)?|ftp:///|file:///.+/|news:|mailto:|\$:.*/)],[]] }}}YES! I tested and it works fine for me!
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/6533cdc1-d0a2-42a8-be11-94f227e22319n%40googlegroups.com.
I did some modification with respect to your latest request.
But I myself prefer to edit the new bookmark in its own tiddlerthe reason is the current solution may overwrite if you have another tiddler with the modified title
- 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 prefixes and suffixes
- with domains "https://tiddlywiki.com" and paths "https://github.com/Jermolene/TiddlyWiki5/discussions"
- or tiddlers #tiddlername
- or [[myfilter]]
Very bestTT
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/5234602f-72a9-4470-bc73-85ff163b7e3dn%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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0751c91a-0cdb-4a37-80dc-5047bb69d8e5n%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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/648df07c-7e21-43aa-b9ed-f1c57d830196n%40googlegroups.com.
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 FireFox (behind download button) you can simply drag from the browser downloads on top of a wiki (no need for opening your file manger).
- You can load a set of tiddlers into a bookmarklet, on any site click to install (download) that content to the current tiddler. A Quick and easy method to build bookmarklets to drop on your favourites/bookmarks could be another interwiki transfer method.
I would also like to see the existing zip mechaisium used to allow the dropping of tiddler into a wiki stored zip file. Ideally these activities can be design to use consistent interfaces and methods so learning one helps you learn another.
- Bookmarklets themselves can be dragged between Browsers such as FireFox and Chrome to wikis or bookmarks.
I can confirm it would be possible to be able to drop tiddlers into a plugin with a little design.RegardsTonesOn Monday, 17 May 2021 at 19:35:54 UTC+10 TiddlyTweeter wrote:Mohammad ...... Footnote to my last ... in browser the experimental Bookmarklet for WikiLink versions of title/url looks like this ...On Monday, 17 May 2021 at 11:27:35 UTC+2 TiddlyTweeter wrote:CiaoThe 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, in WikiText format, I hacked a browser BOOKMARKLET [very easy to do even if you don't know JavaScript] that will let you copy the URL and the TITLE ...(Only tested on desktop FF & Chrome ...) Just indicative of a extra way we might look into?Bookmark name: Copy link as WikiTextURL: javascript:text='[['+document.title+'|'+location.href+']]';window.prompt('Copy to clipboard: Ctrl+C, Enter',text);falseI will write later about other aspects.Best wishesTTOn Sunday, 16 May 2021 at 10:09:21 UTC+2 Mohammad wrote:Please share, someone my take quicker action ;-)
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/92f037d9-d097-4f73-a0fa-b403e4346ca9n%40googlegroups.com.
- Drag /download " objects from one wiki to another" such as todos and streams and more ...
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0e8c23d9-ccab-434f-89c5-83c52e3ecd6cn%40googlegroups.com.
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!
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 and Projectify and dragging things all over the place. Bucket is a a holding space.
... however I am looking at parsing titles and generating nicer ones, moving the old title into a tiddler field.
While drag and drop is not a new feature in Tiddlywiki, but it is a bit tricky to develop tools based on it.There are a lot of great use cases for it [1]. This feature has recently been improved [2] and there is still work in progress to address issues and make it more powerful!I am working on a resource to demystify the drag-N-drop in Tiddlywiki lets all users use and customize it in their development for different purposes!Please kindly share your scripts, tools, and examples for drag-N-drop in Tiddlywiki. I will do
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/aa588865-c128-4b22-84ff-18d55e7cf612n%40googlegroups.com.
So, I have created an entry in my Tiddlywiki-Lab and collected your ideas!
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
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b2325020-74f2-488a-98c1-8f686966300bn%40googlegroups.com.
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 linksRight! Interesting.The way I think about that is it is BULK LINK collation. I think it would be quite easy to transfer the output of OneTab to TW.
BUT the BULK aspect is intense.IMO we could make a GENERIC PARSER of links that could parse such a source and others too.I think the result would be better held in a Data Dictionary than zillions of tiddlers.The Dictionary could be PASS ONE and any item you needed differentiated to a single Tiddler from click on an item in that Dictionary.Hope this is clear!Thoughts,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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4efd6018-c071-45ac-be69-e79fdefbb9b0n%40googlegroups.com.