My software

March 15 2008

xhtml_hyphenate: An hyphenation program for XHTML documents

Filed under: libhyphenateThiton at 16:24

As an ex­am­ple for re­al-world us­age of lib­hy­phen­ate, I proud­ly present you the XHTML hy­phen­ator. By scru­ti­niz­ing the xml:lang tag present in XML doc­u­ments, it hy­phen­ates all non-head­er text nodes of an XHTML doc­u­ment with stan­dard UTF-8 soft hy­phens, which are used by all stan­dard browsers ex­cept Mozil­la Fire­fox as hy­phen­ation hints. Fire­fox ig­nores them com­plete­ly, so no harm is done.

Down­load the source tar­ball of the cur­rent ver­sion

Down­load the source tar­ball of ver­sion 1.0

Three comments

  1. As an ex­am­ple for re­al-world us­age of
    lib­hy­phen­ate, I proud­ly present you the
    XHTML hy­phen­ator. By scru­ti­niz­ing
    the xml:lang tag present in XML doc­u­ments, it
    hy­phen­ates all non-head­er text nodes of an XHTML
    doc­u­ment with stan­dard UTF-8 soft hy­phens,
    which are used by all stan­dard browsers ex­cept
    Mozil­la Fire­fox as hy­phen­ation hints.
    Fire­fox ig­nores them com­plete­ly, so no harm
    is done.
    

    comment by wer — Mar 17 at 13:58

  2. Hi, I noticed a couple bugs in this program... how do I send you
    a patch? I didn't find your e-mail here :P
    

    comment by Adiel Mittmann — Mar 17 at 22:48

  3. Hi Adiel,
    
    oh, sorry, totally forgot about that after implementing my anti-spam
    measures :-(.
    
    I've published contact information under
    http://swolter.sdf1.org/software/aboutme.html
    
    Thanks for the feedback and thanks in advance for the patch, Thiton
    

    comment by Thiton — Mar 18 at 14:35

Comment

TextMixedHTML

Valid XHTML Strict 1.0 Valid Atom Design by Northern Web Coders