Had some problems with importing HTML into PageStream 4.0r7 Amiga. The desired file was an HTML attachment to an e-mail (basically, a repetition of the original message, but with some added formatting).
PageStream 4.0r7 refused to recognize the HTML file, so long as it started with the following line:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
With that line deleted, so that the file started with
<HTML><HEAD>
then Pagestream recognized it as an HTML file.
When the text was displayed, all spaces were deleted.
The original HTML file looked like this:
<DIV><FO 00C0: 4E542066 6163653D 41726961 6C207369 NT face=Arial si 00D0: 7A653D32 3E544845 204C4954 544C4520 ze=2>THE LITTLE 00E0: 4F555448 4F555345 3C42523E 3C42523E OUTHOUSE<BR><BR> 00F0: 4F6E6520 6F66206D 79206279 676F6E65 One of my bygone 0100: 200A7265 636F6C6C 65637469 6F6E732C .recollections, 0110: 3C42523E 61732049 20726563 616C6C20 <BR>as I recall 0120: 74686520 64617973 206F6620 796F7265 the days of yore 0130: 3C42523E 69732074 6865206C 6974746C <BR>
Exporting the text from PgS4.0r7, that same segment of the file looked like this:
0B20: 0101007F 00010054 48454C49 54544C45 .......THELITTLE 0B30: 4F555448 4F555345 000D0500 000D0500 OUTHOUSE........ 0B40: 4F6E656F 666D7962 79676F6E 65726563 Oneofmybygonerec 0B50: 6F6C6C65 6374696F 6E732C00 0D050061 ollections,....a 0B60: 73497265 63616C6C 74686564 6179736F sIrecallthedayso 0B70: 66796F72 65000D05 00697374 68656C69 fyore....
The <space> characters have all been deleted. This hasn't happened with other HTML files. Why does it happen with this one?
--Geoff
-- ggass@teleport.com Geoffrey A. Gass Foulecourt Press
|