Aug
2nd
2010
Mon
2nd
2010
Converting Pages files to HTML
For some reason, Apple removed the “Save As…. HTML” option from recent versions of Pages, and wants you to go through iWeb instead. I found that to be fairly cumbersome, and iWeb seems to want you to make a whole formatted site instead of just dealing with an individual page. I tried converting through .doc or .pdf as well, but the results were pretty terrible. The best solution I’ve found so far is saving as a .rtf from Pages, and then using the built-in command line textutil tool to convert that to html. You lose some of the semantic style structure, but other than that the conversion seems pretty clean.
$ man textutilfor more details. There are a number of options, including format, encoding, etc…