Support for Abiword

Wow! That didn't hurt at all :) In the latest source drop there's now basic support for Abiword files. It's not terribly advanced, because all I did was save a couple of files to disk (there included in the unit tests) and have a look at the source, but it should be enough to post simple entries up to the blog.

What does it do? It handles entry titles, paragraphs, bold and italic. I don't think that abiword does any special formatting of URLs, so there's nothing done with them. Why do this? To show that blog4php can cope with a variety of input sources, and to get to grips with XML parsing in PHP. It's not so bad: just SAX-based, so no biggie to wrap your head around. There's also the bonus that I can now spell check entries ;)

I'm now going to do the same for Open Office. Wish me luck!


Simon Stewart on Saturday, 24 May, 2003

Posted in: /tech/php/blog4php

You may comment...


Categories