Your spec ticks all the boxes, Anders... So i installed it, but not getting 
the hoped-for result, alas.

*What i did:* Changed URL on the "ProblemOfLinkRot" tiddler to 
"SolutionToProblemOfLinkRot"; selected (modified) Permalink button in 
pulldown tiddler menu -and it copied the composite URL, composed per your 
specification, to my clipboard, which is also populating the new 
"Permalink" field, i see.  So far so good... But there is yet a problem 
-two actually:

   1. When i point my browser to the new 
   URL- 
https://meta.tiddlyhost.com/#:[contains:permalink[solutiontoproblemoflinkrot-20210505114349833]]
 
   - it pulls a blank page.
   2. The old permalink-  https://meta.tiddlyhost.com/#ProblemOfLinkRot 
   -brings me to a "Missing Tiddler" page (not surprising, since a tiddler 
   with that name indeed exists no more, having been overwritten by the new... 
   And that old URL has no "contains" parameter in it).

I hadn't really thought of this problem in terms of having two different 
URLs pointing to the same tiddler; instead, i was hoping that a UID could 
be assigned on tiddler creation (ideally a not-too-weird combo-key: 
original name (guaranteed unique at the time, as you say) plus date would 
work), which persists across any renaming event in the Permalink field, but 
is not the title.  Is there some problem w/ this simpler solution that i'm 
not seeing?

/walt



On Wednesday, May 5, 2021 at 5:12:15 PM UTC+1 Anjar wrote:

> Hi,
>
> Here is a demo for a new permalink button. It creates a new field called 
> permalink and inserts <slugified title>-<created>. Since the title is 
> unique at creation, this string should be unique (?). Further, it copies 
> the appropriate link to the clipboard; 
> https://tiddlywiki.com/#:[contains:permalink[new-tiddler-20200509141702846]]. 
> If you change the title, the button appends the new <slugified 
> title>-<created> to the permalink field so that both links go to the same 
> tiddler
>
> Best,
> Anders
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0122deba-65ad-4eb6-aac4-3f30a5d0545dn%40googlegroups.com.

Reply via email to