V 0.3.3 - 2018.08.06
V 0.3.2 - 2018.02.02
[[?]aliasbacklinks[]sort[title]]
shows a list of tiddlers that contain undefined alias linksV 0.3.1 - 2018.01.31
V 0.3.0 - 2018.01.27
V 0.2.1 - 2018.01.27
V 0.2.0 ... 2017.12.15
[[alias|?]]
link syntaxis[alias]
... extends the core is
operator see: https://tiddlywiki.com/#is Operatorall[aliases]
... extends the core all
operator see: https://tiddlywiki.com/#all Operator--- reserved ---
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/702595ea-5cc7-4333-857b-8ae571268db6%40googlegroups.com.
Feedback: it works well, great work!
I think this will make it easier to compose more fluid texts / narative threads though TW
.. the "subtitle" / "caption" combination makes a nice fit, for the text and to sidbar TOC area.
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/13200c2d-5efd-42f4-ab06-6b48e513b7f5%40googlegroups.com.
I suppose what's happening here is that the title is being used to create a URL friendly link for viewing over the web.And what you can do then is to create a variety of ways of linking to it.
just thinking out loud... I wonder if it would work better the other way round... that a new field is used for the new-type-of-title for use in permalinking
Hi Folks,
I pushed out the "uni-link" plugin [1]: discussed here in a different thread [2], here in the group.
It's a new parser for the the TW link / prettylink detection: eg: [[test]] ... it links to the tiddler named: test but it shows a different text. Depending on the fields available at the "test" tiddler. If used like this: [[prettylink text|test]] it behaves as in existing TWs. No special function used. prettylink text will be shown.
eg:
title: test
caption: short title
subtitle: a tiddler to test the uni-link plugin
So if the tiddler has no fields it shows: test
If the tiddler has a "caption" field is shows: short title
If the tiddler has a "subtitle" field it shows: a tiddler to test the uni-link plugin
If the tiddler has both fields: a tiddler to test the uni-link plugin
So the subtitle field wins. ....
This functionality is backwards compatible with existing tiddlywikis. So if tiddlers are copy / pasted between TWs, that don't have the plugin installed, it just falls back to the already existing behavior. Which imo is a nice idea, created by Mark S. in the first reply post.
There is a new parser "uni-link" that will be installed with the plugin. This parser is enabled by default an it will supersede the "prettylink" parser from the core. see: ControlPanel: Info: Advanced: Parsing
So if [[test]] is parsed it will be translated into a macro call like <<uni-link test>>, but with the nice twist, that it also works with a "fallback" if the plugin doesn't exist in a different TW.
@All .... Feedback very welcome!
have fun!
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+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/aafd8b4f-5e60-4f39-873c-edfcee505368%40googlegroups.com.
uni-link modifies the Tiddlywiki [[Manual Link]] syntax, using tiddler fields: "subtitle", "caption" or "title". In that order. Inspired by Mark S. initial suggestion in an other thread.
PS: If you remove every second letter, it may fit into a tweet ;)
Hi Folks,
It's a new parser for the the TW link / prettylink detection: eg: [[test]] ... it links to the tiddler named: test but it shows a different text. Depending on the fields available at the "test" tiddler. If used like this: [[prettylink text|test]] it behaves as in existing TWs. No special function used. prettylink text will be shown.
eg:
title: test
caption: short title
subtitle: a tiddler to test the uni-link plugin
So if the tiddler has no fields it shows: test
If the tiddler has a "caption" field is shows: short title
If the tiddler has a "subtitle" field it shows: a tiddler to test the uni-link plugin
If the tiddler has both fields: a tiddler to test the uni-link plugin
So the subtitle field wins. ....
This functionality is backwards compatible with existing tiddlywikis. So if tiddlers are copy / pasted between TWs, that don't have the plugin installed, it just falls back to the already existing behavior. Which imo is a nice idea, created by Mark S. in the first reply post.
There is a new parser "uni-link" that will be installed with the plugin. This parser is enabled by default an it will supersede the "prettylink" parser from the core. see: ControlPanel: Info: Advanced: Parsing
So if [[test]] is parsed it will be translated into a macro call like <<uni-link test>>, but with the nice twist, that it also works with a "fallback" if the plugin doesn't exist in a different TW.
@All .... Feedback very welcome!
have fun!
mario
I think I found a bug, although it might be the intended behavior: it seems that the backlinks filter no longer yields results with uni-links.
I'm not PMario, but I can do short.Hate CamelCase? Use Caption instead. PMario's uni-link for Pretty Names.
I've been trying out this plugin, and I am unsure as to the behavior I am seeing on my wiki. On my wiki, after installing this plugin and refreshing, and changing the styled color to orange so I can easily detect it, all normal links, eg. [[Existing Tiddler]], are orange. My pretty links remain as they were. Right now, none of my tiddlers contain caption or subtitle fields, so I expected to see no orange links.
V 0.2.0 ... 2017.12.15
[[alias|?]]
link syntaxis[alias]
... extends the core is
operator see: https://tiddlywiki.com/#is Operatorall[aliases]
... extends the core all
operator see: https://tiddlywiki.com/#all OperatorI just wanted to bump my question to your attention and ask another!
FirstCan I ask do you see any reason not to install uni-link in every wiki I use? Is there anywhere this could trip us up, or is it basically invisible until used?
SecondIn this discussion there is talk of a GUID
I think it would be quite easy to extend uni-link to provide references to GUID's effectivly a GUID will be an Alias to a tiddler with a created date (uniquified)
All we need then is a GUID based on the Created date/time and miliseconds decremented to be unique.
I am in total agreement on your approach to titles and have no problem with these myself.
What I am trying to say is can we make a field that containes a unique id stored in a field for any (not nessasarily every) tiddler that is independant of its name.
If such a field existed I am sure a minor addition to the uni-links plugin would allow tiddlers to be located via this permanent reference and render its caption, title or alias.
Let me clarify the use of the created date. I doubt even with a bulk import, I cant imagin more than 1,000 tiddlers being created in a second. Modification of the create code can ensure no tiddler has a created date equal to another, by incrementing the milliseconds until unique, almost certianly only one millisecond more would do it. This would also guarentee the ability to sort tiddlers in the exact order of creation.
I stand to be corrected but I do not see the complications you raise. It seems very scalable to me because it does not require a single byte more.
Nor would it likely impact transfered tiddlers. In fact it would be effectivly invisible except when someone wants a unique id, it will simply be there already.
It seems to me if solutions can be developed where even references can be made to tiddlers for which even the title is mutable we may even find ourselves with tools for translation or natural language processing.
Such a unique id may allow audit trails or export and reimport such that we could even restore renamed tiddlers.
This is an abstract algorithmic idea for sure but I expect they are of interest to you.
Regards
Tony
... we make a field that contains a unique id stored in a field for any (not nessasarily every) tiddler that is independant of its name...
Mario,I am in total agreement on your approach to titles and have no problem with these myself.
What I am trying to say is can we make a field that containes a unique id stored in a field for any (not nessasarily every) tiddler that is independant of its name.
If such a field existed I am sure a minor addition to the uni-links plugin would allow tiddlers to be located via this permanent reference and render its caption, title or alias.
What I am trying to say is can we make a field that containes a unique id stored in a field for any (not nessasarily every) tiddler that is independant of its name.
PMario replied:
... I think UUIDs and human readable titles may even coexist....
I don't think a new uuid-field will be a real solution.
When generated according to the standard methods, UUIDs are for practical purposes unique, without depending for their uniqueness on a central registration authority or coordination between the parties generating them, unlike most other numbering schemes. While the probability that a UUID will be duplicated is not zero, it is close enough to zero to be negligible.
--
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 post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/ed420ae1-8011-49ed-90b8-d5b9f9206792%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hey Mario,Just checking back up on this!
I've updated my node TW to 5.1.17 and everything seems to be working great! Thanks!
Again, thank you for this wonderful plugin. Just a few thoughts:
- I was wondering if its possible, and if so what your thoughts are, on having alias linking happen automagically without the additional |? syntax. ...
- So when I type [[myalias]] the parser would first search for tiddlers with that name, and if none are found, then search for aliases with that name, and if none are found put the italicized link in place for the nonexistent tiddler.
- I frequently find myself making two aliases a name and its plural (example below). Could this be automated as an option?
- tiddler title: An Important Method
- aliases: AIM AIMs
- Could we use aliases in tags? Sometimes I have long tiddlers like A Very Long Important Method with an alias like AVLM. It would be convenient to tag with AVLM as well (I know this was discussed previously, but Im not sure where anymore).
- Search could also include searching aliases, without the need for explict filtering.
Hi Folks,I pushed out the "uni-link" plugin [1]: discussed in a different thread [2], here in the group.Intro-Video: latest: https://youtu.be/V9l-vipAoNw
It's a new parser for the the TW link / prettylink detection: eg: [[test]] ... it links to the tiddler named: test but it shows a different text. Depending on the fields available at the "test" tiddler. If used like this: [[prettylink text|test]] it behaves as in existing TWs. No special function used. prettylink text will be shown.
eg:
title: test
caption: short title
subtitle: a tiddler to test the uni-link plugin
So if the tiddler has no fields it shows: test
If the tiddler has a "caption" field is shows: short title
If the tiddler has a "subtitle" field it shows: a tiddler to test the uni-link plugin
If the tiddler has both fields: a tiddler to test the uni-link plugin
So the subtitle field wins. ....
This functionality is backwards compatible with existing tiddlywikis. So if tiddlers are copy / pasted between TWs, that don't have the plugin installed, it just falls back to the already existing behavior. Which imo is a nice idea, created by Mark S. in the first reply post.
There is a new parser "uni-link" that will be installed with the plugin. This parser is enabled by default an it will supersede the "prettylink" parser from the core. see: ControlPanel: Info: Advanced: Parsing
So if [[test]] is parsed it will be translated into a macro call like <<uni-link test>>, but with the nice twist, that it also works with a "fallback" if the plugin doesn't exist in a different TW.
@All .... Feedback very welcome!
have fun!
mario
[1] https://wikilabs.github.io/editions/uni-link/
[2] https://groups.google.com/forum/#!topic/tiddlywiki/Z7dRU3HrzSs
Marion,
Requirements to support unique-ID'sAs discussed elsewhere It would be great to get Uni-links help support Unique IDs for tiddlers. I believe it may be a quite simple modification.
Current
- Assuming a tiddler has a unique-id field is is currently only a matter of adding the unique ID to the aliases list.
- Then this tiddler can always be referred to as [[20180601231113983|?]] regardless of any future name.
- However this currently displays as a link 20180601231113983, Ideally this would display the subtitle, caption and title before and instead of the alias.
Unique ID support
- To assist and generalise perhaps there could be an alt-name field in tiddlers that one could populate (with the Unique-id) and other alternative names, or even name the unique-id field
- As far as I can see the only difference to an alias is the display tittle would be the current (subtitle, caption or title} of the tiddler containing the alias.
- In its own field or included in the list of aliases the user just needs to honour the convention (make it unique, and not edit or delete this value) which you could recover by searching for its use anyway, and if not used simply regenerated.
I think a Editor Tool bar option to support the tiddler selection of using (the current) tiddler name (with an alt-name) but inserts an alias to the alt-name not the tiddler title. I think I can make this.
What would be seriously nice is if we could transclude a tiddler using its Alias or uniqueID because even templates and other special tiddlers could become name independent.
Transcluding items by their alias could allow the alias to change where it is set (ie change the relevant tiddler) or permit multiples to be trancluded because they share the alias.
This would be a simpler way to replicate the behaviour of display items tagged such as in view and page templates, without using tags.
Hey Mario,
Just checking back to see if you think these are worthwhile to include in the plugin?
Thx for the reminder. .. As I wrote at github. I would like to go with a new shortcut, that is added to next release, which I will upload today. It should make typing alias much faster. ...
Hey Mario,Just checking back to see if you think these are worthwhile to include in the plugin?
A problem I now I have is that sometimes I want to TYPE an alias but DISPLAY its full title.
To accomplish this with unilink, it seems Id have to add a subtitle field which contains the entire title of the tiddler. But this would then cause all alias links to the tiddler to render with the subtitle.
Conclusion:So if you want to use the tiddler title, you'll need to use a standard link.
Would it make sense to be able to control this on a perlink basis? Where we can use:
- [[alias|?]] - just displays alias
- [[alias|?t]] - displays contents of title field
- [[alias|?s]] - displays contents of subtitle field
- [[alias|?c]] - displays contents of caption field
what I want to type
where I want it to go
what I want to render
Just a quick note - I think github handles uniqueIDs and linking wonderfully. Each PR, Issue, etc gets a unique sequential ID. When you want to link to one you can type # and a popup appears with the ID and the title. That is automatically added as a reference in the original issue (our backlinks). It would be wonderful to have a similar workflow on TW.
Thanks for sharing and completing the thread
Tony
From my experiments the problem is with capitalization and also happens in the wiki you posted.If you notice in Charles post he links to a tiddler with an alias "bar" with [[Bar|?]] and that's where it doesn't work. I'm sure, as is also the case for me,
I still get that error in the demo. Here is a screenshot,