The new scrivlnk URL
Posted: Thu Sep 17, 2015 6:39 pm
Greetings Team Scrivener
Those who are running the beta may have noticed a new format for Scrivener Links. A scrivlnk:// prefix and hexadecimal codes separated by hyphens have replaced the simple integer DocID. One advantage is that the links can reside entirely in the RTF document, sparing the overhead of a separate Links file for each doc.
The DocID is the root of the destination filename in Windows. But the DocID does not appear to be embedded in the hex codes. This makes the format a bit more vulnerable should the time come when the user has a set of RTF files and no Scrivener to mediate the links, as a link now connects to its destination file neither by name nor by target.
So I'm wondering whether there's a way I'm not seeing to derive the destination DocID from the hex URL. And, if not, whether there might still be a chance at this point to encode the DocID therein.
Thanks -- Jerome
Those who are running the beta may have noticed a new format for Scrivener Links. A scrivlnk:// prefix and hexadecimal codes separated by hyphens have replaced the simple integer DocID. One advantage is that the links can reside entirely in the RTF document, sparing the overhead of a separate Links file for each doc.
The DocID is the root of the destination filename in Windows. But the DocID does not appear to be embedded in the hex codes. This makes the format a bit more vulnerable should the time come when the user has a set of RTF files and no Scrivener to mediate the links, as a link now connects to its destination file neither by name nor by target.
So I'm wondering whether there's a way I'm not seeing to derive the destination DocID from the hex URL. And, if not, whether there might still be a chance at this point to encode the DocID therein.
Thanks -- Jerome