[thelist] Homesite tag help

Bill Mason data at data1701d.com
Mon Oct 9 12:10:53 CDT 2000


Turns out I finally figured this out.  It's a multistep process:

1. Edit the VTM files in the /extensions/tagdefs/html directory for all 
tags that need a closing '/' before the '>'.  Look for a line in the file 
that reads <WIZIF 1>></WIZIF> and change it to read <WIZIF 1> 
/></WIZIF>  (This works for all but the IMG tag, which appears to not use a 
VTM file.)

2. Go to Options > Settings > Validation > Validator Settings > Tags > HTML 
4.0.  Several things to do here:

A. For tags needs a closing " />", go to their Attributes folder.  Add an 
attribute "/" and make its value "no value".

B. For tags such as TD, where "nowrap" becomes nowrap="nowrap".  Go to the 
Values tag.  Add the value (e.g. nowrap) to the list of values.  Go back to 
the Tags tab, go the attribute list for the tag.  Add the attribute (e.g. 
add NOWRAP) and and it's value (e.g. "nowrap").

That and the steps below should give you almost 100% XHTML, and the 
built-in validator won't flag it as bad HTML 4.0 in almost all cases.

At 05:56 PM 10/02/2000, you wrote:
>Hey 'Volters:
>
>Wondering if someone could offer me some quick help in customizing HomeSite
>to produce xHTML-compliant tags -- thought it would be easy, but it ain't.
>
>Please cc: me (teresa.molina at escout.com), too. Thanks! =)
>
><tip type="work smart">
>Make friends with project managers. They can make your life a Living Hell.
>Or the Happiest Place on Earth.
></tip>

I think to really do that right, you have to know the ins and outs of 
programming their VTM files (which I don't).  (If that's even enough.)

There are some basic things a user can do though to help get close to XHTML 
(assuming HS 4.5, all under Options/Settings):

HTML: select lowercase all inserted tags, include closing </p> when 
inserting paragraph tag, set the Center button to use div align="center"

Editor/Tag Completion: turn it on and make sure that tags that must be 
closed are in the list.

HS 4.5 also integrates HTML Tidy, which can convert HTML to XHTML.

Those things aren't much, but I find they go a long way to saving me time 
in coding.

Bill Mason
data at data1701d.com
Dateline: Starfleet
http://www.data1701d.com
http://profile.guru.com/billmason
http://www.freeagent.com/billmason
http://bmason.freelancers.net





More information about the thelist mailing list