commit: abiword-docs: sample template for XHTML export

From: Francis James Franklin (f.j.franklin@sheffield.ac.uk)
Date: Tue Aug 05 2003 - 16:21:22 EDT

  • Next message: Francis James Franklin: "commit: abi: XHTML option, change on request"

    I have tried to make it easy to customize the nature of the [X]HTML
    produced by AbiWord and I think it's beginning to look very good. There
    are still a few bugs, but I hope to get to them eventually.

    However, although AbiWord is able to produce a good simple document, it
    doesn't have any facility to create the kind of web page layout (the
    corporate look-and-feel with menus etc.) so essential for navigating
    large sites. One way around this, for websites, is to use PHP (or
    similar) so that pages are put together on the server.

    Creating documentation for offline browsing is a different challenge,
    however, so I have written a template mechanism for the XHTML exporter.
    The template is an XML file in the XHTML namespace and forms the
    framework of the final exported document. Processing instructions are
    included which trigger the exporter to insert title, meta tags or
    document content, respectively:

            <?abi-xhtml-insert title?>
            <?abi-xhtml-insert meta?>
            <?abi-xhtml-insert body?>

    There are some more advanced features also (used in template.html
    below) but until I am happy with them they will remain undocumented...

    o sample template for use with AbiWord's new template-driven XHTML
    export
       and a daft build script for generating documentation - see results
    here:
       http://www.crazy-wormhole.com/AlinaMeridon/AbiWord/abidocs/
    CVS:
    ----------------------------------------------------------------------
    CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
    CVS:
    CVS: Committing in .
    CVS:
    CVS: Added Files:
    CVS: ABW/en-US/template/AbiSwish.png ABW/en-US/template/mkdocs.sh
    CVS: ABW/en-US/template/style.css ABW/en-US/template/template.html
    CVS:
    ----------------------------------------------------------------------

    Regards, Frank



    This archive was generated by hypermail 2.1.4 : Tue Aug 05 2003 - 16:37:28 EDT