From gcf@oldnova.npac.syr.edu Mon May 15 18:46:24 1995 Date: Wed, 12 Apr 95 22:09:25 -0400 From: gcf@oldnova.npac.syr.edu To: Paul Coddington Subject: Re: alias program Maybe its overkill but I did think that capturing more info when alias formed could help management in long run so syntax could be alias@url@title@comment you dont want in blue words@authors intials@date entered > > > > I have finally made an HTML aliasing program (using a lot of code written by > Geoffrey) that seems to work (as usual, it took longer than expected). > > You can call it by > > ~paulc/bin/htmlalias my_file_name > > > Here is what it does... > > > Reads in all the aliases and associated URLs and document titles from the > alias file. > > Copies my_file_name to my_file_name.alias (to make sure you keep a copy > of the original) > > Edits my_file_name to replace the aliases, printing a list of aliases it > finds to STDOUT. > > It replaces aliases of the form > > {alias}(hypertext bluewords) by > hypertext bluewords > > {alias}() by > document title for this alias > > {alias} not followed by any round brackets by > {alias} # if the alias is not in the alias list > ULR_for_this_alias !alias # if the alias is in the alias list > (this is supposed to make !alias a comment - not sure if it works for all > browsers) > The idea behind this is that you can have embedded aliases, e.g. for > images, such as > > > Let me know if you have any problems. > > Paul > Reply by Geoffrey Fox gcf@npac.syr.edu, http://www.npac.syr.edu, Phone 3154432163(3154431723 npac central) Fax:3154434741