General Request For Guidance

General comments and questions. Technical support.
Post Reply
acant05
Posts: 28
Joined: Fri Nov 18, 2005 3:44 pm
Location: Elkins, WV, USA

General Request For Guidance

Post by acant05 »

Robert,

Atlantis and PersonalBrain (PB) are 2 of the programs I most count on. Recently PB introduced an new version, PB4, and moved from the rtf to html format for internal notes. The problem is that upon importing the PB3 rtf notes to PB4 html format centered text is left-aligned; and I have some 14,000 rtf notes accumulated in a PB3 file over some 7 years that I want accurtely moved to PB4 html format.
The lead developer says that it is very difficult to get this right. I know that the Atlantis export of rtf to html works flawlessly (as far as I can tell) so I am asking if there are any pointers you can give me to pass on to the PB4 developers in this regard. Or is he right that it is extremely difficult? Please see attached discussion from the PB user forum on this matter. Thanks.
Attachments
PB_Atlantis.doc
(52 KiB) Downloaded 1025 times
Blessings,
Al Cantley
User avatar
admin
Site Admin
Posts: 2907
Joined: Wed Jun 05, 2002 10:48 pm
Contact:

Post by admin »

Specifying the proper (paragraph) alignment within an HTML file should not be difficult. Converting the "\qc" RTF control word to the "align=center" HTML attribute could not be a complex task. But possibly such a conversion is not simple in case with PB due to some internal limitations of this software. It is hard to suggest anything without being familiar with the source code of PB.
acant05
Posts: 28
Joined: Fri Nov 18, 2005 3:44 pm
Location: Elkins, WV, USA

Post by acant05 »

PB4 is cross-platform and is coded in Java. Eventually, they plan to release a scriptable API but for now I am stuck with using PB3 which is frustrating.
Blessings,
Al Cantley
Robert
Posts: 1906
Joined: Fri Aug 15, 2003 8:27 pm

Post by Robert »

Hi,
If your PB4 HTML files can be accessed independently from PB, could you please post one of them for download from this forum, or send it to comment@AtlantisWordProcessor.com?
I might be able to suggest a solution to batch process these files so that the text is centered again. This would involve using “BK ReplaceEm”. It is a freeware available from http://www.orbit.org/replace. Here is the author’s description:

“BK ReplaceEm is a text search-and-replace program. Unlike a standard text editor,BK ReplaceEm operates on multiple text files at a time. You can setup a list of search-replace operations to perform on different sets of files. You can specify a backup file for each file processed,and you can also decide to save processed files to specific locations, rather than their original file paths. Includes full Regular Expression support and much more!”

Cheers,
Robert
acant05
Posts: 28
Joined: Fri Nov 18, 2005 3:44 pm
Location: Elkins, WV, USA

Post by acant05 »

Robert,

PB apparently uses a database for the html documents, not individual html files. XML export is implemented but not XML import at this time.
Blessings,
Al Cantley
Post Reply