[TYPO3-german] Code aufräumen

Oliver Klee typo3-german-02 at oliverklee.de
Wed Jan 21 14:21:35 CET 2009


Hi,

Sebastian P. schrieb:
> was macht Ihr alles um euren Code aufzuräumen und klein zu halten?

config {
    # use XHTML 1.0 strict
    doctype = xhtml_strict

    # remove the XML prologe to keep IE from triggering the quirks mode
    xmlprologue = none

    # create external files for inline CSS stuff
    inlineStyle2TempFile = 1

    # let's create the XHTML as valid as possible
    xhtml_cleaning = all

    # keep the HTML free of those big comments
    disablePrefixComment = 1
}


lib {
    stdheader {
        # remove DIVs around headings
        stdWrap.dataWrap =

        # remove class for the first heading on the page
        3.headerClass =
        3.headerClass.noTrimWrap =
    }

    parseFunc_RTE.nonTypoTagStdWrap {
        # remove the "bodytext" class of paragraphs
        encapsLines.addAttributes.P.class =

        HTMLparser.tags {
            # make prensentational tage semantic
            b.remap = strong
            i.remap = em
        }
    }
}


Gruß


Oliver


More information about the TYPO3-german mailing list