THE WELCH COMPANY
440 Davis Court #1602
San Francisco, CA 94111-2496
415 781 5700


S U M M A R Y


DIARY: October 22, 2002 06:16 AM Tuesday; Rod Welch

Remapping KeyNote Recipes - test record for creating a new task.

1...Summary/Objective
2...Remapping Recipe Catetgories
3...Bug Fixes
4...Design Changes


..............
Click here to comment!

CONTACTS 

SUBJECTS
KeyNote
Recipes
Perl
Remapping Categories From KeyNote File

0706 -    ..
0707 - Summary/Objective
0708 -
070801 - Follow up ref SDS 3 0000, ref SDS 2 0000.
070802 -
070803 - Progress
070804 -
070805 - Remapping Recipe Catetgories
070806 -
070807 - Follow up ref SDS 3 LS5L.
070808 -
070809 -     This is test record created on 021102 to review a problem creating
070810 -     a new record. ref SDS 4 IF3N
070811 -
070812 - I wrote a program to read the KeyNote files, with title and subject
070813 - lists to specify how to remap files and tabs based on words found in
070814 - the titles and ingredients. It will create new files for any subjects
070815 - with more than 1000 nodes, and reorganize the remaining categories
070816 - into tabs as specified by translations in the subject list.
070817 - ..
070818 - The program to map the categorization -- knt_category_map_01.pl.
070819 - ..
070820 - The program makes use of a Data::Locations module which didn't
070821 - have a Windows port. Sisyphus [kalinabears@hdc.com.au] from the Perl
070822 - list built it for me. He says that it fails a couple of the more
070823 - esoteric test unde Window 98. I had to write a simple test script to
070824 - make sure I was using it correctly. There are some coding errors that
070825 - will cause the thing to kill Perl. Mostly it works really well.
070826 -
070827 - The basic idea is that it is possible to mark insertion points in an
070828 - output stream and write to those points in any order at any time. The
070829 - module will then output the entire stream to a file when requested.
070830 - Failing to dump and thereby close an open location is what appears to
070831 - kill the module.
070832 -
070833 - This is really nice. It allows for reorganizing an output file from
070834 - an input file and putting things into sections. This is the basis of
070835 - divert streams in the M4 macro processor, and is much better than
070836 - having to create multipe files and then reassemble them. This is also
070837 - one of the operations that literate programming tools performs --
070838 - adding data to multiple program sections no matter where it occurs in
070839 - the program.
070840 - ..
070841 - I really should package some of the KeyNote file reading into
070842 - modules.
070843 -
070844 - Bug Fixes
070845 -
070846 -
070847 - I changed the font to 10pt because I didn't like the way 12pt looked
070848 - and then took it out because Joyce *does* like the wayt it looks.
070849 -
070850 - I added line wrapping code I thought I had done this in the splitting
070851 - program, but apparently I didn't run it after the change.
070852 -
070853 - I was missing the "Categories" line, so I put it back in, and added
070854 - a blank line before it for appearance.
070855 -
070856 -  ..
070857 - Design Changes
070858 -
070859 -
070860 - I want to try ignoring the default category in the title to allow
070861 - other title word or even ingredients to determine the catagory.
070862 -
070863 -
070864 -
070865 -
070866 -
070867 -
0709 -