Adam Fields (work stuff) RSS

This is my blog about work stuff.

See this post for discussion of what this blog is about and what I do.

I am often available for consulting work, and always happy to discuss it even if I'm currently very busy. Email me or find me on twitter @fields if you need something.

Archive

Aug
2nd
2010
Mon
permalink

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 textutil
for more details. There are a number of options, including format, encoding, etc…

Comments (View)

blog comments powered by Disqus