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


S U M M A R Y


DIARY: April 27, 1998 02:59 PM Monday; Rod Welch

Developed tools for converting letters, other files to HTML for Web site.

1...Summary/Objective
2...Correspondence Highest Level of Summary
3...Clear, Concise and Complete Communication Connects Summary to Detail
4...01220 Save Editor file to Temp HTML directory on h
.....F2 save with HTML for floating right margin in correspondence.
5...Alt F2 save with minimal HTML using to hold data structure.
.....ESC to cancel the operation and return to the original file.
.....Default Anchor Top of File "xx" and "0000"
.....0122 Convert SDS Links to HTML Format, macro 0704083
6...01220 Add bold for Correspondence Fields, e.g., Subject, Ref, Memo
7...01220 Shift File ID Field toward Right Margin in Correspondence
8...0122 Mouse Support in HTML Conversion Screen
9...Optional Automatic Paragraph Formatting for Correspondence
10...01220 Make Body Text Wrap on Floating Right Margin, F2
.....Dear, if Not in file Avoid Correspondence Formatting
.....Formatting Switches to Alt F2 if no Correspondence Parameters
.....Complimentary Close
.....Paragraph Format
11...01220 Letterhead Center and Color Red
12...0122 Save HTML to Local Server and Temp Dir for Web Site Transfer
13...01220 Convert HTTP Calls to URLs to HTML for Viewing in Web Page
14...0608 Add Other Files to Listing for HTML Temp Files on H
15...00504 Delete HTML Temp files on h for non-SDS files


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

CONTACTS 

SUBJECTS
Intelligence Summarizes Complexity in Conscious Span of Attention Linked to Details i
Concept Objectives, Planning
Other Files Connvert to HTML, 0122
Clear Concise Complete Notes Linked to Common History
Summary Linked to Details part of Intelligence
Summary - Executives Shun Details
Clear Concise Complete Communication Com Web Mail

1409 -    ..
1410 - Summary/Objective
1411 -
141101 - Follow up ref SDS 10 0000.
141102 -
141103 - Added feature to convert an ascii file for letters and documents in
141104 - SDS, into HTML so that links in SDS records to letters and documents
141105 - can be opened on the Internet, as well as links to SDS records.
141106 -
141107 - Developed HTML standardized format for correspondence. ref SDS 0 1618
141108 -
141109 - Made it the F2 default function, ref SDS 0 2559.  If the file does not
141110 - have correspondence fields, the Alt F2 code is used. ref SDS 0 0991
141111 -
141112 -      [On 980720 created Help for this menu function. ref SDS 15 2337]
141113 -
141114 - Expanded system maintenance for temporary transfer directories on h,
141115 - to include correspondence and other files. ref SDS 0 0801
141116 -
141117 -
141118 -
141119 -
141120 -  ..
1412 -
1413 -
1414 - Planning
1415 -
141501 - Correspondence Highest Level of Summary
141502 - Clear, Concise and Complete Communication Connects Summary to Detail
141503 -
141504 - A key concept of Communication Metrics is that "intelligence" connects
141505 - summary to detail. ref OF 11 8316
141506 -
141507 - Correspondence is a common method of communication.  Communication
141508 - Metrics uses correspondence to be "clear" and "concise" and it uses
141509 - linkages to chronology in the SDS record and other files in order to
141510 - also be "complete."
141511 -
141512 - This concept came into the record on 960620 preparing the paper on
141513 - Dialog, Documents and Human Memory... ref SDS 1 1643  It is an
141514 - objective of the web site explained on 971105. ref SDS 2 1310
141515 - ..
141516 - The Internet is an enabling technology that allows sending short
141517 - letters that can be clear and concise, yet connected to complete
141518 - details in a huge data base, or "Knowledge Space" explained on 960620.
141519 - ref SDS 1 3516
141520 -
141521 - A letter is basically a transmittal that points to management details
141522 - and "intelligence" in the SDS record.  It can be clear and concise on
141523 - ulimate facts and objectives, so that there is no confusion about what
141524 - is intended, which satisfies legal objectives per analysis on 960620,
141525 - ref SDS 1 1643, and yet still be complete to ensure full understanding
141526 - of authority, controlling history and commitments.
141527 -
141528 -     [On 980720 Created Help that makes this point. ref SDS 15 3225]
141529 -
141530 -     [On 980723 linked this record to Communication Metrics web home
141531 -     page. ref SDS 16 2759]
141532 -
141533 -     [On 980803 requested peer review on this idea. ref SDS 17 0000]
141534 - ..
141535 - Per work on 980312, ref SDS 7 1405, we need a simple, direct way
141536 - to convert a non-SDS file into HTML for access on the Internet, in
141537 - order to supplement the SDS data base.
141538 -
141539 - On 980413 work was begun on macro file 0122. ref SDS 10 2718
141540 -
141541 - The routine needs to add some HTML and save the file to the same
141542 - directory structure on e and h.  The e stuff is for local viewing to
141543 - test and see what is on the server.  The h stuff is only a temporary
141544 - storage for uploading to the server.  This provides a way to avoid
141545 - sending the same stuff over and over, but to upload when a file has
141546 - been changed.
141547 -
141548 -
141549 -
1416 -

