Search __AT__ Replace .... any ideas?

From: Oliver Wrede <wrede__AT__fh-aachen.de>
Date: Thu May 25 2006 - 10:23:25 EDT

Hello!

Tinderbox does not seem offer any feature for finding AND replacing
text.

When I try to do what I need on the RAW XML file with an UTF-8
enabled ASCI-Editor, then I can do all the replacements I need, but
the links in the note text will be shifted around because these are
stored as start/end charater positions outside of the text. So once I
change the amount of the caracters in the text before any link, the
links be shifted like this:

Example:

        The underlines mark the beginning and end of the link:
        <blockquote>My test has _a link_</blockquote>

        After the replace it is shifted about the lengh of 3 characters
("<p>"):
        <blockquote><p>My test h_as a l_ink</p></blockquote>

That is because the string replacements do not recalculate the link
positions.

So my simple question is if anyone here has an idea of how to do such
search & replace operations?
I was thinking about AppleScript, but it seems the support for that
is not complete enough.

Regards,
Oliver Wrede
Received on Thu May 25 10:23:28 2006

This archive was generated by hypermail 2.1.8 : Mon Jun 19 2006 - 13:29:13 EDT