Re: Commit: Major importer overhaul


Subject: Re: Commit: Major importer overhaul
From: sam th (sam@uchicago.edu)
Date: Mon Oct 09 2000 - 02:34:14 CDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 9 Oct 2000, Dom Lachowicz wrote:

> I gave the importer a massive overhaul tonight.
>
> I wanted to make an ie_imp_WML class but realized that I'd be copying *far*
> too much code from the Abiword_1 importer. So I made a generic ie_imp_XML
> base class. Now any XML-based importer has to override only *2* methods to
> import into Abiword. Needless to say, it heavily reduces on both amount and
> the complexity of code too.
>
> ie_imp_WML and ie_imp_AbiWord_1 are my two test cases. The base class takes
> care of all expat vs. libxml2 differences, so the developer doesn't have to
> worry about that garbage. It'd be nice if someone (not excluding myself)
> would do a KWord importer to further test the robustness of the new class.

Well, just for reference, I wrote something similar (although it never
actually worked) way back when [1]. I used it to implement a rudimentary
XHTML importer [2] (which actually worked, at least somewhat). I'll try
to ressurect it to test out your new class.

[1] http://www.abisource.com/mailinglists/abiword-dev/00/May/0368.html
[2] http://www.abisource.com/mailinglists/abiword-dev/00/May/0400.html
           
        sam th
        sam@uchicago.edu
        http://www.abisource.com/~sam/
        GnuPG Key:
        http://pgp5.ai.mit.edu:11371/pks/lookup?op=get&search=0xCABD33FC
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE54XT3t+kM0Mq9M/wRAiYFAJ0XQV4Rn0il3agBfAjGkQqFjkHjagCfXrVM
21BuT9Ku9JlJ2PrAcpfVJNg=
=o7jC
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2b25 : Mon Oct 09 2000 - 02:33:20 CDT