another script i came up with. It converts from PB5.5 xml export (i use it for copying individual thoughts and wandering twds. the children&jumps) to an html outline of nested lists making use of the prototype and scriptaculous js frameworks to toggle note-contents / hierarchies, which is probably overkill, but hey... The other big difference to the PB Outline export is that Thought-Labels and Types are shown as well which is why i came up with this in the first place. Beware: A thought might come up twice if it's a child of more than one thought etc AND you should export a structure that has only one(!) main thought atm.
I'm not sure i will go on bugfixing this (e.g. if you export a structure w/o notes i think it doesn't execute, unless i fixed that at some moment, look at the code if u need to) but wanted to share in case sb. wants to go on using the main parsing as the "t"-hash is quite useful for searches or the like as well.
Actually, if i do find the time, i might code this into a more extensive search (&replace maybe?) and report tool especially for showing the differences between one brain and another. That way, one could correlate backups and get a diff-sort of report on changed, added, lost, ..., thoughts and maybe even a history for notes.
Well, I'm sure you can think of something else to do with this in case you like perl :-)
Let me know if you use it & for what, I'd appreciate.
I've included some screenshots of the simple looking html (that can be easily styled via css) output. For testing, there's also a brainzip and the test.xml to recreate if needed.
Btw: This is pure alpha-code. Use at your own risk. Thanks.
[EDIT: uploaded fixed parse.pl (sorting and no more lynx call or unecessary filehandles open) and README. If you use this, you should update! - Sa 16. Jan 00:46:04 CET 2010 /EDIT]
-- 18.104.22.168 (22.214.171.124) on Mac OS X 10.12.6
Old enough to remember Natrificial times...