This content has been marked as final. Show 5 replies
Yes all seen before. We believe there will be a lot of improvement in the next release.
Re sample 3, Dreamweaver would write that as below.
<p><b>blah blah yaddi yaddi</b></p>
Some of this has to do with how users have applied styles in WYSIWYG mode; for example, if you double click a word (which selects the space after) and apply Bold, then later select the word by dragging the cursor to select only the word (which doesn't select the space after), RH will usually surround the selected characters with "normal" span tags and often leave the bold in place.
This same type of style formatting might have been repeatedly done in the original form that might have been imported (Word, Frame, etc.). So, then, if you compound the code bloat from an imported file with additional formatting in RH, well you do the math.
I've seen code wherein a six-word sentence might be saddled with as many as 10-12 SPAN tags and might stretch into 6-7 lines of code!
However, these are still flat files, not binary; you'd need a ton of extra code to increase the aggregate file size a lot. Heck, your graphics will usually take more room than your topics. One of our child projects has 153 .htm files at 3.25 MB, whereas the aggregate of .gif, .jpg, and .bmp graphics exceed 4 MB. My view has always been this: until the underlying code affects the format I expect to see in my output, I consider extra SPAN and KADOV tags to be nothing but white noise.
I don't have anything to add to the diagnostic advice, but have a couple of notes on treatment.
- If you have a lot of files to clean up, you may want to look into an automated solution. I've been very happy with HTML Tidy ( http://tidy.sourceforge.net/).
- Keeping your HTML under version control (and requiring that authors only check in cleaned HTML, if you have automated cleaning set up) can save a lot of hair-tearing when weirdness suddenly shows up.
- If you don't like RH-flavored HTML (I don't), do all your authoring outside RH and just use RH for creating the index and TOC and stitching the whole thing together.
I have to add a brava to AmyGfromNZ. I use Dreamweaver and CSS for all of my editing and haven't edited a page in RH for the last 5 years. Browser problems are definitely minimized.
Also, identifying and removing unnecessary tags may be enhanced by showing the tag list from the view menu. This allows you to not have to work directly in the true code view.