SUBJECTS
Save to HTML Directory for Web Site
Editor, F02
Other Files, Convert and Link in HTML
HTML Code
Formal Correspondence
HTML Tools Web Page Development
Planning
Concept Objectives
Temp Local Storage for Transfer to Web
Temp Transfer Dir on Local Drive, 070405, 0122
Intelligence Summarizes Complexity in Conscious Span of Attention Lin

2114 -
211401 -  ..
2115 -
2116 -
2117 - Progress
2118 -
211801 - 01220  Save Editor file to Temp HTML directory on h
211802 -
211803 - Follow up ref SDS 10 2718, ref SDS 6 1405.
211804 -
211805 - Line 65, ref OF 2 3556, added code to avoid saving non-HTML files and
211806 - to ask User if the file should be converted to HTML and saved in the
211807 - temporary transfer directory.
211808 -
211809 -      [On 980720 created Help for this menu function. ref SDS 15 2337]
211810 -
211811 -      [On 000304 switch from h to i drive. ref SDS 18 0855
211812 -
211813 - If the file does not already have HTML, a screen is shown to ask the
211814 - user if the file should be converted.
211815 -
211816 -  ..
211817 -
211818 - There are three functions...
211819 -
211820 -     F2 save with HTML for floating right margin in correspondence.
211821 -
211822 -        Made this the main function, per below. ref SDS 0 1618
211823 -
211824 - Alt F2 save with minimal HTML using </PRE> to hold data structure.
211825 -
211826 -        This requires custom HTML formatting as complicated reports.
211827 -
211828 -     ESC to cancel the operation and return to the original file.
211829 -
211830 - I also assigned F1 to the ESC function, because that is analogous to
211831 - returning to profile level 1.
211832 -
211833 - ..
211834 - Line 125, ref OF 2 2641, -label esc1 this is the code for
211835 - canceling the HTML conversion.
211836 -
211837 -  ..
211838 -
211839 - Line 135, ref OF 2 1392, -label sav2 this code converts the file to
211840 - HTML.  I incorporated the code in file...
211841 -
211842 -                    01 04 07040870
211843 -
211844 -     ...created on 980210, ref SDS 5 5616, into this 0122 file, rather
211845 -     than call it as a suboutine, to enter HTML code for opening and
211846 -     closing a file.
211847 -
211848 -
211849 -      ..
211850 -     Default Anchor Top of File "xx" and "0000"
211851 -
211852 -     Line 170, ref OF 2 1392, -label sav2, added HTML anchor "name"
211853 -     commands to enter the default anchor "xx" and "0000" that were
211854 -     created on 980324 in 070405 for SDS records. ref SDS 8 5386
211855 -
211856 -     Therefore, if an SDS record has a reference to a document with a
211857 -     line parameter instead of a standard HTML link anchor spec, then
211858 -     the Web browser will open the record at the top of the file.
211859 -
211860 -     Tried to use a dual system, so we can enter a regular SDS link
211861 -     format using 0000 to also start the reader at the top of the file.
211862 -
211863 -         [See explanation under "planning" in the record on 980501. per
211864 -         ref SDS 13 1722]
211865 -
211866 -
211867 -      ..
211868 -     0122  Convert SDS Links to HTML Format, macro 0704083
211869 -
211870 -     Line 410, ref OF 2 1363, -label nfC, we call macro...
211871 -
211872 -                    01 04 07040830
211873 -
211874 -     ...created on 971217, ref SDS 3 3002, to convert SDS links in the
211875 -     file to use HTML format.
211876 -
211877 -     As a result of this feature in 01222, we do not need this option
211878 -     in the HTML menu so I removed it from the menu. ref SDS 4 1867
211879 -
211880 -
211881 -
211882 -  ..
211883 - 01220  Add bold for Correspondence Fields, e.g., Subject, Ref, Memo
211884 -
211885 - Line 170, ref OF 2 2296, added code to bold Subject, Ref, Memorandum,
211886 - and to shift the description fields to the right to allow for the
211887 - bold.
211888 -
211889 - Line 295, ref OF 2 2683, -label lpAdr Need to handle "Memorandum For"
211890 - differently, because if we slide the argument to the right, then it
211891 - gets put near the center of the page, and instead it should align with
211892 - the arguement for subject.
211893 -
211894 -
211895 -  ..
211896 - 01220  Shift File ID Field toward Right Margin in Correspondence
211897 -
211898 - Line 340, ref OF 2 1593, -label keepit, added code to find the file ID
211899 - field which is on the date line, so should be able to get it by using
211900 - nb on col 1.
211901 -
211902 -
211903 -
211904 - 0122  Mouse Support in HTML Conversion Screen
211905 -
211906 - Line 180, ref OF 2 7559, -label mous created two options for mouse
211907 - support.
211908 -
211909 -     If click is on primary entry in the menu screen, then no
211910 -     correspondence formatting is entered.
211911 -
211912 -     If click is on alternate formmatting option, then flag is set to
211913 -     try and enter automatic wordwrap for right floating margin.
211914 -
211915 - Line 200, ref OF 2 7080, -label sav2a added setgbl 113 1 to turn on
211916 - alternate HTML formatting for correspondence.
211917 -
211918 -     An additional safety to avoid using the alternate code is testing
211919 -     for "Dear" in the letter format.
211920 -
211921 -
211922 -  ..
211923 - Optional Automatic Paragraph Formatting for Correspondence
211924 - 01220  Make Body Text Wrap on Floating Right Margin, </PRE>, F2
211925 -
211926 - Would like an automatic process of adding </PRE>, the Font and <P>
211927 - commands so the right margin wraps based on a floating right margin in
211928 - the web browser.
211929 -
211930 - The difficulty with this is that a lot of unique situations can come
211931 - that are not conducive to this type of standardized formatting.
211932 -
211933 - Will therefore try adding an optional function to use standardized
211934 - paragraph formatting.  It should be adequate for correspondence.
211935 - ..
211936 - Since correspondence is the most used function, will make this
211937 - the primary function assignment -- F2.
211938 -
211939 -     See planning discussion above. ref SDS 0 2326
211940 -
211941 - Line 130, ref OF 2 7317, added Alt F2 function assignment.
211942 -
211943 - Line 150, ref OF 2 8027, added option for standardized format to
211944 - support floating right margin in correspondence files.
211945 -
211946 -      ..
211947 -     Dear, if Not in file Avoid Correspondence Formatting
211948 -     Formatting Switches to Alt F2 if no Correspondence Parameters
211949 -
211950 -     Line 470, ref OF 2 2422, -label noPRE, added code to look for
211951 -     "Dear" and if not there, it assumes this is not a letter, and so
211952 -     jumps out of automatic paragraph formatting.
211953 -
211954 -     If Dear is there, and the next line is not blank, we again jump
211955 -     out of automatic para formatting on assumption that it has already
211956 -     been entered.
211957 -
211958 -     If 2nd line is blank, enter </PRE> and Font spec.
211959 -
211960 -
211961 -     Complimentary Close
211962 -
211963 -     Line 500, ref OF 2 1048, look for Sincerely, which is the
211964 -     complimentary close.  Want to do this so we can first end the code
211965 -     correctly and put somthing on every line, so the code that enters
211966 -     the para <P> command in the next process, has an easy to end.
211967 -
211968 -     This code assumes standard format for ending a letter.
211969 -
211970 -
211971 -     Paragraph Format <P>
211972 -
211973 -     Line 520, ref OF 2 2260, -label lpBw, this code will look for a
211974 -     blank space on col 1 and assume it is a paragraph break.  It will
211975 -     test to see if there is a (P) on the next line, since that can
211976 -     mean the file has already been formatted.
211977 -
211978 -     If there is no (P) then the code, the code mades a three line
211979 -     field and puts the para command on the 2nd line.
211980 -
211981 -
211982 -  ..
211983 - 01220  Letterhead Center and Color Red
211984 -
211985 - Line 310, ref OF 2 2312, -label addr, if there is a "Subject:" then
211986 - we...
211987 -
211988 -     1.  Convert the standard font and pre commands at the top of the
211989 -         file to use regular proportional space fonts.
211990 -
211991 -     2.  Center the letterhead
211992 -
211993 -     3.  Color letterhead red
211994 -
211995 -     4.  Convert back to pre command so everything is held in place.
211996 -
211997 -   [On 980502 had to fix this code a little. ref SDS 14 1870]
211998 -
211999 -
212000 -
212001 -  ..
212002 - 0122  Save HTML to Local Server and Temp Dir for Web Site Transfer
212003 -
212004 - Line 510, ref OF 2 3912, -label sav2a this operation is analogous to
212005 - the code in 070405 at line 2250, ref OF 4 4260, -label sInstd, but it
212006 - has to work differently.
212007 -
212008 - The 070405 code initially creates links to the local directory using
212009 - the HTML file command with the e: drive.  After this has bene done the
212010 - file is save to e: then a change command converts the file commands to
212011 - http commands and the file is save again to h for transfer to the Web
212012 - site.
212013 -
212014 - When a non-SDS file is created, we can directly enter the web site
212015 - address because the function created for a template, 0704086, which
212016 - is called by F1 F1 F7, facilitates this.  That template is needed to
212017 - support entering links for email.  So we use it also for posting
212018 - links in correspondence and memo files.
212019 -
212020 - Therefore, the code in 0122 does the initial save to the Web site
212021 - temporary transfer directory on h, then changes the address from the
212022 - http://web site, to the file:///e: address.
212023 -
212024 -
212025 -  ..
212026 - 01220  Convert HTTP Calls to URLs to HTML for Viewing in Web Page
212027 -
212028 - Line 185, ref OF 2 5761, -label lphttp, this code converts http
212029 - entries into standard HTML code so the address shows up correctly in
212030 - a Web page.
212031 -
212032 - Turns out that it works differently from entering code in SDS records
212033 - to open a link to another SDS record or to a document.  In an email,
212034 - there is no citation for the link address to open, we are merely
212035 - listing the address itself as the link.
212036 -
212037 - There is no apparent way to make this work so called Netscape and got
212038 - the revised code. ref SDS 0 1064
212039 -
212040 - The Netscape solution did not work, so tried a more code intensive
212041 - solution.
212042 -
212043 -
212044 -
212045 -
2121 -
2122 -
2123 - 1447 called Netscape
2124 -
212401 - Need to know how to code links that have no arguement as occurs in
212402 - email.
212403 -
212404 - On hold after entering credti card number
212405 -
212406 -
212407 - Jason Brown
212408 -
212409 - This cost $25 for help.
212410 -
212411 - Jason says Netscape cannot save an email in HTML source code.  He is
212412 - unsure what the HTML option means.
212413 -
212414 - He said that code an ASCII file so a web URL address shows up as an
212415 - executable address in a Web page, do the following:
212416 -
212417 -  ..
212418 -           <A HREF=>http://www.welchco.com/...HTM</A>
212419 -
212420 - Actually, this did not work, as usual.
212421 -
212422 -
2125 -

SUBJECTS
List Files Web Site Temp Directory
Empty Temp HTML Directory
Planning
Store SDS Records in Multiple Drives
Avoid Uploading Files That Have Not Changed
Internet Convert Record to HTML and Save to Data Base on E, 070405

3009 -
300901 -  ..
300902 - 0608  Add Other Files to Listing for HTML Temp Files on H
300903 -
300904 - Follow up ref SDS 9 1916
300905 -
300906 - Line 35, ref OF 3 2267, added counter flag 117 732 to identify to
300907 - 00504 when this operation is running, so it can immediately delete
300908 - all the files in the temp html directories on h.
300909 -
300910 - For some reason c: sd 01 yb which has the y command that is needed
300911 - for the dd command, keeps getting deleted.  I added code to create it
300912 - each pass.
300913 -
300914 - This routine calls batch file...
300915 -
300916 -                   c: sd 01 sw1.bat
300917 -
300918 -    ...so it will list files in following...
300919 -
300920 -           h: 02 *.htm
300921 -           h: 03 *.htm
300922 -           h: 04 *.htm
300923 -           h: sd 08 *.htm
300924 -
300925 -   ...per, ref OF 8 4001,
300926 -
300927 -
300928 -  ..
300929 - 00504  Delete HTML Temp files on h for non-SDS files
300930 -
300931 - Follow up ref SDS 9 1979.
300932 -
300933 - Need to be able to delete temporary files transferred to the Web
300934 - server that are not SDS records.  On 980405 a function was created
300935 - for removing SDS files.  We need similar feature for other files.
300936 -
300937 -  ..
300938 - This is more complicated because these files can occur in following
300939 - primary directories...
300940 -
300941 -     h: 02
300942 -     h: 03
300943 -     h: 04
300944 -
300945 - We need a way to get a complete list, and a way to delete all of the
300946 - stuff at once.
300947 -
300948 - Line 150, ref OF 1 2431, -label lhtml, added call to new batch
300949 - file...
300950 -
300951 -                      c: sd 01 sw2.bat
300952 -
300953 -    ...created. ref OF 9 2151
300954 -
300955 -    This deletes the directories listed above. ref SDS 0 0643
300956 -
300957 -
300958 -
300959 -
300960 -