Contents |
|
Updated: 8/18/2003 |
|
 |
Here's the ZIP file for HTMLcleaner.exe
|
|
|
|
|
|
|
|
Using HTMLcleaner
|
(Click Figure to see full size)
Altuit has a simple tool called "HTMLcleaner" which can help in preparing templates. Here's how it works:
Generally, a custom template has two major html pages the Main Page and the Section Page. Here's how we build them here.
Note: if you haven't yet, you should download the PDF "Custom Template Instruction Manual " from our Support pages. It is an excellent 'PRIMER' for understanding how Custom Templates work! Just ignore all the parts about using TidyUI as a tool to help prepare your HTML. Instead, you can use HTMLcleaner (download from this website).
First, we layout our pages in an editor (like FrontPage or DreamWeaver) and then populate the pages with 'dummy data' so we can see what it will look like. It is important to take your time and build the pages so they can use a wide variety of dummy data.
Once the pages are set, then launch HTMLcleaner.
|
|
|
|
|
|
Processing HTML
With HTML Cleaner, you can pre process your html files. Once the HTMLcleaner app is launched, click the "Load HTML file" button and choose the file you want to clean.
| You'll need to add specific root tags as specified in the manual. Choose whether to add "Main" or "Section" root tags. |
| You'll need to escape all '&' from in front of special characters. This button only escapes &'s from non-breaking spaces ( ) |
| Step Three: | Check for closed tags |
| Much of HTML is not well-formed and as such cannot be processed correctly by the Custom Template Builder. Typical tags which are not well-formed are: <link>,<img>,<p> and <br>. This function fixes these tags. |
| Step Four: | Fix Case Sensitive Tags |
| Custom Template Builder requires well-formed XML and matching cased element tags. This button fixes them to either Upper or Lower case. Your choice. Either works. |
| We recommend you not save over the original filename. |
|
|
|
|
|
|
Loading Custom Templates
The best way to proceed from here is to create a dummy web, then load up your Main Page (already 'cleanded' by HTMLcleaner) and see if it works. HTMLcleaner should have processed you page well enough to render. Of course, none of the dynamic Hemingay content will be included, but if it renders correctly, you're on your way to a successful template design.
Note: We generally modify the HTML code only a bit at a time, so we can upload it to Hemingway and see the changes. In this way, we can see if there are any problems and correct them 'as we go.'
|
|
 |
|