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, dragging items from bookmarks, the browser address bar and more - With a tiddler having a title of protocol:// eg http:// - we need then to convert it to a clickable link such as moving it to a field and building a link icon - This link > tiddler title is the easiest dare we say native behaviour, So my thoughts are to build a title handling tool on which bookmarking tools can leverage the title ands the following; As I have done in the past, testing a title (or any string/line for that matter) for known prefixes even suffixes may be the way to go. - 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]] The advantage of such an approach would be keeping all the ease of drag and drop and processing titles into bookmarks as and when needed. - A recent discussion about compound fields would allow the transfer of titles into fields eg url, url..name, url..target this can then be opened to allow one tiddler to have multiple urls such as discussion-link discussion-link..name discussion-link..target then we can present icons for all the named url or *-link on a tiddler. - Another discussion was around generating titles, for example extract the domain (and an increment) as the tiddler title after saving the link to field(s) This is brief I know, happy to discuss further. Tones On Saturday, 15 May 2021 at 02:43:14 UTC+10 Mohammad wrote: > 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 filter by TT > 3. shows an edit area on dropping a new url > > > > > Best wishes > Mohammad > > > On Fri, May 14, 2021 at 11:51 AM TiddlyTweeter <tiddly...@assays.tv> > wrote: > >> Mohammad wrote: >> >>> On Thu, May 13, 2021 at 1:55 PM TiddlyTweeter <tiddly...@assays.tv> >>> wrote: >>> >>>> 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! >>> >> >> *Good! * >> >> In playing with your tool I do think having a reveal that appears once >> you d-n-d an address to allow you to *edit both the Index and Value* is >> a good idea. >> >> One *use case* where it would be essential would be for RELATIVE >> addresses (they would need always to be edited manually). >> >> The advantage of relative addressing is that it will work both offline >> locally AND online for a site with the same structure of files. >> Could be useful in having just one system for creating portable >> INTER-PAGE linkage? >> >> 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/6533cdc1-d0a2-42a8-be11-94f227e22319n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tiddlywiki/6533cdc1-d0a2-42a8-be11-94f227e22319n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/344d58a0-2063-4b62-bb73-663a9305747cn%40googlegroups.com.