Marion, Requirements to support unique-ID's
As 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 <http://127.0.0.1:8088/Development/disposition.html#Test%20Tiddler%20with%20ID%20as%20alias%20New%20Name>, 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. Regards Tony On Friday, June 23, 2017 at 6:08:58 PM UTC+10, PMario wrote: > > Hi Folks, > > I pushed out the "uni-link" plugin > <https://wikilabs.github.io/editions/uni-link/> [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 > <https://groups.google.com/d/msg/tiddlywiki/Z7dRU3HrzSs/V4tCT8DXDAAJ>. > > 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 > > > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/cd8eabbf-2842-4851-9775-62c693045a4e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

