Monday, August 18, 2008

Working With Sources (1) (Rich) Text Formats

This is the first of a series of posts dealing with the issue of how to access various source formats.

Don’t forget that in some cases formatting loss may be acceptable. Consider whether the formatting is important to the content of the document before going any further. The simplest way to test is to select all, copy, and paste into an AppleTrans document and see if this yields reasonable results.

AppleTrans supports text based formats (such as xml/html) as well as rich text and rtfd (Apple's "rich text with images") formats. Selecting these files in the open dialog will create a new AppleTrans document with the contents of the file. When segmenting xml or html you should make sure to use the special segmenting rules to ignore the xml and html codes.

That's all there is to it!

No comments: