Springer,Please describe "Clint Checkett's Redirect macro" because I have no idea what it does, so I can't give an indicator if there is a method to replace it. I am sure I know more than I used to with TW5.RegardsTony
On 30 Dec 2019, at 17:31, springer <springer...@gmail.com> wrote:
--
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/ece02188-7b35-4a80-a82e-46cdb270548a%40googlegroups.com.
Mat,Yes, it matters that my subject-matter is dense with cross-references among technical terms (that are still ordinary-language-like in their presentation).Yes, having foo throughout the text field converted to [[foo]] on save (for all of a specified class of tiddler titles, and their aliases) would accomplish *most* of what I need.When I add a new term, though, that kind of simple conversion still wouldn't retrofit existing tiddlers to show links to the new one,... unless there were a wide search-replace operation, across all relevant tiddlers, every time a tiddler title or alias is edited. That strikes me as too burdensome on the system.Assuming a "virtual" solution like Checkett's RedirectMacro is not possible, the ideal plugin (or update to core, to be really ambitious) might allow two things:(1) on save tiddler (or tiddler within some class): scan titles and alias names of existing tiddlers (non-system tidddlers, in my case), and substitute so as to render links as available.(2) as needed: offer a single macro/button function that scans a subset of tiddlers (by default, all non-system tiddlers) for unmarked potential-link text (unbracketed strings that match tiddler titles and aliases), and furnish appropriate links throughout.
...
(2) as needed: offer a single macro/button function that scans a subset of tiddlers (by default, all non-system tiddlers) for unmarked potential-link text (unbracketed strings that match tiddler titles and aliases), and furnish appropriate links throughout.
This (2) seems is not difficult, if the performance is not a matter! If you clearly state (in a new thread) what you like to have, I think there are some good programmers here to implement it! I may help with pure wikitext!Do you know in advance which word refer to a title or no? Is it possible to add a marker like + sign to them? For example instead of springer, write +springer?
Any tiddler could be parsed for any tiddler title but the performance requirements will grow with the number of tiddlers. What about an indicator on tiddlers who's title may be worth linking to if found in another tiddler (ignoring case). Then at render one would only need to search the current tiddler for a limited set of titles. A more pervasive mode to be set for exploration only and list tiddlers who are contained in other tiddlers and you optional flag them as worthy of autolibking?
Redards
Tony
I'm guessing that there are some reasons that RedirectMacro was able to work on Classic, but not on TW5. But yes, if it becomes possible to find a way forward, I'll be super-eager to hear about it.
The plugin is available in the prerelease plugin library. That means you should download a copy of the prerelease from https://tiddlywiki.com/prerelease/empty.html or https://tiddlywiki.com/prerelease/index.html and then use the plugin library to install “freelinks”.
Some Tiddlywiki empty file (empty.html) does not have the plugin library so one cannot install the official plugin. If so do as below
--
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/1853fcca-66bc-474b-8b78-686a3246e980%40googlegroups.com.
I’ve had an initial stab at a freelinking plugin. As expected, it noticeably slows down large wikis with many tiddlers. But it works pretty well with smallish wikis. I’ve got some ideas for improving the speed, but it’s still worth trying out.
...from https://tiddlywiki.com/prerelease/empty.html or https://tiddlywiki.com/prerelease/index.html and then use the plugin library to install “freelinks”.
Just for a quick check, I set up a new prerelease with the plugin and imported my old tiddler set (several hundred strong, from the Classic version, with minimal explicit internal links) and confirmed that it displays strings corresponding to all my tiddler titles as links in RedirectMacro fashion. (So far, it doesn't do anything with alias or aliases fields, I think, although I haven't yet installed any kind of alias-related plugin in this experimental file.)
As you say, it does slow down a large wiki, even for operations that I would not have thought to be related to the link-display process... I wonder whether it would be possible to confine the virtual internal links action to a specific tagged set of tiddlers or to some other list condition? Would that help?
I think it's a marvelous working proof-of-concept, and since the plugin can be disabled (restoring nimble speed to the whole engine), I suspect many people might be intrigued by the chance to show off a tightly-woven version of their file. I could imagine disabling the plugin during long editing sessions, and turning it on for certain demonstrations. But it sure would be ideal to have a variation that keeps the potential quicksand element confined to a tag-specific sandbox of tiddlers...
Thanks again Jeremy, and all, for being such an amazingly responsive community!
-Springer
On Friday, January 3, 2020 at 5:47:40 AM UTC-5, Jeremy Ruston wrote:Hi SpringerI’ve had an initial stab at a freelinking plugin. As expected, it noticeably slows down large wikis with many tiddlers. But it works pretty well with smallish wikis. I’ve got some ideas for improving the speed, but it’s still worth trying out.The plugin is available in the prerelease plugin library. That means you should download a copy of the prerelease from https://tiddlywiki.com/prerelease/empty.html or https://tiddlywiki.com/prerelease/index.html and then use the plugin library to install “freelinks”.Because it’s a prerelease, please don’t rely on it for anything important, but do report how it works with your existing corpus.By default, freelinking is only applied within the main view template and the preview panel, and not, for instance, in the sidebar. At this point, automatically generated links do not appear as backlinks.Best wishesJeremy.
--
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/cfffb3c5-8f27-48d9-964e-2fb2187e46d3%40googlegroups.com.
Rather than us running down the performance rabbit hole again can you please consider my suggestion of optional rule in or rule out of this as I suggested previously.
Any tiddler could be parsed for any tiddler title but the performance requirements will grow with the number of tiddlers. What about an indicator on tiddlers who's title may be worth linking to if found in another tiddler (ignoring case). Then at render one would only need to search the current tiddler for a limited set of titles. A more pervasive mode to be set for exploration only and list tiddlers who are contained in other tiddlers and you optional flag them as worthy of autolinking?
Also once an "autolink" is established what about making it permanent with square brackets added to the text.
Sometimes going 10% further produces a result that can be deployed in a wider range of situations because it can be scaled to the use case.RegardsTony
On Tuesday, December 31, 2019 at 4:31:07 AM UTC+11, springer wrote:Tony asked about RedirectMacro, and I realized that my answer was going to hijack his thread about transclusion.RedirectMacro can be found here: http://checkettsweb.com/styles/themes.htm#RedirectMacroIn TW Classic, this plugin made for entirely seamless internal linking, no need for double-brackets nor CamelCase. Anytime a tiddler contained a string (one or more words) that matched an existing tiddler title (or an alias of it, given AliasPlugin), the tiddler would render in view mode just as if a link had been specified, though the tiddler text itself could remain without any kind of link markup. On my old ethics site, you can open a tiddler in edit mode and see the links are "not there" except in this virtual way: http://ethics.tiddlyspot.com/#happinessHere's the kind of use case that made it fabulous: During class (there's a 5-minute warmup problem students do while I hand papers back, unpack and plug in my laptop), I could paste in a bit of from a student's written work (submitted via moodle the night before, with an excerpt from our primary texts and then a paragraph of commentary). As soon as we go from edit to view mode, EVERY technical concept in the excerpt, and every key word and red flag word in the student's commentary, is lit up as a link. I now have all the resources of my wiki available (definitions, pointers) to help structure the discussion as I correct misunderstandings, pull up more details, etc. (Here's a real example of student writing that I pasted in, and got to render with all the links with no fuss.)If someone asks "How much trouble is it to go through and put brackets around all the key terms after you paste?" that person is probably not working in front of a live audience (where that audience is not there to get TiddlyWiki lessons).Now, suppose that today I add three terms (with definitions, perhaps some aliases) to my wiki. With RedirectMacro, a single reload of the site was sufficient to update the display of every tiddler that already contained that word or phrase (or its aliases).How much trouble is it to pause, after each time I add a term, to use TiddlerCommander or another advanced search function to find tiddlers with that term and replace appearances of the term with double-bracketed reference? Someone who asks this has not been adding wiki content at the last minute while running late toward a classroom full of students. ;)If an equivalent could be generated for TW5, I would be beyond delighted.-SpringerOn Sunday, December 29, 2019 at 12:15:40 AM UTC-5, TonyM wrote:Springer,Please describe "Clint Checkett's Redirect macro" because I have no idea what it does, so I can't give an indicator if there is a method to replace it. I am sure I know more than I used to with TW5.RegardsTony
--
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/ee491251-71aa-448e-a0ab-d6a792a4c8e2%40googlegroups.com.
1 - Be able to apply (optional) specific CSS styling to auto soft-links.For instance, in a draft, it would help me a lot if they were in a different color than hard-links.
2 - Could there be a toggle in the editor to switch "freelinking" on and off?This would help a lot in that I could quickly compare a "hard-links" only mode with added "soft-links" mode
Very best wishesJosiah
--
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/e102a4e9-27ee-41c5-9f21-438f242c38b1%40googlegroups.com.
On 4 Jan 2020, at 14:42, Mat <matia...@gmail.com> wrote:@JeremyPossibly it seems the freelinking makes this not work:
~ExistingTidi.e the tilde doesn't disable the CC link. The tilde does disappear tho, in view mode. For freelink the tilde remains visible. I was expecting both cases to "delink".<:-)
--
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/a55757d1-c5be-4879-8454-c7bfc4f449e0%40googlegroups.com.
I think you’re suggesting that we give users the ability to limit the tiddlers to which freelinks are created. That’s certainly a potential performance improvement under consideration.
Also once an "autolink" is established what about making it permanent with square brackets added to the text.Do you mean that the square brackets would be inserted any time a freelink is created? Would they be removed if the target tiddler ceases to exist? It sounds like a hybrid between the two approaches we’ve discussed:
* The dynamic approach taken by the plugin where freelinks are ephemeral, and created as required
* The static approach of automatically creating explicit links when saving a tiddler
Just a very gentle note that the way you’ve expressed this paragraph makes it read as an implicit criticism of the approach taken by somebody else in the thread. That kind of thing gets in the way of the points you’re trying to raise, and I’d urge you to reread postings to make sure your meaning is clear without criticising others. If you feel that people aren’t listening to your ideas then the most constructive response is to focus on expressing them clearly and concisely.
Finally, your concern about my language.Just a very gentle note that the way you’ve expressed this paragraph makes it read as an implicit criticism of the approach taken by somebody else in the thread. That kind of thing gets in the way of the points you’re trying to raise, and I’d urge you to reread postings to make sure your meaning is clear without criticising others. If you feel that people aren’t listening to your ideas then the most constructive response is to focus on expressing them clearly and concisely.With all due respect, I believe you read something into this, that is not there. There is nothing in my statement that is a criticism of any sort. It asks "please" and says "running down the performance rabbit hole again", AND not you, he or it named, But US (The collective "we"), it was raised in response to the key concern that "freelinking" raises - performance issues.
--
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/4a13a7c9-f588-49a5-a1eb-4ce61635cea7%40googlegroups.com.
I’ve added a class tc-freelink, and given it a pale background colour by default.
TT wrote: 2 - Could there be a toggle in the editor to switch "freelinking" on and off?
It’s a global option, so it doesn’t really belong in the editor toolbar, which contains operations specific to a tiddler. We could make a page control button for it (like the timestamp toggle), but we’d need some artwork…
Jeremy Ruston wrote:TT wrote: 2 - Could there be a toggle <snip> to switch "freelinking" on and off?
We could make a page control button for it (like the timestamp toggle), but we’d need some artwork…
--
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/3542f8d7-5280-4a97-b5d6-9963866fa59a%40googlegroups.com.
Hi Springer
Just for a quick check, I set up a new prerelease with the plugin and imported my old tiddler set (several hundred strong, from the Classic version, with minimal explicit internal links) and confirmed that it displays strings corresponding to all my tiddler titles as links in RedirectMacro fashion. (So far, it doesn't do anything with alias or aliases fields, I think, although I haven't yet installed any kind of alias-related plugin in this experimental file.)
...
If someone asks "How much trouble is it to go through and put brackets around all the key terms after you paste?" that person is probably not working in front of a live audience (where that audience is not there to get TiddlyWiki lessons).
We actually already have a link icon in $:/core/images/link:
For the new icon, we need to adapt it so that it also conveys the concept of automatic/freelinking, and to represent the on/off status graphically.
But it may be better to rethink things and use a proper checkbox.
For example, you could create a tiddler with the tag $:/tags/SideBarSegment and the content:{{$:/plugins/tiddlywiki/freelinks/settings}}And then add the field “list-after” set to $:/core/ui/SideBarSegments/page-controls. The end result is shown below.Best wishesJeremy
On 5 Jan 2020, at 11:57, TiddlyTweeter <Tiddly...@assays.tv> wrote:
Ciao JeremyJeremy Ruston wrote:TT wrote: 2 - Could there be a toggle <snip> to switch "freelinking" on and off?We could make a page control button for it (like the timestamp toggle), but we’d need some artwork…Some ways of presenting links: https://iconmonstr.com/link/ (square SVG).I thought some of these suggestive of "softer" links, like: https://iconmonstr.com/link-8-svg/And either of these suggestive of matching "softer" UNlinks: https://iconmonstr.com/link-10-svg/ or https://iconmonstr.com/link-12-svg/FYI, the License agreement (https://iconmonstr.com/license/) means one can freely use the icons in an app no problem.But you cannot, independently, present them.In other words in TW: fine for use, but you can't promote them seperate from an interface.Let me know if you want me to look for another route!Best wishesJosiah--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddl...@googlegroups.com.
If someone asks "How much trouble is it to go through and put brackets around all the key terms after you paste?" that person is probably not working in front of a live audience (where that audience is not there to get TiddlyWiki lessons).
Haven't you just moved from the problem of performing an actual link insert, to the problem of having to remember the exact wording or phrase that will "magically" create a link?
Hi SpringerI think it's a marvelous working proof-of-concept, ... it sure would be ideal to [limit freelinks] to a tag-specific sandbox of tiddlers......It’s possible to change which tiddlers are freelinked by customising the shadow tiddler $:/plugins/tiddlywiki/freelinks/macros/view. ... we can use a filter expression to, say, ... only freelink tiddlers with the tag “MyTag”:
<$set name="tv-freelinks" value={{{ [<currentTiddler>tag[MyTags]then[yes]else[no]] }}}/>
When I tried this recently, I thought it wasn't working... until I realized we were talking past each other a bit.
- ALICE: I do say what I mean; I always mean what I say. It's the same thing.
- MAD HATTER: Not in the slightest. Is it the same thing to say you see what you eat and you eat what you see?
I envisioned EVERY tiddler being poised to display with outbound freelinks, but pointing ONLY to the tiddlers with MyTag (wherever those titles are mentioned in a text field).Instead, the recipe above limits freelinks the other way: we don't see them EXCEPT when MyTag tiddlers are being viewed (but then we see outbound links to EVERY tiddler whose title is mentioned).So..., is it possible to develop a filter that constrains which "targets" are eligible? (Use case: I've got defined technical terms; whenever pasted-in text happens to mention the term, the term "lights up")
-Springer
--
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/957004ff-97a7-497d-800e-c990156be8f7n%40googlegroups.com.
On 14 Feb 2021, at 15:40, springer <springer...@gmail.com> wrote:Meanwhile, I don't know whether anyone else actually might have preferred some variant of the behavior as you initially set it up. Would some wish to disable freelinks *except* on some limited set of tiddlers? For example, an author might have plot-brainstorming and character-sketching tiddlers where freelinks (or freelinks to all characters and events) are helpful, but want to ensure that tiddlers with a "clean-prose" tag provide a reading experience that suppresses all internal freelinks. That's not my use-case, but I'd hate to imagine that my own nudge (to filter-limit the targets for freelinks) breaks something that would be welcome to others!