Link location in Tinderbox 8 file representation

I’ve written a python script that crawls over the .tbx file’s XML representation and emits some plain text note files, including links to children and links between notes. I’m testing exporting my notes to TheArchive.

The main thing missing is the anchor text for text links.

If some text in a note links to another note, how do I find out what that text is? Is it represented in the rtfd blocks?

Here’s the tinderbox version info:

tinderbox version="2" revision="12" savedBy="version 8.6.2 b452"

The offset to the text span is represented by the link’s sstart and slen. The destination span, if any, is represented by the link’s dstart and dlen.

1 Like

See more here re the <link> element.