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


S U M M A R Y


DIARY: April 23, 1998 10:11 AM Thursday; Rod Welch

Add link support for HTML files.

1...Summary/Objective
2...Create Links Using HTML Code
3...Access HTML Links in non-SDS records
4...000006 SDS Recognize HTML Code for Links in SDS records
5...000006 Create SDS Link with HTML Link Address if Exists
6...0121 New Macro File to Find Link String in Target File


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

CONTACTS 

SUBJECTS
Citations Create Link SDS to SDS, macro 985
Design Concept
SDS Linking System
Link SDS to Editor File, macro 985

0806 -    ..
0807 - Summary/Objective
0808 -
080801 - Follow up ref SDS 2 0000, ref SDS 1 0000.
080802 -
080803 - Improved SDS linking so it can recognize an HTML file and use any
080804 - link anchors it has or create new ones in the HTML format instead of
080805 - SDS link anchor format.
080806 -
080807 - This will facilitate linking HTML files into SDS records.
080808 -
080809 - Created a new macro file, 0121, to do some of the steps needed to add
080810 - the new capability, so we do not run out of compiler space.  We can
080811 - probably do more of this to recover more compiler space.
080812 -
080813 -
080814 -
0809 -
0810 -
0811 - Design Planning
0812 -
081201 - Create Links Using HTML Code
081202 -
081203 - Follow up ref SDS 2 1648.
081204 -
081205 - Looks like it will be helpful to use existing HTML links instead of
081206 - creating new ones in external HTML files, otherwise there is a
081207 - proliferation of links that becomes confusing to the reader.
081208 -
081209 - The initial question is whether a file is "HTML" or not.
081210 -
081211 - The basic distinction is that HTML files have the heading beginning
081212 - at line one.  These have an HTM file extension.
081213 -
081214 - I decided not make this test, because a lot of editor files will have
081215 - HTML code in them, but not the heading code beginning on line 1
081216 - because the new 0121 macro converts files and saves them in that form.
081217 -
081218 - Added feature below, ref SDS 0 3498, to determine when a file is an
081219 - external HTML file and to look for HTML anchor "NAME" command.  If one
081220 - is found the value for the name is used, if not, an HTML anchor is
081221 - created.
081222 -
081223 -
081224 - Access HTML Links in non-SDS records
081225 -
081226 - We also need the ability to look for and use anchors in an HTML file
081227 - when a link is called in an SDS record.
081228 -
081229 - Added this today, ref SDS 0 3566, including creating a new macro file
081230 - 0121. ref SDS 0 3795
081231 -
081232 -
081233 -
0813 -
0814 -
0815 - Progress
0816 -
081601 -  ..
081602 - 000006  SDS Recognize HTML Code for Links in SDS records
081603 -
081604 - We want to be able to find HTML links in an SDS record.
081605 -
081606 - Line 1340, ref OF 2 1718, -entry 982 begins Access Link code
081607 -
081608 - Line 1420, ref OF 2 2421, -label lu1, added global flag using counter
081609 - 93 to identify when a non-SDS file is being opened by
081610 -
081611 - Line 1565, ref OF 2 2846, -label cur88r, call new macro file 0121 to
081612 - actually find the address link string in the target file. ref SDS 0
081613 - 3795
081614 -
081615 -
081616 -  ..
081617 - 000006  Create SDS Link with HTML Link Address if Exists
081618 -
081619 - Line 1630, ref OF 2 1716, -entry 985 begins linking process.
081620 -
081621 -     We want to be able to use HTML links in an SDS record if they are
081622 -     already there.
081623 -
081624 -     If the file is not an SDS record we will see if it is an HTML
081625 -     file, and if so will create an HTML address link.
081626 -
081627 -     If there is already an HTML address ID on the current line, we
081628 -     will use it, and if not will create one.
081629 -
081630 - Line 1630, ref OF 2 1716, -entry 985 begins linking process. Added
081631 - code to see if it is a non-SDS file, and if so to determine if it is
081632 - an HTML file.  Sets flag 97 1 for HTML file.
081633 -
081634 -
081635 - Line 1665, ref OF 2 2265, -label SDSzw  added code to look for an
081636 - existing HTML Anchor Name string, as well as an "<" symbol which is
081637 - used for SDS records and non-HTML files.
081638 -
081639 -
081640 - Line 1715, ref OF 2 2776, -label nLnbr, about 20 lines below, added
081641 - code to create an HTML anchor spec if it is an HTML file.
081642 -
081643 - Line 1820, ref OF 2 3235, -label htML2, about 20 lines below, added
081644 - code to enter code to end an HTML anchor link.
081645 -
081646 -
081647 -
081648 -
081649 -  ..
081650 - 0121  New Macro File to Find Link String in Target File
081651 -
081652 - Decided to try to put this in a macro file.
081653 -
081654 -     [On 980501 did more work on this and created another new macro
081655 -     01211 to remove code from -entry 985. ref SDS 3 1945]
081656 -
081657 - Line 15, ref OF 1 3179, moved code from 000006, ref OF 2 2846, into
081658 - this new macro file to save memory.
081659 -
081660 - Line 1565, ref OF 1 8848,  -label Espec, created subroutine to load
081661 - alternate locate commands to process "line" commands and to handle
081662 - both HTML and non-HTML files.
081663 -
081664 -     [On 980501 did more work on this macro file 0121. ref SDS 3 2944]
081665 -
081666 -
081667 -
081668 -
081669 -